@keystrokehq/shortcut 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-category.cjs +1 -1
- package/dist/actions/create-category.cjs.map +1 -1
- package/dist/actions/create-category.d.cts +1 -1
- package/dist/actions/create-category.d.mts +1 -1
- package/dist/actions/create-category.mjs +1 -1
- package/dist/actions/create-category.mjs.map +1 -1
- package/dist/actions/create-doc.cjs +1 -1
- package/dist/actions/create-doc.cjs.map +1 -1
- package/dist/actions/create-doc.d.cts +1 -1
- package/dist/actions/create-doc.d.mts +1 -1
- package/dist/actions/create-doc.mjs +1 -1
- package/dist/actions/create-doc.mjs.map +1 -1
- package/dist/actions/create-entity-template.cjs +12 -12
- package/dist/actions/create-entity-template.cjs.map +1 -1
- package/dist/actions/create-entity-template.d.cts +15 -12
- package/dist/actions/create-entity-template.d.mts +15 -12
- package/dist/actions/create-entity-template.mjs +12 -12
- package/dist/actions/create-entity-template.mjs.map +1 -1
- package/dist/actions/create-epic-comment-comment.cjs +1 -1
- package/dist/actions/create-epic-comment-comment.cjs.map +1 -1
- package/dist/actions/create-epic-comment-comment.d.cts +1 -1
- package/dist/actions/create-epic-comment-comment.d.mts +1 -1
- package/dist/actions/create-epic-comment-comment.mjs +1 -1
- package/dist/actions/create-epic-comment-comment.mjs.map +1 -1
- package/dist/actions/create-epic-comment.cjs +1 -1
- package/dist/actions/create-epic-comment.cjs.map +1 -1
- package/dist/actions/create-epic-comment.d.cts +1 -1
- package/dist/actions/create-epic-comment.d.mts +1 -1
- package/dist/actions/create-epic-comment.mjs +1 -1
- package/dist/actions/create-epic-comment.mjs.map +1 -1
- package/dist/actions/create-epic-health.cjs +1 -1
- package/dist/actions/create-epic-health.cjs.map +1 -1
- package/dist/actions/create-epic-health.d.cts +1 -1
- package/dist/actions/create-epic-health.d.mts +1 -1
- package/dist/actions/create-epic-health.mjs +1 -1
- package/dist/actions/create-epic-health.mjs.map +1 -1
- package/dist/actions/create-epic.cjs +7 -7
- package/dist/actions/create-epic.cjs.map +1 -1
- package/dist/actions/create-epic.d.cts +8 -7
- package/dist/actions/create-epic.d.mts +8 -7
- package/dist/actions/create-epic.mjs +7 -7
- package/dist/actions/create-epic.mjs.map +1 -1
- package/dist/actions/create-generic-integration.cjs +1 -1
- package/dist/actions/create-generic-integration.cjs.map +1 -1
- package/dist/actions/create-generic-integration.d.cts +1 -1
- package/dist/actions/create-generic-integration.d.mts +1 -1
- package/dist/actions/create-generic-integration.mjs +1 -1
- package/dist/actions/create-generic-integration.mjs.map +1 -1
- package/dist/actions/create-group.cjs +2 -2
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +2 -2
- package/dist/actions/create-group.d.mts +2 -2
- package/dist/actions/create-group.mjs +2 -2
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-iteration.cjs +4 -4
- package/dist/actions/create-iteration.cjs.map +1 -1
- package/dist/actions/create-iteration.d.cts +5 -4
- package/dist/actions/create-iteration.d.mts +5 -4
- package/dist/actions/create-iteration.mjs +4 -4
- package/dist/actions/create-iteration.mjs.map +1 -1
- package/dist/actions/create-label.cjs +2 -2
- package/dist/actions/create-label.cjs.map +1 -1
- package/dist/actions/create-label.d.cts +2 -2
- package/dist/actions/create-label.d.mts +2 -2
- package/dist/actions/create-label.mjs +2 -2
- package/dist/actions/create-label.mjs.map +1 -1
- package/dist/actions/create-linked-file.cjs +1 -1
- package/dist/actions/create-linked-file.cjs.map +1 -1
- package/dist/actions/create-linked-file.d.cts +1 -1
- package/dist/actions/create-linked-file.d.mts +1 -1
- package/dist/actions/create-linked-file.mjs +1 -1
- package/dist/actions/create-linked-file.mjs.map +1 -1
- package/dist/actions/create-multiple-stories.cjs +7 -7
- package/dist/actions/create-multiple-stories.cjs.map +1 -1
- package/dist/actions/create-multiple-stories.d.cts +14 -7
- package/dist/actions/create-multiple-stories.d.mts +14 -7
- package/dist/actions/create-multiple-stories.mjs +7 -7
- package/dist/actions/create-multiple-stories.mjs.map +1 -1
- package/dist/actions/create-objective.cjs +6 -6
- package/dist/actions/create-objective.cjs.map +1 -1
- package/dist/actions/create-objective.d.cts +7 -6
- package/dist/actions/create-objective.d.mts +7 -6
- package/dist/actions/create-objective.mjs +6 -6
- package/dist/actions/create-objective.mjs.map +1 -1
- package/dist/actions/create-project.cjs +1 -1
- package/dist/actions/create-project.cjs.map +1 -1
- package/dist/actions/create-project.d.cts +1 -1
- package/dist/actions/create-project.d.mts +1 -1
- package/dist/actions/create-project.mjs +1 -1
- package/dist/actions/create-project.mjs.map +1 -1
- package/dist/actions/create-story-comment.cjs +1 -1
- package/dist/actions/create-story-comment.cjs.map +1 -1
- package/dist/actions/create-story-comment.d.cts +1 -1
- package/dist/actions/create-story-comment.d.mts +1 -1
- package/dist/actions/create-story-comment.mjs +1 -1
- package/dist/actions/create-story-comment.mjs.map +1 -1
- package/dist/actions/create-story-from-template.cjs +23 -23
- package/dist/actions/create-story-from-template.cjs.map +1 -1
- package/dist/actions/create-story-from-template.d.cts +33 -23
- package/dist/actions/create-story-from-template.d.mts +33 -23
- package/dist/actions/create-story-from-template.mjs +23 -23
- package/dist/actions/create-story-from-template.mjs.map +1 -1
- package/dist/actions/create-story-link.cjs +1 -1
- package/dist/actions/create-story-link.cjs.map +1 -1
- package/dist/actions/create-story-link.d.cts +1 -1
- package/dist/actions/create-story-link.d.mts +1 -1
- package/dist/actions/create-story-link.mjs +1 -1
- package/dist/actions/create-story-link.mjs.map +1 -1
- package/dist/actions/create-story.cjs +6 -6
- package/dist/actions/create-story.cjs.map +1 -1
- package/dist/actions/create-story.d.cts +12 -6
- package/dist/actions/create-story.d.mts +12 -6
- package/dist/actions/create-story.mjs +6 -6
- package/dist/actions/create-story.mjs.map +1 -1
- package/dist/actions/create-task.cjs +13 -13
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +13 -13
- package/dist/actions/create-task.d.mts +13 -13
- package/dist/actions/create-task.mjs +13 -13
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/delete-category.cjs +1 -1
- package/dist/actions/delete-category.cjs.map +1 -1
- package/dist/actions/delete-category.d.cts +1 -1
- package/dist/actions/delete-category.d.cts.map +1 -1
- package/dist/actions/delete-category.d.mts +1 -1
- package/dist/actions/delete-category.d.mts.map +1 -1
- package/dist/actions/delete-category.mjs +1 -1
- package/dist/actions/delete-category.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +1 -1
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +1 -1
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-entity-template.cjs +1 -1
- package/dist/actions/delete-entity-template.cjs.map +1 -1
- package/dist/actions/delete-entity-template.d.cts +1 -1
- package/dist/actions/delete-entity-template.d.cts.map +1 -1
- package/dist/actions/delete-entity-template.d.mts +1 -1
- package/dist/actions/delete-entity-template.d.mts.map +1 -1
- package/dist/actions/delete-entity-template.mjs +1 -1
- package/dist/actions/delete-entity-template.mjs.map +1 -1
- package/dist/actions/delete-epic-comment.cjs +1 -1
- package/dist/actions/delete-epic-comment.cjs.map +1 -1
- package/dist/actions/delete-epic-comment.d.cts +1 -1
- package/dist/actions/delete-epic-comment.d.cts.map +1 -1
- package/dist/actions/delete-epic-comment.d.mts +1 -1
- package/dist/actions/delete-epic-comment.d.mts.map +1 -1
- package/dist/actions/delete-epic-comment.mjs +1 -1
- package/dist/actions/delete-epic-comment.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-generic-integration.cjs +1 -1
- package/dist/actions/delete-generic-integration.cjs.map +1 -1
- package/dist/actions/delete-generic-integration.d.cts +1 -1
- package/dist/actions/delete-generic-integration.d.cts.map +1 -1
- package/dist/actions/delete-generic-integration.d.mts +1 -1
- package/dist/actions/delete-generic-integration.d.mts.map +1 -1
- package/dist/actions/delete-generic-integration.mjs +1 -1
- package/dist/actions/delete-generic-integration.mjs.map +1 -1
- package/dist/actions/delete-iteration.cjs +1 -1
- package/dist/actions/delete-iteration.cjs.map +1 -1
- package/dist/actions/delete-iteration.d.cts +1 -1
- package/dist/actions/delete-iteration.d.cts.map +1 -1
- package/dist/actions/delete-iteration.d.mts +1 -1
- package/dist/actions/delete-iteration.d.mts.map +1 -1
- package/dist/actions/delete-iteration.mjs +1 -1
- package/dist/actions/delete-iteration.mjs.map +1 -1
- package/dist/actions/delete-label.cjs +1 -1
- package/dist/actions/delete-label.cjs.map +1 -1
- package/dist/actions/delete-label.d.cts +1 -1
- package/dist/actions/delete-label.d.cts.map +1 -1
- package/dist/actions/delete-label.d.mts +1 -1
- package/dist/actions/delete-label.d.mts.map +1 -1
- package/dist/actions/delete-label.mjs +1 -1
- package/dist/actions/delete-label.mjs.map +1 -1
- package/dist/actions/delete-linked-file.cjs +1 -1
- package/dist/actions/delete-linked-file.cjs.map +1 -1
- package/dist/actions/delete-linked-file.d.cts +1 -1
- package/dist/actions/delete-linked-file.d.cts.map +1 -1
- package/dist/actions/delete-linked-file.d.mts +1 -1
- package/dist/actions/delete-linked-file.d.mts.map +1 -1
- package/dist/actions/delete-linked-file.mjs +1 -1
- package/dist/actions/delete-linked-file.mjs.map +1 -1
- package/dist/actions/delete-multiple-stories.cjs +1 -1
- package/dist/actions/delete-multiple-stories.cjs.map +1 -1
- package/dist/actions/delete-multiple-stories.d.cts +1 -1
- package/dist/actions/delete-multiple-stories.d.cts.map +1 -1
- package/dist/actions/delete-multiple-stories.d.mts +1 -1
- package/dist/actions/delete-multiple-stories.d.mts.map +1 -1
- package/dist/actions/delete-multiple-stories.mjs +1 -1
- package/dist/actions/delete-multiple-stories.mjs.map +1 -1
- package/dist/actions/delete-objective.cjs +1 -1
- package/dist/actions/delete-objective.cjs.map +1 -1
- package/dist/actions/delete-objective.d.cts +1 -1
- package/dist/actions/delete-objective.d.cts.map +1 -1
- package/dist/actions/delete-objective.d.mts +1 -1
- package/dist/actions/delete-objective.d.mts.map +1 -1
- package/dist/actions/delete-objective.mjs +1 -1
- package/dist/actions/delete-objective.mjs.map +1 -1
- package/dist/actions/delete-project.cjs +1 -1
- package/dist/actions/delete-project.cjs.map +1 -1
- package/dist/actions/delete-project.d.cts +1 -1
- package/dist/actions/delete-project.d.cts.map +1 -1
- package/dist/actions/delete-project.d.mts +1 -1
- package/dist/actions/delete-project.d.mts.map +1 -1
- package/dist/actions/delete-project.mjs +1 -1
- package/dist/actions/delete-project.mjs.map +1 -1
- package/dist/actions/delete-story-comment.cjs +1 -1
- package/dist/actions/delete-story-comment.cjs.map +1 -1
- package/dist/actions/delete-story-comment.d.cts +1 -1
- package/dist/actions/delete-story-comment.d.cts.map +1 -1
- package/dist/actions/delete-story-comment.d.mts +1 -1
- package/dist/actions/delete-story-comment.d.mts.map +1 -1
- package/dist/actions/delete-story-comment.mjs +1 -1
- package/dist/actions/delete-story-comment.mjs.map +1 -1
- package/dist/actions/delete-story-link.cjs +1 -1
- package/dist/actions/delete-story-link.cjs.map +1 -1
- package/dist/actions/delete-story-link.d.cts +1 -1
- package/dist/actions/delete-story-link.d.cts.map +1 -1
- package/dist/actions/delete-story-link.d.mts +1 -1
- package/dist/actions/delete-story-link.d.mts.map +1 -1
- package/dist/actions/delete-story-link.mjs +1 -1
- package/dist/actions/delete-story-link.mjs.map +1 -1
- package/dist/actions/delete-story-reaction.cjs +1 -1
- package/dist/actions/delete-story-reaction.cjs.map +1 -1
- package/dist/actions/delete-story-reaction.d.cts +1 -1
- package/dist/actions/delete-story-reaction.d.cts.map +1 -1
- package/dist/actions/delete-story-reaction.d.mts +1 -1
- package/dist/actions/delete-story-reaction.d.mts.map +1 -1
- package/dist/actions/delete-story-reaction.mjs +1 -1
- package/dist/actions/delete-story-reaction.mjs.map +1 -1
- package/dist/actions/delete-story.cjs +1 -1
- package/dist/actions/delete-story.cjs.map +1 -1
- package/dist/actions/delete-story.d.cts +1 -1
- package/dist/actions/delete-story.d.cts.map +1 -1
- package/dist/actions/delete-story.d.mts +1 -1
- package/dist/actions/delete-story.d.mts.map +1 -1
- package/dist/actions/delete-story.mjs +1 -1
- package/dist/actions/delete-story.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -1
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +1 -1
- package/dist/actions/delete-task.d.cts.map +1 -1
- package/dist/actions/delete-task.d.mts +1 -1
- package/dist/actions/delete-task.d.mts.map +1 -1
- package/dist/actions/delete-task.mjs +1 -1
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/disable-iterations.cjs +1 -1
- package/dist/actions/disable-iterations.cjs.map +1 -1
- package/dist/actions/disable-iterations.d.cts +1 -1
- package/dist/actions/disable-iterations.d.cts.map +1 -1
- package/dist/actions/disable-iterations.d.mts +1 -1
- package/dist/actions/disable-iterations.d.mts.map +1 -1
- package/dist/actions/disable-iterations.mjs +1 -1
- package/dist/actions/disable-iterations.mjs.map +1 -1
- package/dist/actions/disable-story-templates.cjs +1 -1
- package/dist/actions/disable-story-templates.cjs.map +1 -1
- package/dist/actions/disable-story-templates.d.cts +1 -1
- package/dist/actions/disable-story-templates.d.cts.map +1 -1
- package/dist/actions/disable-story-templates.d.mts +1 -1
- package/dist/actions/disable-story-templates.d.mts.map +1 -1
- package/dist/actions/disable-story-templates.mjs +1 -1
- package/dist/actions/disable-story-templates.mjs.map +1 -1
- package/dist/actions/enable-iterations.cjs +1 -1
- package/dist/actions/enable-iterations.cjs.map +1 -1
- package/dist/actions/enable-iterations.d.cts +1 -1
- package/dist/actions/enable-iterations.d.cts.map +1 -1
- package/dist/actions/enable-iterations.d.mts +1 -1
- package/dist/actions/enable-iterations.d.mts.map +1 -1
- package/dist/actions/enable-iterations.mjs +1 -1
- package/dist/actions/enable-iterations.mjs.map +1 -1
- package/dist/actions/enable-story-templates.cjs +1 -1
- package/dist/actions/enable-story-templates.cjs.map +1 -1
- package/dist/actions/enable-story-templates.d.cts +1 -1
- package/dist/actions/enable-story-templates.d.cts.map +1 -1
- package/dist/actions/enable-story-templates.d.mts +1 -1
- package/dist/actions/enable-story-templates.d.mts.map +1 -1
- package/dist/actions/enable-story-templates.mjs +1 -1
- package/dist/actions/enable-story-templates.mjs.map +1 -1
- package/dist/actions/get-category.cjs +1 -1
- package/dist/actions/get-category.cjs.map +1 -1
- package/dist/actions/get-category.d.cts +1 -1
- package/dist/actions/get-category.d.mts +1 -1
- package/dist/actions/get-category.mjs +1 -1
- package/dist/actions/get-category.mjs.map +1 -1
- package/dist/actions/get-current-member-info.cjs +3 -3
- package/dist/actions/get-current-member-info.cjs.map +1 -1
- package/dist/actions/get-current-member-info.d.cts +3 -3
- package/dist/actions/get-current-member-info.d.mts +3 -3
- package/dist/actions/get-current-member-info.mjs +3 -3
- package/dist/actions/get-current-member-info.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +2 -2
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +2 -2
- package/dist/actions/get-custom-field.d.mts +2 -2
- package/dist/actions/get-custom-field.mjs +2 -2
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-doc.cjs +1 -1
- package/dist/actions/get-doc.cjs.map +1 -1
- package/dist/actions/get-doc.d.cts +1 -1
- package/dist/actions/get-doc.d.mts +1 -1
- package/dist/actions/get-doc.mjs +1 -1
- package/dist/actions/get-doc.mjs.map +1 -1
- package/dist/actions/get-entity-template.cjs +9 -9
- package/dist/actions/get-entity-template.cjs.map +1 -1
- package/dist/actions/get-entity-template.d.cts +9 -9
- package/dist/actions/get-entity-template.d.mts +9 -9
- package/dist/actions/get-entity-template.mjs +9 -9
- package/dist/actions/get-entity-template.mjs.map +1 -1
- package/dist/actions/get-epic-comment.cjs +1 -1
- package/dist/actions/get-epic-comment.cjs.map +1 -1
- package/dist/actions/get-epic-comment.d.cts +1 -1
- package/dist/actions/get-epic-comment.d.mts +1 -1
- package/dist/actions/get-epic-comment.mjs +1 -1
- package/dist/actions/get-epic-comment.mjs.map +1 -1
- package/dist/actions/get-epic-health.cjs +1 -1
- package/dist/actions/get-epic-health.cjs.map +1 -1
- package/dist/actions/get-epic-health.d.cts +1 -1
- package/dist/actions/get-epic-health.d.mts +1 -1
- package/dist/actions/get-epic-health.mjs +1 -1
- package/dist/actions/get-epic-health.mjs.map +1 -1
- package/dist/actions/get-epic-workflow.cjs +2 -2
- package/dist/actions/get-epic-workflow.cjs.map +1 -1
- package/dist/actions/get-epic-workflow.d.cts +2 -2
- package/dist/actions/get-epic-workflow.d.mts +2 -2
- package/dist/actions/get-epic-workflow.mjs +2 -2
- package/dist/actions/get-epic-workflow.mjs.map +1 -1
- package/dist/actions/get-epic.cjs +6 -6
- package/dist/actions/get-epic.cjs.map +1 -1
- package/dist/actions/get-epic.d.cts +6 -6
- package/dist/actions/get-epic.d.mts +6 -6
- package/dist/actions/get-epic.mjs +6 -6
- package/dist/actions/get-epic.mjs.map +1 -1
- package/dist/actions/get-file.cjs +1 -1
- package/dist/actions/get-file.cjs.map +1 -1
- package/dist/actions/get-file.d.cts +1 -1
- package/dist/actions/get-file.d.mts +1 -1
- package/dist/actions/get-file.mjs +1 -1
- package/dist/actions/get-file.mjs.map +1 -1
- package/dist/actions/get-generic-integration.cjs +1 -1
- package/dist/actions/get-generic-integration.cjs.map +1 -1
- package/dist/actions/get-generic-integration.d.cts +1 -1
- package/dist/actions/get-generic-integration.d.mts +1 -1
- package/dist/actions/get-generic-integration.mjs +1 -1
- package/dist/actions/get-generic-integration.mjs.map +1 -1
- package/dist/actions/get-group.cjs +2 -2
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +2 -2
- package/dist/actions/get-group.d.mts +2 -2
- package/dist/actions/get-group.mjs +2 -2
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-iteration.cjs +3 -3
- package/dist/actions/get-iteration.cjs.map +1 -1
- package/dist/actions/get-iteration.d.cts +3 -3
- package/dist/actions/get-iteration.d.mts +3 -3
- package/dist/actions/get-iteration.mjs +3 -3
- package/dist/actions/get-iteration.mjs.map +1 -1
- package/dist/actions/get-key-result.cjs +2 -2
- package/dist/actions/get-key-result.cjs.map +1 -1
- package/dist/actions/get-key-result.d.cts +4 -4
- package/dist/actions/get-key-result.d.mts +4 -4
- package/dist/actions/get-key-result.mjs +2 -2
- package/dist/actions/get-key-result.mjs.map +1 -1
- package/dist/actions/get-label.cjs +2 -2
- package/dist/actions/get-label.cjs.map +1 -1
- package/dist/actions/get-label.d.cts +2 -2
- package/dist/actions/get-label.d.mts +2 -2
- package/dist/actions/get-label.mjs +2 -2
- package/dist/actions/get-label.mjs.map +1 -1
- package/dist/actions/get-linked-file.cjs +1 -1
- package/dist/actions/get-linked-file.cjs.map +1 -1
- package/dist/actions/get-linked-file.d.cts +1 -1
- package/dist/actions/get-linked-file.d.mts +1 -1
- package/dist/actions/get-linked-file.mjs +1 -1
- package/dist/actions/get-linked-file.mjs.map +1 -1
- package/dist/actions/get-member.cjs +3 -3
- package/dist/actions/get-member.cjs.map +1 -1
- package/dist/actions/get-member.d.cts +3 -3
- package/dist/actions/get-member.d.mts +3 -3
- package/dist/actions/get-member.mjs +3 -3
- package/dist/actions/get-member.mjs.map +1 -1
- package/dist/actions/get-objective.cjs +3 -3
- package/dist/actions/get-objective.cjs.map +1 -1
- package/dist/actions/get-objective.d.cts +3 -3
- package/dist/actions/get-objective.d.mts +3 -3
- package/dist/actions/get-objective.mjs +3 -3
- package/dist/actions/get-objective.mjs.map +1 -1
- package/dist/actions/get-project.cjs +2 -2
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +2 -2
- package/dist/actions/get-project.d.mts +2 -2
- package/dist/actions/get-project.mjs +2 -2
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-story-comment.cjs +1 -1
- package/dist/actions/get-story-comment.cjs.map +1 -1
- package/dist/actions/get-story-comment.d.cts +1 -1
- package/dist/actions/get-story-comment.d.mts +1 -1
- package/dist/actions/get-story-comment.mjs +1 -1
- package/dist/actions/get-story-comment.mjs.map +1 -1
- package/dist/actions/get-story-link.cjs +1 -1
- package/dist/actions/get-story-link.cjs.map +1 -1
- package/dist/actions/get-story-link.d.cts +1 -1
- package/dist/actions/get-story-link.d.mts +1 -1
- package/dist/actions/get-story-link.mjs +1 -1
- package/dist/actions/get-story-link.mjs.map +1 -1
- package/dist/actions/get-story.cjs +4 -4
- package/dist/actions/get-story.cjs.map +1 -1
- package/dist/actions/get-story.d.cts +4 -4
- package/dist/actions/get-story.d.mts +4 -4
- package/dist/actions/get-story.mjs +4 -4
- package/dist/actions/get-story.mjs.map +1 -1
- package/dist/actions/get-task.cjs +1 -1
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +1 -1
- package/dist/actions/get-task.d.mts +1 -1
- package/dist/actions/get-task.mjs +1 -1
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +2 -2
- package/dist/actions/get-workflow.cjs.map +1 -1
- package/dist/actions/get-workflow.d.cts +2 -2
- package/dist/actions/get-workflow.d.mts +2 -2
- package/dist/actions/get-workflow.mjs +2 -2
- package/dist/actions/get-workflow.mjs.map +1 -1
- package/dist/actions/list-epics-paginated.cjs +3 -3
- package/dist/actions/list-epics-paginated.cjs.map +1 -1
- package/dist/actions/list-epics-paginated.d.cts +3 -3
- package/dist/actions/list-epics-paginated.d.mts +3 -3
- package/dist/actions/list-epics-paginated.mjs +3 -3
- package/dist/actions/list-epics-paginated.mjs.map +1 -1
- package/dist/actions/list-stories.cjs +11 -11
- package/dist/actions/list-stories.cjs.map +1 -1
- package/dist/actions/list-stories.d.cts +11 -11
- package/dist/actions/list-stories.d.mts +11 -11
- package/dist/actions/list-stories.mjs +11 -11
- package/dist/actions/list-stories.mjs.map +1 -1
- package/dist/actions/search-documents.cjs +2 -2
- package/dist/actions/search-documents.cjs.map +1 -1
- package/dist/actions/search-documents.d.cts +2 -2
- package/dist/actions/search-documents.d.mts +2 -2
- package/dist/actions/search-documents.mjs +2 -2
- package/dist/actions/search-documents.mjs.map +1 -1
- package/dist/actions/search-epics.cjs +2 -2
- package/dist/actions/search-epics.cjs.map +1 -1
- package/dist/actions/search-epics.d.cts +4 -4
- package/dist/actions/search-epics.d.mts +4 -4
- package/dist/actions/search-epics.mjs +2 -2
- package/dist/actions/search-epics.mjs.map +1 -1
- package/dist/actions/search-iterations.cjs +2 -2
- package/dist/actions/search-iterations.cjs.map +1 -1
- package/dist/actions/search-iterations.d.cts +4 -4
- package/dist/actions/search-iterations.d.mts +4 -4
- package/dist/actions/search-iterations.mjs +2 -2
- package/dist/actions/search-iterations.mjs.map +1 -1
- package/dist/actions/search-milestones.cjs +4 -4
- package/dist/actions/search-milestones.cjs.map +1 -1
- package/dist/actions/search-milestones.d.cts +6 -6
- package/dist/actions/search-milestones.d.mts +6 -6
- package/dist/actions/search-milestones.mjs +4 -4
- package/dist/actions/search-milestones.mjs.map +1 -1
- package/dist/actions/search-objectives.cjs +4 -4
- package/dist/actions/search-objectives.cjs.map +1 -1
- package/dist/actions/search-objectives.d.cts +6 -6
- package/dist/actions/search-objectives.d.mts +6 -6
- package/dist/actions/search-objectives.mjs +4 -4
- package/dist/actions/search-objectives.mjs.map +1 -1
- package/dist/actions/search-stories-old.cjs +5 -5
- package/dist/actions/search-stories-old.cjs.map +1 -1
- package/dist/actions/search-stories-old.d.cts +7 -7
- package/dist/actions/search-stories-old.d.mts +7 -7
- package/dist/actions/search-stories-old.mjs +5 -5
- package/dist/actions/search-stories-old.mjs.map +1 -1
- package/dist/actions/search-stories.cjs +14 -14
- package/dist/actions/search-stories.cjs.map +1 -1
- package/dist/actions/search-stories.d.cts +16 -16
- package/dist/actions/search-stories.d.mts +16 -16
- package/dist/actions/search-stories.mjs +14 -14
- package/dist/actions/search-stories.mjs.map +1 -1
- package/dist/actions/search.cjs +2 -2
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +4 -4
- package/dist/actions/search.d.mts +4 -4
- package/dist/actions/search.mjs +2 -2
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/story-history.cjs +3 -3
- package/dist/actions/story-history.cjs.map +1 -1
- package/dist/actions/story-history.d.cts +3 -3
- package/dist/actions/story-history.d.mts +3 -3
- package/dist/actions/story-history.mjs +3 -3
- package/dist/actions/story-history.mjs.map +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.cjs +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.cjs.map +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.d.cts +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.d.cts.map +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.d.mts +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.d.mts.map +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.mjs +1 -1
- package/dist/actions/unlink-comment-thread-from-slack.mjs.map +1 -1
- package/dist/actions/unlink-document-from-epic.cjs +1 -1
- package/dist/actions/unlink-document-from-epic.cjs.map +1 -1
- package/dist/actions/unlink-document-from-epic.d.cts +1 -1
- package/dist/actions/unlink-document-from-epic.d.cts.map +1 -1
- package/dist/actions/unlink-document-from-epic.d.mts +1 -1
- package/dist/actions/unlink-document-from-epic.d.mts.map +1 -1
- package/dist/actions/unlink-document-from-epic.mjs +1 -1
- package/dist/actions/unlink-document-from-epic.mjs.map +1 -1
- package/dist/actions/unlink-productboard-from-epic.cjs +5 -5
- package/dist/actions/unlink-productboard-from-epic.cjs.map +1 -1
- package/dist/actions/unlink-productboard-from-epic.d.cts +5 -5
- package/dist/actions/unlink-productboard-from-epic.d.mts +5 -5
- package/dist/actions/unlink-productboard-from-epic.mjs +5 -5
- package/dist/actions/unlink-productboard-from-epic.mjs.map +1 -1
- package/dist/actions/update-category.cjs +1 -1
- package/dist/actions/update-category.cjs.map +1 -1
- package/dist/actions/update-category.d.cts +1 -1
- package/dist/actions/update-category.d.mts +1 -1
- package/dist/actions/update-category.mjs +1 -1
- package/dist/actions/update-category.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +3 -3
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +4 -3
- package/dist/actions/update-custom-field.d.mts +4 -3
- package/dist/actions/update-custom-field.mjs +3 -3
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-doc.cjs +1 -1
- package/dist/actions/update-doc.cjs.map +1 -1
- package/dist/actions/update-doc.d.cts +1 -1
- package/dist/actions/update-doc.d.mts +1 -1
- package/dist/actions/update-doc.mjs +1 -1
- package/dist/actions/update-doc.mjs.map +1 -1
- package/dist/actions/update-entity-template.cjs +11 -11
- package/dist/actions/update-entity-template.cjs.map +1 -1
- package/dist/actions/update-entity-template.d.cts +14 -11
- package/dist/actions/update-entity-template.d.mts +14 -11
- package/dist/actions/update-entity-template.mjs +11 -11
- package/dist/actions/update-entity-template.mjs.map +1 -1
- package/dist/actions/update-epic-comment.cjs +1 -1
- package/dist/actions/update-epic-comment.cjs.map +1 -1
- package/dist/actions/update-epic-comment.d.cts +1 -1
- package/dist/actions/update-epic-comment.d.mts +1 -1
- package/dist/actions/update-epic-comment.mjs +1 -1
- package/dist/actions/update-epic-comment.mjs.map +1 -1
- package/dist/actions/update-epic.cjs +7 -7
- package/dist/actions/update-epic.cjs.map +1 -1
- package/dist/actions/update-epic.d.cts +8 -7
- package/dist/actions/update-epic.d.mts +8 -7
- package/dist/actions/update-epic.mjs +7 -7
- package/dist/actions/update-epic.mjs.map +1 -1
- package/dist/actions/update-file.cjs +1 -1
- package/dist/actions/update-file.cjs.map +1 -1
- package/dist/actions/update-file.d.cts +1 -1
- package/dist/actions/update-file.d.mts +1 -1
- package/dist/actions/update-file.mjs +1 -1
- package/dist/actions/update-file.mjs.map +1 -1
- package/dist/actions/update-group.cjs +2 -2
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +2 -2
- package/dist/actions/update-group.d.mts +2 -2
- package/dist/actions/update-group.mjs +2 -2
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-health.cjs +1 -1
- package/dist/actions/update-health.cjs.map +1 -1
- package/dist/actions/update-health.d.cts +1 -1
- package/dist/actions/update-health.d.mts +1 -1
- package/dist/actions/update-health.mjs +1 -1
- package/dist/actions/update-health.mjs.map +1 -1
- package/dist/actions/update-iteration.cjs +6 -6
- package/dist/actions/update-iteration.cjs.map +1 -1
- package/dist/actions/update-iteration.d.cts +7 -6
- package/dist/actions/update-iteration.d.mts +7 -6
- package/dist/actions/update-iteration.mjs +6 -6
- package/dist/actions/update-iteration.mjs.map +1 -1
- package/dist/actions/update-key-result.cjs +2 -2
- package/dist/actions/update-key-result.cjs.map +1 -1
- package/dist/actions/update-key-result.d.cts +4 -4
- package/dist/actions/update-key-result.d.mts +4 -4
- package/dist/actions/update-key-result.mjs +2 -2
- package/dist/actions/update-key-result.mjs.map +1 -1
- package/dist/actions/update-label.cjs +2 -2
- package/dist/actions/update-label.cjs.map +1 -1
- package/dist/actions/update-label.d.cts +2 -2
- package/dist/actions/update-label.d.mts +2 -2
- package/dist/actions/update-label.mjs +2 -2
- package/dist/actions/update-label.mjs.map +1 -1
- package/dist/actions/update-linked-file.cjs +1 -1
- package/dist/actions/update-linked-file.cjs.map +1 -1
- package/dist/actions/update-linked-file.d.cts +1 -1
- package/dist/actions/update-linked-file.d.mts +1 -1
- package/dist/actions/update-linked-file.mjs +1 -1
- package/dist/actions/update-linked-file.mjs.map +1 -1
- package/dist/actions/update-multiple-stories.cjs +4 -4
- package/dist/actions/update-multiple-stories.cjs.map +1 -1
- package/dist/actions/update-multiple-stories.d.cts +8 -4
- package/dist/actions/update-multiple-stories.d.mts +8 -4
- package/dist/actions/update-multiple-stories.mjs +4 -4
- package/dist/actions/update-multiple-stories.mjs.map +1 -1
- package/dist/actions/update-objective.cjs +4 -4
- package/dist/actions/update-objective.cjs.map +1 -1
- package/dist/actions/update-objective.d.cts +5 -4
- package/dist/actions/update-objective.d.mts +5 -4
- package/dist/actions/update-objective.mjs +4 -4
- package/dist/actions/update-objective.mjs.map +1 -1
- package/dist/actions/update-project.cjs +2 -2
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +2 -2
- package/dist/actions/update-project.d.mts +2 -2
- package/dist/actions/update-project.mjs +2 -2
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/actions/update-story-comment.cjs +1 -1
- package/dist/actions/update-story-comment.cjs.map +1 -1
- package/dist/actions/update-story-comment.d.cts +1 -1
- package/dist/actions/update-story-comment.d.mts +1 -1
- package/dist/actions/update-story-comment.mjs +1 -1
- package/dist/actions/update-story-comment.mjs.map +1 -1
- package/dist/actions/update-story-link.cjs +1 -1
- package/dist/actions/update-story-link.cjs.map +1 -1
- package/dist/actions/update-story-link.d.cts +1 -1
- package/dist/actions/update-story-link.d.mts +1 -1
- package/dist/actions/update-story-link.mjs +1 -1
- package/dist/actions/update-story-link.mjs.map +1 -1
- package/dist/actions/update-story.cjs +5 -5
- package/dist/actions/update-story.cjs.map +1 -1
- package/dist/actions/update-story.d.cts +7 -5
- package/dist/actions/update-story.d.mts +7 -5
- package/dist/actions/update-story.mjs +5 -5
- package/dist/actions/update-story.mjs.map +1 -1
- package/dist/actions/update-task.cjs +2 -2
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +2 -2
- package/dist/actions/update-task.d.mts +2 -2
- package/dist/actions/update-task.mjs +2 -2
- package/dist/actions/update-task.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-story.cjs","names":["z","action"],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The id of the group to associate with this story.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the story\"),\n labels: z.array(z.unknown()).describe(\"An array of labels attached to the story\"),\n app_url: z.string().describe(\"The Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to the story\"),\n deadline: z.string().describe(\"The due date of the story (ISO 8601 date-time format)\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label ids attached to the story\"),\n lead_time: z.number().int().describe(\"The lead time (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers\"),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACz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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-story.cjs","names":["z","action"],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The id of the group to associate with this story.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).passthrough().describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).passthrough().describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).passthrough().describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the story\"),\n labels: z.array(z.unknown()).describe(\"An array of labels attached to the story\"),\n app_url: z.string().describe(\"The Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to the story\"),\n deadline: z.string().describe(\"The due date of the story (ISO 8601 date-time format)\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label ids attached to the story\"),\n lead_time: z.number().int().describe(\"The lead time (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers\"),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,MAAMA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SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
10
10
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
11
11
|
description: z.ZodString;
|
|
12
12
|
external_id: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
color: z.ZodOptional<z.ZodString>;
|
|
17
17
|
description: z.ZodOptional<z.ZodString>;
|
|
18
18
|
external_id: z.ZodOptional<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
epic_id: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
move_to: z.ZodOptional<z.ZodEnum<{
|
|
22
22
|
last: "last";
|
|
@@ -30,7 +30,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
30
30
|
created_at: z.ZodOptional<z.ZodString>;
|
|
31
31
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
32
32
|
external_id: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
deadline: z.ZodOptional<z.ZodString>;
|
|
35
35
|
estimate: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -38,7 +38,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
38
38
|
owner_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
39
|
sub_tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
40
|
name: z.ZodString;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
created_at: z.ZodOptional<z.ZodString>;
|
|
43
43
|
project_id: z.ZodOptional<z.ZodNumber>;
|
|
44
44
|
story_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -57,14 +57,14 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
57
57
|
}>;
|
|
58
58
|
object_id: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
subject_id: z.ZodOptional<z.ZodNumber>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>>;
|
|
61
61
|
follower_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
62
|
iteration_id: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
64
64
|
value: z.ZodOptional<z.ZodString>;
|
|
65
65
|
field_id: z.ZodString;
|
|
66
66
|
value_id: z.ZodString;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
69
|
source_task_id: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -139,6 +139,7 @@ declare const ShortcutCreateStoryOutput: z.ZodObject<{
|
|
|
139
139
|
declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
140
140
|
name: string;
|
|
141
141
|
tasks?: {
|
|
142
|
+
[x: string]: unknown;
|
|
142
143
|
description: string;
|
|
143
144
|
complete?: boolean | undefined;
|
|
144
145
|
owner_ids?: string[] | undefined;
|
|
@@ -147,6 +148,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
147
148
|
external_id?: string | undefined;
|
|
148
149
|
}[] | undefined;
|
|
149
150
|
labels?: {
|
|
151
|
+
[x: string]: unknown;
|
|
150
152
|
name: string;
|
|
151
153
|
color?: string | undefined;
|
|
152
154
|
description?: string | undefined;
|
|
@@ -156,6 +158,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
156
158
|
move_to?: "last" | "first" | undefined;
|
|
157
159
|
archived?: boolean | undefined;
|
|
158
160
|
comments?: {
|
|
161
|
+
[x: string]: unknown;
|
|
159
162
|
text: string;
|
|
160
163
|
author_id?: string | undefined;
|
|
161
164
|
parent_id?: number | undefined;
|
|
@@ -169,6 +172,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
169
172
|
group_id?: string | undefined;
|
|
170
173
|
owner_ids?: string[] | undefined;
|
|
171
174
|
sub_tasks?: {
|
|
175
|
+
[x: string]: unknown;
|
|
172
176
|
name: string;
|
|
173
177
|
}[] | undefined;
|
|
174
178
|
created_at?: string | undefined;
|
|
@@ -178,6 +182,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
178
182
|
description?: string | undefined;
|
|
179
183
|
external_id?: string | undefined;
|
|
180
184
|
story_links?: {
|
|
185
|
+
[x: string]: unknown;
|
|
181
186
|
verb: "blocks" | "duplicates" | "relates to";
|
|
182
187
|
object_id?: number | undefined;
|
|
183
188
|
subject_id?: number | undefined;
|
|
@@ -185,6 +190,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
185
190
|
follower_ids?: string[] | undefined;
|
|
186
191
|
iteration_id?: number | undefined;
|
|
187
192
|
custom_fields?: {
|
|
193
|
+
[x: string]: unknown;
|
|
188
194
|
field_id: string;
|
|
189
195
|
value_id: string;
|
|
190
196
|
value?: string | undefined;
|
|
@@ -10,13 +10,13 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
10
10
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
11
11
|
description: z.ZodString;
|
|
12
12
|
external_id: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
color: z.ZodOptional<z.ZodString>;
|
|
17
17
|
description: z.ZodOptional<z.ZodString>;
|
|
18
18
|
external_id: z.ZodOptional<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
epic_id: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
move_to: z.ZodOptional<z.ZodEnum<{
|
|
22
22
|
last: "last";
|
|
@@ -30,7 +30,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
30
30
|
created_at: z.ZodOptional<z.ZodString>;
|
|
31
31
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
32
32
|
external_id: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
deadline: z.ZodOptional<z.ZodString>;
|
|
35
35
|
estimate: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -38,7 +38,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
38
38
|
owner_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
39
|
sub_tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
40
|
name: z.ZodString;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
created_at: z.ZodOptional<z.ZodString>;
|
|
43
43
|
project_id: z.ZodOptional<z.ZodNumber>;
|
|
44
44
|
story_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -57,14 +57,14 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
|
|
|
57
57
|
}>;
|
|
58
58
|
object_id: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
subject_id: z.ZodOptional<z.ZodNumber>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>>;
|
|
61
61
|
follower_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
62
|
iteration_id: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
64
64
|
value: z.ZodOptional<z.ZodString>;
|
|
65
65
|
field_id: z.ZodString;
|
|
66
66
|
value_id: z.ZodString;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
69
|
source_task_id: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -139,6 +139,7 @@ declare const ShortcutCreateStoryOutput: z.ZodObject<{
|
|
|
139
139
|
declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
140
140
|
name: string;
|
|
141
141
|
tasks?: {
|
|
142
|
+
[x: string]: unknown;
|
|
142
143
|
description: string;
|
|
143
144
|
complete?: boolean | undefined;
|
|
144
145
|
owner_ids?: string[] | undefined;
|
|
@@ -147,6 +148,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
147
148
|
external_id?: string | undefined;
|
|
148
149
|
}[] | undefined;
|
|
149
150
|
labels?: {
|
|
151
|
+
[x: string]: unknown;
|
|
150
152
|
name: string;
|
|
151
153
|
color?: string | undefined;
|
|
152
154
|
description?: string | undefined;
|
|
@@ -156,6 +158,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
156
158
|
move_to?: "last" | "first" | undefined;
|
|
157
159
|
archived?: boolean | undefined;
|
|
158
160
|
comments?: {
|
|
161
|
+
[x: string]: unknown;
|
|
159
162
|
text: string;
|
|
160
163
|
author_id?: string | undefined;
|
|
161
164
|
parent_id?: number | undefined;
|
|
@@ -169,6 +172,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
169
172
|
group_id?: string | undefined;
|
|
170
173
|
owner_ids?: string[] | undefined;
|
|
171
174
|
sub_tasks?: {
|
|
175
|
+
[x: string]: unknown;
|
|
172
176
|
name: string;
|
|
173
177
|
}[] | undefined;
|
|
174
178
|
created_at?: string | undefined;
|
|
@@ -178,6 +182,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
178
182
|
description?: string | undefined;
|
|
179
183
|
external_id?: string | undefined;
|
|
180
184
|
story_links?: {
|
|
185
|
+
[x: string]: unknown;
|
|
181
186
|
verb: "blocks" | "duplicates" | "relates to";
|
|
182
187
|
object_id?: number | undefined;
|
|
183
188
|
subject_id?: number | undefined;
|
|
@@ -185,6 +190,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
|
|
|
185
190
|
follower_ids?: string[] | undefined;
|
|
186
191
|
iteration_id?: number | undefined;
|
|
187
192
|
custom_fields?: {
|
|
193
|
+
[x: string]: unknown;
|
|
188
194
|
field_id: string;
|
|
189
195
|
value_id: string;
|
|
190
196
|
value?: string | undefined;
|
|
@@ -10,13 +10,13 @@ const ShortcutCreateStoryInput = z.object({
|
|
|
10
10
|
updated_at: z.string().describe("Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.").optional(),
|
|
11
11
|
description: z.string().describe("The Task description."),
|
|
12
12
|
external_id: z.string().describe("This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.").optional()
|
|
13
|
-
}).describe("Request schema for `Tasks`")).describe("An array of tasks connected to the story.").optional(),
|
|
13
|
+
}).passthrough().describe("Request schema for `Tasks`")).describe("An array of tasks connected to the story.").optional(),
|
|
14
14
|
labels: z.array(z.object({
|
|
15
15
|
name: z.string().describe("The name of the new Label."),
|
|
16
16
|
color: z.string().describe("The hex color to be displayed with the Label (for example, \"#ff0000\").").optional(),
|
|
17
17
|
description: z.string().describe("The description of the new Label.").optional(),
|
|
18
18
|
external_id: z.string().describe("This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.").optional()
|
|
19
|
-
}).describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
|
|
19
|
+
}).passthrough().describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
|
|
20
20
|
epic_id: z.number().int().describe("The ID of the epic the story belongs to.").optional(),
|
|
21
21
|
move_to: z.enum(["last", "first"]).describe("One of \"first\" or \"last\". This can be used to move the given story to the first or last position in the workflow state.").optional(),
|
|
22
22
|
archived: z.boolean().describe("Controls the story\"s archived state.").optional(),
|
|
@@ -27,13 +27,13 @@ const ShortcutCreateStoryInput = z.object({
|
|
|
27
27
|
created_at: z.string().describe("Defaults to the time/date the comment is created, but can be set to reflect another date.").optional(),
|
|
28
28
|
updated_at: z.string().describe("Defaults to the time/date the comment is last updated, but can be set to reflect another date.").optional(),
|
|
29
29
|
external_id: z.string().describe("This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.").optional()
|
|
30
|
-
}).describe("Request schema for `Comments`")).describe("An array of comments to add to the story.").optional(),
|
|
30
|
+
}).passthrough().describe("Request schema for `Comments`")).describe("An array of comments to add to the story.").optional(),
|
|
31
31
|
deadline: z.string().describe("The due date of the story.").optional(),
|
|
32
32
|
estimate: z.number().int().describe("The numeric point estimate of the story. Can also be null, which means unestimated.").optional(),
|
|
33
33
|
file_ids: z.array(z.number().int()).describe("An array of IDs of files attached to the story.").optional(),
|
|
34
34
|
group_id: z.string().describe("The id of the group to associate with this story.").optional(),
|
|
35
35
|
owner_ids: z.array(z.string()).describe("An array of UUIDs of the owners of this story.").optional(),
|
|
36
|
-
sub_tasks: z.array(z.object({ name: z.string().describe("The name of the SubTask.") }).describe("Request schema for `SubTasks`")).describe("An array of sub tasks to create.").optional(),
|
|
36
|
+
sub_tasks: z.array(z.object({ name: z.string().describe("The name of the SubTask.") }).passthrough().describe("Request schema for `SubTasks`")).describe("An array of sub tasks to create.").optional(),
|
|
37
37
|
created_at: z.string().describe("The time/date the Story was created.").optional(),
|
|
38
38
|
project_id: z.number().int().describe("The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.").optional(),
|
|
39
39
|
story_type: z.enum([
|
|
@@ -52,14 +52,14 @@ const ShortcutCreateStoryInput = z.object({
|
|
|
52
52
|
]).describe("How the subject Story acts on the object Story. This can be \"blocks\", \"duplicates\", or \"relates to\"."),
|
|
53
53
|
object_id: z.number().int().describe("The unique ID of the Story defined as object.").optional(),
|
|
54
54
|
subject_id: z.number().int().describe("The unique ID of the Story defined as subject.").optional()
|
|
55
|
-
}).describe("Request schema for `StoryLinks`")).describe("An array of story links attached to the story.").optional(),
|
|
55
|
+
}).passthrough().describe("Request schema for `StoryLinks`")).describe("An array of story links attached to the story.").optional(),
|
|
56
56
|
follower_ids: z.array(z.string()).describe("An array of UUIDs of the followers of this story.").optional(),
|
|
57
57
|
iteration_id: z.number().int().describe("The ID of the iteration the story belongs to.").optional(),
|
|
58
58
|
custom_fields: z.array(z.object({
|
|
59
59
|
value: z.string().describe("A literal value for the CustomField. Currently ignored.").optional(),
|
|
60
60
|
field_id: z.string().describe("The unique public ID for the CustomField."),
|
|
61
61
|
value_id: z.string().describe("The unique public ID for the CustomFieldEnumValue.")
|
|
62
|
-
}).describe("Request schema for `CustomFields`")).describe("A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.").optional(),
|
|
62
|
+
}).passthrough().describe("Request schema for `CustomFields`")).describe("A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.").optional(),
|
|
63
63
|
external_links: z.array(z.string()).describe("An array of External Links associated with this story.").optional(),
|
|
64
64
|
source_task_id: z.number().int().describe("Given this story was converted from a task in another story, this is the original task ID that was converted to this story.").optional(),
|
|
65
65
|
linked_file_ids: z.array(z.number().int()).describe("An array of IDs of linked files attached to the story.").optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-story.mjs","names":[],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The id of the group to associate with this story.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the story\"),\n labels: z.array(z.unknown()).describe(\"An array of labels attached to the story\"),\n app_url: z.string().describe(\"The Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to the story\"),\n deadline: z.string().describe(\"The due date of the story (ISO 8601 date-time format)\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label ids attached to the story\"),\n lead_time: z.number().int().describe(\"The lead time (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers\"),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAA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+
{"version":3,"file":"create-story.mjs","names":[],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The id of the group to associate with this story.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).passthrough().describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).passthrough().describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).passthrough().describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the story\"),\n labels: z.array(z.unknown()).describe(\"An array of labels attached to the story\"),\n app_url: z.string().describe(\"The Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to the story\"),\n deadline: z.string().describe(\"The due date of the story (ISO 8601 date-time format)\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label ids attached to the story\"),\n lead_time: z.number().int().describe(\"The lead time (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers\"),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -10,18 +10,18 @@ const ShortcutCreateTaskInput = zod.z.object({
|
|
|
10
10
|
external_id: zod.z.string().describe("This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.").optional(),
|
|
11
11
|
story__public__id: zod.z.number().int().describe("The ID of the Story that the Task will be in.")
|
|
12
12
|
}).describe("Request schema for `CreateTask`");
|
|
13
|
-
const ShortcutCreateTask_UploadedFileSchema = zod.z.
|
|
14
|
-
const ShortcutCreateTask_StoryStatsSchema = zod.z.
|
|
15
|
-
const ShortcutCreateTask_TaskSchema = zod.z.
|
|
16
|
-
const ShortcutCreateTask_LabelSlimSchema = zod.z.
|
|
17
|
-
const ShortcutCreateTask_CommitSchema = zod.z.
|
|
18
|
-
const ShortcutCreateTask_BranchSchema = zod.z.
|
|
19
|
-
const ShortcutCreateTask_StoryCommentSchema = zod.z.
|
|
20
|
-
const ShortcutCreateTask_TypedStoryLinkSchema = zod.z.
|
|
21
|
-
const ShortcutCreateTask_SyncedItemSchema = zod.z.
|
|
22
|
-
const ShortcutCreateTask_LinkedFileSchema = zod.z.
|
|
23
|
-
const ShortcutCreateTask_StoryCustomFieldSchema = zod.z.
|
|
24
|
-
const ShortcutCreateTask_PullRequestSchema = zod.z.
|
|
13
|
+
const ShortcutCreateTask_UploadedFileSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("File attached to a story.");
|
|
14
|
+
const ShortcutCreateTask_StoryStatsSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Statistics for a story.");
|
|
15
|
+
const ShortcutCreateTask_TaskSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Task within a story.");
|
|
16
|
+
const ShortcutCreateTask_LabelSlimSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Label attached to a story.");
|
|
17
|
+
const ShortcutCreateTask_CommitSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Commit attached to a story.");
|
|
18
|
+
const ShortcutCreateTask_BranchSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Git branch attached to a story.");
|
|
19
|
+
const ShortcutCreateTask_StoryCommentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comment attached to a story.");
|
|
20
|
+
const ShortcutCreateTask_TypedStoryLinkSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Story link connecting stories.");
|
|
21
|
+
const ShortcutCreateTask_SyncedItemSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Synced item data from external integrations.");
|
|
22
|
+
const ShortcutCreateTask_LinkedFileSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Linked file.");
|
|
23
|
+
const ShortcutCreateTask_StoryCustomFieldSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field value assertion for a story.");
|
|
24
|
+
const ShortcutCreateTask_PullRequestSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pull/merge request attached to a story.");
|
|
25
25
|
const ShortcutCreateTaskOutput = zod.z.object({
|
|
26
26
|
id: zod.z.number().int().describe("Unique story identifier.").nullable(),
|
|
27
27
|
name: zod.z.string().describe("Story name.").nullable(),
|
|
@@ -79,7 +79,7 @@ const ShortcutCreateTaskOutput = zod.z.object({
|
|
|
79
79
|
completed_at_override: zod.z.string().describe("Manual override for completion timestamp (ISO 8601 date-time format, nullable).").nullable().optional(),
|
|
80
80
|
previous_iteration_ids: zod.z.array(zod.z.number().int()).describe("Array of previous iteration identifiers."),
|
|
81
81
|
formatted_vcs_branch_name: zod.z.string().describe("Formatted version control system branch name (nullable).").nullable().optional()
|
|
82
|
-
}).describe("Response schema for `CreateTask` - returns a Story object with the created task.");
|
|
82
|
+
}).passthrough().describe("Response schema for `CreateTask` - returns a Story object with the created task.");
|
|
83
83
|
const shortcutCreateTask = require_action.action("SHORTCUT_CREATE_TASK", {
|
|
84
84
|
slug: "shortcut-create-task",
|
|
85
85
|
name: "Create task",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateTaskInput = z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story__public__id: z.number().int().describe(\"The ID of the Story that the Task will be in.\"),\n}).describe(\"Request schema for `CreateTask`\");\nconst ShortcutCreateTask_UploadedFileSchema = z.object({}).describe(\"File attached to a story.\");\nconst ShortcutCreateTask_StoryStatsSchema = z.object({}).describe(\"Statistics for a story.\");\nconst ShortcutCreateTask_TaskSchema = z.object({}).describe(\"Task within a story.\");\nconst ShortcutCreateTask_LabelSlimSchema = z.object({}).describe(\"Label attached to a story.\");\nconst ShortcutCreateTask_CommitSchema = z.object({}).describe(\"Commit attached to a story.\");\nconst ShortcutCreateTask_BranchSchema = z.object({}).describe(\"Git branch attached to a story.\");\nconst ShortcutCreateTask_StoryCommentSchema = z.object({}).describe(\"Comment attached to a story.\");\nconst ShortcutCreateTask_TypedStoryLinkSchema = z.object({}).describe(\"Story link connecting stories.\");\nconst ShortcutCreateTask_SyncedItemSchema = z.object({}).describe(\"Synced item data from external integrations.\");\nconst ShortcutCreateTask_LinkedFileSchema = z.object({}).describe(\"Linked file.\");\nconst ShortcutCreateTask_StoryCustomFieldSchema = z.object({}).describe(\"Custom field value assertion for a story.\");\nconst ShortcutCreateTask_PullRequestSchema = z.object({}).describe(\"Pull/merge request attached to a story.\");\nexport const ShortcutCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique story identifier.\").nullable(),\n name: z.string().describe(\"Story name.\").nullable(),\n files: z.array(ShortcutCreateTask_UploadedFileSchema).describe(\"Files attached to the story.\"),\n stats: ShortcutCreateTask_StoryStatsSchema.nullable(),\n tasks: z.array(ShortcutCreateTask_TaskSchema).describe(\"Connected tasks within the story.\").nullable().optional(),\n labels: z.array(ShortcutCreateTask_LabelSlimSchema).describe(\"Attached labels.\"),\n app_url: z.string().describe(\"The Shortcut application URL for the Story.\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Indicates if the story blocks another story.\").nullable(),\n commits: z.array(ShortcutCreateTask_CommitSchema).describe(\"Commits attached to the story.\"),\n epic_id: z.number().int().describe(\"Associated epic identifier (nullable).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the story has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(ShortcutCreateTask_BranchSchema).describe(\"Git branches attached to the story.\"),\n comments: z.array(ShortcutCreateTask_StoryCommentSchema).describe(\"Comments attached to the story.\"),\n deadline: z.string().describe(\"Due date for the story (ISO 8601 date-time format, nullable).\").nullable().optional(),\n estimate: z.number().int().describe(\"Point estimate for the story (null indicates unestimated).\").nullable().optional(),\n group_id: z.string().describe(\"Associated group identifier UUID (nullable).\").nullable().optional(),\n moved_at: z.string().describe(\"Timestamp of last workflow state change (ISO 8601 date-time format, nullable).\").nullable().optional(),\n position: z.number().int().describe(\"Position relative to other stories in the workflow.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"Array of attached label identifiers.\"),\n lead_time: z.number().int().describe(\"Lead time in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of owner UUIDs.\"),\n created_at: z.string().describe(\"Timestamp when the story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"Completion cycle time in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project identifier (nullable).\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the story was started (ISO 8601 date-time format, nullable).\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: feature, bug, or chore.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update (ISO 8601 date-time format, nullable).\").nullable().optional(),\n description: z.string().describe(\"Story description text.\").nullable(),\n entity_type: z.string().describe(\"Resource type description.\").nullable(),\n external_id: z.string().describe(\"External system identifier (nullable).\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated - use member_mention_ids instead.\"),\n story_links: z.array(ShortcutCreateTask_TypedStoryLinkSchema).describe(\"Story links connecting this story to other stories.\"),\n synced_item: ShortcutCreateTask_SyncedItemSchema.nullable().optional(),\n workflow_id: z.number().int().describe(\"Workflow identifier.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the story was completed (ISO 8601 date-time format, nullable).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of member follower UUIDs.\"),\n iteration_id: z.number().int().describe(\"Current iteration identifier (nullable).\").nullable().optional(),\n linked_files: z.array(ShortcutCreateTask_LinkedFileSchema).describe(\"Linked files.\").nullable().optional(),\n custom_fields: z.array(ShortcutCreateTask_StoryCustomFieldSchema).describe(\"Custom field value assertions for the story.\").nullable().optional(),\n pull_requests: z.array(ShortcutCreateTask_PullRequestSchema).describe(\"Attached pull/merge requests.\"),\n external_links: z.array(z.string()).describe(\"Associated external links.\"),\n parent_story_id: z.number().int().describe(\"Parent story identifier for sub-tasks (nullable).\").nullable().optional(),\n requested_by_id: z.string().describe(\"UUID of the member who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Groups mentioned in the story description.\"),\n story_template_id: z.string().describe(\"UUID of the template used to create the story (nullable).\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"Current workflow state identifier.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Members mentioned in the story description.\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"Array of sub-task story identifiers.\").nullable().optional(),\n started_at_override: z.string().describe(\"Manual override for start timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override for completion timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"Array of previous iteration identifiers.\"),\n formatted_vcs_branch_name: z.string().describe(\"Formatted version control system branch name (nullable).\").nullable().optional(),\n}).describe(\"Response schema for `CreateTask` - returns a Story object with the created task.\");\n\nexport const shortcutCreateTask = action(\"SHORTCUT_CREATE_TASK\", {\n slug: \"shortcut-create-task\",\n name: \"Create task\",\n description: \"Create Task is used to create a new task in a Story.\",\n input: ShortcutCreateTaskInput,\n output: ShortcutCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC9F,CAAC,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1
|
+
{"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateTaskInput = z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story__public__id: z.number().int().describe(\"The ID of the Story that the Task will be in.\"),\n}).describe(\"Request schema for `CreateTask`\");\nconst ShortcutCreateTask_UploadedFileSchema = z.record(z.string(), z.unknown()).describe(\"File attached to a story.\");\nconst ShortcutCreateTask_StoryStatsSchema = z.record(z.string(), z.unknown()).describe(\"Statistics for a story.\");\nconst ShortcutCreateTask_TaskSchema = z.record(z.string(), z.unknown()).describe(\"Task within a story.\");\nconst ShortcutCreateTask_LabelSlimSchema = z.record(z.string(), z.unknown()).describe(\"Label attached to a story.\");\nconst ShortcutCreateTask_CommitSchema = z.record(z.string(), z.unknown()).describe(\"Commit attached to a story.\");\nconst ShortcutCreateTask_BranchSchema = z.record(z.string(), z.unknown()).describe(\"Git branch attached to a story.\");\nconst ShortcutCreateTask_StoryCommentSchema = z.record(z.string(), z.unknown()).describe(\"Comment attached to a story.\");\nconst ShortcutCreateTask_TypedStoryLinkSchema = z.record(z.string(), z.unknown()).describe(\"Story link connecting stories.\");\nconst ShortcutCreateTask_SyncedItemSchema = z.record(z.string(), z.unknown()).describe(\"Synced item data from external integrations.\");\nconst ShortcutCreateTask_LinkedFileSchema = z.record(z.string(), z.unknown()).describe(\"Linked file.\");\nconst ShortcutCreateTask_StoryCustomFieldSchema = z.record(z.string(), z.unknown()).describe(\"Custom field value assertion for a story.\");\nconst ShortcutCreateTask_PullRequestSchema = z.record(z.string(), z.unknown()).describe(\"Pull/merge request attached to a story.\");\nexport const ShortcutCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique story identifier.\").nullable(),\n name: z.string().describe(\"Story name.\").nullable(),\n files: z.array(ShortcutCreateTask_UploadedFileSchema).describe(\"Files attached to the story.\"),\n stats: ShortcutCreateTask_StoryStatsSchema.nullable(),\n tasks: z.array(ShortcutCreateTask_TaskSchema).describe(\"Connected tasks within the story.\").nullable().optional(),\n labels: z.array(ShortcutCreateTask_LabelSlimSchema).describe(\"Attached labels.\"),\n app_url: z.string().describe(\"The Shortcut application URL for the Story.\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Indicates if the story blocks another story.\").nullable(),\n commits: z.array(ShortcutCreateTask_CommitSchema).describe(\"Commits attached to the story.\"),\n epic_id: z.number().int().describe(\"Associated epic identifier (nullable).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the story has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(ShortcutCreateTask_BranchSchema).describe(\"Git branches attached to the story.\"),\n comments: z.array(ShortcutCreateTask_StoryCommentSchema).describe(\"Comments attached to the story.\"),\n deadline: z.string().describe(\"Due date for the story (ISO 8601 date-time format, nullable).\").nullable().optional(),\n estimate: z.number().int().describe(\"Point estimate for the story (null indicates unestimated).\").nullable().optional(),\n group_id: z.string().describe(\"Associated group identifier UUID (nullable).\").nullable().optional(),\n moved_at: z.string().describe(\"Timestamp of last workflow state change (ISO 8601 date-time format, nullable).\").nullable().optional(),\n position: z.number().int().describe(\"Position relative to other stories in the workflow.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"Array of attached label identifiers.\"),\n lead_time: z.number().int().describe(\"Lead time in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of owner UUIDs.\"),\n created_at: z.string().describe(\"Timestamp when the story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"Completion cycle time in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project identifier (nullable).\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the story was started (ISO 8601 date-time format, nullable).\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: feature, bug, or chore.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update (ISO 8601 date-time format, nullable).\").nullable().optional(),\n description: z.string().describe(\"Story description text.\").nullable(),\n entity_type: z.string().describe(\"Resource type description.\").nullable(),\n external_id: z.string().describe(\"External system identifier (nullable).\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated - use member_mention_ids instead.\"),\n story_links: z.array(ShortcutCreateTask_TypedStoryLinkSchema).describe(\"Story links connecting this story to other stories.\"),\n synced_item: ShortcutCreateTask_SyncedItemSchema.nullable().optional(),\n workflow_id: z.number().int().describe(\"Workflow identifier.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the story was completed (ISO 8601 date-time format, nullable).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of member follower UUIDs.\"),\n iteration_id: z.number().int().describe(\"Current iteration identifier (nullable).\").nullable().optional(),\n linked_files: z.array(ShortcutCreateTask_LinkedFileSchema).describe(\"Linked files.\").nullable().optional(),\n custom_fields: z.array(ShortcutCreateTask_StoryCustomFieldSchema).describe(\"Custom field value assertions for the story.\").nullable().optional(),\n pull_requests: z.array(ShortcutCreateTask_PullRequestSchema).describe(\"Attached pull/merge requests.\"),\n external_links: z.array(z.string()).describe(\"Associated external links.\"),\n parent_story_id: z.number().int().describe(\"Parent story identifier for sub-tasks (nullable).\").nullable().optional(),\n requested_by_id: z.string().describe(\"UUID of the member who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Groups mentioned in the story description.\"),\n story_template_id: z.string().describe(\"UUID of the template used to create the story (nullable).\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"Current workflow state identifier.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Members mentioned in the story description.\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"Array of sub-task story identifiers.\").nullable().optional(),\n started_at_override: z.string().describe(\"Manual override for start timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override for completion timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"Array of previous iteration identifiers.\"),\n formatted_vcs_branch_name: z.string().describe(\"Formatted version control system branch name (nullable).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateTask` - returns a Story object with the created task.\");\n\nexport const shortcutCreateTask = action(\"SHORTCUT_CREATE_TASK\", {\n slug: \"shortcut-create-task\",\n name: \"Create task\",\n description: \"Create Task is used to create a new task in a Story.\",\n input: ShortcutCreateTaskInput,\n output: ShortcutCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAA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