@pikku/addon-todoist 0.0.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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +796 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +516 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +62 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +62 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +798 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +826 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +30 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +103 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +199 -0
- package/dist/.pikku/schemas/schemas/CloseTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateCommentInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateCommentOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreatePersonalLabelInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreatePersonalLabelOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateProjectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateProjectOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateSectionInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateSectionOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateTaskOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_todoist.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteCommentInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeletePersonalLabelInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteProjectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteSectionInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetActiveTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetActiveTaskOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetActiveTasksInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetActiveTasksOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllCollaboratorsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllCollaboratorsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllCommentsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllCommentsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllPersonalLabelsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllProjectsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllSectionsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAllSectionsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetCommentInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetCommentOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetPersonalLabelInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetPersonalLabelOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetProjectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetProjectOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetSingleSectionInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetSingleSectionOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReopenTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateCommentInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateCommentOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdatePersonalLabelInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdatePersonalLabelOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateProjectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateProjectOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateSectionInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateSectionOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateTaskInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateTaskOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_TODOIST_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/closeTask.function.d.ts +12 -0
- package/dist/src/functions/closeTask.function.d.ts.map +1 -0
- package/dist/src/functions/closeTask.function.js +13 -0
- package/dist/src/functions/closeTask.function.js.map +1 -0
- package/dist/src/functions/createComment.function.d.ts +73 -0
- package/dist/src/functions/createComment.function.d.ts.map +1 -0
- package/dist/src/functions/createComment.function.js +30 -0
- package/dist/src/functions/createComment.function.js.map +1 -0
- package/dist/src/functions/createPersonalLabel.function.d.ts +49 -0
- package/dist/src/functions/createPersonalLabel.function.d.ts.map +1 -0
- package/dist/src/functions/createPersonalLabel.function.js +24 -0
- package/dist/src/functions/createPersonalLabel.function.js.map +1 -0
- package/dist/src/functions/createProject.function.d.ts +81 -0
- package/dist/src/functions/createProject.function.d.ts.map +1 -0
- package/dist/src/functions/createProject.function.js +32 -0
- package/dist/src/functions/createProject.function.js.map +1 -0
- package/dist/src/functions/createSection.function.d.ts +41 -0
- package/dist/src/functions/createSection.function.d.ts.map +1 -0
- package/dist/src/functions/createSection.function.js +22 -0
- package/dist/src/functions/createSection.function.js.map +1 -0
- package/dist/src/functions/createTask.function.d.ts +197 -0
- package/dist/src/functions/createTask.function.d.ts.map +1 -0
- package/dist/src/functions/createTask.function.js +61 -0
- package/dist/src/functions/createTask.function.js.map +1 -0
- package/dist/src/functions/deleteComment.function.d.ts +12 -0
- package/dist/src/functions/deleteComment.function.d.ts.map +1 -0
- package/dist/src/functions/deleteComment.function.js +13 -0
- package/dist/src/functions/deleteComment.function.js.map +1 -0
- package/dist/src/functions/deletePersonalLabel.function.d.ts +12 -0
- package/dist/src/functions/deletePersonalLabel.function.d.ts.map +1 -0
- package/dist/src/functions/deletePersonalLabel.function.js +13 -0
- package/dist/src/functions/deletePersonalLabel.function.js.map +1 -0
- package/dist/src/functions/deleteProject.function.d.ts +12 -0
- package/dist/src/functions/deleteProject.function.d.ts.map +1 -0
- package/dist/src/functions/deleteProject.function.js +13 -0
- package/dist/src/functions/deleteProject.function.js.map +1 -0
- package/dist/src/functions/deleteSection.function.d.ts +12 -0
- package/dist/src/functions/deleteSection.function.d.ts.map +1 -0
- package/dist/src/functions/deleteSection.function.js +13 -0
- package/dist/src/functions/deleteSection.function.js.map +1 -0
- package/dist/src/functions/deleteTask.function.d.ts +12 -0
- package/dist/src/functions/deleteTask.function.d.ts.map +1 -0
- package/dist/src/functions/deleteTask.function.js +13 -0
- package/dist/src/functions/deleteTask.function.js.map +1 -0
- package/dist/src/functions/getActiveTask.function.d.ts +141 -0
- package/dist/src/functions/getActiveTask.function.d.ts.map +1 -0
- package/dist/src/functions/getActiveTask.function.js +47 -0
- package/dist/src/functions/getActiveTask.function.js.map +1 -0
- package/dist/src/functions/getActiveTasks.function.d.ts +161 -0
- package/dist/src/functions/getActiveTasks.function.d.ts.map +1 -0
- package/dist/src/functions/getActiveTasks.function.js +52 -0
- package/dist/src/functions/getActiveTasks.function.js.map +1 -0
- package/dist/src/functions/getAllCollaborators.function.d.ts +29 -0
- package/dist/src/functions/getAllCollaborators.function.d.ts.map +1 -0
- package/dist/src/functions/getAllCollaborators.function.js +19 -0
- package/dist/src/functions/getAllCollaborators.function.js.map +1 -0
- package/dist/src/functions/getAllComments.function.d.ts +45 -0
- package/dist/src/functions/getAllComments.function.d.ts.map +1 -0
- package/dist/src/functions/getAllComments.function.js +23 -0
- package/dist/src/functions/getAllComments.function.js.map +1 -0
- package/dist/src/functions/getAllPersonalLabels.function.d.ts +28 -0
- package/dist/src/functions/getAllPersonalLabels.function.d.ts.map +1 -0
- package/dist/src/functions/getAllPersonalLabels.function.js +17 -0
- package/dist/src/functions/getAllPersonalLabels.function.js.map +1 -0
- package/dist/src/functions/getAllProjects.function.d.ts +56 -0
- package/dist/src/functions/getAllProjects.function.d.ts.map +1 -0
- package/dist/src/functions/getAllProjects.function.js +24 -0
- package/dist/src/functions/getAllProjects.function.js.map +1 -0
- package/dist/src/functions/getAllSections.function.d.ts +33 -0
- package/dist/src/functions/getAllSections.function.d.ts.map +1 -0
- package/dist/src/functions/getAllSections.function.js +20 -0
- package/dist/src/functions/getAllSections.function.js.map +1 -0
- package/dist/src/functions/getComment.function.d.ts +41 -0
- package/dist/src/functions/getComment.function.d.ts.map +1 -0
- package/dist/src/functions/getComment.function.js +22 -0
- package/dist/src/functions/getComment.function.js.map +1 -0
- package/dist/src/functions/getPersonalLabel.function.d.ts +37 -0
- package/dist/src/functions/getPersonalLabel.function.d.ts.map +1 -0
- package/dist/src/functions/getPersonalLabel.function.js +21 -0
- package/dist/src/functions/getPersonalLabel.function.js.map +1 -0
- package/dist/src/functions/getProject.function.d.ts +65 -0
- package/dist/src/functions/getProject.function.d.ts.map +1 -0
- package/dist/src/functions/getProject.function.js +28 -0
- package/dist/src/functions/getProject.function.js.map +1 -0
- package/dist/src/functions/getSingleSection.function.d.ts +33 -0
- package/dist/src/functions/getSingleSection.function.d.ts.map +1 -0
- package/dist/src/functions/getSingleSection.function.js +20 -0
- package/dist/src/functions/getSingleSection.function.js.map +1 -0
- package/dist/src/functions/reopenTask.function.d.ts +12 -0
- package/dist/src/functions/reopenTask.function.d.ts.map +1 -0
- package/dist/src/functions/reopenTask.function.js +13 -0
- package/dist/src/functions/reopenTask.function.js.map +1 -0
- package/dist/src/functions/updateComment.function.d.ts +45 -0
- package/dist/src/functions/updateComment.function.d.ts.map +1 -0
- package/dist/src/functions/updateComment.function.js +23 -0
- package/dist/src/functions/updateComment.function.js.map +1 -0
- package/dist/src/functions/updatePersonalLabel.function.d.ts +53 -0
- package/dist/src/functions/updatePersonalLabel.function.d.ts.map +1 -0
- package/dist/src/functions/updatePersonalLabel.function.js +25 -0
- package/dist/src/functions/updatePersonalLabel.function.js.map +1 -0
- package/dist/src/functions/updateProject.function.d.ts +81 -0
- package/dist/src/functions/updateProject.function.d.ts.map +1 -0
- package/dist/src/functions/updateProject.function.js +32 -0
- package/dist/src/functions/updateProject.function.js.map +1 -0
- package/dist/src/functions/updateSection.function.d.ts +37 -0
- package/dist/src/functions/updateSection.function.d.ts.map +1 -0
- package/dist/src/functions/updateSection.function.js +21 -0
- package/dist/src/functions/updateSection.function.js.map +1 -0
- package/dist/src/functions/updateTask.function.d.ts +185 -0
- package/dist/src/functions/updateTask.function.d.ts.map +1 -0
- package/dist/src/functions/updateTask.function.js +58 -0
- package/dist/src/functions/updateTask.function.js.map +1 -0
- package/dist/src/index.d.ts +29 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +29 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/dist/src/todoist-api.service.d.ts +10 -0
- package/dist/src/todoist-api.service.d.ts.map +1 -0
- package/dist/src/todoist-api.service.js +297 -0
- package/dist/src/todoist-api.service.js.map +1 -0
- package/dist/src/todoist.credential.d.ts +5 -0
- package/dist/src/todoist.credential.d.ts.map +1 -0
- package/dist/src/todoist.credential.js +13 -0
- package/dist/src/todoist.credential.js.map +1 -0
- package/dist/src/todoist.types.d.ts +7 -0
- package/dist/src/todoist.types.d.ts.map +1 -0
- package/dist/src/todoist.types.js +8 -0
- package/dist/src/todoist.types.js.map +1 -0
- package/dist/src/todoist.variable.d.ts +5 -0
- package/dist/src/todoist.variable.d.ts.map +1 -0
- package/dist/src/todoist.variable.js +11 -0
- package/dist/src/todoist.variable.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const DeleteSectionInput = z.object({
|
|
4
|
+
sectionId: z.string().describe("Section ID."),
|
|
5
|
+
});
|
|
6
|
+
export const deleteSection = pikkuSessionlessFunc({
|
|
7
|
+
description: "Deletes a section.\n\nA successful response has 204 No Content status and an empty body.",
|
|
8
|
+
input: DeleteSectionInput,
|
|
9
|
+
func: async ({ todoist }, data) => {
|
|
10
|
+
return todoist.call("DELETE", "/sections/{sectionId}", data);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=deleteSection.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteSection.function.js","sourceRoot":"","sources":["../../../src/functions/deleteSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,0FAA0F;IACvG,KAAK,EAAE,kBAAkB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,uBAAuB,EAAE,IAAI,CAAC,CAAA;IAC9D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DeleteTaskInput: z.ZodObject<{
|
|
3
|
+
taskId: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const deleteTask: import("#pikku").PikkuFunctionConfig<{
|
|
6
|
+
taskId: number;
|
|
7
|
+
}, unknown, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
8
|
+
taskId: number;
|
|
9
|
+
}, unknown, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
10
|
+
taskId: number;
|
|
11
|
+
}, unknown, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
12
|
+
//# sourceMappingURL=deleteTask.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteTask.function.d.ts","sourceRoot":"","sources":["../../../src/functions/deleteTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;iBAE1B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;gFAMrB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const DeleteTaskInput = z.object({
|
|
4
|
+
taskId: z.number().int().describe("The ID of the task to delete."),
|
|
5
|
+
});
|
|
6
|
+
export const deleteTask = pikkuSessionlessFunc({
|
|
7
|
+
description: "Deletes a task. \n\nA successful response has 204 No Content status and an empty body.",
|
|
8
|
+
input: DeleteTaskInput,
|
|
9
|
+
func: async ({ todoist }, data) => {
|
|
10
|
+
return todoist.call("DELETE", "/tasks/{taskId}", data);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=deleteTask.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteTask.function.js","sourceRoot":"","sources":["../../../src/functions/deleteTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CACnE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,wFAAwF;IACrG,KAAK,EAAE,eAAe;IACtB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAA;IACxD,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetActiveTaskInput: z.ZodObject<{
|
|
3
|
+
taskId: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetActiveTaskOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
section_id: z.ZodOptional<z.ZodUnknown>;
|
|
9
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
is_completed: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
parent_id: z.ZodOptional<z.ZodUnknown>;
|
|
14
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
dueObject: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
string: z.ZodString;
|
|
19
|
+
date: z.ZodString;
|
|
20
|
+
is_recurring: z.ZodBoolean;
|
|
21
|
+
datetime: z.ZodOptional<z.ZodString>;
|
|
22
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
url: z.ZodOptional<z.ZodString>;
|
|
26
|
+
comment_count: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
28
|
+
creator_id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
assignee_id: z.ZodOptional<z.ZodUnknown>;
|
|
30
|
+
assigner_id: z.ZodOptional<z.ZodUnknown>;
|
|
31
|
+
duration: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
durationObject: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
amount: z.ZodOptional<z.ZodUnknown>;
|
|
34
|
+
unit: z.ZodOptional<z.ZodUnknown>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const getActiveTask: import("#pikku").PikkuFunctionConfig<{
|
|
39
|
+
taskId: number;
|
|
40
|
+
}, {
|
|
41
|
+
id?: string | undefined;
|
|
42
|
+
project_id?: string | undefined;
|
|
43
|
+
section_id?: unknown;
|
|
44
|
+
content?: string | undefined;
|
|
45
|
+
description?: string | undefined;
|
|
46
|
+
is_completed?: boolean | undefined;
|
|
47
|
+
labels?: string[] | undefined;
|
|
48
|
+
parent_id?: unknown;
|
|
49
|
+
order?: number | undefined;
|
|
50
|
+
priority?: number | undefined;
|
|
51
|
+
due?: {
|
|
52
|
+
dueObject?: {
|
|
53
|
+
string: string;
|
|
54
|
+
date: string;
|
|
55
|
+
is_recurring: boolean;
|
|
56
|
+
datetime?: string | undefined;
|
|
57
|
+
timezone?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
url?: string | undefined;
|
|
61
|
+
comment_count?: number | undefined;
|
|
62
|
+
created_at?: string | undefined;
|
|
63
|
+
creator_id?: string | undefined;
|
|
64
|
+
assignee_id?: unknown;
|
|
65
|
+
assigner_id?: unknown;
|
|
66
|
+
duration?: {
|
|
67
|
+
durationObject?: {
|
|
68
|
+
amount?: unknown;
|
|
69
|
+
unit?: unknown;
|
|
70
|
+
} | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
73
|
+
taskId: number;
|
|
74
|
+
}, {
|
|
75
|
+
id?: string | undefined;
|
|
76
|
+
project_id?: string | undefined;
|
|
77
|
+
section_id?: unknown;
|
|
78
|
+
content?: string | undefined;
|
|
79
|
+
description?: string | undefined;
|
|
80
|
+
is_completed?: boolean | undefined;
|
|
81
|
+
labels?: string[] | undefined;
|
|
82
|
+
parent_id?: unknown;
|
|
83
|
+
order?: number | undefined;
|
|
84
|
+
priority?: number | undefined;
|
|
85
|
+
due?: {
|
|
86
|
+
dueObject?: {
|
|
87
|
+
string: string;
|
|
88
|
+
date: string;
|
|
89
|
+
is_recurring: boolean;
|
|
90
|
+
datetime?: string | undefined;
|
|
91
|
+
timezone?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
url?: string | undefined;
|
|
95
|
+
comment_count?: number | undefined;
|
|
96
|
+
created_at?: string | undefined;
|
|
97
|
+
creator_id?: string | undefined;
|
|
98
|
+
assignee_id?: unknown;
|
|
99
|
+
assigner_id?: unknown;
|
|
100
|
+
duration?: {
|
|
101
|
+
durationObject?: {
|
|
102
|
+
amount?: unknown;
|
|
103
|
+
unit?: unknown;
|
|
104
|
+
} | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
}, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
107
|
+
taskId: number;
|
|
108
|
+
}, {
|
|
109
|
+
id?: string | undefined;
|
|
110
|
+
project_id?: string | undefined;
|
|
111
|
+
section_id?: unknown;
|
|
112
|
+
content?: string | undefined;
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
is_completed?: boolean | undefined;
|
|
115
|
+
labels?: string[] | undefined;
|
|
116
|
+
parent_id?: unknown;
|
|
117
|
+
order?: number | undefined;
|
|
118
|
+
priority?: number | undefined;
|
|
119
|
+
due?: {
|
|
120
|
+
dueObject?: {
|
|
121
|
+
string: string;
|
|
122
|
+
date: string;
|
|
123
|
+
is_recurring: boolean;
|
|
124
|
+
datetime?: string | undefined;
|
|
125
|
+
timezone?: string | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
url?: string | undefined;
|
|
129
|
+
comment_count?: number | undefined;
|
|
130
|
+
created_at?: string | undefined;
|
|
131
|
+
creator_id?: string | undefined;
|
|
132
|
+
assignee_id?: unknown;
|
|
133
|
+
assigner_id?: unknown;
|
|
134
|
+
duration?: {
|
|
135
|
+
durationObject?: {
|
|
136
|
+
amount?: unknown;
|
|
137
|
+
unit?: unknown;
|
|
138
|
+
} | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
}, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
141
|
+
//# sourceMappingURL=getActiveTask.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveTask.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getActiveTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;iBAE7B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgC9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOxB,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetActiveTaskInput = z.object({
|
|
4
|
+
taskId: z.number().int().describe("The ID of the task to retrieve."),
|
|
5
|
+
});
|
|
6
|
+
export const GetActiveTaskOutput = z.object({
|
|
7
|
+
id: z.string().optional().describe("Task ID."),
|
|
8
|
+
project_id: z.string().optional().describe("Task's project ID (read-only)."),
|
|
9
|
+
section_id: z.unknown().optional().describe("ID of section task belongs to (read-only, will be null when the task has no parent section)."),
|
|
10
|
+
content: z.string().optional().describe("Task content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
|
|
11
|
+
description: z.string().optional().describe("A description for the task. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
|
|
12
|
+
is_completed: z.boolean().optional().describe("Flag to mark completed tasks."),
|
|
13
|
+
labels: z.array(z.string()).optional(),
|
|
14
|
+
parent_id: z.unknown().optional().describe("ID of parent task (read-only, will be null for top-level tasks)."),
|
|
15
|
+
order: z.number().int().optional().describe("Position under the same parent or project for top-level tasks (read-only)."),
|
|
16
|
+
priority: z.number().int().optional().describe("Task priority from 1 (normal, default value) to 4 (urgent)."),
|
|
17
|
+
due: z.object({
|
|
18
|
+
dueObject: z.object({
|
|
19
|
+
string: z.string().describe("Human defined date in arbitrary format."),
|
|
20
|
+
date: z.string().date().describe("Date in format YYYY-MM-DD corrected to user's timezone."),
|
|
21
|
+
is_recurring: z.boolean().describe("Whether the task has a recurring due date."),
|
|
22
|
+
datetime: z.string().datetime().optional().describe("Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC."),
|
|
23
|
+
timezone: z.string().optional().describe("Only returned if exact due time set, user's timezone definition either in tzdata-compatible format (\"Europe/Berlin\") or as a string specifying east of UTC offset as \"UTC±HH:MM\" (i.e. \"UTC-01:00\")."),
|
|
24
|
+
}).optional(),
|
|
25
|
+
}).optional().describe("Object representing task due date/time, or null if no date is set."),
|
|
26
|
+
url: z.string().optional().describe("URL to access this task in the Todoist web or mobile applications (read-only)."),
|
|
27
|
+
comment_count: z.number().int().optional().describe("Number of task comments (read-only)."),
|
|
28
|
+
created_at: z.string().optional().describe("The date when the task was created (read-only)."),
|
|
29
|
+
creator_id: z.string().optional().describe("The ID of the user who created the task (read-only)."),
|
|
30
|
+
assignee_id: z.unknown().optional().describe("The responsible user ID (will be null if the task is unassigned)."),
|
|
31
|
+
assigner_id: z.unknown().optional().describe("The ID of the user who assigned the task (read-only, will be null if the task is unassigned)."),
|
|
32
|
+
duration: z.object({
|
|
33
|
+
durationObject: z.object({
|
|
34
|
+
amount: z.unknown().optional().describe("A positive (greater than zero) integer for the amount of duration_unit the task will take, or null to unset. If specified, you must define a duration_unit."),
|
|
35
|
+
unit: z.unknown().optional().describe("The unit of time that the duration field above represents, or null to unset. Must be either minute or day. If specified, duration must be defined as well."),
|
|
36
|
+
}).optional(),
|
|
37
|
+
}).optional().describe("Object representing a task's duration, including a positive integer for the amount of time and the unit of time (minute or day). The object will be null if the task has no duration."),
|
|
38
|
+
});
|
|
39
|
+
export const getActiveTask = pikkuSessionlessFunc({
|
|
40
|
+
description: "Returns a single active (non-completed) task by ID as a JSON object.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
41
|
+
input: GetActiveTaskInput,
|
|
42
|
+
output: GetActiveTaskOutput,
|
|
43
|
+
func: async ({ todoist }, data) => {
|
|
44
|
+
return todoist.call("GET", "/tasks/{taskId}", data);
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=getActiveTask.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveTask.function.js","sourceRoot":"","sources":["../../../src/functions/getActiveTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;CACrE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,MAA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AChN,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,oJAAoJ;IACjK,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,iBAAiB,EAAE,IAAI,CAAQ,CAAA;IAC5D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetActiveTasksInput: z.ZodObject<{
|
|
3
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
section_id: z.ZodOptional<z.ZodString>;
|
|
5
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
7
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
8
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const GetActiveTasksOutput: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
section_id: z.ZodOptional<z.ZodUnknown>;
|
|
14
|
+
content: z.ZodOptional<z.ZodString>;
|
|
15
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16
|
+
is_completed: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
parent_id: z.ZodOptional<z.ZodUnknown>;
|
|
19
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
dueObject: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
string: z.ZodString;
|
|
24
|
+
date: z.ZodString;
|
|
25
|
+
is_recurring: z.ZodBoolean;
|
|
26
|
+
datetime: z.ZodOptional<z.ZodString>;
|
|
27
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
url: z.ZodOptional<z.ZodString>;
|
|
31
|
+
comment_count: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
33
|
+
creator_id: z.ZodOptional<z.ZodString>;
|
|
34
|
+
assignee_id: z.ZodOptional<z.ZodUnknown>;
|
|
35
|
+
assigner_id: z.ZodOptional<z.ZodUnknown>;
|
|
36
|
+
duration: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
durationObject: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
amount: z.ZodOptional<z.ZodUnknown>;
|
|
39
|
+
unit: z.ZodOptional<z.ZodUnknown>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
export declare const getActiveTasks: import("#pikku").PikkuFunctionConfig<{
|
|
44
|
+
project_id?: string | undefined;
|
|
45
|
+
section_id?: string | undefined;
|
|
46
|
+
label?: string | undefined;
|
|
47
|
+
filter?: string | undefined;
|
|
48
|
+
lang?: string | undefined;
|
|
49
|
+
ids?: number[] | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
id?: string | undefined;
|
|
52
|
+
project_id?: string | undefined;
|
|
53
|
+
section_id?: unknown;
|
|
54
|
+
content?: string | undefined;
|
|
55
|
+
description?: string | undefined;
|
|
56
|
+
is_completed?: boolean | undefined;
|
|
57
|
+
labels?: string[] | undefined;
|
|
58
|
+
parent_id?: unknown;
|
|
59
|
+
order?: number | undefined;
|
|
60
|
+
priority?: number | undefined;
|
|
61
|
+
due?: {
|
|
62
|
+
dueObject?: {
|
|
63
|
+
string: string;
|
|
64
|
+
date: string;
|
|
65
|
+
is_recurring: boolean;
|
|
66
|
+
datetime?: string | undefined;
|
|
67
|
+
timezone?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
url?: string | undefined;
|
|
71
|
+
comment_count?: number | undefined;
|
|
72
|
+
created_at?: string | undefined;
|
|
73
|
+
creator_id?: string | undefined;
|
|
74
|
+
assignee_id?: unknown;
|
|
75
|
+
assigner_id?: unknown;
|
|
76
|
+
duration?: {
|
|
77
|
+
durationObject?: {
|
|
78
|
+
amount?: unknown;
|
|
79
|
+
unit?: unknown;
|
|
80
|
+
} | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
83
|
+
project_id?: string | undefined;
|
|
84
|
+
section_id?: string | undefined;
|
|
85
|
+
label?: string | undefined;
|
|
86
|
+
filter?: string | undefined;
|
|
87
|
+
lang?: string | undefined;
|
|
88
|
+
ids?: number[] | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
id?: string | undefined;
|
|
91
|
+
project_id?: string | undefined;
|
|
92
|
+
section_id?: unknown;
|
|
93
|
+
content?: string | undefined;
|
|
94
|
+
description?: string | undefined;
|
|
95
|
+
is_completed?: boolean | undefined;
|
|
96
|
+
labels?: string[] | undefined;
|
|
97
|
+
parent_id?: unknown;
|
|
98
|
+
order?: number | undefined;
|
|
99
|
+
priority?: number | undefined;
|
|
100
|
+
due?: {
|
|
101
|
+
dueObject?: {
|
|
102
|
+
string: string;
|
|
103
|
+
date: string;
|
|
104
|
+
is_recurring: boolean;
|
|
105
|
+
datetime?: string | undefined;
|
|
106
|
+
timezone?: string | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
url?: string | undefined;
|
|
110
|
+
comment_count?: number | undefined;
|
|
111
|
+
created_at?: string | undefined;
|
|
112
|
+
creator_id?: string | undefined;
|
|
113
|
+
assignee_id?: unknown;
|
|
114
|
+
assigner_id?: unknown;
|
|
115
|
+
duration?: {
|
|
116
|
+
durationObject?: {
|
|
117
|
+
amount?: unknown;
|
|
118
|
+
unit?: unknown;
|
|
119
|
+
} | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
122
|
+
project_id?: string | undefined;
|
|
123
|
+
section_id?: string | undefined;
|
|
124
|
+
label?: string | undefined;
|
|
125
|
+
filter?: string | undefined;
|
|
126
|
+
lang?: string | undefined;
|
|
127
|
+
ids?: number[] | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
id?: string | undefined;
|
|
130
|
+
project_id?: string | undefined;
|
|
131
|
+
section_id?: unknown;
|
|
132
|
+
content?: string | undefined;
|
|
133
|
+
description?: string | undefined;
|
|
134
|
+
is_completed?: boolean | undefined;
|
|
135
|
+
labels?: string[] | undefined;
|
|
136
|
+
parent_id?: unknown;
|
|
137
|
+
order?: number | undefined;
|
|
138
|
+
priority?: number | undefined;
|
|
139
|
+
due?: {
|
|
140
|
+
dueObject?: {
|
|
141
|
+
string: string;
|
|
142
|
+
date: string;
|
|
143
|
+
is_recurring: boolean;
|
|
144
|
+
datetime?: string | undefined;
|
|
145
|
+
timezone?: string | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
url?: string | undefined;
|
|
149
|
+
comment_count?: number | undefined;
|
|
150
|
+
created_at?: string | undefined;
|
|
151
|
+
creator_id?: string | undefined;
|
|
152
|
+
assignee_id?: unknown;
|
|
153
|
+
assigner_id?: unknown;
|
|
154
|
+
duration?: {
|
|
155
|
+
durationObject?: {
|
|
156
|
+
amount?: unknown;
|
|
157
|
+
unit?: unknown;
|
|
158
|
+
} | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
161
|
+
//# sourceMappingURL=getActiveTasks.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveTasks.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getActiveTasks.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgC9B,CAAA;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAOzB,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetActiveTasksInput = z.object({
|
|
4
|
+
project_id: z.string().optional().describe("Filter tasks by project ID."),
|
|
5
|
+
section_id: z.string().optional().describe("Filter tasks by section ID."),
|
|
6
|
+
label: z.string().optional().describe("Filter tasks by label name."),
|
|
7
|
+
filter: z.string().optional().describe("Filter by any supported filter."),
|
|
8
|
+
lang: z.string().optional().describe("IETF language tag defining what language the filter is written in, if it differs from the default English."),
|
|
9
|
+
ids: z.array(z.number().int()).optional().describe("A list of the task IDs to retrieve, this should be a comma-separated list."),
|
|
10
|
+
});
|
|
11
|
+
export const GetActiveTasksOutput = z.array(z.object({
|
|
12
|
+
id: z.string().optional().describe("Task ID."),
|
|
13
|
+
project_id: z.string().optional().describe("Task's project ID (read-only)."),
|
|
14
|
+
section_id: z.unknown().optional().describe("ID of section task belongs to (read-only, will be null when the task has no parent section)."),
|
|
15
|
+
content: z.string().optional().describe("Task content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
|
|
16
|
+
description: z.string().optional().describe("A description for the task. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
|
|
17
|
+
is_completed: z.boolean().optional().describe("Flag to mark completed tasks."),
|
|
18
|
+
labels: z.array(z.string()).optional(),
|
|
19
|
+
parent_id: z.unknown().optional().describe("ID of parent task (read-only, will be null for top-level tasks)."),
|
|
20
|
+
order: z.number().int().optional().describe("Position under the same parent or project for top-level tasks (read-only)."),
|
|
21
|
+
priority: z.number().int().optional().describe("Task priority from 1 (normal, default value) to 4 (urgent)."),
|
|
22
|
+
due: z.object({
|
|
23
|
+
dueObject: z.object({
|
|
24
|
+
string: z.string().describe("Human defined date in arbitrary format."),
|
|
25
|
+
date: z.string().date().describe("Date in format YYYY-MM-DD corrected to user's timezone."),
|
|
26
|
+
is_recurring: z.boolean().describe("Whether the task has a recurring due date."),
|
|
27
|
+
datetime: z.string().datetime().optional().describe("Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC."),
|
|
28
|
+
timezone: z.string().optional().describe("Only returned if exact due time set, user's timezone definition either in tzdata-compatible format (\"Europe/Berlin\") or as a string specifying east of UTC offset as \"UTC±HH:MM\" (i.e. \"UTC-01:00\")."),
|
|
29
|
+
}).optional(),
|
|
30
|
+
}).optional().describe("Object representing task due date/time, or null if no date is set."),
|
|
31
|
+
url: z.string().optional().describe("URL to access this task in the Todoist web or mobile applications (read-only)."),
|
|
32
|
+
comment_count: z.number().int().optional().describe("Number of task comments (read-only)."),
|
|
33
|
+
created_at: z.string().optional().describe("The date when the task was created (read-only)."),
|
|
34
|
+
creator_id: z.string().optional().describe("The ID of the user who created the task (read-only)."),
|
|
35
|
+
assignee_id: z.unknown().optional().describe("The responsible user ID (will be null if the task is unassigned)."),
|
|
36
|
+
assigner_id: z.unknown().optional().describe("The ID of the user who assigned the task (read-only, will be null if the task is unassigned)."),
|
|
37
|
+
duration: z.object({
|
|
38
|
+
durationObject: z.object({
|
|
39
|
+
amount: z.unknown().optional().describe("A positive (greater than zero) integer for the amount of duration_unit the task will take, or null to unset. If specified, you must define a duration_unit."),
|
|
40
|
+
unit: z.unknown().optional().describe("The unit of time that the duration field above represents, or null to unset. Must be either minute or day. If specified, duration must be defined as well."),
|
|
41
|
+
}).optional(),
|
|
42
|
+
}).optional().describe("Object representing a task's duration, including a positive integer for the amount of time and the unit of time (minute or day). The object will be null if the task has no duration."),
|
|
43
|
+
}));
|
|
44
|
+
export const getActiveTasks = pikkuSessionlessFunc({
|
|
45
|
+
description: "Returns a JSON-encoded array containing all active tasks.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
46
|
+
input: GetActiveTasksInput,
|
|
47
|
+
output: GetActiveTasksOutput,
|
|
48
|
+
func: async ({ todoist }, data) => {
|
|
49
|
+
return todoist.call("GET", "/tasks", data);
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=getActiveTasks.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveTasks.function.js","sourceRoot":"","sources":["../../../src/functions/getActiveTasks.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACzE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACzE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACpE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,IAAI,EAAE,CAAC,CAA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CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+FAA+F,CAAC;IAC7I,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC;YACvB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6JAA6J,CAAC;YACtM,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4JAA4J,CAAC;SACpM,CAAC,CAAC,QAAQ,EAAE;KACd,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uLAAuL,CAAC;CAChN,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;IACjD,WAAW,EAAE,yIAAyI;IACtJ,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAQ,CAAA;IACnD,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetAllCollaboratorsInput: z.ZodObject<{
|
|
3
|
+
projectId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetAllCollaboratorsOutput: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
export declare const getAllCollaborators: import("#pikku").PikkuFunctionConfig<{
|
|
11
|
+
projectId: string;
|
|
12
|
+
}, {
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
email?: string | undefined;
|
|
16
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
17
|
+
projectId: string;
|
|
18
|
+
}, {
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
email?: string | undefined;
|
|
22
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
23
|
+
projectId: string;
|
|
24
|
+
}, {
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
email?: string | undefined;
|
|
28
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
29
|
+
//# sourceMappingURL=getAllCollaborators.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllCollaborators.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getAllCollaborators.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,wBAAwB;;iBAEnC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;kBAInC,CAAA;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;yEAO9B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetAllCollaboratorsInput = z.object({
|
|
4
|
+
projectId: z.string().describe("Project ID."),
|
|
5
|
+
});
|
|
6
|
+
export const GetAllCollaboratorsOutput = z.array(z.object({
|
|
7
|
+
id: z.string().optional().describe("Collaborator's user ID"),
|
|
8
|
+
name: z.string().optional().describe("Collaborator's name"),
|
|
9
|
+
email: z.string().optional().describe("Collaborator's email"),
|
|
10
|
+
}));
|
|
11
|
+
export const getAllCollaborators = pikkuSessionlessFunc({
|
|
12
|
+
description: "Returns JSON-encoded array containing all collaborators of a shared project.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
13
|
+
input: GetAllCollaboratorsInput,
|
|
14
|
+
output: GetAllCollaboratorsOutput,
|
|
15
|
+
func: async ({ todoist }, data) => {
|
|
16
|
+
return todoist.call("GET", "/projects/{projectId}/collaborators", data);
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=getAllCollaborators.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllCollaborators.function.js","sourceRoot":"","sources":["../../../src/functions/getAllCollaborators.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IACxD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAC5D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAC3D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CAC9D,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;IACtD,WAAW,EAAE,4JAA4J;IACzK,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,qCAAqC,EAAE,IAAI,CAAQ,CAAA;IAChF,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetAllCommentsInput: z.ZodObject<{
|
|
3
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const GetAllCommentsOutput: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
task_id: z.ZodOptional<z.ZodUnknown>;
|
|
9
|
+
project_id: z.ZodOptional<z.ZodUnknown>;
|
|
10
|
+
posted_at: z.ZodOptional<z.ZodString>;
|
|
11
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12
|
+
attachment: z.ZodOptional<z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
export declare const getAllComments: import("#pikku").PikkuFunctionConfig<{
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
task_id?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
task_id?: unknown;
|
|
20
|
+
project_id?: unknown;
|
|
21
|
+
posted_at?: string | undefined;
|
|
22
|
+
content?: string | undefined;
|
|
23
|
+
attachment?: unknown;
|
|
24
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
25
|
+
project_id?: string | undefined;
|
|
26
|
+
task_id?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
task_id?: unknown;
|
|
30
|
+
project_id?: unknown;
|
|
31
|
+
posted_at?: string | undefined;
|
|
32
|
+
content?: string | undefined;
|
|
33
|
+
attachment?: unknown;
|
|
34
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
35
|
+
project_id?: string | undefined;
|
|
36
|
+
task_id?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
task_id?: unknown;
|
|
40
|
+
project_id?: unknown;
|
|
41
|
+
posted_at?: string | undefined;
|
|
42
|
+
content?: string | undefined;
|
|
43
|
+
attachment?: unknown;
|
|
44
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
45
|
+
//# sourceMappingURL=getAllComments.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllComments.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getAllComments.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;kBAO9B,CAAA;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAOzB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetAllCommentsInput = z.object({
|
|
4
|
+
project_id: z.string().optional().describe("ID of the project used to filter comments. task_id or project_id required"),
|
|
5
|
+
task_id: z.string().optional().describe("ID of the task used to filter comments. task_id or project_id required"),
|
|
6
|
+
});
|
|
7
|
+
export const GetAllCommentsOutput = z.array(z.object({
|
|
8
|
+
id: z.string().optional().describe("Comment ID."),
|
|
9
|
+
task_id: z.unknown().optional().describe("Comment's task ID (will be null if the comment belongs to a project)."),
|
|
10
|
+
project_id: z.unknown().optional().describe("Comment's project ID (will be null if the comment belongs to a task)."),
|
|
11
|
+
posted_at: z.string().datetime().optional().describe("Date and time when comment was added, in RFC3339 format in UTC."),
|
|
12
|
+
content: z.string().optional().describe("Comment content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
|
|
13
|
+
attachment: z.unknown().optional().describe("Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation."),
|
|
14
|
+
}));
|
|
15
|
+
export const getAllComments = pikkuSessionlessFunc({
|
|
16
|
+
description: "Returns a JSON-encoded array of all comments for a given task_id or project_id. Note that one of task_id or project_id arguments is required.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
17
|
+
input: GetAllCommentsInput,
|
|
18
|
+
output: GetAllCommentsOutput,
|
|
19
|
+
func: async ({ todoist }, data) => {
|
|
20
|
+
return todoist.call("GET", "/comments", data);
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=getAllComments.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllComments.function.js","sourceRoot":"","sources":["../../../src/functions/getAllComments.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2EAA2E,CAAC;IACvH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;CAClH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IACnD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uEAAuE,C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