shortcut_client_ruby 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +2303 -0
  5. data/Rakefile +8 -0
  6. data/bin/console +15 -0
  7. data/bin/setup +8 -0
  8. data/bin/update.rb +34 -0
  9. data/config.json +7 -0
  10. data/docs/BasicWorkspaceInfo.md +8 -0
  11. data/docs/Branch.md +17 -0
  12. data/docs/Category.md +15 -0
  13. data/docs/Commit.md +19 -0
  14. data/docs/CreateCategory.md +10 -0
  15. data/docs/CreateCategoryParams.md +9 -0
  16. data/docs/CreateCommentComment.md +11 -0
  17. data/docs/CreateEntityTemplate.md +9 -0
  18. data/docs/CreateEpic.md +23 -0
  19. data/docs/CreateEpicComment.md +11 -0
  20. data/docs/CreateGroup.md +14 -0
  21. data/docs/CreateIteration.md +13 -0
  22. data/docs/CreateLabelParams.md +10 -0
  23. data/docs/CreateLinkedFile.md +15 -0
  24. data/docs/CreateMilestone.md +12 -0
  25. data/docs/CreateOrDeleteStoryReaction.md +7 -0
  26. data/docs/CreateProject.md +17 -0
  27. data/docs/CreateStories.md +7 -0
  28. data/docs/CreateStoryComment.md +11 -0
  29. data/docs/CreateStoryCommentParams.md +11 -0
  30. data/docs/CreateStoryContents.md +27 -0
  31. data/docs/CreateStoryLink.md +9 -0
  32. data/docs/CreateStoryLinkParams.md +9 -0
  33. data/docs/CreateStoryParams.md +33 -0
  34. data/docs/CreateTask.md +12 -0
  35. data/docs/CreateTaskParams.md +12 -0
  36. data/docs/DefaultApi.md +5632 -0
  37. data/docs/DeleteStories.md +7 -0
  38. data/docs/EntityTemplate.md +14 -0
  39. data/docs/EntityTemplateTask.md +10 -0
  40. data/docs/Epic.md +44 -0
  41. data/docs/EpicSearchResults.md +10 -0
  42. data/docs/EpicSlim.md +43 -0
  43. data/docs/EpicState.md +15 -0
  44. data/docs/EpicStats.md +19 -0
  45. data/docs/EpicWorkflow.md +12 -0
  46. data/docs/GetEpicStories.md +7 -0
  47. data/docs/GetExternalLinkStoriesParams.md +7 -0
  48. data/docs/GetIterationStories.md +7 -0
  49. data/docs/GetLabelStories.md +7 -0
  50. data/docs/GetMember.md +7 -0
  51. data/docs/GetProjectStories.md +7 -0
  52. data/docs/Group.md +22 -0
  53. data/docs/History.md +15 -0
  54. data/docs/HistoryActionBranchCreate.md +11 -0
  55. data/docs/HistoryActionBranchMerge.md +11 -0
  56. data/docs/HistoryActionBranchPush.md +11 -0
  57. data/docs/HistoryActionLabelCreate.md +11 -0
  58. data/docs/HistoryActionLabelDelete.md +10 -0
  59. data/docs/HistoryActionLabelUpdate.md +9 -0
  60. data/docs/HistoryActionProjectUpdate.md +11 -0
  61. data/docs/HistoryActionPullRequest.md +12 -0
  62. data/docs/HistoryActionStoryCommentCreate.md +12 -0
  63. data/docs/HistoryActionStoryCreate.md +30 -0
  64. data/docs/HistoryActionStoryDelete.md +11 -0
  65. data/docs/HistoryActionStoryLinkCreate.md +12 -0
  66. data/docs/HistoryActionStoryLinkDelete.md +12 -0
  67. data/docs/HistoryActionStoryLinkUpdate.md +13 -0
  68. data/docs/HistoryActionStoryUpdate.md +13 -0
  69. data/docs/HistoryActionTaskCreate.md +15 -0
  70. data/docs/HistoryActionTaskDelete.md +10 -0
  71. data/docs/HistoryActionTaskUpdate.md +13 -0
  72. data/docs/HistoryChangesStory.md +30 -0
  73. data/docs/HistoryChangesStoryLink.md +9 -0
  74. data/docs/HistoryChangesTask.md +10 -0
  75. data/docs/HistoryReferenceBranch.md +10 -0
  76. data/docs/HistoryReferenceCommit.md +10 -0
  77. data/docs/HistoryReferenceEpic.md +10 -0
  78. data/docs/HistoryReferenceGeneral.md +9 -0
  79. data/docs/HistoryReferenceGroup.md +9 -0
  80. data/docs/HistoryReferenceIteration.md +10 -0
  81. data/docs/HistoryReferenceLabel.md +10 -0
  82. data/docs/HistoryReferenceProject.md +10 -0
  83. data/docs/HistoryReferenceStory.md +11 -0
  84. data/docs/HistoryReferenceStoryTask.md +9 -0
  85. data/docs/HistoryReferenceWorkflowState.md +10 -0
  86. data/docs/Icon.md +11 -0
  87. data/docs/Identity.md +9 -0
  88. data/docs/Iteration.md +24 -0
  89. data/docs/IterationSlim.md +23 -0
  90. data/docs/IterationStats.md +17 -0
  91. data/docs/Label.md +17 -0
  92. data/docs/LabelSlim.md +16 -0
  93. data/docs/LabelStats.md +21 -0
  94. data/docs/LinkedFile.md +22 -0
  95. data/docs/ListEpics.md +7 -0
  96. data/docs/ListGroupStories.md +8 -0
  97. data/docs/ListLabels.md +7 -0
  98. data/docs/ListMembers.md +7 -0
  99. data/docs/MaxSearchResultsExceededError.md +9 -0
  100. data/docs/Member.md +17 -0
  101. data/docs/MemberInfo.md +10 -0
  102. data/docs/Milestone.md +23 -0
  103. data/docs/MilestoneStats.md +9 -0
  104. data/docs/Profile.md +15 -0
  105. data/docs/Project.md +25 -0
  106. data/docs/ProjectStats.md +9 -0
  107. data/docs/PullRequest.md +28 -0
  108. data/docs/PullRequestLabel.md +11 -0
  109. data/docs/Repository.md +15 -0
  110. data/docs/Search.md +10 -0
  111. data/docs/SearchResults.md +8 -0
  112. data/docs/SearchStories.md +34 -0
  113. data/docs/Story.md +56 -0
  114. data/docs/StoryComment.md +20 -0
  115. data/docs/StoryContents.md +25 -0
  116. data/docs/StoryContentsTask.md +11 -0
  117. data/docs/StoryHistoryChangeAddsRemovesInt.md +8 -0
  118. data/docs/StoryHistoryChangeAddsRemovesUuid.md +8 -0
  119. data/docs/StoryHistoryChangeOldNewBool.md +8 -0
  120. data/docs/StoryHistoryChangeOldNewInt.md +8 -0
  121. data/docs/StoryHistoryChangeOldNewStr.md +8 -0
  122. data/docs/StoryHistoryChangeOldNewUuid.md +8 -0
  123. data/docs/StoryLink.md +14 -0
  124. data/docs/StoryReaction.md +8 -0
  125. data/docs/StorySearchResults.md +10 -0
  126. data/docs/StorySlim.md +54 -0
  127. data/docs/StoryStats.md +7 -0
  128. data/docs/Task.md +20 -0
  129. data/docs/ThreadedComment.md +19 -0
  130. data/docs/TypedStoryLink.md +15 -0
  131. data/docs/UnusableEntitlementError.md +9 -0
  132. data/docs/UpdateCategory.md +9 -0
  133. data/docs/UpdateComment.md +7 -0
  134. data/docs/UpdateEntityTemplate.md +8 -0
  135. data/docs/UpdateEpic.md +23 -0
  136. data/docs/UpdateFile.md +12 -0
  137. data/docs/UpdateGroup.md +15 -0
  138. data/docs/UpdateIteration.md +13 -0
  139. data/docs/UpdateLabel.md +10 -0
  140. data/docs/UpdateLinkedFile.md +14 -0
  141. data/docs/UpdateMilestone.md +14 -0
  142. data/docs/UpdateProject.md +15 -0
  143. data/docs/UpdateStories.md +27 -0
  144. data/docs/UpdateStory.md +32 -0
  145. data/docs/UpdateStoryComment.md +7 -0
  146. data/docs/UpdateStoryContents.md +27 -0
  147. data/docs/UpdateStoryLink.md +9 -0
  148. data/docs/UpdateTask.md +11 -0
  149. data/docs/UploadedFile.md +23 -0
  150. data/docs/V3FilesBody.md +11 -0
  151. data/docs/Workflow.md +17 -0
  152. data/docs/WorkflowState.md +18 -0
  153. data/git_push.sh +55 -0
  154. data/lib/shortcut/client/ruby/version.rb +9 -0
  155. data/lib/shortcut/client/ruby.rb +12 -0
  156. data/lib/shortcut_client_ruby/api/default_api.rb +6091 -0
  157. data/lib/shortcut_client_ruby/api_client.rb +388 -0
  158. data/lib/shortcut_client_ruby/api_error.rb +57 -0
  159. data/lib/shortcut_client_ruby/configuration.rb +205 -0
  160. data/lib/shortcut_client_ruby/models/basic_workspace_info.rb +227 -0
  161. data/lib/shortcut_client_ruby/models/branch.rb +371 -0
  162. data/lib/shortcut_client_ruby/models/category.rb +335 -0
  163. data/lib/shortcut_client_ruby/models/commit.rb +398 -0
  164. data/lib/shortcut_client_ruby/models/create_category.rb +281 -0
  165. data/lib/shortcut_client_ruby/models/create_category_params.rb +233 -0
  166. data/lib/shortcut_client_ruby/models/create_comment_comment.rb +252 -0
  167. data/lib/shortcut_client_ruby/models/create_entity_template.rb +237 -0
  168. data/lib/shortcut_client_ruby/models/create_epic.rb +416 -0
  169. data/lib/shortcut_client_ruby/models/create_epic_comment.rb +252 -0
  170. data/lib/shortcut_client_ruby/models/create_group.rb +325 -0
  171. data/lib/shortcut_client_ruby/models/create_iteration.rb +288 -0
  172. data/lib/shortcut_client_ruby/models/create_label_params.rb +243 -0
  173. data/lib/shortcut_client_ruby/models/create_linked_file.rb +336 -0
  174. data/lib/shortcut_client_ruby/models/create_milestone.rb +298 -0
  175. data/lib/shortcut_client_ruby/models/create_or_delete_story_reaction.rb +212 -0
  176. data/lib/shortcut_client_ruby/models/create_project.rb +319 -0
  177. data/lib/shortcut_client_ruby/models/create_stories.rb +214 -0
  178. data/lib/shortcut_client_ruby/models/create_story_comment.rb +252 -0
  179. data/lib/shortcut_client_ruby/models/create_story_comment_params.rb +253 -0
  180. data/lib/shortcut_client_ruby/models/create_story_contents.rb +433 -0
  181. data/lib/shortcut_client_ruby/models/create_story_link.rb +276 -0
  182. data/lib/shortcut_client_ruby/models/create_story_link_params.rb +267 -0
  183. data/lib/shortcut_client_ruby/models/create_story_params.rb +532 -0
  184. data/lib/shortcut_client_ruby/models/create_task.rb +264 -0
  185. data/lib/shortcut_client_ruby/models/create_task_params.rb +265 -0
  186. data/lib/shortcut_client_ruby/models/delete_stories.rb +214 -0
  187. data/lib/shortcut_client_ruby/models/entity_template.rb +317 -0
  188. data/lib/shortcut_client_ruby/models/entity_template_task.rb +245 -0
  189. data/lib/shortcut_client_ruby/models/epic.rb +799 -0
  190. data/lib/shortcut_client_ruby/models/epic_search_results.rb +257 -0
  191. data/lib/shortcut_client_ruby/models/epic_slim.rb +777 -0
  192. data/lib/shortcut_client_ruby/models/epic_state.rb +328 -0
  193. data/lib/shortcut_client_ruby/models/epic_stats.rb +384 -0
  194. data/lib/shortcut_client_ruby/models/epic_workflow.rb +290 -0
  195. data/lib/shortcut_client_ruby/models/get_epic_stories.rb +207 -0
  196. data/lib/shortcut_client_ruby/models/get_external_link_stories_params.rb +212 -0
  197. data/lib/shortcut_client_ruby/models/get_iteration_stories.rb +207 -0
  198. data/lib/shortcut_client_ruby/models/get_label_stories.rb +207 -0
  199. data/lib/shortcut_client_ruby/models/get_member.rb +207 -0
  200. data/lib/shortcut_client_ruby/models/get_project_stories.rb +207 -0
  201. data/lib/shortcut_client_ruby/models/group.rb +479 -0
  202. data/lib/shortcut_client_ruby/models/history.rb +347 -0
  203. data/lib/shortcut_client_ruby/models/history_action_branch_create.rb +307 -0
  204. data/lib/shortcut_client_ruby/models/history_action_branch_merge.rb +307 -0
  205. data/lib/shortcut_client_ruby/models/history_action_branch_push.rb +307 -0
  206. data/lib/shortcut_client_ruby/models/history_action_label_create.rb +307 -0
  207. data/lib/shortcut_client_ruby/models/history_action_label_delete.rb +292 -0
  208. data/lib/shortcut_client_ruby/models/history_action_label_update.rb +277 -0
  209. data/lib/shortcut_client_ruby/models/history_action_project_update.rb +307 -0
  210. data/lib/shortcut_client_ruby/models/history_action_pull_request.rb +322 -0
  211. data/lib/shortcut_client_ruby/models/history_action_story_comment_create.rb +322 -0
  212. data/lib/shortcut_client_ruby/models/history_action_story_create.rb +527 -0
  213. data/lib/shortcut_client_ruby/models/history_action_story_delete.rb +319 -0
  214. data/lib/shortcut_client_ruby/models/history_action_story_link_create.rb +334 -0
  215. data/lib/shortcut_client_ruby/models/history_action_story_link_delete.rb +336 -0
  216. data/lib/shortcut_client_ruby/models/history_action_story_link_update.rb +348 -0
  217. data/lib/shortcut_client_ruby/models/history_action_story_update.rb +343 -0
  218. data/lib/shortcut_client_ruby/models/history_action_task_create.rb +353 -0
  219. data/lib/shortcut_client_ruby/models/history_action_task_delete.rb +292 -0
  220. data/lib/shortcut_client_ruby/models/history_action_task_update.rb +331 -0
  221. data/lib/shortcut_client_ruby/models/history_changes_story.rb +414 -0
  222. data/lib/shortcut_client_ruby/models/history_changes_story_link.rb +225 -0
  223. data/lib/shortcut_client_ruby/models/history_changes_task.rb +234 -0
  224. data/lib/shortcut_client_ruby/models/history_reference_branch.rb +258 -0
  225. data/lib/shortcut_client_ruby/models/history_reference_commit.rb +258 -0
  226. data/lib/shortcut_client_ruby/models/history_reference_epic.rb +258 -0
  227. data/lib/shortcut_client_ruby/models/history_reference_general.rb +243 -0
  228. data/lib/shortcut_client_ruby/models/history_reference_group.rb +243 -0
  229. data/lib/shortcut_client_ruby/models/history_reference_iteration.rb +258 -0
  230. data/lib/shortcut_client_ruby/models/history_reference_label.rb +258 -0
  231. data/lib/shortcut_client_ruby/models/history_reference_project.rb +258 -0
  232. data/lib/shortcut_client_ruby/models/history_reference_story.rb +307 -0
  233. data/lib/shortcut_client_ruby/models/history_reference_story_task.rb +243 -0
  234. data/lib/shortcut_client_ruby/models/history_reference_workflow_state.rb +292 -0
  235. data/lib/shortcut_client_ruby/models/icon.rb +273 -0
  236. data/lib/shortcut_client_ruby/models/identity.rb +245 -0
  237. data/lib/shortcut_client_ruby/models/iteration.rb +481 -0
  238. data/lib/shortcut_client_ruby/models/iteration_slim.rb +466 -0
  239. data/lib/shortcut_client_ruby/models/iteration_stats.rb +353 -0
  240. data/lib/shortcut_client_ruby/models/label.rb +362 -0
  241. data/lib/shortcut_client_ruby/models/label_slim.rb +353 -0
  242. data/lib/shortcut_client_ruby/models/label_stats.rb +423 -0
  243. data/lib/shortcut_client_ruby/models/linked_file.rb +450 -0
  244. data/lib/shortcut_client_ruby/models/list_epics.rb +207 -0
  245. data/lib/shortcut_client_ruby/models/list_group_stories.rb +217 -0
  246. data/lib/shortcut_client_ruby/models/list_labels.rb +207 -0
  247. data/lib/shortcut_client_ruby/models/list_members.rb +207 -0
  248. data/lib/shortcut_client_ruby/models/max_search_results_exceeded_error.rb +289 -0
  249. data/lib/shortcut_client_ruby/models/member.rb +395 -0
  250. data/lib/shortcut_client_ruby/models/member_info.rb +253 -0
  251. data/lib/shortcut_client_ruby/models/milestone.rb +453 -0
  252. data/lib/shortcut_client_ruby/models/milestone_stats.rb +233 -0
  253. data/lib/shortcut_client_ruby/models/profile.rb +330 -0
  254. data/lib/shortcut_client_ruby/models/project.rb +490 -0
  255. data/lib/shortcut_client_ruby/models/project_stats.rb +243 -0
  256. data/lib/shortcut_client_ruby/models/pull_request.rb +518 -0
  257. data/lib/shortcut_client_ruby/models/pull_request_label.rb +269 -0
  258. data/lib/shortcut_client_ruby/models/repository.rb +340 -0
  259. data/lib/shortcut_client_ruby/models/search.rb +275 -0
  260. data/lib/shortcut_client_ruby/models/search_results.rb +226 -0
  261. data/lib/shortcut_client_ruby/models/search_stories.rb +529 -0
  262. data/lib/shortcut_client_ruby/models/story.rb +985 -0
  263. data/lib/shortcut_client_ruby/models/story_comment.rb +419 -0
  264. data/lib/shortcut_client_ruby/models/story_contents.rb +404 -0
  265. data/lib/shortcut_client_ruby/models/story_contents_task.rb +255 -0
  266. data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_int.rb +222 -0
  267. data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_uuid.rb +222 -0
  268. data/lib/shortcut_client_ruby/models/story_history_change_old_new_bool.rb +218 -0
  269. data/lib/shortcut_client_ruby/models/story_history_change_old_new_int.rb +218 -0
  270. data/lib/shortcut_client_ruby/models/story_history_change_old_new_str.rb +218 -0
  271. data/lib/shortcut_client_ruby/models/story_history_change_old_new_uuid.rb +218 -0
  272. data/lib/shortcut_client_ruby/models/story_link.rb +318 -0
  273. data/lib/shortcut_client_ruby/models/story_reaction.rb +230 -0
  274. data/lib/shortcut_client_ruby/models/story_search_results.rb +257 -0
  275. data/lib/shortcut_client_ruby/models/story_slim.rb +944 -0
  276. data/lib/shortcut_client_ruby/models/story_stats.rb +213 -0
  277. data/lib/shortcut_client_ruby/models/task.rb +418 -0
  278. data/lib/shortcut_client_ruby/models/threaded_comment.rb +402 -0
  279. data/lib/shortcut_client_ruby/models/typed_story_link.rb +333 -0
  280. data/lib/shortcut_client_ruby/models/unusable_entitlement_error.rb +276 -0
  281. data/lib/shortcut_client_ruby/models/update_category.rb +228 -0
  282. data/lib/shortcut_client_ruby/models/update_comment.rb +212 -0
  283. data/lib/shortcut_client_ruby/models/update_entity_template.rb +217 -0
  284. data/lib/shortcut_client_ruby/models/update_epic.rb +413 -0
  285. data/lib/shortcut_client_ruby/models/update_file.rb +257 -0
  286. data/lib/shortcut_client_ruby/models/update_group.rb +328 -0
  287. data/lib/shortcut_client_ruby/models/update_iteration.rb +273 -0
  288. data/lib/shortcut_client_ruby/models/update_label.rb +238 -0
  289. data/lib/shortcut_client_ruby/models/update_linked_file.rb +311 -0
  290. data/lib/shortcut_client_ruby/models/update_milestone.rb +315 -0
  291. data/lib/shortcut_client_ruby/models/update_project.rb +289 -0
  292. data/lib/shortcut_client_ruby/models/update_stories.rb +480 -0
  293. data/lib/shortcut_client_ruby/models/update_story.rb +529 -0
  294. data/lib/shortcut_client_ruby/models/update_story_comment.rb +212 -0
  295. data/lib/shortcut_client_ruby/models/update_story_contents.rb +434 -0
  296. data/lib/shortcut_client_ruby/models/update_story_link.rb +261 -0
  297. data/lib/shortcut_client_ruby/models/update_task.rb +249 -0
  298. data/lib/shortcut_client_ruby/models/uploaded_file.rb +466 -0
  299. data/lib/shortcut_client_ruby/models/v3_files_body.rb +252 -0
  300. data/lib/shortcut_client_ruby/models/workflow.rb +367 -0
  301. data/lib/shortcut_client_ruby/models/workflow_state.rb +374 -0
  302. data/lib/shortcut_client_ruby/version.rb +14 -0
  303. data/lib/shortcut_client_ruby.rb +181 -0
  304. data/shortcut-client-ruby.gemspec +36 -0
  305. data/shortcut_client_ruby.gemspec +38 -0
  306. data/spec/api/default_api_spec.rb +1310 -0
  307. data/spec/api_client_spec.rb +225 -0
  308. data/spec/base_object_spec.rb +109 -0
  309. data/spec/configuration_spec.rb +41 -0
  310. data/spec/models/basic_workspace_info_spec.rb +46 -0
  311. data/spec/models/branch_spec.rb +100 -0
  312. data/spec/models/category_spec.rb +88 -0
  313. data/spec/models/commit_spec.rb +112 -0
  314. data/spec/models/create_category_params_spec.rb +52 -0
  315. data/spec/models/create_category_spec.rb +62 -0
  316. data/spec/models/create_comment_comment_spec.rb +64 -0
  317. data/spec/models/create_entity_template_spec.rb +52 -0
  318. data/spec/models/create_epic_comment_spec.rb +64 -0
  319. data/spec/models/create_epic_spec.rb +140 -0
  320. data/spec/models/create_group_spec.rb +86 -0
  321. data/spec/models/create_iteration_spec.rb +76 -0
  322. data/spec/models/create_label_params_spec.rb +58 -0
  323. data/spec/models/create_linked_file_spec.rb +92 -0
  324. data/spec/models/create_milestone_spec.rb +74 -0
  325. data/spec/models/create_or_delete_story_reaction_spec.rb +40 -0
  326. data/spec/models/create_project_spec.rb +100 -0
  327. data/spec/models/create_stories_spec.rb +40 -0
  328. data/spec/models/create_story_comment_params_spec.rb +64 -0
  329. data/spec/models/create_story_comment_spec.rb +64 -0
  330. data/spec/models/create_story_contents_spec.rb +160 -0
  331. data/spec/models/create_story_link_params_spec.rb +56 -0
  332. data/spec/models/create_story_link_spec.rb +56 -0
  333. data/spec/models/create_story_params_spec.rb +200 -0
  334. data/spec/models/create_task_params_spec.rb +70 -0
  335. data/spec/models/create_task_spec.rb +70 -0
  336. data/spec/models/delete_stories_spec.rb +40 -0
  337. data/spec/models/entity_template_spec.rb +82 -0
  338. data/spec/models/entity_template_task_spec.rb +58 -0
  339. data/spec/models/epic_search_results_spec.rb +58 -0
  340. data/spec/models/epic_slim_spec.rb +256 -0
  341. data/spec/models/epic_spec.rb +262 -0
  342. data/spec/models/epic_state_spec.rb +88 -0
  343. data/spec/models/epic_stats_spec.rb +112 -0
  344. data/spec/models/epic_workflow_spec.rb +70 -0
  345. data/spec/models/get_epic_stories_spec.rb +40 -0
  346. data/spec/models/get_external_link_stories_params_spec.rb +40 -0
  347. data/spec/models/get_iteration_stories_spec.rb +40 -0
  348. data/spec/models/get_label_stories_spec.rb +40 -0
  349. data/spec/models/get_member_spec.rb +40 -0
  350. data/spec/models/get_project_stories_spec.rb +40 -0
  351. data/spec/models/group_spec.rb +134 -0
  352. data/spec/models/history_action_branch_create_spec.rb +68 -0
  353. data/spec/models/history_action_branch_merge_spec.rb +68 -0
  354. data/spec/models/history_action_branch_push_spec.rb +68 -0
  355. data/spec/models/history_action_label_create_spec.rb +68 -0
  356. data/spec/models/history_action_label_delete_spec.rb +62 -0
  357. data/spec/models/history_action_label_update_spec.rb +56 -0
  358. data/spec/models/history_action_project_update_spec.rb +68 -0
  359. data/spec/models/history_action_pull_request_spec.rb +74 -0
  360. data/spec/models/history_action_story_comment_create_spec.rb +74 -0
  361. data/spec/models/history_action_story_create_spec.rb +186 -0
  362. data/spec/models/history_action_story_delete_spec.rb +72 -0
  363. data/spec/models/history_action_story_link_create_spec.rb +78 -0
  364. data/spec/models/history_action_story_link_delete_spec.rb +78 -0
  365. data/spec/models/history_action_story_link_update_spec.rb +84 -0
  366. data/spec/models/history_action_story_update_spec.rb +84 -0
  367. data/spec/models/history_action_task_create_spec.rb +92 -0
  368. data/spec/models/history_action_task_delete_spec.rb +62 -0
  369. data/spec/models/history_action_task_update_spec.rb +80 -0
  370. data/spec/models/history_changes_story_link_spec.rb +52 -0
  371. data/spec/models/history_changes_story_spec.rb +178 -0
  372. data/spec/models/history_changes_task_spec.rb +58 -0
  373. data/spec/models/history_reference_branch_spec.rb +58 -0
  374. data/spec/models/history_reference_commit_spec.rb +58 -0
  375. data/spec/models/history_reference_epic_spec.rb +58 -0
  376. data/spec/models/history_reference_general_spec.rb +52 -0
  377. data/spec/models/history_reference_group_spec.rb +52 -0
  378. data/spec/models/history_reference_iteration_spec.rb +58 -0
  379. data/spec/models/history_reference_label_spec.rb +58 -0
  380. data/spec/models/history_reference_project_spec.rb +58 -0
  381. data/spec/models/history_reference_story_spec.rb +68 -0
  382. data/spec/models/history_reference_story_task_spec.rb +52 -0
  383. data/spec/models/history_reference_workflow_state_spec.rb +62 -0
  384. data/spec/models/history_spec.rb +92 -0
  385. data/spec/models/icon_spec.rb +64 -0
  386. data/spec/models/identity_spec.rb +52 -0
  387. data/spec/models/iteration_slim_spec.rb +136 -0
  388. data/spec/models/iteration_spec.rb +142 -0
  389. data/spec/models/iteration_stats_spec.rb +100 -0
  390. data/spec/models/label_slim_spec.rb +94 -0
  391. data/spec/models/label_spec.rb +100 -0
  392. data/spec/models/label_stats_spec.rb +124 -0
  393. data/spec/models/linked_file_spec.rb +130 -0
  394. data/spec/models/list_epics_spec.rb +40 -0
  395. data/spec/models/list_group_stories_spec.rb +46 -0
  396. data/spec/models/list_labels_spec.rb +40 -0
  397. data/spec/models/list_members_spec.rb +40 -0
  398. data/spec/models/max_search_results_exceeded_error_spec.rb +60 -0
  399. data/spec/models/member_info_spec.rb +58 -0
  400. data/spec/models/member_spec.rb +104 -0
  401. data/spec/models/milestone_spec.rb +136 -0
  402. data/spec/models/milestone_stats_spec.rb +52 -0
  403. data/spec/models/profile_spec.rb +88 -0
  404. data/spec/models/project_spec.rb +148 -0
  405. data/spec/models/project_stats_spec.rb +52 -0
  406. data/spec/models/pull_request_label_spec.rb +64 -0
  407. data/spec/models/pull_request_spec.rb +166 -0
  408. data/spec/models/repository_spec.rb +88 -0
  409. data/spec/models/search_results_spec.rb +46 -0
  410. data/spec/models/search_spec.rb +62 -0
  411. data/spec/models/search_stories_spec.rb +210 -0
  412. data/spec/models/story_comment_spec.rb +118 -0
  413. data/spec/models/story_contents_spec.rb +148 -0
  414. data/spec/models/story_contents_task_spec.rb +64 -0
  415. data/spec/models/story_history_change_adds_removes_int_spec.rb +46 -0
  416. data/spec/models/story_history_change_adds_removes_uuid_spec.rb +46 -0
  417. data/spec/models/story_history_change_old_new_bool_spec.rb +46 -0
  418. data/spec/models/story_history_change_old_new_int_spec.rb +46 -0
  419. data/spec/models/story_history_change_old_new_str_spec.rb +46 -0
  420. data/spec/models/story_history_change_old_new_uuid_spec.rb +46 -0
  421. data/spec/models/story_link_spec.rb +82 -0
  422. data/spec/models/story_reaction_spec.rb +46 -0
  423. data/spec/models/story_search_results_spec.rb +58 -0
  424. data/spec/models/story_slim_spec.rb +322 -0
  425. data/spec/models/story_spec.rb +334 -0
  426. data/spec/models/story_stats_spec.rb +40 -0
  427. data/spec/models/task_spec.rb +118 -0
  428. data/spec/models/threaded_comment_spec.rb +112 -0
  429. data/spec/models/typed_story_link_spec.rb +88 -0
  430. data/spec/models/unusable_entitlement_error_spec.rb +56 -0
  431. data/spec/models/update_category_spec.rb +52 -0
  432. data/spec/models/update_comment_spec.rb +40 -0
  433. data/spec/models/update_entity_template_spec.rb +46 -0
  434. data/spec/models/update_epic_spec.rb +140 -0
  435. data/spec/models/update_file_spec.rb +70 -0
  436. data/spec/models/update_group_spec.rb +92 -0
  437. data/spec/models/update_iteration_spec.rb +76 -0
  438. data/spec/models/update_label_spec.rb +58 -0
  439. data/spec/models/update_linked_file_spec.rb +86 -0
  440. data/spec/models/update_milestone_spec.rb +86 -0
  441. data/spec/models/update_project_spec.rb +88 -0
  442. data/spec/models/update_stories_spec.rb +168 -0
  443. data/spec/models/update_story_comment_spec.rb +40 -0
  444. data/spec/models/update_story_contents_spec.rb +160 -0
  445. data/spec/models/update_story_link_spec.rb +56 -0
  446. data/spec/models/update_story_spec.rb +198 -0
  447. data/spec/models/update_task_spec.rb +64 -0
  448. data/spec/models/uploaded_file_spec.rb +136 -0
  449. data/spec/models/v3_files_body_spec.rb +64 -0
  450. data/spec/models/workflow_spec.rb +100 -0
  451. data/spec/models/workflow_state_spec.rb +106 -0
  452. data/spec/spec_helper.rb +110 -0
  453. metadata +701 -0
