@keystrokehq/motion 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-custom-field-to-project.cjs +1 -0
- package/dist/actions/add-custom-field-to-project.cjs.map +1 -1
- package/dist/actions/add-custom-field-to-project.d.cts +3 -20
- package/dist/actions/add-custom-field-to-project.d.cts.map +1 -1
- package/dist/actions/add-custom-field-to-project.d.mts +3 -20
- package/dist/actions/add-custom-field-to-project.d.mts.map +1 -1
- package/dist/actions/add-custom-field-to-project.mjs +1 -0
- package/dist/actions/add-custom-field-to-project.mjs.map +1 -1
- package/dist/actions/add-custom-field-to-task.cjs +1 -0
- package/dist/actions/add-custom-field-to-task.cjs.map +1 -1
- package/dist/actions/add-custom-field-to-task.d.cts +3 -20
- package/dist/actions/add-custom-field-to-task.d.cts.map +1 -1
- package/dist/actions/add-custom-field-to-task.d.mts +3 -20
- package/dist/actions/add-custom-field-to-task.d.mts.map +1 -1
- package/dist/actions/add-custom-field-to-task.mjs +1 -0
- package/dist/actions/add-custom-field-to-task.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +1 -0
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +3 -16
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +3 -16
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +1 -0
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -0
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -27
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +3 -27
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +1 -0
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-project.cjs +1 -0
- package/dist/actions/create-project.cjs.map +1 -1
- package/dist/actions/create-project.d.cts +4 -31
- package/dist/actions/create-project.d.cts.map +1 -1
- package/dist/actions/create-project.d.mts +4 -31
- package/dist/actions/create-project.d.mts.map +1 -1
- package/dist/actions/create-project.mjs +1 -0
- package/dist/actions/create-project.mjs.map +1 -1
- package/dist/actions/create-recurring-task.cjs +1 -0
- package/dist/actions/create-recurring-task.cjs.map +1 -1
- package/dist/actions/create-recurring-task.d.cts +3 -25
- package/dist/actions/create-recurring-task.d.cts.map +1 -1
- package/dist/actions/create-recurring-task.d.mts +3 -25
- package/dist/actions/create-recurring-task.d.mts.map +1 -1
- package/dist/actions/create-recurring-task.mjs +1 -0
- package/dist/actions/create-recurring-task.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -0
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +4 -25
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +4 -25
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -0
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/delete-custom-field-from-project.cjs +1 -0
- package/dist/actions/delete-custom-field-from-project.cjs.map +1 -1
- package/dist/actions/delete-custom-field-from-project.d.cts +3 -16
- package/dist/actions/delete-custom-field-from-project.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-from-project.d.mts +3 -16
- package/dist/actions/delete-custom-field-from-project.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-from-project.mjs +1 -0
- package/dist/actions/delete-custom-field-from-project.mjs.map +1 -1
- package/dist/actions/delete-custom-field-from-task.cjs +1 -0
- package/dist/actions/delete-custom-field-from-task.cjs.map +1 -1
- package/dist/actions/delete-custom-field-from-task.d.cts +3 -16
- package/dist/actions/delete-custom-field-from-task.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-from-task.d.mts +3 -16
- package/dist/actions/delete-custom-field-from-task.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-from-task.mjs +1 -0
- package/dist/actions/delete-custom-field-from-task.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +3 -16
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +3 -16
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-recurring-task.cjs +1 -0
- package/dist/actions/delete-recurring-task.cjs.map +1 -1
- package/dist/actions/delete-recurring-task.d.cts +3 -15
- package/dist/actions/delete-recurring-task.d.cts.map +1 -1
- package/dist/actions/delete-recurring-task.d.mts +3 -15
- package/dist/actions/delete-recurring-task.d.mts.map +1 -1
- package/dist/actions/delete-recurring-task.mjs +1 -0
- package/dist/actions/delete-recurring-task.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -0
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +3 -15
- package/dist/actions/delete-task.d.cts.map +1 -1
- package/dist/actions/delete-task.d.mts +3 -15
- package/dist/actions/delete-task.d.mts.map +1 -1
- package/dist/actions/delete-task.mjs +1 -0
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-my-user.cjs +1 -0
- package/dist/actions/get-my-user.cjs.map +1 -1
- package/dist/actions/get-my-user.d.cts +3 -13
- package/dist/actions/get-my-user.d.cts.map +1 -1
- package/dist/actions/get-my-user.d.mts +3 -13
- package/dist/actions/get-my-user.d.mts.map +1 -1
- package/dist/actions/get-my-user.mjs +1 -0
- package/dist/actions/get-my-user.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -15
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -15
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-task.cjs +1 -0
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +3 -15
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +3 -15
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +1 -0
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-comments.cjs +1 -0
- package/dist/actions/list-comments.cjs.map +1 -1
- package/dist/actions/list-comments.d.cts +3 -16
- package/dist/actions/list-comments.d.cts.map +1 -1
- package/dist/actions/list-comments.d.mts +3 -16
- package/dist/actions/list-comments.d.mts.map +1 -1
- package/dist/actions/list-comments.mjs +1 -0
- package/dist/actions/list-comments.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +1 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +3 -15
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +3 -15
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +1 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -16
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -16
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-recurring-tasks.cjs +1 -0
- package/dist/actions/list-recurring-tasks.cjs.map +1 -1
- package/dist/actions/list-recurring-tasks.d.cts +3 -16
- package/dist/actions/list-recurring-tasks.d.cts.map +1 -1
- package/dist/actions/list-recurring-tasks.d.mts +3 -16
- package/dist/actions/list-recurring-tasks.d.mts.map +1 -1
- package/dist/actions/list-recurring-tasks.mjs +1 -0
- package/dist/actions/list-recurring-tasks.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +1 -0
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +3 -13
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +3 -13
- package/dist/actions/list-schedules.d.mts.map +1 -1
- package/dist/actions/list-schedules.mjs +1 -0
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-statuses.cjs +1 -0
- package/dist/actions/list-statuses.cjs.map +1 -1
- package/dist/actions/list-statuses.d.cts +3 -15
- package/dist/actions/list-statuses.d.cts.map +1 -1
- package/dist/actions/list-statuses.d.mts +3 -15
- package/dist/actions/list-statuses.d.mts.map +1 -1
- package/dist/actions/list-statuses.mjs +1 -0
- package/dist/actions/list-statuses.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -22
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -22
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -17
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -17
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workspaces.cjs +1 -0
- package/dist/actions/list-workspaces.cjs.map +1 -1
- package/dist/actions/list-workspaces.d.cts +3 -16
- package/dist/actions/list-workspaces.d.cts.map +1 -1
- package/dist/actions/list-workspaces.d.mts +3 -16
- package/dist/actions/list-workspaces.d.mts.map +1 -1
- package/dist/actions/list-workspaces.mjs +1 -0
- package/dist/actions/list-workspaces.mjs.map +1 -1
- package/dist/actions/move-task.cjs +1 -0
- package/dist/actions/move-task.cjs.map +1 -1
- package/dist/actions/move-task.d.cts +3 -17
- package/dist/actions/move-task.d.cts.map +1 -1
- package/dist/actions/move-task.d.mts +3 -17
- package/dist/actions/move-task.d.mts.map +1 -1
- package/dist/actions/move-task.mjs +1 -0
- package/dist/actions/move-task.mjs.map +1 -1
- package/dist/actions/unassign-task.cjs +1 -0
- package/dist/actions/unassign-task.cjs.map +1 -1
- package/dist/actions/unassign-task.d.cts +3 -15
- package/dist/actions/unassign-task.d.cts.map +1 -1
- package/dist/actions/unassign-task.d.mts +3 -15
- package/dist/actions/unassign-task.d.mts.map +1 -1
- package/dist/actions/unassign-task.mjs +1 -0
- package/dist/actions/unassign-task.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -0
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +4 -30
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +4 -30
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +1 -0
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects: AppAction<\n typeof MotionListProjectsInput,\n typeof MotionListProjectsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,C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from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -25,22 +27,7 @@ declare const MotionListProjectsOutput: z.ZodObject<{
|
|
|
25
27
|
custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const motionListProjects:
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
workspace_id?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const motionListProjects: AppAction<typeof MotionListProjectsInput, typeof MotionListProjectsOutput, typeof motion.credential>;
|
|
44
31
|
//#endregion
|
|
45
32
|
export { motionListProjects };
|
|
46
33
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -25,22 +27,7 @@ declare const MotionListProjectsOutput: z.ZodObject<{
|
|
|
25
27
|
custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const motionListProjects:
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
workspace_id?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const motionListProjects: AppAction<typeof MotionListProjectsInput, typeof MotionListProjectsOutput, typeof motion.credential>;
|
|
44
31
|
//#endregion
|
|
45
32
|
export { motionListProjects };
|
|
46
33
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects: AppAction<\n typeof MotionListProjectsInput,\n typeof MotionListProjectsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC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AY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACxD,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks: AppAction<\n typeof MotionListRecurringTasksInput,\n typeof MotionListRecurringTasksOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,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CAClG,QAAQ,4CAA4C,SAAS;CAC7D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,0CAA0C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-recurring-tasks.d.ts
|
|
@@ -63,22 +65,7 @@ declare const MotionListRecurringTasksOutput: z.ZodObject<{
|
|
|
63
65
|
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
64
66
|
}, z.core.$loose>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const motionListRecurringTasks:
|
|
67
|
-
workspaceId: string;
|
|
68
|
-
cursor?: string | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const motionListRecurringTasks: AppAction<typeof MotionListRecurringTasksInput, typeof MotionListRecurringTasksOutput, typeof motion.credential>;
|
|
82
69
|
//#endregion
|
|
83
70
|
export { motionListRecurringTasks };
|
|
84
71
|
//# sourceMappingURL=list-recurring-tasks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-recurring-tasks.d.ts
|
|
@@ -63,22 +65,7 @@ declare const MotionListRecurringTasksOutput: z.ZodObject<{
|
|
|
63
65
|
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
64
66
|
}, z.core.$loose>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const motionListRecurringTasks:
|
|
67
|
-
workspaceId: string;
|
|
68
|
-
cursor?: string | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const motionListRecurringTasks: AppAction<typeof MotionListRecurringTasksInput, typeof MotionListRecurringTasksOutput, typeof motion.credential>;
|
|
82
69
|
//#endregion
|
|
83
70
|
export { motionListRecurringTasks };
|
|
84
71
|
//# sourceMappingURL=list-recurring-tasks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.mjs","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.mjs","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks: AppAction<\n typeof MotionListRecurringTasksInput,\n typeof MotionListRecurringTasksOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,iBAAiB,E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AM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.cjs","names":["z","action"],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListSchedulesInput = z.object({}).describe(\"Request model for listing schedules for your user.\\nThis endpoint requires no parameters.\");\nconst MotionListSchedules_TimeSlotSchema = z.object({\n end: z.string().describe(\"When the schedule ends, formatted HH:MM (e.g., '17:00')\").nullable(),\n start: z.string().describe(\"When the schedule starts, formatted HH:MM (e.g., '09:00')\").nullable(),\n}).passthrough().describe(\"Represents a time slot with start and end times.\");\nconst MotionListSchedules_WeeklyScheduleSchema = z.object({\n friday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Friday\").nullable().optional(),\n monday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Monday\").nullable().optional(),\n sunday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Sunday\").nullable().optional(),\n tuesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Tuesday\").nullable().optional(),\n saturday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Saturday\").nullable().optional(),\n thursday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Thursday\").nullable().optional(),\n wednesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Wednesday\").nullable().optional(),\n}).passthrough().describe(\"Represents a weekly schedule with time slots for each day of the week.\");\nconst MotionListSchedules_ScheduleSchema = z.object({\n name: z.string().describe(\"The name of the schedule\").nullable(),\n schedule: MotionListSchedules_WeeklyScheduleSchema.nullable(),\n timezone: z.string().describe(\"The timezone of the schedule (e.g., 'America/New_York')\").nullable(),\n isDefaultTimezone: z.boolean().describe(\"Whether the schedule uses the default timezone\").nullable(),\n}).passthrough().describe(\"Represents a schedule with name, timezone, and weekly time slots.\");\nexport const MotionListSchedulesOutput = z.object({\n schedules: z.array(MotionListSchedules_ScheduleSchema).describe(\"List of schedules for the user\"),\n}).passthrough().describe(\"Response model for listing schedules.\\nReturns an array of schedule objects.\");\n\nexport const motionListSchedules = action(\"MOTION_LIST_SCHEDULES\", {\n slug: \"motion-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to get a list of schedules for your user. Use when you need to retrieve the user's scheduling configuration including work hours and timezone settings.\",\n input: MotionListSchedulesInput,\n output: MotionListSchedulesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.cjs","names":["z","action"],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListSchedulesInput = z.object({}).describe(\"Request model for listing schedules for your user.\\nThis endpoint requires no parameters.\");\nconst MotionListSchedules_TimeSlotSchema = z.object({\n end: z.string().describe(\"When the schedule ends, formatted HH:MM (e.g., '17:00')\").nullable(),\n start: z.string().describe(\"When the schedule starts, formatted HH:MM (e.g., '09:00')\").nullable(),\n}).passthrough().describe(\"Represents a time slot with start and end times.\");\nconst MotionListSchedules_WeeklyScheduleSchema = z.object({\n friday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Friday\").nullable().optional(),\n monday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Monday\").nullable().optional(),\n sunday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Sunday\").nullable().optional(),\n tuesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Tuesday\").nullable().optional(),\n saturday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Saturday\").nullable().optional(),\n thursday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Thursday\").nullable().optional(),\n wednesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Wednesday\").nullable().optional(),\n}).passthrough().describe(\"Represents a weekly schedule with time slots for each day of the week.\");\nconst MotionListSchedules_ScheduleSchema = z.object({\n name: z.string().describe(\"The name of the schedule\").nullable(),\n schedule: MotionListSchedules_WeeklyScheduleSchema.nullable(),\n timezone: z.string().describe(\"The timezone of the schedule (e.g., 'America/New_York')\").nullable(),\n isDefaultTimezone: z.boolean().describe(\"Whether the schedule uses the default timezone\").nullable(),\n}).passthrough().describe(\"Represents a schedule with name, timezone, and weekly time slots.\");\nexport const MotionListSchedulesOutput = z.object({\n schedules: z.array(MotionListSchedules_ScheduleSchema).describe(\"List of schedules for the user\"),\n}).passthrough().describe(\"Response model for listing schedules.\\nReturns an array of schedule objects.\");\n\nexport const motionListSchedules: AppAction<\n typeof MotionListSchedulesInput,\n typeof MotionListSchedulesOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_SCHEDULES\", {\n slug: \"motion-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to get a list of schedules for your user. Use when you need to retrieve the user's scheduling configuration including work hours and timezone settings.\",\n input: MotionListSchedulesInput,\n output: MotionListSchedulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACzJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;A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AAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gCAAgC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedules.d.ts
|
|
@@ -39,19 +41,7 @@ declare const MotionListSchedulesOutput: z.ZodObject<{
|
|
|
39
41
|
isDefaultTimezone: z.ZodNullable<z.ZodBoolean>;
|
|
40
42
|
}, z.core.$loose>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const motionListSchedules:
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const motionListSchedules: AppAction<typeof MotionListSchedulesInput, typeof MotionListSchedulesOutput, typeof motion.credential>;
|
|
55
45
|
//#endregion
|
|
56
46
|
export { motionListSchedules };
|
|
57
47
|
//# sourceMappingURL=list-schedules.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.d.cts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.d.cts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedules.d.ts
|
|
@@ -39,19 +41,7 @@ declare const MotionListSchedulesOutput: z.ZodObject<{
|
|
|
39
41
|
isDefaultTimezone: z.ZodNullable<z.ZodBoolean>;
|
|
40
42
|
}, z.core.$loose>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const motionListSchedules:
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const motionListSchedules: AppAction<typeof MotionListSchedulesInput, typeof MotionListSchedulesOutput, typeof motion.credential>;
|
|
55
45
|
//#endregion
|
|
56
46
|
export { motionListSchedules };
|
|
57
47
|
//# sourceMappingURL=list-schedules.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.d.mts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.d.mts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.mjs","names":[],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListSchedulesInput = z.object({}).describe(\"Request model for listing schedules for your user.\\nThis endpoint requires no parameters.\");\nconst MotionListSchedules_TimeSlotSchema = z.object({\n end: z.string().describe(\"When the schedule ends, formatted HH:MM (e.g., '17:00')\").nullable(),\n start: z.string().describe(\"When the schedule starts, formatted HH:MM (e.g., '09:00')\").nullable(),\n}).passthrough().describe(\"Represents a time slot with start and end times.\");\nconst MotionListSchedules_WeeklyScheduleSchema = z.object({\n friday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Friday\").nullable().optional(),\n monday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Monday\").nullable().optional(),\n sunday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Sunday\").nullable().optional(),\n tuesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Tuesday\").nullable().optional(),\n saturday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Saturday\").nullable().optional(),\n thursday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Thursday\").nullable().optional(),\n wednesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Wednesday\").nullable().optional(),\n}).passthrough().describe(\"Represents a weekly schedule with time slots for each day of the week.\");\nconst MotionListSchedules_ScheduleSchema = z.object({\n name: z.string().describe(\"The name of the schedule\").nullable(),\n schedule: MotionListSchedules_WeeklyScheduleSchema.nullable(),\n timezone: z.string().describe(\"The timezone of the schedule (e.g., 'America/New_York')\").nullable(),\n isDefaultTimezone: z.boolean().describe(\"Whether the schedule uses the default timezone\").nullable(),\n}).passthrough().describe(\"Represents a schedule with name, timezone, and weekly time slots.\");\nexport const MotionListSchedulesOutput = z.object({\n schedules: z.array(MotionListSchedules_ScheduleSchema).describe(\"List of schedules for the user\"),\n}).passthrough().describe(\"Response model for listing schedules.\\nReturns an array of schedule objects.\");\n\nexport const motionListSchedules = action(\"MOTION_LIST_SCHEDULES\", {\n slug: \"motion-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to get a list of schedules for your user. Use when you need to retrieve the user's scheduling configuration including work hours and timezone settings.\",\n input: MotionListSchedulesInput,\n output: MotionListSchedulesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.mjs","names":[],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListSchedulesInput = z.object({}).describe(\"Request model for listing schedules for your user.\\nThis endpoint requires no parameters.\");\nconst MotionListSchedules_TimeSlotSchema = z.object({\n end: z.string().describe(\"When the schedule ends, formatted HH:MM (e.g., '17:00')\").nullable(),\n start: z.string().describe(\"When the schedule starts, formatted HH:MM (e.g., '09:00')\").nullable(),\n}).passthrough().describe(\"Represents a time slot with start and end times.\");\nconst MotionListSchedules_WeeklyScheduleSchema = z.object({\n friday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Friday\").nullable().optional(),\n monday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Monday\").nullable().optional(),\n sunday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Sunday\").nullable().optional(),\n tuesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Tuesday\").nullable().optional(),\n saturday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Saturday\").nullable().optional(),\n thursday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Thursday\").nullable().optional(),\n wednesday: z.array(MotionListSchedules_TimeSlotSchema).describe(\"Array of time slots for Wednesday\").nullable().optional(),\n}).passthrough().describe(\"Represents a weekly schedule with time slots for each day of the week.\");\nconst MotionListSchedules_ScheduleSchema = z.object({\n name: z.string().describe(\"The name of the schedule\").nullable(),\n schedule: MotionListSchedules_WeeklyScheduleSchema.nullable(),\n timezone: z.string().describe(\"The timezone of the schedule (e.g., 'America/New_York')\").nullable(),\n isDefaultTimezone: z.boolean().describe(\"Whether the schedule uses the default timezone\").nullable(),\n}).passthrough().describe(\"Represents a schedule with name, timezone, and weekly time slots.\");\nexport const MotionListSchedulesOutput = z.object({\n schedules: z.array(MotionListSchedules_ScheduleSchema).describe(\"List of schedules for the user\"),\n}).passthrough().describe(\"Response model for listing schedules.\\nReturns an array of schedule objects.\");\n\nexport const motionListSchedules: AppAction<\n typeof MotionListSchedulesInput,\n typeof MotionListSchedulesOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_SCHEDULES\", {\n slug: \"motion-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to get a list of schedules for your user. Use when you need to retrieve the user's scheduling configuration including work hours and timezone settings.\",\n input: MotionListSchedulesInput,\n output: MotionListSchedulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACzJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAK7F,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gCAAgC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListStatusesInput = z.object({\n workspaceId: z.string().describe(\"Get statuses for a particular workspace. If not provided, returns statuses for all workspaces.\").optional(),\n}).describe(\"Request model for listing statuses in a Motion workspace.\");\nconst MotionListStatuses_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\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this is a resolved status\").nullable(),\n}).passthrough().describe(\"Represents a status in Motion.\");\nexport const MotionListStatusesOutput = z.object({\n statuses: z.array(MotionListStatuses_StatusSchema).describe(\"List of statuses\"),\n}).passthrough().describe(\"Response model for listing statuses.\");\n\nexport const motionListStatuses = action(\"MOTION_LIST_STATUSES\", {\n slug: \"motion-list-statuses\",\n name: \"List Statuses\",\n description: \"Tool to get a list of statuses for a Motion workspace. Use when you need to retrieve available task statuses for a workspace.\",\n input: MotionListStatusesInput,\n output: MotionListStatusesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-statuses.cjs","names":["z","action"],"sources":["../../src/actions/list-statuses.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListStatusesInput = z.object({\n workspaceId: z.string().describe(\"Get statuses for a particular workspace. If not provided, returns statuses for all workspaces.\").optional(),\n}).describe(\"Request model for listing statuses in a Motion workspace.\");\nconst MotionListStatuses_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\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this is a resolved status\").nullable(),\n}).passthrough().describe(\"Represents a status in Motion.\");\nexport const MotionListStatusesOutput = z.object({\n statuses: z.array(MotionListStatuses_StatusSchema).describe(\"List of statuses\"),\n}).passthrough().describe(\"Response model for listing statuses.\");\n\nexport const motionListStatuses: AppAction<\n typeof MotionListStatusesInput,\n typeof MotionListStatusesOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_STATUSES\", {\n slug: \"motion-list-statuses\",\n name: \"List Statuses\",\n description: \"Tool to get a list of statuses for a Motion workspace. Use when you need to retrieve available task statuses for a workspace.\",\n input: MotionListStatusesInput,\n output: MotionListStatusesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,kBAAkB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-statuses.d.ts
|
|
@@ -11,21 +13,7 @@ declare const MotionListStatusesOutput: z.ZodObject<{
|
|
|
11
13
|
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const motionListStatuses:
|
|
15
|
-
workspaceId?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const motionListStatuses: AppAction<typeof MotionListStatusesInput, typeof MotionListStatusesOutput, typeof motion.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { motionListStatuses };
|
|
31
19
|
//# sourceMappingURL=list-statuses.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-statuses.d.cts","names":[],"sources":["../../src/actions/list-statuses.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-statuses.d.cts","names":[],"sources":["../../src/actions/list-statuses.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { motion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-statuses.d.ts
|
|
@@ -11,21 +13,7 @@ declare const MotionListStatusesOutput: z.ZodObject<{
|
|
|
11
13
|
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const motionListStatuses:
|
|
15
|
-
workspaceId?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const motionListStatuses: AppAction<typeof MotionListStatusesInput, typeof MotionListStatusesOutput, typeof motion.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { motionListStatuses };
|
|
31
19
|
//# sourceMappingURL=list-statuses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-statuses.d.mts","names":[],"sources":["../../src/actions/list-statuses.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-statuses.d.mts","names":[],"sources":["../../src/actions/list-statuses.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-statuses.mjs","names":[],"sources":["../../src/actions/list-statuses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListStatusesInput = z.object({\n workspaceId: z.string().describe(\"Get statuses for a particular workspace. If not provided, returns statuses for all workspaces.\").optional(),\n}).describe(\"Request model for listing statuses in a Motion workspace.\");\nconst MotionListStatuses_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\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this is a resolved status\").nullable(),\n}).passthrough().describe(\"Represents a status in Motion.\");\nexport const MotionListStatusesOutput = z.object({\n statuses: z.array(MotionListStatuses_StatusSchema).describe(\"List of statuses\"),\n}).passthrough().describe(\"Response model for listing statuses.\");\n\nexport const motionListStatuses = action(\"MOTION_LIST_STATUSES\", {\n slug: \"motion-list-statuses\",\n name: \"List Statuses\",\n description: \"Tool to get a list of statuses for a Motion workspace. Use when you need to retrieve available task statuses for a workspace.\",\n input: MotionListStatusesInput,\n output: MotionListStatusesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-statuses.mjs","names":[],"sources":["../../src/actions/list-statuses.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListStatusesInput = z.object({\n workspaceId: z.string().describe(\"Get statuses for a particular workspace. If not provided, returns statuses for all workspaces.\").optional(),\n}).describe(\"Request model for listing statuses in a Motion workspace.\");\nconst MotionListStatuses_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\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this is a resolved status\").nullable(),\n}).passthrough().describe(\"Represents a status in Motion.\");\nexport const MotionListStatusesOutput = z.object({\n statuses: z.array(MotionListStatuses_StatusSchema).describe(\"List of statuses\"),\n}).passthrough().describe(\"Response model for listing statuses.\");\n\nexport const motionListStatuses: AppAction<\n typeof MotionListStatusesInput,\n typeof MotionListStatusesOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_STATUSES\", {\n slug: \"motion-list-statuses\",\n name: \"List Statuses\",\n description: \"Tool to get a list of statuses for a Motion workspace. Use when you need to retrieve available task statuses for a workspace.\",\n input: MotionListStatusesInput,\n output: MotionListStatusesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,kBAAkB,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|