@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,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetAllPersonalLabelsOutput: z.ZodArray<z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
color: z.ZodOptional<z.ZodString>;
|
|
6
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
is_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, z.core.$strip>>;
|
|
9
|
+
export declare const getAllPersonalLabels: import("#pikku").PikkuFunctionConfig<unknown, {
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
color?: string | undefined;
|
|
13
|
+
order?: number | undefined;
|
|
14
|
+
is_favorite?: boolean | undefined;
|
|
15
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<unknown, {
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
color?: string | undefined;
|
|
19
|
+
order?: number | undefined;
|
|
20
|
+
is_favorite?: boolean | undefined;
|
|
21
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<unknown, {
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
color?: string | undefined;
|
|
25
|
+
order?: number | undefined;
|
|
26
|
+
is_favorite?: boolean | undefined;
|
|
27
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
28
|
+
//# sourceMappingURL=getAllPersonalLabels.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllPersonalLabels.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getAllPersonalLabels.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,0BAA0B;;;;;;kBAMpC,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;yEAM/B,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetAllPersonalLabelsOutput = z.array(z.object({
|
|
4
|
+
id: z.string().optional().describe("Label ID."),
|
|
5
|
+
name: z.string().optional().describe("Label name."),
|
|
6
|
+
color: z.string().optional().describe("The color of the label icon. Refer to the name column in the Colors guide for more info."),
|
|
7
|
+
order: z.number().int().optional().describe("Number used by clients to sort list of labels."),
|
|
8
|
+
is_favorite: z.boolean().optional().describe("Whether the label is a favorite (a true or false value)."),
|
|
9
|
+
}));
|
|
10
|
+
export const getAllPersonalLabels = pikkuSessionlessFunc({
|
|
11
|
+
description: "Returns a JSON-encoded array containing all user labels.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
12
|
+
output: GetAllPersonalLabelsOutput,
|
|
13
|
+
func: async ({ todoist }) => {
|
|
14
|
+
return todoist.call("GET", "/labels");
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=getAllPersonalLabels.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllPersonalLabels.function.js","sourceRoot":"","sources":["../../../src/functions/getAllPersonalLabels.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IACzD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACnD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0FAA0F,CAAC;IACjI,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IAC7F,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;CACzG,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;IACvD,WAAW,EAAE,wIAAwI;IACrJ,MAAM,EAAE,0BAA0B;IAClC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1B,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAQ,CAAA;IAC9C,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetAllProjectsOutput: z.ZodArray<z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
color: z.ZodOptional<z.ZodString>;
|
|
6
|
+
parent_id: z.ZodOptional<z.ZodUnknown>;
|
|
7
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
comment_count: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
is_shared: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
is_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
is_inbox_project: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
is_team_inbox: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
view_style: z.ZodOptional<z.ZodString>;
|
|
14
|
+
url: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
export declare const getAllProjects: import("#pikku").PikkuFunctionConfig<unknown, {
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
color?: string | undefined;
|
|
20
|
+
parent_id?: unknown;
|
|
21
|
+
order?: number | undefined;
|
|
22
|
+
comment_count?: number | undefined;
|
|
23
|
+
is_shared?: boolean | undefined;
|
|
24
|
+
is_favorite?: boolean | undefined;
|
|
25
|
+
is_inbox_project?: boolean | undefined;
|
|
26
|
+
is_team_inbox?: boolean | undefined;
|
|
27
|
+
view_style?: string | undefined;
|
|
28
|
+
url?: string | undefined;
|
|
29
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<unknown, {
|
|
30
|
+
id?: string | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
color?: string | undefined;
|
|
33
|
+
parent_id?: unknown;
|
|
34
|
+
order?: number | undefined;
|
|
35
|
+
comment_count?: number | undefined;
|
|
36
|
+
is_shared?: boolean | undefined;
|
|
37
|
+
is_favorite?: boolean | undefined;
|
|
38
|
+
is_inbox_project?: boolean | undefined;
|
|
39
|
+
is_team_inbox?: boolean | undefined;
|
|
40
|
+
view_style?: string | undefined;
|
|
41
|
+
url?: string | undefined;
|
|
42
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<unknown, {
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
name?: string | undefined;
|
|
45
|
+
color?: string | undefined;
|
|
46
|
+
parent_id?: unknown;
|
|
47
|
+
order?: number | undefined;
|
|
48
|
+
comment_count?: number | undefined;
|
|
49
|
+
is_shared?: boolean | undefined;
|
|
50
|
+
is_favorite?: boolean | undefined;
|
|
51
|
+
is_inbox_project?: boolean | undefined;
|
|
52
|
+
is_team_inbox?: boolean | undefined;
|
|
53
|
+
view_style?: string | undefined;
|
|
54
|
+
url?: string | undefined;
|
|
55
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
56
|
+
//# sourceMappingURL=getAllProjects.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllProjects.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getAllProjects.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;kBAa9B,CAAA;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAMzB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetAllProjectsOutput = z.array(z.object({
|
|
4
|
+
id: z.string().optional().describe("Project ID."),
|
|
5
|
+
name: z.string().optional().describe("Project name."),
|
|
6
|
+
color: z.string().optional().describe("The color of the project icon. Refer to the name column in the Colors guide for more info."),
|
|
7
|
+
parent_id: z.unknown().optional().describe("ID of parent project (will be null for top-level projects)."),
|
|
8
|
+
order: z.number().int().optional().describe("Project position under the same parent (read-only, will be 0 for inbox and team inbox projects)."),
|
|
9
|
+
comment_count: z.number().int().optional().describe("Number of project comments."),
|
|
10
|
+
is_shared: z.boolean().optional().describe("Whether the project is shared (read-only, a true or false value)."),
|
|
11
|
+
is_favorite: z.boolean().optional().describe("Whether the project is a favorite (a true or false value)."),
|
|
12
|
+
is_inbox_project: z.boolean().optional().describe("Whether the project is the user's Inbox (read-only)."),
|
|
13
|
+
is_team_inbox: z.boolean().optional().describe("Whether the project is the Team Inbox (read-only)."),
|
|
14
|
+
view_style: z.string().optional().describe("A string value (either list or board). This determines the way the project is displayed within the Todoist clients."),
|
|
15
|
+
url: z.string().optional().describe("URL to access this project in the Todoist web or mobile applications."),
|
|
16
|
+
}));
|
|
17
|
+
export const getAllProjects = pikkuSessionlessFunc({
|
|
18
|
+
description: "Returns JSON-encoded array containing all user projects.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
19
|
+
output: GetAllProjectsOutput,
|
|
20
|
+
func: async ({ todoist }) => {
|
|
21
|
+
return todoist.call("GET", "/projects");
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=getAllProjects.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllProjects.function.js","sourceRoot":"","sources":["../../../src/functions/getAllProjects.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,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QAAQ,EAAE,CAAC,QAAQ,CAAC,uEAAuE,CAAC;CAC7G,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;IACjD,WAAW,EAAE,wIAAwI;IACrJ,MAAM,EAAE,oBAAoB;IAC5B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1B,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAQ,CAAA;IAChD,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetAllSectionsInput: z.ZodObject<{
|
|
3
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetAllSectionsOutput: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
export declare const getAllSections: import("#pikku").PikkuFunctionConfig<{
|
|
12
|
+
project_id?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
order?: number | undefined;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
}[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
19
|
+
project_id?: string | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
project_id?: string | undefined;
|
|
23
|
+
order?: number | undefined;
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
}[], "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
26
|
+
project_id?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
project_id?: string | undefined;
|
|
30
|
+
order?: number | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
}[], "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
33
|
+
//# sourceMappingURL=getAllSections.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllSections.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getAllSections.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;iBAE9B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;kBAK9B,CAAA;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;yEAOzB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetAllSectionsInput = z.object({
|
|
4
|
+
project_id: z.string().optional().describe("Project ID."),
|
|
5
|
+
});
|
|
6
|
+
export const GetAllSectionsOutput = z.array(z.object({
|
|
7
|
+
id: z.string().optional().describe("Section ID"),
|
|
8
|
+
project_id: z.string().optional().describe("ID of the project section belongs to"),
|
|
9
|
+
order: z.number().int().optional().describe("Section position among other sections from the same project"),
|
|
10
|
+
name: z.string().optional().describe("Section name"),
|
|
11
|
+
}));
|
|
12
|
+
export const getAllSections = pikkuSessionlessFunc({
|
|
13
|
+
description: "Returns a JSON array of all sections.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
14
|
+
input: GetAllSectionsInput,
|
|
15
|
+
output: GetAllSectionsOutput,
|
|
16
|
+
func: async ({ todoist }, data) => {
|
|
17
|
+
return todoist.call("GET", "/sections", data);
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=getAllSections.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllSections.function.js","sourceRoot":"","sources":["../../../src/functions/getAllSections.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,aAAa,CAAC;CAC1D,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,YAAY,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAClF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;IAC1G,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CACrD,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;IACjD,WAAW,EAAE,qHAAqH;IAClI,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,WAAW,EAAE,IAAI,CAAQ,CAAA;IACtD,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetCommentInput: z.ZodObject<{
|
|
3
|
+
comment_id: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetCommentOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
task_id: z.ZodOptional<z.ZodUnknown>;
|
|
8
|
+
project_id: z.ZodOptional<z.ZodUnknown>;
|
|
9
|
+
posted_at: z.ZodOptional<z.ZodString>;
|
|
10
|
+
content: z.ZodOptional<z.ZodString>;
|
|
11
|
+
attachment: z.ZodOptional<z.ZodUnknown>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare const getComment: import("#pikku").PikkuFunctionConfig<{
|
|
14
|
+
comment_id: number;
|
|
15
|
+
}, {
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
task_id?: unknown;
|
|
18
|
+
project_id?: unknown;
|
|
19
|
+
posted_at?: string | undefined;
|
|
20
|
+
content?: string | undefined;
|
|
21
|
+
attachment?: unknown;
|
|
22
|
+
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
23
|
+
comment_id: number;
|
|
24
|
+
}, {
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
task_id?: unknown;
|
|
27
|
+
project_id?: unknown;
|
|
28
|
+
posted_at?: string | undefined;
|
|
29
|
+
content?: string | undefined;
|
|
30
|
+
attachment?: unknown;
|
|
31
|
+
}, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
32
|
+
comment_id: number;
|
|
33
|
+
}, {
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
task_id?: unknown;
|
|
36
|
+
project_id?: unknown;
|
|
37
|
+
posted_at?: string | undefined;
|
|
38
|
+
content?: string | undefined;
|
|
39
|
+
attachment?: unknown;
|
|
40
|
+
}, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
41
|
+
//# sourceMappingURL=getComment.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getComment.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getComment.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;iBAE1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;iBAO3B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOrB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetCommentInput = z.object({
|
|
4
|
+
comment_id: z.number().int().describe("The ID of the comment to retrieve."),
|
|
5
|
+
});
|
|
6
|
+
export const GetCommentOutput = z.object({
|
|
7
|
+
id: z.string().optional().describe("Comment ID."),
|
|
8
|
+
task_id: z.unknown().optional().describe("Comment's task ID (will be null if the comment belongs to a project)."),
|
|
9
|
+
project_id: z.unknown().optional().describe("Comment's project ID (will be null if the comment belongs to a task)."),
|
|
10
|
+
posted_at: z.string().datetime().optional().describe("Date and time when comment was added, in RFC3339 format in UTC."),
|
|
11
|
+
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."),
|
|
12
|
+
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."),
|
|
13
|
+
});
|
|
14
|
+
export const getComment = pikkuSessionlessFunc({
|
|
15
|
+
description: "Returns a single comment as a JSON object.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
16
|
+
input: GetCommentInput,
|
|
17
|
+
output: GetCommentOutput,
|
|
18
|
+
func: async ({ todoist }, data) => {
|
|
19
|
+
return todoist.call("GET", "/comments/{comment_id}", data);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=getComment.function.js.map
|
|
@@ -0,0 +1 @@
|
|
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AAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,wBAAwB,EAAE,IAAI,CAAQ,CAAA;IACnE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetPersonalLabelInput: z.ZodObject<{
|
|
3
|
+
label_id: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetPersonalLabelOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
color: z.ZodOptional<z.ZodString>;
|
|
9
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
is_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const getPersonalLabel: import("#pikku").PikkuFunctionConfig<{
|
|
13
|
+
label_id: number;
|
|
14
|
+
}, {
|
|
15
|
+
id?: string | undefined;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
color?: string | undefined;
|
|
18
|
+
order?: number | undefined;
|
|
19
|
+
is_favorite?: boolean | undefined;
|
|
20
|
+
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
21
|
+
label_id: number;
|
|
22
|
+
}, {
|
|
23
|
+
id?: string | undefined;
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
color?: string | undefined;
|
|
26
|
+
order?: number | undefined;
|
|
27
|
+
is_favorite?: boolean | undefined;
|
|
28
|
+
}, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
29
|
+
label_id: number;
|
|
30
|
+
}, {
|
|
31
|
+
id?: string | undefined;
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
color?: string | undefined;
|
|
34
|
+
order?: number | undefined;
|
|
35
|
+
is_favorite?: boolean | undefined;
|
|
36
|
+
}, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
37
|
+
//# sourceMappingURL=getPersonalLabel.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPersonalLabel.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getPersonalLabel.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,qBAAqB;;iBAEhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;uEAO3B,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetPersonalLabelInput = z.object({
|
|
4
|
+
label_id: z.number().int().describe("The ID of the label to retrieve."),
|
|
5
|
+
});
|
|
6
|
+
export const GetPersonalLabelOutput = z.object({
|
|
7
|
+
id: z.string().optional().describe("Label ID."),
|
|
8
|
+
name: z.string().optional().describe("Label name."),
|
|
9
|
+
color: z.string().optional().describe("The color of the label icon. Refer to the name column in the Colors guide for more info."),
|
|
10
|
+
order: z.number().int().optional().describe("Number used by clients to sort list of labels."),
|
|
11
|
+
is_favorite: z.boolean().optional().describe("Whether the label is a favorite (a true or false value)."),
|
|
12
|
+
});
|
|
13
|
+
export const getPersonalLabel = pikkuSessionlessFunc({
|
|
14
|
+
description: "Returns a personal label by ID.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
15
|
+
input: GetPersonalLabelInput,
|
|
16
|
+
output: GetPersonalLabelOutput,
|
|
17
|
+
func: async ({ todoist }, data) => {
|
|
18
|
+
return todoist.call("GET", "/labels/{label_id}", data);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=getPersonalLabel.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPersonalLabel.function.js","sourceRoot":"","sources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1,65 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetProjectInput: z.ZodObject<{
|
|
3
|
+
projectId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetProjectOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
color: z.ZodOptional<z.ZodString>;
|
|
9
|
+
parent_id: z.ZodOptional<z.ZodUnknown>;
|
|
10
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
comment_count: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
is_shared: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
is_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
is_inbox_project: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
is_team_inbox: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
view_style: z.ZodOptional<z.ZodString>;
|
|
17
|
+
url: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const getProject: import("#pikku").PikkuFunctionConfig<{
|
|
20
|
+
projectId: string;
|
|
21
|
+
}, {
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
color?: string | undefined;
|
|
25
|
+
parent_id?: unknown;
|
|
26
|
+
order?: number | undefined;
|
|
27
|
+
comment_count?: number | undefined;
|
|
28
|
+
is_shared?: boolean | undefined;
|
|
29
|
+
is_favorite?: boolean | undefined;
|
|
30
|
+
is_inbox_project?: boolean | undefined;
|
|
31
|
+
is_team_inbox?: boolean | undefined;
|
|
32
|
+
view_style?: string | undefined;
|
|
33
|
+
url?: string | undefined;
|
|
34
|
+
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
35
|
+
projectId: string;
|
|
36
|
+
}, {
|
|
37
|
+
id?: string | undefined;
|
|
38
|
+
name?: string | undefined;
|
|
39
|
+
color?: string | undefined;
|
|
40
|
+
parent_id?: unknown;
|
|
41
|
+
order?: number | undefined;
|
|
42
|
+
comment_count?: number | undefined;
|
|
43
|
+
is_shared?: boolean | undefined;
|
|
44
|
+
is_favorite?: boolean | undefined;
|
|
45
|
+
is_inbox_project?: boolean | undefined;
|
|
46
|
+
is_team_inbox?: boolean | undefined;
|
|
47
|
+
view_style?: string | undefined;
|
|
48
|
+
url?: string | undefined;
|
|
49
|
+
}, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
50
|
+
projectId: string;
|
|
51
|
+
}, {
|
|
52
|
+
id?: string | undefined;
|
|
53
|
+
name?: string | undefined;
|
|
54
|
+
color?: string | undefined;
|
|
55
|
+
parent_id?: unknown;
|
|
56
|
+
order?: number | undefined;
|
|
57
|
+
comment_count?: number | undefined;
|
|
58
|
+
is_shared?: boolean | undefined;
|
|
59
|
+
is_favorite?: boolean | undefined;
|
|
60
|
+
is_inbox_project?: boolean | undefined;
|
|
61
|
+
is_team_inbox?: boolean | undefined;
|
|
62
|
+
view_style?: string | undefined;
|
|
63
|
+
url?: string | undefined;
|
|
64
|
+
}, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
65
|
+
//# sourceMappingURL=getProject.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProject.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;iBAE1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBAa3B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOrB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetProjectInput = z.object({
|
|
4
|
+
projectId: z.string().describe("Project ID."),
|
|
5
|
+
});
|
|
6
|
+
export const GetProjectOutput = z.object({
|
|
7
|
+
id: z.string().optional().describe("Project ID."),
|
|
8
|
+
name: z.string().optional().describe("Project name."),
|
|
9
|
+
color: z.string().optional().describe("The color of the project icon. Refer to the name column in the Colors guide for more info."),
|
|
10
|
+
parent_id: z.unknown().optional().describe("ID of parent project (will be null for top-level projects)."),
|
|
11
|
+
order: z.number().int().optional().describe("Project position under the same parent (read-only, will be 0 for inbox and team inbox projects)."),
|
|
12
|
+
comment_count: z.number().int().optional().describe("Number of project comments."),
|
|
13
|
+
is_shared: z.boolean().optional().describe("Whether the project is shared (read-only, a true or false value)."),
|
|
14
|
+
is_favorite: z.boolean().optional().describe("Whether the project is a favorite (a true or false value)."),
|
|
15
|
+
is_inbox_project: z.boolean().optional().describe("Whether the project is the user's Inbox (read-only)."),
|
|
16
|
+
is_team_inbox: z.boolean().optional().describe("Whether the project is the Team Inbox (read-only)."),
|
|
17
|
+
view_style: z.string().optional().describe("A string value (either list or board). This determines the way the project is displayed within the Todoist clients."),
|
|
18
|
+
url: z.string().optional().describe("URL to access this project in the Todoist web or mobile applications."),
|
|
19
|
+
});
|
|
20
|
+
export const getProject = pikkuSessionlessFunc({
|
|
21
|
+
description: "Returns a JSON object containing a project object related to the given ID.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
22
|
+
input: GetProjectInput,
|
|
23
|
+
output: GetProjectOutput,
|
|
24
|
+
func: async ({ todoist }, data) => {
|
|
25
|
+
return todoist.call("GET", "/projects/{projectId}", data);
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=getProject.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProject.function.js","sourceRoot":"","sources":["../../../src/functions/getProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAA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AAC,QAAQ,CAAC,oDAAoD,CAAC;IACpG,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qHAAqH,CAAC;IACjK,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uEAAuE,CAAC;CAC7G,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,0JAA0J;IACvK,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,uBAAuB,EAAE,IAAI,CAAQ,CAAA;IAClE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GetSingleSectionInput: z.ZodObject<{
|
|
3
|
+
sectionId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const GetSingleSectionOutput: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const getSingleSection: import("#pikku").PikkuFunctionConfig<{
|
|
12
|
+
sectionId: string;
|
|
13
|
+
}, {
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
order?: number | undefined;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
19
|
+
sectionId: string;
|
|
20
|
+
}, {
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
project_id?: string | undefined;
|
|
23
|
+
order?: number | undefined;
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
}, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
26
|
+
sectionId: string;
|
|
27
|
+
}, {
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
project_id?: string | undefined;
|
|
30
|
+
order?: number | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
}, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
33
|
+
//# sourceMappingURL=getSingleSection.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSingleSection.function.d.ts","sourceRoot":"","sources":["../../../src/functions/getSingleSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,qBAAqB;;iBAEhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;iBAKjC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;uEAO3B,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const GetSingleSectionInput = z.object({
|
|
4
|
+
sectionId: z.string().describe("Section ID."),
|
|
5
|
+
});
|
|
6
|
+
export const GetSingleSectionOutput = z.object({
|
|
7
|
+
id: z.string().optional().describe("Section ID"),
|
|
8
|
+
project_id: z.string().optional().describe("ID of the project section belongs to"),
|
|
9
|
+
order: z.number().int().optional().describe("Section position among other sections from the same project"),
|
|
10
|
+
name: z.string().optional().describe("Section name"),
|
|
11
|
+
});
|
|
12
|
+
export const getSingleSection = pikkuSessionlessFunc({
|
|
13
|
+
description: "Returns a single section as a JSON object.\n\nA successful response has 200 OK status and application/json Content-Type.",
|
|
14
|
+
input: GetSingleSectionInput,
|
|
15
|
+
output: GetSingleSectionOutput,
|
|
16
|
+
func: async ({ todoist }, data) => {
|
|
17
|
+
return todoist.call("GET", "/sections/{sectionId}", data);
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=getSingleSection.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSingleSection.function.js","sourceRoot":"","sources":["../../../src/functions/getSingleSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAClF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;IAC1G,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CACrD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;IACnD,WAAW,EAAE,0HAA0H;IACvI,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,uBAAuB,EAAE,IAAI,CAAQ,CAAA;IAClE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ReopenTaskInput: z.ZodObject<{
|
|
3
|
+
taskId: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const reopenTask: 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=reopenTask.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reopenTask.function.d.ts","sourceRoot":"","sources":["../../../src/functions/reopenTask.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 ReopenTaskInput = z.object({
|
|
4
|
+
taskId: z.number().int().describe("The ID of the task to reopen."),
|
|
5
|
+
});
|
|
6
|
+
export const reopenTask = pikkuSessionlessFunc({
|
|
7
|
+
description: "Reopens a task. Any ancestor items or sections will also be marked as uncomplete and restored from history. The reinstated items and sections will appear at the end of the list within their parent, after any previously active items.\n\nA successful response has 204 No Content status...",
|
|
8
|
+
input: ReopenTaskInput,
|
|
9
|
+
func: async ({ todoist }, data) => {
|
|
10
|
+
return todoist.call("POST", "/tasks/{taskId}/reopen", data);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=reopenTask.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reopenTask.function.js","sourceRoot":"","sources":["../../../src/functions/reopenTask.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,gSAAgS;IAC7S,KAAK,EAAE,eAAe;IACtB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAA;IAC7D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UpdateCommentInput: z.ZodObject<{
|
|
3
|
+
comment_id: z.ZodString;
|
|
4
|
+
content: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const UpdateCommentOutput: 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 updateComment: import("#pikku").PikkuFunctionConfig<{
|
|
15
|
+
comment_id: string;
|
|
16
|
+
content: string;
|
|
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
|
+
comment_id: string;
|
|
26
|
+
content: string;
|
|
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
|
+
comment_id: string;
|
|
36
|
+
content: string;
|
|
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=updateComment.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateComment.function.d.ts","sourceRoot":"","sources":["../../../src/functions/updateComment.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOxB,CAAA"}
|