@@ -0,0 +1,9 @@
1
+ # Shortcut::HistoryReferenceGeneral
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **name** | **String** | The name of the entity referenced. |
9
+
@@ -0,0 +1,9 @@
1
+ # Shortcut::HistoryReferenceGroup
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **name** | **String** | The name of the entity referenced. |
9
+
@@ -0,0 +1,10 @@
1
+ # Shortcut::HistoryReferenceIteration
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **app_url** | **String** | The application URL of the Iteration. |
9
+ **name** | **String** | The name of the entity referenced. |
10
+
@@ -0,0 +1,10 @@
1
+ # Shortcut::HistoryReferenceLabel
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **app_url** | **String** | The application URL of the Label. |
9
+ **name** | **String** | The name of the entity referenced. |
10
+
@@ -0,0 +1,10 @@
1
+ # Shortcut::HistoryReferenceProject
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **app_url** | **String** | The application URL of the Project. |
9
+ **name** | **String** | The name of the entity referenced. |
10
+
@@ -0,0 +1,11 @@
1
+ # Shortcut::HistoryReferenceStory
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **app_url** | **String** | The application URL of the Story. |
9
+ **name** | **String** | The name of the entity referenced. |
10
+ **story_type** | **String** | If the referenced entity is a Story, either \"bug\", \"chore\", or \"feature\". |
11
+
@@ -0,0 +1,9 @@
1
+ # Shortcut::HistoryReferenceStoryTask
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **description** | **String** | The description of the Story Task. |
9
+
@@ -0,0 +1,10 @@
1
+ # Shortcut::HistoryReferenceWorkflowState
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the entity referenced. |
7
+ **entity_type** | **String** | The type of entity referenced. |
8
+ **type** | **String** | Either \"unstarted\", \"started\", or \"done\". |
9
+ **name** | **String** | The name of the entity referenced. |
10
+
data/docs/Icon.md ADDED
@@ -0,0 +1,11 @@
1
+ # Shortcut::Icon
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **id** | **String** | The unique ID of the Icon. |
8
+ **created_at** | **DateTime** | The time/date that the Icon was created. |
9
+ **updated_at** | **DateTime** | The time/date that the Icon was updated. |
10
+ **url** | **String** | The URL of the Icon. |
11
+
data/docs/Identity.md ADDED
@@ -0,0 +1,9 @@
1
+ # Shortcut::Identity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **name** | **String** | This is your login in VCS. |
8
+ **type** | **String** | The type of Identity; currently only type is github. |
9
+
data/docs/Iteration.md ADDED
@@ -0,0 +1,24 @@
1
+ # Shortcut::Iteration
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Iteration. |
7
+ **description** | **String** | The description of the iteration. |
8
+ **entity_type** | **String** | A string description of this resource |
9
+ **labels** | [**Array<Label>**](Label.md) | An array of labels attached to the iteration. |
10
+ **mention_ids** | **Array<String>** | Deprecated: use member_mention_ids. |
11
+ **member_mention_ids** | **Array<String>** | An array of Member IDs that have been mentioned in the Story description. |
12
+ **name** | **String** | The name of the iteration. |
13
+ **label_ids** | **Array<Integer>** | An array of label ids attached to the iteration. |
14
+ **updated_at** | **DateTime** | The instant when this iteration was last updated. |
15
+ **group_mention_ids** | **Array<String>** | An array of Group IDs that have been mentioned in the Story description. |
16
+ **end_date** | **DateTime** | The date this iteration begins. |
17
+ **follower_ids** | **Array<String>** | An array of UUIDs for any Members listed as Followers. |
18
+ **group_ids** | **Array<String>** | An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI. |
19
+ **start_date** | **DateTime** | The date this iteration begins. |
20
+ **status** | **String** | The status of the iteration. Values are either \"unstarted\", \"started\", or \"done\". |
21
+ **id** | **Integer** | The ID of the iteration. |
22
+ **stats** | [**IterationStats**](IterationStats.md) | |
23
+ **created_at** | **DateTime** | The instant when this iteration was created. |
24
+
@@ -0,0 +1,23 @@
1
+ # Shortcut::IterationSlim
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Iteration. |
7
+ **entity_type** | **String** | A string description of this resource |
8
+ **labels** | [**Array<Label>**](Label.md) | An array of labels attached to the iteration. |
9
+ **mention_ids** | **Array<String>** | Deprecated: use member_mention_ids. |
10
+ **member_mention_ids** | **Array<String>** | An array of Member IDs that have been mentioned in the Story description. |
11
+ **name** | **String** | The name of the iteration. |
12
+ **label_ids** | **Array<Integer>** | An array of label ids attached to the iteration. |
13
+ **updated_at** | **DateTime** | The instant when this iteration was last updated. |
14
+ **group_mention_ids** | **Array<String>** | An array of Group IDs that have been mentioned in the Story description. |
15
+ **end_date** | **DateTime** | The date this iteration begins. |
16
+ **follower_ids** | **Array<String>** | An array of UUIDs for any Members listed as Followers. |
17
+ **group_ids** | **Array<String>** | An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI. |
18
+ **start_date** | **DateTime** | The date this iteration begins. |
19
+ **status** | **String** | The status of the iteration. Values are either \"unstarted\", \"started\", or \"done\". |
20
+ **id** | **Integer** | The ID of the iteration. |
21
+ **stats** | [**IterationStats**](IterationStats.md) | |
22
+ **created_at** | **DateTime** | The instant when this iteration was created. |
23
+
@@ -0,0 +1,17 @@
1
+ # Shortcut::IterationStats
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **num_points_done** | **Integer** | The total number of completed points in this Iteration. |
7
+ **num_related_documents** | **Integer** | The total number of documents related to an Iteration |
8
+ **average_cycle_time** | **Integer** | The average cycle time (in seconds) of completed stories in this Iteration. | [optional]
9
+ **num_stories_unstarted** | **Integer** | The total number of unstarted Stories in this Iteration. |
10
+ **num_points_started** | **Integer** | The total number of started points in this Iteration. |
11
+ **num_points_unstarted** | **Integer** | The total number of unstarted points in this Iteration. |
12
+ **num_stories_started** | **Integer** | The total number of started Stories in this Iteration. |
13
+ **num_stories_unestimated** | **Integer** | The total number of Stories with no point estimate. |
14
+ **average_lead_time** | **Integer** | The average lead time (in seconds) of completed stories in this Iteration. | [optional]
15
+ **num_points** | **Integer** | The total number of points in this Iteration. |
16
+ **num_stories_done** | **Integer** | The total number of done Stories in this Iteration. |
17
+
data/docs/Label.md ADDED
@@ -0,0 +1,17 @@
1
+ # Shortcut::Label
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Label. |
7
+ **description** | **String** | The description of the Label. |
8
+ **archived** | **BOOLEAN** | A true/false boolean indicating if the Label has been archived. |
9
+ **entity_type** | **String** | A string description of this resource. |
10
+ **color** | **String** | The hex color to be displayed with the Label (for example, \"#ff0000\"). |
11
+ **name** | **String** | The name of the Label. |
12
+ **updated_at** | **DateTime** | The time/date that the Label was updated. |
13
+ **external_id** | **String** | 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. |
14
+ **id** | **Integer** | The unique ID of the Label. |
15
+ **stats** | [**LabelStats**](LabelStats.md) | | [optional]
16
+ **created_at** | **DateTime** | The time/date that the Label was created. |
17
+
data/docs/LabelSlim.md ADDED
@@ -0,0 +1,16 @@
1
+ # Shortcut::LabelSlim
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Label. |
7
+ **description** | **String** | The description of the Label. |
8
+ **archived** | **BOOLEAN** | A true/false boolean indicating if the Label has been archived. |
9
+ **entity_type** | **String** | A string description of this resource. |
10
+ **color** | **String** | The hex color to be displayed with the Label (for example, \"#ff0000\"). |
11
+ **name** | **String** | The name of the Label. |
12
+ **updated_at** | **DateTime** | The time/date that the Label was updated. |
13
+ **external_id** | **String** | 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. |
14
+ **id** | **Integer** | The unique ID of the Label. |
15
+ **created_at** | **DateTime** | The time/date that the Label was created. |
16
+
@@ -0,0 +1,21 @@
1
+ # Shortcut::LabelStats
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **num_related_documents** | **Integer** | The total number of Documents associated this Label. |
7
+ **num_epics** | **Integer** | The total number of Epics with this Label. |
8
+ **num_stories_unstarted** | **Integer** | The total number of stories unstarted Stories with this Label. |
9
+ **num_stories_total** | **Integer** | The total number of Stories with this Label. |
10
+ **num_epics_unstarted** | **Integer** | The number of unstarted epics assoicated with this label. |
11
+ **num_epics_in_progress** | **Integer** | The number of in progress epics assoicated with this label. |
12
+ **num_points_unstarted** | **Integer** | The total number of unstarted points with this Label. |
13
+ **num_stories_unestimated** | **Integer** | The total number of Stories with no point estimate with this Label. |
14
+ **num_points_in_progress** | **Integer** | The total number of in-progress points with this Label. |
15
+ **num_epics_total** | **Integer** | The total number of Epics assoicated with this Label. |
16
+ **num_stories_completed** | **Integer** | The total number of completed Stories with this Label. |
17
+ **num_points_completed** | **Integer** | The total number of completed points with this Label. |
18
+ **num_points_total** | **Integer** | The total number of points with this Label. |
19
+ **num_stories_in_progress** | **Integer** | The total number of in-progress Stories with this Label. |
20
+ **num_epics_completed** | **Integer** | The number of completed Epics assoicated with this Label. |
21
+
@@ -0,0 +1,22 @@
1
+ # Shortcut::LinkedFile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **description** | **String** | The description of the file. |
7
+ **entity_type** | **String** | A string description of this resource. |
8
+ **story_ids** | **Array<Integer>** | The IDs of the stories this file is attached to. |
9
+ **mention_ids** | **Array<String>** | Deprecated: use member_mention_ids. |
10
+ **member_mention_ids** | **Array<String>** | The members that are mentioned in the description of the file. |
11
+ **name** | **String** | The name of the linked file. |
12
+ **thumbnail_url** | **String** | The URL of the file thumbnail, if the integration provided it. |
13
+ **type** | **String** | The integration type (e.g. google, dropbox, box). |
14
+ **size** | **Integer** | The filesize, if the integration provided it. |
15
+ **uploader_id** | **String** | The UUID of the member that uploaded the file. |
16
+ **content_type** | **String** | The content type of the image (e.g. txt/plain). |
17
+ **updated_at** | **DateTime** | The time/date the LinkedFile was updated. |
18
+ **group_mention_ids** | **Array<String>** | The groups that are mentioned in the description of the file. |
19
+ **id** | **Integer** | The unique identifier for the file. |
20
+ **url** | **String** | The URL of the file. |
21
+ **created_at** | **DateTime** | The time/date the LinkedFile was created. |
22
+
data/docs/ListEpics.md ADDED
@@ -0,0 +1,7 @@
1
+ # Shortcut::ListEpics
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **includes_description** | **BOOLEAN** | A true/false boolean indicating whether to return Epics with their descriptions. | [optional]
7
+
@@ -0,0 +1,8 @@
1
+ # Shortcut::ListGroupStories
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **limit** | **Integer** | The maximum number of results to return. (Defaults to 1000, max 1000) | [optional]
7
+ **offset** | **Integer** | The offset at which to begin returning results. (Defaults to 0) | [optional]
8
+
@@ -0,0 +1,7 @@
1
+ # Shortcut::ListLabels
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **slim** | **BOOLEAN** | A true/false boolean indicating if the slim versions of the Label should be returned. | [optional]
7
+
@@ -0,0 +1,7 @@
1
+ # Shortcut::ListMembers
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **org_public_id** | **String** | The unique ID of the Organization to limit the list to. | [optional]
7
+
@@ -0,0 +1,9 @@
1
+ # Shortcut::MaxSearchResultsExceededError
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | **String** | The name for this type of error, `maximum-results-exceeded` |
7
+ **message** | **String** | An explanatory message: \"A maximum of 1000 search results are supported.\" |
8
+ **maximum_results** | **Integer** | The maximum number of search results supported, `1000` |
9
+
data/docs/Member.md ADDED
@@ -0,0 +1,17 @@
1
+ # Shortcut::Member
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **role** | **String** | The Member's role in the Shortcut organization. |
7
+ **entity_type** | **String** | A string description of this resource. |
8
+ **disabled** | **BOOLEAN** | True/false boolean indicating whether the Member has been disabled within this Organization. |
9
+ **state** | **String** | The user state, one of partial, full, disabled, or imported. A partial user is disabled, has no means to log in, and is not an import user. A full user is enabled and has a means to log in. A disabled user is disabled and has a means to log in. An import user is disabled, has no means to log in, and is marked as an import user. |
10
+ **updated_at** | **DateTime** | The time/date the Member was last updated. |
11
+ **created_without_invite** | **BOOLEAN** | Whether this member was created as a placeholder entity. |
12
+ **group_ids** | **Array<String>** | The Member's group ids |
13
+ **id** | **String** | The Member's ID in Shortcut. |
14
+ **profile** | [**Profile**](Profile.md) | |
15
+ **created_at** | **DateTime** | The time/date the Member was created. |
16
+ **replaced_by** | **String** | The id of the member that replaces this one when merged. | [optional]
17
+
@@ -0,0 +1,10 @@
1
+ # Shortcut::MemberInfo
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | |
7
+ **name** | **String** | |
8
+ **mention_name** | **String** | |
9
+ **workspace2** | [**BasicWorkspaceInfo**](BasicWorkspaceInfo.md) | |
10
+
data/docs/Milestone.md ADDED
@@ -0,0 +1,23 @@
1
+ # Shortcut::Milestone
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Milestone. |
7
+ **description** | **String** | The Milestone's description. |
8
+ **started** | **BOOLEAN** | A true/false boolean indicating if the Milestone has been started. |
9
+ **entity_type** | **String** | A string description of this resource. |
10
+ **completed_at_override** | **DateTime** | A manual override for the time/date the Milestone was completed. |
11
+ **started_at** | **DateTime** | The time/date the Milestone was started. |
12
+ **completed_at** | **DateTime** | The time/date the Milestone was completed. |
13
+ **name** | **String** | The name of the Milestone. |
14
+ **completed** | **BOOLEAN** | A true/false boolean indicating if the Milestone has been completed. |
15
+ **state** | **String** | The workflow state that the Milestone is in. |
16
+ **started_at_override** | **DateTime** | A manual override for the time/date the Milestone was started. |
17
+ **updated_at** | **DateTime** | The time/date the Milestone was updated. |
18
+ **categories** | [**Array<Category>**](Category.md) | An array of Categories attached to the Milestone. |
19
+ **id** | **Integer** | The unique ID of the Milestone. |
20
+ **position** | **Integer** | A number representing the position of the Milestone in relation to every other Milestone within the Organization. |
21
+ **stats** | [**MilestoneStats**](MilestoneStats.md) | | [optional]
22
+ **created_at** | **DateTime** | The time/date the Milestone was created. |
23
+
@@ -0,0 +1,9 @@
1
+ # Shortcut::MilestoneStats
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **average_cycle_time** | **Integer** | The average cycle time (in seconds) of completed stories in this Milestone. | [optional]
7
+ **average_lead_time** | **Integer** | The average lead time (in seconds) of completed stories in this Milestone. | [optional]
8
+ **num_related_documents** | **Integer** | The number of related documents tp this Milestone. |
9
+
data/docs/Profile.md ADDED
@@ -0,0 +1,15 @@
1
+ # Shortcut::Profile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **deactivated** | **BOOLEAN** | A true/false boolean indicating whether the Member has been deactivated within Shortcut. |
8
+ **two_factor_auth_activated** | **BOOLEAN** | If Two Factor Authentication is activated for this User. | [optional]
9
+ **mention_name** | **String** | The Member's username within the Organization. |
10
+ **name** | **String** | The Member's name within the Organization. |
11
+ **gravatar_hash** | **String** | This is the gravatar hash associated with email_address. |
12
+ **id** | **String** | The unique identifier of the profile. |
13
+ **display_icon** | [**Icon**](Icon.md) | |
14
+ **email_address** | **String** | The primary email address of the Member with the Organization. |
15
+
data/docs/Project.md ADDED
@@ -0,0 +1,25 @@
1
+ # Shortcut::Project
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Project. |
7
+ **description** | **String** | The description of the Project. |
8
+ **archived** | **BOOLEAN** | True/false boolean indicating whether the Project is in an Archived state. |
9
+ **entity_type** | **String** | A string description of this resource. |
10
+ **days_to_thermometer** | **Integer** | The number of days before the thermometer appears in the Story summary. |
11
+ **color** | **String** | The color associated with the Project in the Shortcut member interface. |
12
+ **workflow_id** | **Integer** | The ID of the workflow the project belongs to. |
13
+ **name** | **String** | The name of the Project |
14
+ **start_time** | **DateTime** | The date at which the Project was started. |
15
+ **updated_at** | **DateTime** | The time/date that the Project was last updated. |
16
+ **follower_ids** | **Array<String>** | An array of UUIDs for any Members listed as Followers. |
17
+ **external_id** | **String** | This field can be set to another unique ID. In the case that the Project has been imported from another tool, the ID in the other tool can be indicated here. |
18
+ **id** | **Integer** | The unique ID of the Project. |
19
+ **show_thermometer** | **BOOLEAN** | Configuration to enable or disable thermometers in the Story summary. |
20
+ **team_id** | **Integer** | The ID of the team the project belongs to. |
21
+ **iteration_length** | **Integer** | The number of weeks per iteration in this Project. |
22
+ **abbreviation** | **String** | The Project abbreviation used in Story summaries. Should be kept to 3 characters at most. |
23
+ **stats** | [**ProjectStats**](ProjectStats.md) | |
24
+ **created_at** | **DateTime** | The time/date that the Project was created. |
25
+
@@ -0,0 +1,9 @@
1
+ # Shortcut::ProjectStats
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **num_stories** | **Integer** | The total number of stories in this Project. |
7
+ **num_points** | **Integer** | The total number of points in this Project. |
8
+ **num_related_documents** | **Integer** | The total number of documents related to this Project |
9
+
@@ -0,0 +1,28 @@
1
+ # Shortcut::PullRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **closed** | **BOOLEAN** | True/False boolean indicating whether the VCS pull request has been closed. |
8
+ **merged** | **BOOLEAN** | True/False boolean indicating whether the VCS pull request has been merged. |
9
+ **num_added** | **Integer** | Number of lines added in the pull request, according to VCS. |
10
+ **branch_id** | **Integer** | The ID of the branch for the particular pull request. |
11
+ **number** | **Integer** | The pull request's unique number ID in VCS. |
12
+ **branch_name** | **String** | The name of the branch for the particular pull request. |
13
+ **target_branch_name** | **String** | The name of the target branch for the particular pull request. |
14
+ **num_commits** | **Integer** | The number of commits on the pull request. |
15
+ **title** | **String** | The title of the pull request. |
16
+ **updated_at** | **DateTime** | The time/date the pull request was created. |
17
+ **draft** | **BOOLEAN** | True/False boolean indicating whether the VCS pull request is in the draft state. |
18
+ **id** | **Integer** | The unique ID associated with the pull request in Shortcut. |
19
+ **vcs_labels** | [**Array<PullRequestLabel>**](PullRequestLabel.md) | An array of PullRequestLabels attached to the PullRequest. | [optional]
20
+ **url** | **String** | The URL for the pull request. |
21
+ **num_removed** | **Integer** | Number of lines removed in the pull request, according to VCS. |
22
+ **review_status** | **String** | The status of the review for the pull request. | [optional]
23
+ **num_modified** | **Integer** | Number of lines modified in the pull request, according to VCS. |
24
+ **build_status** | **String** | The status of the Continuous Integration workflow for the pull request. | [optional]
25
+ **target_branch_id** | **Integer** | The ID of the target branch for the particular pull request. |
26
+ **repository_id** | **Integer** | The ID of the repository for the particular pull request. |
27
+ **created_at** | **DateTime** | The time/date the pull request was created. |
28
+
@@ -0,0 +1,11 @@
1
+ # Shortcut::PullRequestLabel
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **id** | **Integer** | The unique ID of the VCS Label. |
8
+ **color** | **String** | The color of the VCS label. |
9
+ **description** | **String** | The description of the VCS label. | [optional]
10
+ **name** | **String** | The name of the VCS label. |
11
+
@@ -0,0 +1,15 @@
1
+ # Shortcut::Repository
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | A string description of this resource. |
7
+ **name** | **String** | The shorthand name of the VCS repository. |
8
+ **type** | **String** | The type of Repository. Currently this can only be \"github\". |
9
+ **updated_at** | **DateTime** | The time/date the Repository was updated. |
10
+ **external_id** | **String** | The VCS unique identifier for the Repository. |
11
+ **id** | **Integer** | The ID associated to the VCS repository in Shortcut. |
12
+ **url** | **String** | The URL of the Repository. |
13
+ **full_name** | **String** | The full name of the VCS repository. |
14
+ **created_at** | **DateTime** | The time/date the Repository was created. |
15
+
data/docs/Search.md ADDED
@@ -0,0 +1,10 @@
1
+ # Shortcut::Search
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **query** | **String** | See our help center article on [search operators](https://help.shortcut.com/hc/en-us/articles/360000046646-Search-Operators) |
7
+ **page_size** | **Integer** | The number of search results to include in a page. Minimum of 1 and maximum of 25. | [optional]
8
+ **_next** | **String** | The next page token. | [optional]
9
+ **include** | **String** | | [optional]
10
+
@@ -0,0 +1,8 @@
1
+ # Shortcut::SearchResults
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **epics** | [**EpicSearchResults**](EpicSearchResults.md) | |
7
+ **stories** | [**StorySearchResults**](StorySearchResults.md) | |
8
+
@@ -0,0 +1,34 @@
1
+ # Shortcut::SearchStories
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **archived** | **BOOLEAN** | A true/false boolean indicating whether the Story is in archived state. | [optional]
7
+ **owner_id** | **String** | An array of UUIDs for any Users who may be Owners of the Stories. | [optional]
8
+ **story_type** | **String** | The type of Stories that you want returned. | [optional]
9
+ **epic_ids** | **Array<Integer>** | The Epic IDs that may be associated with the Stories. | [optional]
10
+ **project_ids** | **Array<Integer>** | The IDs for the Projects the Stories may be assigned to. | [optional]
11
+ **updated_at_end** | **DateTime** | Stories should have been updated before this date. | [optional]
12
+ **completed_at_end** | **DateTime** | Stories should have been completed before this date. | [optional]
13
+ **workflow_state_types** | **Array<String>** | The type of Workflow State the Stories may be in. | [optional]
14
+ **deadline_end** | **DateTime** | Stories should have a deadline before this date. | [optional]
15
+ **created_at_start** | **DateTime** | Stories should have been created after this date. | [optional]
16
+ **epic_id** | **Integer** | The Epic IDs that may be associated with the Stories. | [optional]
17
+ **label_name** | **String** | The name of any associated Labels. | [optional]
18
+ **requested_by_id** | **String** | The UUID of any Users who may have requested the Stories. | [optional]
19
+ **iteration_id** | **Integer** | The Iteration ID that may be associated with the Stories. | [optional]
20
+ **label_ids** | **Array<Integer>** | The Label IDs that may be associated with the Stories. | [optional]
21
+ **group_id** | **String** | The Group ID that is associated with the Stories | [optional]
22
+ **workflow_state_id** | **Integer** | The unique IDs of the specific Workflow States that the Stories should be in. | [optional]
23
+ **iteration_ids** | **Array<Integer>** | The Iteration IDs that may be associated with the Stories. | [optional]
24
+ **created_at_end** | **DateTime** | Stories should have been created before this date. | [optional]
25
+ **deadline_start** | **DateTime** | Stories should have a deadline after this date. | [optional]
26
+ **group_ids** | **Array<String>** | The Group IDs that are associated with the Stories | [optional]
27
+ **owner_ids** | **Array<String>** | An array of UUIDs for any Users who may be Owners of the Stories. | [optional]
28
+ **external_id** | **String** | An ID or URL that references an external resource. Useful during imports. | [optional]
29
+ **includes_description** | **BOOLEAN** | Whether to include the story description in the response. | [optional]
30
+ **estimate** | **Integer** | The number of estimate points associate with the Stories. | [optional]
31
+ **project_id** | **Integer** | The IDs for the Projects the Stories may be assigned to. | [optional]
32
+ **completed_at_start** | **DateTime** | Stories should have been competed after this date. | [optional]
33
+ **updated_at_start** | **DateTime** | Stories should have been updated after this date. | [optional]
34
+
data/docs/Story.md ADDED
@@ -0,0 +1,56 @@
1
+ # Shortcut::Story
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app_url** | **String** | The Shortcut application url for the Story. |
7
+ **description** | **String** | The description of the story. |
8
+ **archived** | **BOOLEAN** | True if the story has been archived or not. |
9
+ **started** | **BOOLEAN** | A true/false boolean indicating if the Story has been started. |
10
+ **story_links** | [**Array<TypedStoryLink>**](TypedStoryLink.md) | An array of story links attached to the Story. |
11
+ **entity_type** | **String** | A string description of this resource. |
12
+ **labels** | [**Array<LabelSlim>**](LabelSlim.md) | An array of labels attached to the story. |
13
+ **mention_ids** | **Array<String>** | Deprecated: use member_mention_ids. |
14
+ **member_mention_ids** | **Array<String>** | An array of Member IDs that have been mentioned in the Story description. |
15
+ **story_type** | **String** | The type of story (feature, bug, chore). |
16
+ **linked_files** | [**Array<LinkedFile>**](LinkedFile.md) | An array of linked files attached to the story. |
17
+ **workflow_id** | **Integer** | The ID of the workflow the story belongs to. |
18
+ **completed_at_override** | **DateTime** | A manual override for the time/date the Story was completed. |
19
+ **started_at** | **DateTime** | The time/date the Story was started. |
20
+ **completed_at** | **DateTime** | The time/date the Story was completed. |
21
+ **name** | **String** | The name of the story. |
22
+ **completed** | **BOOLEAN** | A true/false boolean indicating if the Story has been completed. |
23
+ **comments** | [**Array<StoryComment>**](StoryComment.md) | An array of comments attached to the story. |
24
+ **blocker** | **BOOLEAN** | A true/false boolean indicating if the Story is currently a blocker of another story. |
25
+ **branches** | [**Array<Branch>**](Branch.md) | An array of Git branches attached to the story. |
26
+ **epic_id** | **Integer** | The ID of the epic the story belongs to. |
27
+ **story_template_id** | **String** | The ID of the story template used to create this story, or null if not created using a template. |
28
+ **external_links** | **Array<String>** | An array of external links (strings) associated with a Story |
29
+ **previous_iteration_ids** | **Array<Integer>** | The IDs of the iteration the story belongs to. |
30
+ **requested_by_id** | **String** | The ID of the Member that requested the story. |
31
+ **iteration_id** | **Integer** | The ID of the iteration the story belongs to. |
32
+ **tasks** | [**Array<Task>**](Task.md) | An array of tasks connected to the story. |
33
+ **label_ids** | **Array<Integer>** | An array of label ids attached to the story. |
34
+ **started_at_override** | **DateTime** | A manual override for the time/date the Story was started. |
35
+ **group_id** | **String** | The ID of the group associated with the story. |
36
+ **workflow_state_id** | **Integer** | The ID of the workflow state the story is currently in. |
37
+ **updated_at** | **DateTime** | The time/date the Story was updated. |
38
+ **pull_requests** | [**Array<PullRequest>**](PullRequest.md) | An array of Pull/Merge Requests attached to the story. |
39
+ **group_mention_ids** | **Array<String>** | An array of Group IDs that have been mentioned in the Story description. |
40
+ **follower_ids** | **Array<String>** | An array of UUIDs for any Members listed as Followers. |
41
+ **owner_ids** | **Array<String>** | An array of UUIDs of the owners of this story. |
42
+ **external_id** | **String** | 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. |
43
+ **id** | **Integer** | The unique ID of the Story. |
44
+ **lead_time** | **Integer** | The lead time (in seconds) of this story when complete. | [optional]
45
+ **estimate** | **Integer** | The numeric point estimate of the story. Can also be null, which means unestimated. |
46
+ **commits** | [**Array<Commit>**](Commit.md) | An array of commits attached to the story. |
47
+ **files** | [**Array<UploadedFile>**](UploadedFile.md) | An array of files attached to the story. |
48
+ **position** | **Integer** | A number representing the position of the story in relation to every other story in the current project. |
49
+ **blocked** | **BOOLEAN** | A true/false boolean indicating if the Story is currently blocked. |
50
+ **project_id** | **Integer** | The ID of the project the story belongs to. |
51
+ **deadline** | **DateTime** | The due date of the story. |
52
+ **stats** | [**StoryStats**](StoryStats.md) | |
53
+ **cycle_time** | **Integer** | The cycle time (in seconds) of this story when complete. | [optional]
54
+ **created_at** | **DateTime** | The time/date the Story was created. |
55
+ **moved_at** | **DateTime** | The time/date the Story was last changed workflow-state. |
56
+