lms-graphql-api 1.4.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (913) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +3 -0
  3. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +3 -0
  4. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +3 -0
  5. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +3 -0
  6. data/lib/lms_graphql/mutations/canvas/activate_role.rb +3 -0
  7. data/lib/lms_graphql/mutations/canvas/add_allowed_domain_to_account.rb +3 -0
  8. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +3 -0
  9. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +3 -0
  10. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +3 -0
  11. data/lib/lms_graphql/mutations/canvas/add_message.rb +5 -2
  12. data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +3 -0
  13. data/lib/lms_graphql/mutations/canvas/add_observee.rb +3 -0
  14. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +3 -0
  15. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +4 -1
  16. data/lib/lms_graphql/mutations/canvas/add_tool_to_rce_favorites.rb +26 -0
  17. data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +3 -0
  18. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +3 -0
  19. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +3 -0
  20. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +3 -0
  21. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +3 -0
  22. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +3 -0
  23. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +3 -0
  24. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +3 -0
  25. data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +3 -0
  26. data/lib/lms_graphql/mutations/canvas/bulk_update_assignment_dates.rb +3 -0
  27. data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +3 -0
  28. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +3 -0
  29. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +3 -0
  30. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +3 -0
  31. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +3 -0
  32. data/lib/lms_graphql/mutations/canvas/confirm_image_selection.rb +3 -0
  33. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +5 -2
  34. data/lib/lms_graphql/mutations/canvas/copy_file.rb +3 -0
  35. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +3 -0
  36. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +3 -0
  37. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +3 -0
  38. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +3 -0
  39. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +6 -3
  40. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +9 -4
  41. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +3 -0
  42. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +4 -1
  43. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +3 -0
  44. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +3 -0
  45. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +3 -0
  46. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +3 -0
  47. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +3 -0
  48. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +3 -0
  49. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +3 -0
  50. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +3 -0
  51. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +5 -2
  52. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +3 -0
  53. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +3 -0
  54. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +3 -0
  55. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +3 -0
  56. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +3 -0
  57. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +3 -0
  58. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +3 -0
  59. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +3 -0
  60. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +3 -0
  61. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +3 -0
  62. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +3 -0
  63. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +3 -0
  64. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +3 -0
  65. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +4 -1
  66. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +3 -0
  67. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +3 -0
  68. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +3 -0
  69. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +3 -0
  70. data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
  71. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +3 -0
  72. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +3 -0
  73. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +3 -0
  74. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +5 -2
  75. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +5 -2
  76. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +5 -2
  77. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +5 -2
  78. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +5 -2
  79. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +5 -2
  80. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +3 -0
  81. data/lib/lms_graphql/mutations/canvas/create_membership.rb +3 -0
  82. data/lib/lms_graphql/mutations/canvas/create_module.rb +8 -2
  83. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +3 -0
  84. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +4 -1
  85. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +3 -0
  86. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +3 -0
  87. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +5 -2
  88. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +5 -2
  89. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +3 -0
  90. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +3 -0
  91. data/lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb +3 -0
  92. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +3 -0
  93. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +9 -4
  94. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +3 -0
  95. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +3 -0
  96. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +3 -0
  97. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +3 -0
  98. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +3 -0
  99. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +7 -4
  100. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +3 -0
  101. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +3 -0
  102. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +3 -0
  103. data/lib/lms_graphql/mutations/canvas/create_rubricassociation.rb +3 -0
  104. data/lib/lms_graphql/mutations/canvas/create_score.rb +3 -0
  105. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +5 -2
  106. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +6 -3
  107. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +6 -3
  108. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +4 -1
  109. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +3 -0
  110. data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +3 -0
  111. data/lib/lms_graphql/mutations/canvas/create_single_rubric_assessment.rb +3 -0
  112. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +3 -0
  113. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +3 -0
  114. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +3 -0
  115. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +33 -0
  116. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +33 -0
  117. data/lib/lms_graphql/mutations/canvas/create_user.rb +3 -0
  118. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +3 -0
  119. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +3 -0
  120. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +3 -0
  121. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +3 -0
  122. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +3 -0
  123. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +3 -0
  124. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +3 -0
  125. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +3 -0
  126. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +3 -0
  127. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +3 -0
  128. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +3 -0
  129. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +3 -0
  130. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +3 -0
  131. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +3 -0
  132. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +3 -0
  133. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +3 -0
  134. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +3 -0
  135. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +3 -0
  136. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +3 -0
  137. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +3 -0
  138. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +3 -0
  139. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +3 -0
  140. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +3 -0
  141. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +3 -0
  142. data/lib/lms_graphql/mutations/canvas/delete_file.rb +3 -0
  143. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +3 -0
  144. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +3 -0
  145. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +3 -0
  146. data/lib/lms_graphql/mutations/canvas/delete_group.rb +3 -0
  147. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +3 -0
  148. data/lib/lms_graphql/mutations/canvas/delete_line_item.rb +3 -0
  149. data/lib/lms_graphql/mutations/canvas/delete_message.rb +4 -1
  150. data/lib/lms_graphql/mutations/canvas/delete_module.rb +7 -1
  151. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +3 -0
  152. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +3 -0
  153. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +3 -0
  154. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +3 -0
  155. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -0
  156. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -0
  157. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +3 -0
  158. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +3 -0
  159. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +3 -0
  160. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +3 -0
  161. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +3 -0
  162. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +3 -0
  163. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +3 -0
  164. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +3 -0
  165. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +3 -0
  166. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +3 -0
  167. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +3 -0
  168. data/lib/lms_graphql/mutations/canvas/delete_report.rb +3 -0
  169. data/lib/lms_graphql/mutations/canvas/delete_rubricassociation.rb +3 -0
  170. data/lib/lms_graphql/mutations/canvas/delete_section.rb +3 -0
  171. data/lib/lms_graphql/mutations/canvas/delete_single_rubric.rb +3 -0
  172. data/lib/lms_graphql/mutations/canvas/delete_single_rubric_assessment.rb +3 -0
  173. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +3 -0
  174. data/lib/lms_graphql/mutations/canvas/delete_submission_comment.rb +30 -0
  175. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +3 -0
  176. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +3 -0
  177. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +3 -0
  178. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +3 -0
  179. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +3 -0
  180. data/lib/lms_graphql/mutations/canvas/deprecated_self_register_user.rb +3 -0
  181. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +3 -0
  182. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +3 -0
  183. data/lib/lms_graphql/mutations/canvas/duplicate_assignnment.rb +29 -0
  184. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_courses.rb +26 -0
  185. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_groups.rb +26 -0
  186. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -0
  187. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +9 -4
  188. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +3 -0
  189. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +4 -1
  190. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +3 -0
  191. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +3 -0
  192. data/lib/lms_graphql/mutations/canvas/edit_group.rb +4 -1
  193. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +3 -0
  194. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +3 -0
  195. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +3 -0
  196. data/lib/lms_graphql/mutations/canvas/edit_section.rb +3 -0
  197. data/lib/lms_graphql/mutations/canvas/edit_submission_comment.rb +33 -0
  198. data/lib/lms_graphql/mutations/canvas/edit_user.rb +7 -2
  199. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +3 -0
  200. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +3 -0
  201. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +3 -0
  202. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +3 -0
  203. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +3 -0
  204. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +3 -0
  205. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +3 -0
  206. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +3 -0
  207. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +3 -0
  208. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +3 -0
  209. data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +3 -0
  210. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +4 -1
  211. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +4 -1
  212. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +4 -1
  213. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +4 -1
  214. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +4 -1
  215. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +4 -1
  216. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +3 -0
  217. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +3 -0
  218. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +3 -0
  219. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +3 -0
  220. data/lib/lms_graphql/mutations/canvas/import_category_groups.rb +27 -0
  221. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +3 -0
  222. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +3 -0
  223. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +3 -0
  224. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +3 -0
  225. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +3 -0
  226. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +8 -1
  227. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +4 -1
  228. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +3 -0
  229. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +3 -0
  230. data/lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb +3 -0
  231. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +3 -0
  232. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +3 -0
  233. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +3 -0
  234. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +3 -0
  235. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +3 -0
  236. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +3 -0
  237. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +3 -0
  238. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +3 -0
  239. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +3 -0
  240. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +3 -0
  241. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +3 -0
  242. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +3 -0
  243. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +3 -0
  244. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +3 -0
  245. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +3 -0
  246. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +3 -0
  247. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +3 -0
  248. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +3 -0
  249. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +3 -0
  250. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +3 -0
  251. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +3 -0
  252. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +3 -0
  253. data/lib/lms_graphql/mutations/canvas/mutations.rb +11 -1
  254. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +3 -0
  255. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +3 -0
  256. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +3 -0
  257. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +3 -0
  258. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +3 -0
  259. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +3 -0
  260. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +3 -0
  261. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +3 -0
  262. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +9 -6
  263. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +3 -0
  264. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +3 -0
  265. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +3 -0
  266. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +3 -0
  267. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +7 -1
  268. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +3 -0
  269. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +3 -0
  270. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +3 -0
  271. data/lib/lms_graphql/mutations/canvas/remove_content_share.rb +3 -0
  272. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +3 -0
  273. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +3 -0
  274. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb +3 -0
  275. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +3 -0
  276. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +3 -0
  277. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +3 -0
  278. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +3 -0
  279. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +3 -0
  280. data/lib/lms_graphql/mutations/canvas/remove_tool_from_rce_favorites.rb +26 -0
  281. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +3 -0
  282. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +3 -0
  283. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +3 -0
  284. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +4 -1
  285. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +4 -1
  286. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +4 -1
  287. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +5 -2
  288. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +5 -2
  289. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +3 -0
  290. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +3 -0
  291. data/lib/lms_graphql/mutations/canvas/reset_course.rb +3 -0
  292. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +3 -0
  293. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +3 -0
  294. data/lib/lms_graphql/mutations/canvas/reset_link_verifier.rb +3 -0
  295. data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +3 -0
  296. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -0
  297. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -0
  298. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +3 -0
  299. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +3 -0
  300. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +3 -0
  301. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +3 -0
  302. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +3 -0
  303. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +7 -4
  304. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +5 -2
  305. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +3 -0
  306. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +3 -0
  307. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +3 -0
  308. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +3 -0
  309. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +3 -0
  310. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +3 -0
  311. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +3 -0
  312. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +3 -0
  313. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +3 -0
  314. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +3 -0
  315. data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -0
  316. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +3 -0
  317. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +3 -0
  318. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +7 -2
  319. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +7 -2
  320. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +3 -0
  321. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +3 -0
  322. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +3 -0
  323. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +3 -0
  324. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +3 -0
  325. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +3 -0
  326. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +3 -0
  327. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +3 -0
  328. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +3 -0
  329. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +3 -0
  330. data/lib/lms_graphql/mutations/canvas/update_account.rb +16 -1
  331. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +3 -0
  332. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +6 -3
  333. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +4 -1
  334. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +3 -0
  335. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +3 -0
  336. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +3 -0
  337. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +3 -0
  338. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +3 -0
  339. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +3 -0
  340. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +3 -0
  341. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +3 -0
  342. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +3 -0
  343. data/lib/lms_graphql/mutations/canvas/update_content_share.rb +3 -0
  344. data/lib/lms_graphql/mutations/canvas/update_course.rb +15 -2
  345. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +3 -0
  346. data/lib/lms_graphql/mutations/canvas/update_courses.rb +3 -0
  347. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +3 -0
  348. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +3 -0
  349. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -0
  350. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -0
  351. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +3 -0
  352. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +3 -0
  353. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +3 -0
  354. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +3 -0
  355. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +3 -0
  356. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +3 -0
  357. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +3 -0
  358. data/lib/lms_graphql/mutations/canvas/update_file.rb +3 -0
  359. data/lib/lms_graphql/mutations/canvas/update_folder.rb +3 -0
  360. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +4 -1
  361. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +3 -0
  362. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +3 -0
  363. data/lib/lms_graphql/mutations/canvas/update_media_object.rb +3 -0
  364. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +4 -1
  365. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +3 -0
  366. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +3 -0
  367. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +3 -0
  368. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +3 -0
  369. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +3 -0
  370. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +3 -0
  371. data/lib/lms_graphql/mutations/canvas/update_module.rb +8 -2
  372. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +3 -0
  373. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +3 -0
  374. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +3 -0
  375. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +5 -2
  376. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +3 -0
  377. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +3 -0
  378. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +3 -0
  379. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +3 -0
  380. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +3 -0
  381. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +3 -0
  382. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +3 -0
  383. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +3 -0
  384. data/lib/lms_graphql/mutations/canvas/update_public_jwk.rb +3 -0
  385. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +6 -3
  386. data/lib/lms_graphql/mutations/canvas/update_role.rb +3 -0
  387. data/lib/lms_graphql/mutations/canvas/update_rubricassociation.rb +3 -0
  388. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +3 -0
  389. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +4 -1
  390. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +5 -2
  391. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +6 -3
  392. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +6 -3
  393. data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +3 -0
  394. data/lib/lms_graphql/mutations/canvas/update_single_rubric_assessment.rb +3 -0
  395. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +5 -2
  396. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +3 -0
  397. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +3 -0
  398. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +3 -0
  399. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +3 -0
  400. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +3 -0
  401. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +3 -0
  402. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +3 -0
  403. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +3 -0
  404. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +33 -0
  405. data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
  406. data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
  407. data/lib/lms_graphql/resolvers/canvas/export_groups_in_and_users_in_category.rb +22 -0
  408. data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
  409. data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
  410. data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
  411. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
  412. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
  413. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
  414. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
  415. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
  416. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
  417. data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
  418. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +1 -1
  419. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +1 -1
  420. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +1 -1
  421. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +1 -1
  422. data/lib/lms_graphql/resolvers/canvas/get_formatted_student_numerical_answer.rb +26 -0
  423. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +2 -2
  424. data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
  425. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_accounts.rb +22 -0
  426. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_courses.rb +22 -0
  427. data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
  428. data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
  429. data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
  430. data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
  431. data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
  432. data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
  433. data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
  434. data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
  435. data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
  436. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
  437. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
  438. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
  439. data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
  440. data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
  441. data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
  442. data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
  443. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +4 -2
  444. data/lib/lms_graphql/resolvers/canvas/get_user_progress.rb +24 -0
  445. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
  446. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +22 -0
  447. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
  448. data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
  449. data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
  450. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +9 -7
  451. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +4 -2
  452. data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
  453. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +5 -3
  454. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
  455. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
  456. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
  457. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
  458. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
  459. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
  460. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
  461. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
  462. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +5 -3
  463. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +5 -3
  464. data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
  465. data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
  466. data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
  467. data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
  468. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
  469. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
  470. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
  471. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
  472. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
  473. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
  474. data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
  475. data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
  476. data/lib/lms_graphql/resolvers/canvas/list_environment_features.rb +22 -0
  477. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
  478. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
  479. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
  480. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
  481. data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
  482. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
  483. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
  484. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
  485. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
  486. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +29 -0
  487. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
  488. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
  489. data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
  490. data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +6 -4
  491. data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
  492. data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
  493. data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
  494. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
  495. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +1 -1
  496. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +1 -1
  497. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +1 -1
  498. data/lib/lms_graphql/resolvers/canvas/list_recent_history_for_user.rb +23 -0
  499. data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
  500. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +1 -1
  501. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +1 -1
  502. data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
  503. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
  504. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
  505. data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
  506. data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
  507. data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
  508. data/lib/lms_graphql/resolvers/canvas/progress_query_progress.rb +24 -0
  509. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
  510. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
  511. data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
  512. data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
  513. data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
  514. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
  515. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -2
  516. data/lib/lms_graphql/types/canvas/account.rb +1 -1
  517. data/lib/lms_graphql/types/canvas/account_input.rb +7 -7
  518. data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
  519. data/lib/lms_graphql/types/canvas/account_notification_input.rb +9 -9
  520. data/lib/lms_graphql/types/canvas/admin.rb +1 -1
  521. data/lib/lms_graphql/types/canvas/admin_input.rb +5 -5
  522. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -1
  523. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -3
  524. data/lib/lms_graphql/types/canvas/answer.rb +6 -3
  525. data/lib/lms_graphql/types/canvas/answer_input.rb +17 -17
  526. data/lib/lms_graphql/types/canvas/appointment.rb +1 -1
  527. data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
  528. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +27 -27
  529. data/lib/lms_graphql/types/canvas/appointment_input.rb +4 -4
  530. data/lib/lms_graphql/types/canvas/assessment.rb +1 -1
  531. data/lib/lms_graphql/types/canvas/assessment_input.rb +4 -4
  532. data/lib/lms_graphql/types/canvas/assignment.rb +10 -6
  533. data/lib/lms_graphql/types/canvas/assignment_date.rb +1 -1
  534. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +7 -7
  535. data/lib/lms_graphql/types/canvas/assignment_event.rb +3 -2
  536. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +18 -17
  537. data/lib/lms_graphql/types/canvas/assignment_extension.rb +1 -1
  538. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +4 -4
  539. data/lib/lms_graphql/types/canvas/assignment_group.rb +2 -2
  540. data/lib/lms_graphql/types/canvas/assignment_group_attribute.rb +1 -1
  541. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +6 -6
  542. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +9 -9
  543. data/lib/lms_graphql/types/canvas/assignment_input.rb +73 -69
  544. data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
  545. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +12 -12
  546. data/lib/lms_graphql/types/canvas/authentication_event.rb +2 -2
  547. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +7 -7
  548. data/lib/lms_graphql/types/canvas/authentication_provider.rb +2 -1
  549. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +21 -20
  550. data/lib/lms_graphql/types/canvas/avatar.rb +1 -1
  551. data/lib/lms_graphql/types/canvas/avatar_input.rb +9 -9
  552. data/lib/lms_graphql/types/canvas/blueprint_migration.rb +1 -1
  553. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +11 -11
  554. data/lib/lms_graphql/types/canvas/blueprint_restriction.rb +1 -1
  555. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +5 -5
  556. data/lib/lms_graphql/types/canvas/blueprint_subscription.rb +1 -1
  557. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +4 -4
  558. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  559. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +6 -6
  560. data/lib/lms_graphql/types/canvas/bookmark.rb +1 -1
  561. data/lib/lms_graphql/types/canvas/bookmark_input.rb +6 -6
  562. data/lib/lms_graphql/types/canvas/calendar_event.rb +3 -2
  563. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +34 -33
  564. data/lib/lms_graphql/types/canvas/calendar_link.rb +1 -1
  565. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +2 -2
  566. data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
  567. data/lib/lms_graphql/types/canvas/change_record_input.rb +8 -8
  568. data/lib/lms_graphql/types/canvas/collaboration.rb +1 -1
  569. data/lib/lms_graphql/types/canvas/collaboration_input.rb +15 -15
  570. data/lib/lms_graphql/types/canvas/collaborator.rb +2 -2
  571. data/lib/lms_graphql/types/canvas/collaborator_input.rb +5 -5
  572. data/lib/lms_graphql/types/canvas/column_datum.rb +1 -1
  573. data/lib/lms_graphql/types/canvas/column_datum_input.rb +3 -3
  574. data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
  575. data/lib/lms_graphql/types/canvas/comm_message_input.rb +13 -13
  576. data/lib/lms_graphql/types/canvas/communication_channel.rb +2 -2
  577. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +8 -8
  578. data/lib/lms_graphql/types/canvas/completion_requirement.rb +3 -3
  579. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +5 -5
  580. data/lib/lms_graphql/types/canvas/conference.rb +2 -2
  581. data/lib/lms_graphql/types/canvas/conference_input.rb +18 -18
  582. data/lib/lms_graphql/types/canvas/conference_recording.rb +1 -1
  583. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +6 -6
  584. data/lib/lms_graphql/types/canvas/content_detail.rb +1 -1
  585. data/lib/lms_graphql/types/canvas/content_detail_input.rb +8 -8
  586. data/lib/lms_graphql/types/canvas/content_export.rb +2 -2
  587. data/lib/lms_graphql/types/canvas/content_export_input.rb +9 -9
  588. data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
  589. data/lib/lms_graphql/types/canvas/content_migration_input.rb +13 -13
  590. data/lib/lms_graphql/types/canvas/content_share.rb +1 -1
  591. data/lib/lms_graphql/types/canvas/content_share_input.rb +12 -12
  592. data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
  593. data/lib/lms_graphql/types/canvas/conversation_input.rb +17 -17
  594. data/lib/lms_graphql/types/canvas/conversation_participant.rb +1 -1
  595. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +5 -5
  596. data/lib/lms_graphql/types/canvas/course.rb +5 -2
  597. data/lib/lms_graphql/types/canvas/course_attribute.rb +1 -1
  598. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +5 -5
  599. data/lib/lms_graphql/types/canvas/course_epub_export.rb +1 -1
  600. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +4 -4
  601. data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
  602. data/lib/lms_graphql/types/canvas/course_event_input.rb +7 -7
  603. data/lib/lms_graphql/types/canvas/course_event_link.rb +1 -1
  604. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +7 -7
  605. data/lib/lms_graphql/types/canvas/course_input.rb +53 -50
  606. data/lib/lms_graphql/types/canvas/course_nickname.rb +1 -1
  607. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +4 -4
  608. data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
  609. data/lib/lms_graphql/types/canvas/course_progress_input.rb +5 -5
  610. data/lib/lms_graphql/types/canvas/course_quiz_extension.rb +1 -1
  611. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +6 -6
  612. data/lib/lms_graphql/types/canvas/created_event_datum.rb +5 -5
  613. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +6 -6
  614. data/lib/lms_graphql/types/canvas/custom_column.rb +1 -1
  615. data/lib/lms_graphql/types/canvas/custom_column_input.rb +7 -7
  616. data/lib/lms_graphql/types/canvas/day.rb +1 -1
  617. data/lib/lms_graphql/types/canvas/day_input.rb +3 -3
  618. data/lib/lms_graphql/types/canvas/developer_key.rb +1 -1
  619. data/lib/lms_graphql/types/canvas/developer_key_input.rb +22 -22
  620. data/lib/lms_graphql/types/canvas/discussion_topic.rb +3 -3
  621. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +36 -36
  622. data/lib/lms_graphql/types/canvas/enrollment.rb +1 -1
  623. data/lib/lms_graphql/types/canvas/enrollment_input.rb +45 -45
  624. data/lib/lms_graphql/types/canvas/enrollment_term.rb +1 -1
  625. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -9
  626. data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +1 -1
  627. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +2 -2
  628. data/lib/lms_graphql/types/canvas/epub_export.rb +2 -2
  629. data/lib/lms_graphql/types/canvas/epub_export_input.rb +8 -8
  630. data/lib/lms_graphql/types/canvas/error_report.rb +1 -1
  631. data/lib/lms_graphql/types/canvas/error_report_input.rb +8 -8
  632. data/lib/lms_graphql/types/canvas/exception_record.rb +1 -1
  633. data/lib/lms_graphql/types/canvas/exception_record_input.rb +3 -3
  634. data/lib/lms_graphql/types/canvas/external_feed.rb +2 -2
  635. data/lib/lms_graphql/types/canvas/external_feed_input.rb +8 -8
  636. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute.rb +1 -1
  637. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +4 -4
  638. data/lib/lms_graphql/types/canvas/favorite.rb +2 -2
  639. data/lib/lms_graphql/types/canvas/favorite_input.rb +4 -4
  640. data/lib/lms_graphql/types/canvas/feature.rb +2 -2
  641. data/lib/lms_graphql/types/canvas/feature_flag.rb +4 -3
  642. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +8 -7
  643. data/lib/lms_graphql/types/canvas/feature_input.rb +12 -12
  644. data/lib/lms_graphql/types/canvas/federated_attribute_config.rb +1 -1
  645. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +3 -3
  646. data/lib/lms_graphql/types/canvas/federated_attributes_config.rb +1 -1
  647. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +12 -12
  648. data/lib/lms_graphql/types/canvas/file.rb +1 -1
  649. data/lib/lms_graphql/types/canvas/file_attachment.rb +1 -1
  650. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +5 -5
  651. data/lib/lms_graphql/types/canvas/file_input.rb +8 -8
  652. data/lib/lms_graphql/types/canvas/folder.rb +1 -1
  653. data/lib/lms_graphql/types/canvas/folder_input.rb +21 -21
  654. data/lib/lms_graphql/types/canvas/grade.rb +1 -1
  655. data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
  656. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +12 -12
  657. data/lib/lms_graphql/types/canvas/grade_change_event_link.rb +1 -1
  658. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +6 -6
  659. data/lib/lms_graphql/types/canvas/grade_input.rb +12 -12
  660. data/lib/lms_graphql/types/canvas/grader.rb +2 -2
  661. data/lib/lms_graphql/types/canvas/grader_input.rb +4 -4
  662. data/lib/lms_graphql/types/canvas/grading_period.rb +1 -1
  663. data/lib/lms_graphql/types/canvas/grading_period_input.rb +8 -8
  664. data/lib/lms_graphql/types/canvas/grading_rule.rb +2 -2
  665. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +4 -4
  666. data/lib/lms_graphql/types/canvas/grading_scheme_entry.rb +1 -1
  667. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +3 -3
  668. data/lib/lms_graphql/types/canvas/grading_standard.rb +1 -1
  669. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +6 -6
  670. data/lib/lms_graphql/types/canvas/group.rb +4 -3
  671. data/lib/lms_graphql/types/canvas/group_category.rb +2 -2
  672. data/lib/lms_graphql/types/canvas/group_category_input.rb +13 -13
  673. data/lib/lms_graphql/types/canvas/group_input.rb +20 -19
  674. data/lib/lms_graphql/types/canvas/group_membership.rb +2 -2
  675. data/lib/lms_graphql/types/canvas/group_membership_input.rb +9 -9
  676. data/lib/lms_graphql/types/canvas/help_link.rb +1 -1
  677. data/lib/lms_graphql/types/canvas/help_link_input.rb +5 -5
  678. data/lib/lms_graphql/types/canvas/history_entry.rb +23 -0
  679. data/lib/lms_graphql/types/canvas/history_entry_input.rb +23 -0
  680. data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
  681. data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
  682. data/lib/lms_graphql/types/canvas/jsonapi_pagination.rb +2 -2
  683. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
  684. data/lib/lms_graphql/types/canvas/jwt.rb +1 -1
  685. data/lib/lms_graphql/types/canvas/jwt_input.rb +2 -2
  686. data/lib/lms_graphql/types/canvas/late_policy.rb +1 -1
  687. data/lib/lms_graphql/types/canvas/late_policy_input.rb +12 -12
  688. data/lib/lms_graphql/types/canvas/license.rb +1 -1
  689. data/lib/lms_graphql/types/canvas/license_input.rb +4 -4
  690. data/lib/lms_graphql/types/canvas/line_item.rb +1 -1
  691. data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -8
  692. data/lib/lms_graphql/types/canvas/lock_info.rb +1 -1
  693. data/lib/lms_graphql/types/canvas/lock_info_input.rb +6 -6
  694. data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
  695. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +9 -9
  696. data/lib/lms_graphql/types/canvas/media_comment.rb +1 -1
  697. data/lib/lms_graphql/types/canvas/media_comment_input.rb +6 -6
  698. data/lib/lms_graphql/types/canvas/media_object.rb +1 -1
  699. data/lib/lms_graphql/types/canvas/media_object_input.rb +8 -8
  700. data/lib/lms_graphql/types/canvas/media_track.rb +1 -1
  701. data/lib/lms_graphql/types/canvas/media_track_input.rb +10 -10
  702. data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
  703. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +12 -12
  704. data/lib/lms_graphql/types/canvas/migrator.rb +2 -2
  705. data/lib/lms_graphql/types/canvas/migrator_input.rb +5 -5
  706. data/lib/lms_graphql/types/canvas/module.rb +2 -2
  707. data/lib/lms_graphql/types/canvas/module_input.rb +16 -16
  708. data/lib/lms_graphql/types/canvas/module_item.rb +2 -2
  709. data/lib/lms_graphql/types/canvas/module_item_input.rb +17 -17
  710. data/lib/lms_graphql/types/canvas/module_item_sequence.rb +1 -1
  711. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +3 -3
  712. data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +5 -2
  713. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +5 -5
  714. data/lib/lms_graphql/types/canvas/names_and_role_context.rb +1 -1
  715. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +4 -4
  716. data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +5 -2
  717. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +4 -4
  718. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +1 -1
  719. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +6 -6
  720. data/lib/lms_graphql/types/canvas/needs_grading_count.rb +1 -1
  721. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +3 -3
  722. data/lib/lms_graphql/types/canvas/notification_preference.rb +2 -2
  723. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +6 -6
  724. data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
  725. data/lib/lms_graphql/types/canvas/originality_report_input.rb +10 -10
  726. data/lib/lms_graphql/types/canvas/outcome.rb +2 -2
  727. data/lib/lms_graphql/types/canvas/outcome_alignment.rb +1 -1
  728. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +7 -7
  729. data/lib/lms_graphql/types/canvas/outcome_group.rb +1 -1
  730. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +13 -13
  731. data/lib/lms_graphql/types/canvas/outcome_import.rb +2 -2
  732. data/lib/lms_graphql/types/canvas/outcome_import_datum.rb +1 -1
  733. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +2 -2
  734. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +11 -11
  735. data/lib/lms_graphql/types/canvas/outcome_input.rb +19 -19
  736. data/lib/lms_graphql/types/canvas/outcome_link.rb +1 -1
  737. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +8 -8
  738. data/lib/lms_graphql/types/canvas/outcome_path.rb +1 -1
  739. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +3 -3
  740. data/lib/lms_graphql/types/canvas/outcome_path_part.rb +1 -1
  741. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +2 -2
  742. data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
  743. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +6 -6
  744. data/lib/lms_graphql/types/canvas/outcome_rollup.rb +1 -1
  745. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +4 -4
  746. data/lib/lms_graphql/types/canvas/outcome_rollup_link.rb +1 -1
  747. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +4 -4
  748. data/lib/lms_graphql/types/canvas/outcome_rollup_score.rb +1 -1
  749. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +4 -4
  750. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link.rb +1 -1
  751. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +2 -2
  752. data/lib/lms_graphql/types/canvas/page.rb +1 -1
  753. data/lib/lms_graphql/types/canvas/page_input.rb +14 -14
  754. data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
  755. data/lib/lms_graphql/types/canvas/page_revision_input.rb +8 -8
  756. data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
  757. data/lib/lms_graphql/types/canvas/page_view_input.rb +18 -18
  758. data/lib/lms_graphql/types/canvas/page_view_link.rb +5 -2
  759. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +6 -6
  760. data/lib/lms_graphql/types/canvas/pairing_code.rb +1 -1
  761. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +5 -5
  762. data/lib/lms_graphql/types/canvas/peer_review.rb +1 -1
  763. data/lib/lms_graphql/types/canvas/peer_review_input.rb +10 -10
  764. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  765. data/lib/lms_graphql/types/canvas/planner_note_input.rb +12 -12
  766. data/lib/lms_graphql/types/canvas/planner_override.rb +1 -1
  767. data/lib/lms_graphql/types/canvas/planner_override_input.rb +12 -12
  768. data/lib/lms_graphql/types/canvas/poll.rb +1 -1
  769. data/lib/lms_graphql/types/canvas/poll_choice.rb +1 -1
  770. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +6 -6
  771. data/lib/lms_graphql/types/canvas/poll_input.rb +7 -7
  772. data/lib/lms_graphql/types/canvas/poll_session.rb +1 -1
  773. data/lib/lms_graphql/types/canvas/poll_session_input.rb +10 -10
  774. data/lib/lms_graphql/types/canvas/poll_submission.rb +1 -1
  775. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +5 -5
  776. data/lib/lms_graphql/types/canvas/proficiency.rb +1 -1
  777. data/lib/lms_graphql/types/canvas/proficiency_input.rb +2 -2
  778. data/lib/lms_graphql/types/canvas/proficiency_rating.rb +1 -1
  779. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +5 -5
  780. data/lib/lms_graphql/types/canvas/profile.rb +2 -1
  781. data/lib/lms_graphql/types/canvas/profile_input.rb +16 -15
  782. data/lib/lms_graphql/types/canvas/progress.rb +3 -3
  783. data/lib/lms_graphql/types/canvas/progress_input.rb +14 -14
  784. data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
  785. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +8 -8
  786. data/lib/lms_graphql/types/canvas/query_type.rb +58 -6
  787. data/lib/lms_graphql/types/canvas/quiz.rb +3 -3
  788. data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +1 -1
  789. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +7 -7
  790. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set.rb +1 -1
  791. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container.rb +1 -1
  792. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +2 -2
  793. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +4 -4
  794. data/lib/lms_graphql/types/canvas/quiz_extension.rb +1 -1
  795. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +7 -7
  796. data/lib/lms_graphql/types/canvas/quiz_group.rb +1 -1
  797. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +8 -8
  798. data/lib/lms_graphql/types/canvas/quiz_input.rb +41 -41
  799. data/lib/lms_graphql/types/canvas/quiz_ip_filter.rb +1 -1
  800. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +4 -4
  801. data/lib/lms_graphql/types/canvas/quiz_permission.rb +1 -1
  802. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +8 -8
  803. data/lib/lms_graphql/types/canvas/quiz_question.rb +1 -1
  804. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +12 -12
  805. data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
  806. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +15 -15
  807. data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
  808. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +11 -11
  809. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial.rb +1 -1
  810. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +5 -5
  811. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic.rb +2 -2
  812. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +5 -5
  813. data/lib/lms_graphql/types/canvas/quiz_statistics_link.rb +1 -1
  814. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +2 -2
  815. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic.rb +1 -1
  816. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +3 -3
  817. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic.rb +1 -1
  818. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +10 -10
  819. data/lib/lms_graphql/types/canvas/quiz_submission.rb +1 -1
  820. data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
  821. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +4 -4
  822. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +20 -20
  823. data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +2 -2
  824. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +5 -5
  825. data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +2 -2
  826. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
  827. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum.rb +2 -2
  828. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
  829. data/lib/lms_graphql/types/canvas/report.rb +1 -1
  830. data/lib/lms_graphql/types/canvas/report_input.rb +12 -12
  831. data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
  832. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +20 -20
  833. data/lib/lms_graphql/types/canvas/result.rb +1 -1
  834. data/lib/lms_graphql/types/canvas/result_input.rb +7 -7
  835. data/lib/lms_graphql/types/canvas/result_link.rb +1 -1
  836. data/lib/lms_graphql/types/canvas/result_link_input.rb +4 -4
  837. data/lib/lms_graphql/types/canvas/role.rb +1 -1
  838. data/lib/lms_graphql/types/canvas/role_input.rb +7 -7
  839. data/lib/lms_graphql/types/canvas/role_permission.rb +1 -1
  840. data/lib/lms_graphql/types/canvas/role_permission_input.rb +8 -8
  841. data/lib/lms_graphql/types/canvas/rubric.rb +1 -1
  842. data/lib/lms_graphql/types/canvas/rubric_assessment.rb +2 -2
  843. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +12 -12
  844. data/lib/lms_graphql/types/canvas/rubric_association.rb +1 -1
  845. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +11 -11
  846. data/lib/lms_graphql/types/canvas/rubric_criterion.rb +1 -1
  847. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +7 -7
  848. data/lib/lms_graphql/types/canvas/rubric_criterium.rb +1 -1
  849. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +10 -10
  850. data/lib/lms_graphql/types/canvas/rubric_input.rb +13 -13
  851. data/lib/lms_graphql/types/canvas/rubric_rating.rb +1 -1
  852. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +6 -6
  853. data/lib/lms_graphql/types/canvas/scope.rb +1 -1
  854. data/lib/lms_graphql/types/canvas/scope_input.rb +7 -7
  855. data/lib/lms_graphql/types/canvas/score.rb +1 -1
  856. data/lib/lms_graphql/types/canvas/score_input.rb +8 -8
  857. data/lib/lms_graphql/types/canvas/score_statistic.rb +16 -0
  858. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +16 -0
  859. data/lib/lms_graphql/types/canvas/section.rb +1 -1
  860. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +1 -1
  861. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +5 -5
  862. data/lib/lms_graphql/types/canvas/section_attribute.rb +1 -1
  863. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +8 -8
  864. data/lib/lms_graphql/types/canvas/section_input.rb +13 -13
  865. data/lib/lms_graphql/types/canvas/shared_brand_config.rb +1 -1
  866. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +7 -7
  867. data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -3
  868. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +18 -17
  869. data/lib/lms_graphql/types/canvas/sis_import.rb +2 -2
  870. data/lib/lms_graphql/types/canvas/sis_import_count.rb +1 -1
  871. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +17 -17
  872. data/lib/lms_graphql/types/canvas/sis_import_datum.rb +2 -2
  873. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +4 -4
  874. data/lib/lms_graphql/types/canvas/sis_import_error.rb +1 -1
  875. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +6 -6
  876. data/lib/lms_graphql/types/canvas/sis_import_input.rb +24 -24
  877. data/lib/lms_graphql/types/canvas/sis_import_statistic.rb +1 -1
  878. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +15 -15
  879. data/lib/lms_graphql/types/canvas/sso_setting.rb +1 -1
  880. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +5 -5
  881. data/lib/lms_graphql/types/canvas/student_attribute.rb +1 -1
  882. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +3 -3
  883. data/lib/lms_graphql/types/canvas/submission.rb +10 -3
  884. data/lib/lms_graphql/types/canvas/submission_comment.rb +1 -1
  885. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +9 -9
  886. data/lib/lms_graphql/types/canvas/submission_history.rb +1 -1
  887. data/lib/lms_graphql/types/canvas/submission_history_input.rb +3 -3
  888. data/lib/lms_graphql/types/canvas/submission_input.rb +38 -31
  889. data/lib/lms_graphql/types/canvas/submission_version.rb +1 -1
  890. data/lib/lms_graphql/types/canvas/submission_version_input.rb +24 -24
  891. data/lib/lms_graphql/types/canvas/tab.rb +1 -1
  892. data/lib/lms_graphql/types/canvas/tab_input.rb +8 -8
  893. data/lib/lms_graphql/types/canvas/term.rb +1 -1
  894. data/lib/lms_graphql/types/canvas/term_input.rb +5 -5
  895. data/lib/lms_graphql/types/canvas/terms_of_service.rb +2 -1
  896. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +7 -6
  897. data/lib/lms_graphql/types/canvas/tool_setting.rb +1 -1
  898. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +3 -3
  899. data/lib/lms_graphql/types/canvas/turnitin_setting.rb +1 -1
  900. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +9 -9
  901. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +5 -5
  902. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +5 -5
  903. data/lib/lms_graphql/types/canvas/usage_right.rb +1 -1
  904. data/lib/lms_graphql/types/canvas/usage_right_input.rb +7 -7
  905. data/lib/lms_graphql/types/canvas/user.rb +1 -1
  906. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +1 -1
  907. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +7 -7
  908. data/lib/lms_graphql/types/canvas/user_display.rb +1 -1
  909. data/lib/lms_graphql/types/canvas/user_display_input.rb +5 -5
  910. data/lib/lms_graphql/types/canvas/user_input.rb +16 -16
  911. data/lib/lms_graphql/types/canvas_forward_declarations.rb +6 -0
  912. data/lib/lms_graphql/version.rb +1 -1
  913. metadata +33 -2
@@ -8,7 +8,7 @@ module LMSGraphQL
8
8
  argument :course_id, ID, required: true
9
9
  argument :module_id, ID, required: true
10
10
  argument :id, ID, required: true
11
- argument :include, String, required: false
11
+ argument :include, [String], required: false
12
12
  argument :student_id, ID, required: false
13
13
  def resolve(course_id:, module_id:, id:, include: nil, student_id: nil, get_all: false)
14
14
  result = context[:canvas_api].call("SHOW_MODULE_ITEM").proxy(
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  class ShowUserDetail < CanvasBaseResolver
7
7
  type LMSGraphQL::Types::Canvas::CanvasUser, null: false
8
8
  argument :id, ID, required: true
9
- argument :include, String, required: false
9
+ argument :include, [String], required: false
10
10
  def resolve(id:, include: nil, get_all: false)
11
11
  result = context[:canvas_api].call("SHOW_USER_DETAILS").proxy(
12
12
  "SHOW_USER_DETAILS",
@@ -7,16 +7,22 @@ module LMSGraphQL
7
7
  type Boolean, null: false
8
8
  argument :id, ID, required: true
9
9
  argument :manual_mark_as_read, Boolean, required: false
10
+ argument :release_notes_badge_disabled, Boolean, required: false
10
11
  argument :collapse_global_nav, Boolean, required: false
11
12
  argument :hide_dashcard_color_overlays, Boolean, required: false
12
- def resolve(id:, manual_mark_as_read: nil, collapse_global_nav: nil, hide_dashcard_color_overlays: nil, get_all: false)
13
+ argument :comment_library_suggestions_enabled, Boolean, required: false
14
+ argument :elementary_dashboard_disabled, Boolean, required: false
15
+ def resolve(id:, manual_mark_as_read: nil, release_notes_badge_disabled: nil, collapse_global_nav: nil, hide_dashcard_color_overlays: nil, comment_library_suggestions_enabled: nil, elementary_dashboard_disabled: nil, get_all: false)
13
16
  result = context[:canvas_api].call("UPDATE_USER_SETTINGS").proxy(
14
17
  "UPDATE_USER_SETTINGS",
15
18
  {
16
19
  "id": id,
17
20
  "manual_mark_as_read": manual_mark_as_read,
21
+ "release_notes_badge_disabled": release_notes_badge_disabled,
18
22
  "collapse_global_nav": collapse_global_nav,
19
- "hide_dashcard_color_overlays": hide_dashcard_color_overlays },
23
+ "hide_dashcard_color_overlays": hide_dashcard_color_overlays,
24
+ "comment_library_suggestions_enabled": comment_library_suggestions_enabled,
25
+ "elementary_dashboard_disabled": elementary_dashboard_disabled },
20
26
  nil,
21
27
  get_all,
22
28
  )
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAccount < BaseType
8
- description "Accounts (LTI). API Docs: https://canvas.instructure.com/doc/api/accounts_(lti).html"
8
+ description "Accounts (LTI). API Docs: https://canvas.instructure.com/doc/api/accounts_(lti).html"
9
9
  field :id, ID, "the ID of the Account object.Example: 2", null: true
10
10
  field :name, String, "The display name of the account.Example: Canvas Account", null: true
11
11
  field :uuid, String, "The UUID of the account.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", null: true
@@ -5,13 +5,13 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAccountInput < BaseInputObject
8
- description "Accounts (LTI). API Docs: https://canvas.instructure.com/doc/api/accounts_(lti).html"
9
- argument :id, ID, "the ID of the Account object.Example: 2", required: false
10
- argument :name, String, "The display name of the account.Example: Canvas Account", required: false
11
- argument :uuid, String, "The UUID of the account.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", required: false
12
- argument :parent_account_id, ID, "The account's parent ID, or null if this is the root account.Example: 1", required: false
13
- argument :root_account_id, ID, "The ID of the root account, or null if this is the root account.Example: 1", required: false
14
- argument :workflow_state, String, "The state of the account. Can be 'active' or 'deleted'..Example: active", required: false
8
+ description "Accounts (LTI). API Docs: https://canvas.instructure.com/doc/api/accounts_(lti).html"
9
+ argument :id, ID, "the ID of the Account object.Example: 2", required: false
10
+ argument :name, String, "The display name of the account.Example: Canvas Account", required: false
11
+ argument :uuid, String, "The UUID of the account.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", required: false
12
+ argument :parent_account_id, ID, "The account's parent ID, or null if this is the root account.Example: 1", required: false
13
+ argument :root_account_id, ID, "The ID of the root account, or null if this is the root account.Example: 1", required: false
14
+ argument :workflow_state, String, "The state of the account. Can be 'active' or 'deleted'..Example: active", required: false
15
15
 
16
16
  end
17
17
  end
@@ -4,21 +4,21 @@ require_relative "../canvas_base_type"
4
4
  module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
- class AccountNotificationIconEnum < ::GraphQL::Schema::Enum
7
+ class CanvasAccountNotification < BaseType
8
+ class AccountNotificationIconEnum < ::GraphQL::Schema::Enum
8
9
  value "warning"
9
10
  value "information"
10
11
  value "question"
11
12
  value "error"
12
13
  value "calendar"
13
14
  end
14
- class CanvasAccountNotification < BaseType
15
15
  description "Account Notifications. API Docs: https://canvas.instructure.com/doc/api/account_notifications.html"
16
16
  field :subject, String, "The subject of the notifications.Example: Attention Students", null: true
17
17
  field :message, String, "The message to be sent in the notification..Example: This is a test of the notification system.", null: true
18
18
  field :start_at, LMSGraphQL::Types::DateTimeType, "When to send out the notification..Example: 2013-08-28T23:59:00-06:00", null: true
19
19
  field :end_at, LMSGraphQL::Types::DateTimeType, "When to expire the notification..Example: 2013-08-29T23:59:00-06:00", null: true
20
20
  field :icon, AccountNotificationIconEnum, "The icon to display with the message. Defaults to warning..Example: information", null: true
21
- field :roles, String, "(Deprecated) The roles to send the notification to. If roles is not passed it defaults to all roles.Example: StudentEnrollment", null: true
21
+ field :roles, [String], "(Deprecated) The roles to send the notification to. If roles is not passed it defaults to all roles.Example: StudentEnrollment", null: true
22
22
  field :role_ids, [ID], "The roles to send the notification to. If roles is not passed it defaults to all roles.Example: 1", null: true
23
23
 
24
24
  end
@@ -4,22 +4,22 @@ require_relative "../canvas_base_input_type"
4
4
  module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
- class AccountNotificationIconEnum < ::GraphQL::Schema::Enum
7
+ class CanvasAccountNotificationInput < BaseInputObject
8
+ class AccountNotificationIconEnum < ::GraphQL::Schema::Enum
8
9
  value "warning"
9
10
  value "information"
10
11
  value "question"
11
12
  value "error"
12
13
  value "calendar"
13
14
  end
14
- class CanvasAccountNotificationInput < BaseInputObject
15
15
  description "Account Notifications. API Docs: https://canvas.instructure.com/doc/api/account_notifications.html"
16
- argument :subject, String, "The subject of the notifications.Example: Attention Students", required: false
17
- argument :message, String, "The message to be sent in the notification..Example: This is a test of the notification system.", required: false
18
- argument :start_at, LMSGraphQL::Types::DateTimeType, "When to send out the notification..Example: 2013-08-28T23:59:00-06:00", required: false
19
- argument :end_at, LMSGraphQL::Types::DateTimeType, "When to expire the notification..Example: 2013-08-29T23:59:00-06:00", required: false
20
- argument :icon, AccountNotificationIconEnum, "The icon to display with the message. Defaults to warning..Example: information", required: false
21
- argument :roles, String, "(Deprecated) The roles to send the notification to. If roles is not passed it defaults to all roles.Example: StudentEnrollment", required: false
22
- argument :role_ids, [ID], "The roles to send the notification to. If roles is not passed it defaults to all roles.Example: 1", required: false
16
+ argument :subject, String, "The subject of the notifications.Example: Attention Students", required: false
17
+ argument :message, String, "The message to be sent in the notification..Example: This is a test of the notification system.", required: false
18
+ argument :start_at, LMSGraphQL::Types::DateTimeType, "When to send out the notification..Example: 2013-08-28T23:59:00-06:00", required: false
19
+ argument :end_at, LMSGraphQL::Types::DateTimeType, "When to expire the notification..Example: 2013-08-29T23:59:00-06:00", required: false
20
+ argument :icon, AccountNotificationIconEnum, "The icon to display with the message. Defaults to warning..Example: information", required: false
21
+ argument :roles, [String], "(Deprecated) The roles to send the notification to. If roles is not passed it defaults to all roles.Example: StudentEnrollment", required: false
22
+ argument :role_ids, [ID], "The roles to send the notification to. If roles is not passed it defaults to all roles.Example: 1", required: false
23
23
 
24
24
  end
25
25
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAdmin < BaseType
8
- description "Admins. API Docs: https://canvas.instructure.com/doc/api/admins.html"
8
+ description "Admins. API Docs: https://canvas.instructure.com/doc/api/admins.html"
9
9
  field :id, ID, "The unique identifier for the account role/user assignment..Example: 1023", null: true
10
10
  field :role, String, "The account role assigned. This can be 'AccountAdmin' or a user-defined role created by the Roles API..Example: AccountAdmin", null: true
11
11
  field :user, LMSGraphQL::Types::Canvas::CanvasUser, "The user the role is assigned to. See the Users API for details..", null: true
@@ -5,11 +5,11 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAdminInput < BaseInputObject
8
- description "Admins. API Docs: https://canvas.instructure.com/doc/api/admins.html"
9
- argument :id, ID, "The unique identifier for the account role/user assignment..Example: 1023", required: false
10
- argument :role, String, "The account role assigned. This can be 'AccountAdmin' or a user-defined role created by the Roles API..Example: AccountAdmin", required: false
11
- argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The user the role is assigned to. See the Users API for details..", required: false
12
- argument :workflow_state, String, "The status of the account role/user assignment..Example: deleted", required: false
8
+ description "Admins. API Docs: https://canvas.instructure.com/doc/api/admins.html"
9
+ argument :id, ID, "The unique identifier for the account role/user assignment..Example: 1023", required: false
10
+ argument :role, String, "The account role assigned. This can be 'AccountAdmin' or a user-defined role created by the Roles API..Example: AccountAdmin", required: false
11
+ argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The user the role is assigned to. See the Users API for details..", required: false
12
+ argument :workflow_state, String, "The status of the account role/user assignment..Example: deleted", required: false
13
13
 
14
14
  end
15
15
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAnonymousUserDisplay < BaseType
8
- description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
8
+ description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
9
  field :anonymous_id, ID, "A unique short ID identifying this user within the scope of a particular assignment..Example: xn29Q", null: true
10
10
  field :avatar_image_url, String, "A URL to retrieve a generic avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", null: true
11
11
 
@@ -5,9 +5,9 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAnonymousUserDisplayInput < BaseInputObject
8
- description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
- argument :anonymous_id, ID, "A unique short ID identifying this user within the scope of a particular assignment..Example: xn29Q", required: false
10
- argument :avatar_image_url, String, "A URL to retrieve a generic avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", required: false
8
+ description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
+ argument :anonymous_id, ID, "A unique short ID identifying this user within the scope of a particular assignment..Example: xn29Q", required: false
10
+ argument :avatar_image_url, String, "A URL to retrieve a generic avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", required: false
11
11
 
12
12
  end
13
13
  end
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAnswer < BaseType
8
- description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
8
+ description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
9
  field :id, ID, "The unique identifier for the answer. Do not supply if this answer is part of a new question.Example: 6656", null: true
10
10
  field :answer_text, String, "The text of the answer..Example: Constantinople", null: true
11
- field :answer_weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be non-negative..Example: 100", null: true
11
+ field :answer_weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be 100..Example: 100", null: true
12
12
  field :answer_comments, String, "Specific contextual comments for a particular answer..Example: Remember to check your spelling prior to submitting this answer.", null: true
13
13
  field :text_after_answers, String, "Used in missing word questions. The text to follow the missing word.Example: is the capital of Utah.", null: true
14
14
  field :answer_match_left, String, "Used in matching questions. The static value of the answer that will be displayed on the left for students to match for..Example: Salt Lake City", null: true
@@ -21,7 +21,10 @@ module LMSGraphQL
21
21
  field :approximate, Float, "Used in numerical questions of type 'precision_answer'. The value the answer should equal..Example: 1234600000.0", null: true
22
22
  field :precision, Int, "Used in numerical questions of type 'precision_answer'. The numerical precision that will be used when comparing the student's answer..Example: 4", null: true
23
23
  field :start, Int, "Used in numerical questions of type 'range_answer'. The start of the allowed range (inclusive)..Example: 1", null: true
24
- field :end, Int, "Used in numerical questions of type 'range_answer'. The end of the allowed range (inclusive)..Example: 10", null: true
24
+ field :end, Int, "Used in numerical questions of type 'range_answer'. The end of the allowed range (inclusive)..Example: 10", resolver_method: :resolve_end, null: true
25
+ def resolve_end
26
+ object[:end]
27
+ end
25
28
  field :blank_id, ID, "Used in fill in multiple blank and multiple dropdowns questions..Example: 1170", null: true
26
29
 
27
30
  end
@@ -5,24 +5,24 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAnswerInput < BaseInputObject
8
- description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
- argument :id, ID, "The unique identifier for the answer. Do not supply if this answer is part of a new question.Example: 6656", required: false
10
- argument :answer_text, String, "The text of the answer..Example: Constantinople", required: false
11
- argument :answer_weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be non-negative..Example: 100", required: false
12
- argument :answer_comments, String, "Specific contextual comments for a particular answer..Example: Remember to check your spelling prior to submitting this answer.", required: false
13
- argument :text_after_answers, String, "Used in missing word questions. The text to follow the missing word.Example: is the capital of Utah.", required: false
14
- argument :answer_match_left, String, "Used in matching questions. The static value of the answer that will be displayed on the left for students to match for..Example: Salt Lake City", required: false
15
- argument :answer_match_right, String, "Used in matching questions. The correct match for the value given in answer_match_left. Will be displayed in a dropdown with the other answer_match_right values...Example: Utah", required: false
16
- argument :matching_answer_incorrect_matches, String, "Used in matching questions. A list of distractors, delimited by new lines (
8
+ description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
+ argument :id, ID, "The unique identifier for the answer. Do not supply if this answer is part of a new question.Example: 6656", required: false
10
+ argument :answer_text, String, "The text of the answer..Example: Constantinople", required: false
11
+ argument :answer_weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be 100..Example: 100", required: false
12
+ argument :answer_comments, String, "Specific contextual comments for a particular answer..Example: Remember to check your spelling prior to submitting this answer.", required: false
13
+ argument :text_after_answers, String, "Used in missing word questions. The text to follow the missing word.Example: is the capital of Utah.", required: false
14
+ argument :answer_match_left, String, "Used in matching questions. The static value of the answer that will be displayed on the left for students to match for..Example: Salt Lake City", required: false
15
+ argument :answer_match_right, String, "Used in matching questions. The correct match for the value given in answer_match_left. Will be displayed in a dropdown with the other answer_match_right values...Example: Utah", required: false
16
+ argument :matching_answer_incorrect_matches, String, "Used in matching questions. A list of distractors, delimited by new lines (
17
17
  ) that will be seeded with all the answer_match_right values..Example: Nevada California Washington", required: false
18
- argument :numerical_answer_type, String, "Used in numerical questions. Values can be 'exact_answer', 'range_answer', or 'precision_answer'..Example: exact_answer", required: false
19
- argument :exact, Int, "Used in numerical questions of type 'exact_answer'. The value the answer should equal..Example: 42", required: false
20
- argument :margin, Int, "Used in numerical questions of type 'exact_answer'. The margin of error allowed for the student's answer..Example: 4", required: false
21
- argument :approximate, Float, "Used in numerical questions of type 'precision_answer'. The value the answer should equal..Example: 1234600000.0", required: false
22
- argument :precision, Int, "Used in numerical questions of type 'precision_answer'. The numerical precision that will be used when comparing the student's answer..Example: 4", required: false
23
- argument :start, Int, "Used in numerical questions of type 'range_answer'. The start of the allowed range (inclusive)..Example: 1", required: false
24
- argument :end, Int, "Used in numerical questions of type 'range_answer'. The end of the allowed range (inclusive)..Example: 10", required: false
25
- argument :blank_id, ID, "Used in fill in multiple blank and multiple dropdowns questions..Example: 1170", required: false
18
+ argument :numerical_answer_type, String, "Used in numerical questions. Values can be 'exact_answer', 'range_answer', or 'precision_answer'..Example: exact_answer", required: false
19
+ argument :exact, Int, "Used in numerical questions of type 'exact_answer'. The value the answer should equal..Example: 42", required: false
20
+ argument :margin, Int, "Used in numerical questions of type 'exact_answer'. The margin of error allowed for the student's answer..Example: 4", required: false
21
+ argument :approximate, Float, "Used in numerical questions of type 'precision_answer'. The value the answer should equal..Example: 1234600000.0", required: false
22
+ argument :precision, Int, "Used in numerical questions of type 'precision_answer'. The numerical precision that will be used when comparing the student's answer..Example: 4", required: false
23
+ argument :start, Int, "Used in numerical questions of type 'range_answer'. The start of the allowed range (inclusive)..Example: 1", required: false
24
+ argument :end, Int, "Used in numerical questions of type 'range_answer'. The end of the allowed range (inclusive)..Example: 10", required: false
25
+ argument :blank_id, ID, "Used in fill in multiple blank and multiple dropdowns questions..Example: 1170", required: false
26
26
 
27
27
  end
28
28
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAppointment < BaseType
8
- description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
8
+ description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
9
9
  field :id, ID, "The appointment identifier..Example: 987", null: true
10
10
  field :start_at, LMSGraphQL::Types::DateTimeType, "Start time for the appointment.Example: 2012-07-20T15:00:00-06:00", null: true
11
11
  field :end_at, LMSGraphQL::Types::DateTimeType, "End time for the appointment.Example: 2012-07-20T15:00:00-06:00", null: true
@@ -6,7 +6,8 @@ require_relative "calendar_event"
6
6
  module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
- class AppointmentGroupWorkflowStateEnum < ::GraphQL::Schema::Enum
9
+ class CanvasAppointmentGroup < BaseType
10
+ class AppointmentGroupWorkflowStateEnum < ::GraphQL::Schema::Enum
10
11
  value "pending"
11
12
  value "active"
12
13
  value "deleted"
@@ -21,7 +22,6 @@ module LMSGraphQL
21
22
  value "User"
22
23
  value "Group"
23
24
  end
24
- class CanvasAppointmentGroup < BaseType
25
25
  description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
26
26
  field :id, ID, "The ID of the appointment group.Example: 543", null: true
27
27
  field :title, String, "The title of the appointment group.Example: Final Presentation", null: true
@@ -32,8 +32,8 @@ module LMSGraphQL
32
32
  field :location_address, String, "The address of the appointment group's location.Example: Room 234", null: true
33
33
  field :participant_count, Int, "The number of participant who have reserved slots (see include[] argument).Example: 2", null: true
34
34
  field :reserved_times, [LMSGraphQL::Types::Canvas::CanvasAppointment], "The start and end times of slots reserved by the current user as well as the id of the calendar event for the reservation (see include[] argument).Example: {'id'=>987, 'start_at'=>'2012-07-20T15:00:00-06:00', 'end_at'=>'2012-07-20T15:00:00-06:00'}", null: true
35
- field :context_codes, String, "The context codes (i.e. courses) this appointment group belongs to. Only people in these courses will be eligible to sign up..Example: course_123", null: true
36
- field :sub_context_codes, Int, "The sub-context codes (i.e. course sections and group categories) this appointment group is restricted to.Example: course_section_234", null: true
35
+ field :context_codes, [String], "The context codes (i.e. courses) this appointment group belongs to. Only people in these courses will be eligible to sign up..Example: course_123", null: true
36
+ field :sub_context_codes, [Int], "The sub-context codes (i.e. course sections and group categories) this appointment group is restricted to.Example: course_section_234", null: true
37
37
  field :workflow_state, AppointmentGroupWorkflowStateEnum, "Current state of the appointment group ('pending', 'active' or 'deleted'). 'pending' indicates that it has not been published yet and is invisible to participants..Example: active", null: true
38
38
  field :requiring_action, Boolean, "Boolean indicating whether the current user needs to sign up for this appointment group (i.e. it's reservable and the min_appointments_per_participant limit has not been met by this user)..Example: true", null: true
39
39
  field :appointments_count, Int, "Number of time slots in this appointment group.Example: 2", null: true
@@ -6,7 +6,8 @@ require_relative "calendar_event"
6
6
  module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
- class AppointmentGroupWorkflowStateEnum < ::GraphQL::Schema::Enum
9
+ class CanvasAppointmentGroupInput < BaseInputObject
10
+ class AppointmentGroupWorkflowStateEnum < ::GraphQL::Schema::Enum
10
11
  value "pending"
11
12
  value "active"
12
13
  value "deleted"
@@ -21,33 +22,32 @@ module LMSGraphQL
21
22
  value "User"
22
23
  value "Group"
23
24
  end
24
- class CanvasAppointmentGroupInput < BaseInputObject
25
25
  description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
26
- argument :id, ID, "The ID of the appointment group.Example: 543", required: false
27
- argument :title, String, "The title of the appointment group.Example: Final Presentation", required: false
28
- argument :start_at, LMSGraphQL::Types::DateTimeType, "The start of the first time slot in the appointment group.Example: 2012-07-20T15:00:00-06:00", required: false
29
- argument :end_at, LMSGraphQL::Types::DateTimeType, "The end of the last time slot in the appointment group.Example: 2012-07-20T17:00:00-06:00", required: false
30
- argument :description, String, "The text description of the appointment group.Example: Es muy importante", required: false
31
- argument :location_name, String, "The location name of the appointment group.Example: El Tigre Chino's office", required: false
32
- argument :location_address, String, "The address of the appointment group's location.Example: Room 234", required: false
33
- argument :participant_count, Int, "The number of participant who have reserved slots (see include[] argument).Example: 2", required: false
34
- argument :reserved_times, [LMSGraphQL::Types::Canvas::CanvasAppointmentInput], "The start and end times of slots reserved by the current user as well as the id of the calendar event for the reservation (see include[] argument).Example: {'id'=>987, 'start_at'=>'2012-07-20T15:00:00-06:00', 'end_at'=>'2012-07-20T15:00:00-06:00'}", required: false
35
- argument :context_codes, String, "The context codes (i.e. courses) this appointment group belongs to. Only people in these courses will be eligible to sign up..Example: course_123", required: false
36
- argument :sub_context_codes, Int, "The sub-context codes (i.e. course sections and group categories) this appointment group is restricted to.Example: course_section_234", required: false
37
- argument :workflow_state, AppointmentGroupWorkflowStateEnum, "Current state of the appointment group ('pending', 'active' or 'deleted'). 'pending' indicates that it has not been published yet and is invisible to participants..Example: active", required: false
38
- argument :requiring_action, Boolean, "Boolean indicating whether the current user needs to sign up for this appointment group (i.e. it's reservable and the min_appointments_per_participant limit has not been met by this user)..Example: true", required: false
39
- argument :appointments_count, Int, "Number of time slots in this appointment group.Example: 2", required: false
40
- argument :appointments, [LMSGraphQL::Types::Canvas::CanvasCalendarEventInput], "Calendar Events representing the time slots (see include[] argument) Refer to the Calendar Events API for more information.", required: false
41
- argument :new_appointments, [LMSGraphQL::Types::Canvas::CanvasCalendarEventInput], "Newly created time slots (same format as appointments above). Only returned in Create/Update responses where new time slots have been added.", required: false
42
- argument :max_appointments_per_participant, Int, "Maximum number of time slots a user may register for, or null if no limit.Example: 1", required: false
43
- argument :min_appointments_per_participant, Int, "Minimum number of time slots a user must register for. If not set, users do not need to sign up for any time slots.Example: 1", required: false
44
- argument :participants_per_appointment, Int, "Maximum number of participants that may register for each time slot, or null if no limit.Example: 1", required: false
45
- argument :participant_visibility, AppointmentGroupParticipantVisibilityEnum, "'private' means participants cannot see who has signed up for a particular time slot, 'protected' means that they can.Example: private", required: false
46
- argument :participant_type, AppointmentGroupParticipantTypeEnum, "Indicates how participants sign up for the appointment group, either as individuals ('User') or in student groups ('Group'). Related to sub_context_codes (i.e. 'Group' signups always have a single group category).Example: User", required: false
47
- argument :url, String, "URL for this appointment group (to update, delete, etc.).Example: https://example.com/api/v1/appointment_groups/543", required: false
48
- argument :html_url, String, "URL for a user to view this appointment group.Example: http://example.com/appointment_groups/1", required: false
49
- argument :created_at, LMSGraphQL::Types::DateTimeType, "When the appointment group was created.Example: 2012-07-13T10:55:20-06:00", required: false
50
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "When the appointment group was last updated.Example: 2012-07-13T10:55:20-06:00", required: false
26
+ argument :id, ID, "The ID of the appointment group.Example: 543", required: false
27
+ argument :title, String, "The title of the appointment group.Example: Final Presentation", required: false
28
+ argument :start_at, LMSGraphQL::Types::DateTimeType, "The start of the first time slot in the appointment group.Example: 2012-07-20T15:00:00-06:00", required: false
29
+ argument :end_at, LMSGraphQL::Types::DateTimeType, "The end of the last time slot in the appointment group.Example: 2012-07-20T17:00:00-06:00", required: false
30
+ argument :description, String, "The text description of the appointment group.Example: Es muy importante", required: false
31
+ argument :location_name, String, "The location name of the appointment group.Example: El Tigre Chino's office", required: false
32
+ argument :location_address, String, "The address of the appointment group's location.Example: Room 234", required: false
33
+ argument :participant_count, Int, "The number of participant who have reserved slots (see include[] argument).Example: 2", required: false
34
+ argument :reserved_times, [LMSGraphQL::Types::Canvas::CanvasAppointmentInput], "The start and end times of slots reserved by the current user as well as the id of the calendar event for the reservation (see include[] argument).Example: {'id'=>987, 'start_at'=>'2012-07-20T15:00:00-06:00', 'end_at'=>'2012-07-20T15:00:00-06:00'}", required: false
35
+ argument :context_codes, [String], "The context codes (i.e. courses) this appointment group belongs to. Only people in these courses will be eligible to sign up..Example: course_123", required: false
36
+ argument :sub_context_codes, [Int], "The sub-context codes (i.e. course sections and group categories) this appointment group is restricted to.Example: course_section_234", required: false
37
+ argument :workflow_state, AppointmentGroupWorkflowStateEnum, "Current state of the appointment group ('pending', 'active' or 'deleted'). 'pending' indicates that it has not been published yet and is invisible to participants..Example: active", required: false
38
+ argument :requiring_action, Boolean, "Boolean indicating whether the current user needs to sign up for this appointment group (i.e. it's reservable and the min_appointments_per_participant limit has not been met by this user)..Example: true", required: false
39
+ argument :appointments_count, Int, "Number of time slots in this appointment group.Example: 2", required: false
40
+ argument :appointments, [LMSGraphQL::Types::Canvas::CanvasCalendarEventInput], "Calendar Events representing the time slots (see include[] argument) Refer to the Calendar Events API for more information.", required: false
41
+ argument :new_appointments, [LMSGraphQL::Types::Canvas::CanvasCalendarEventInput], "Newly created time slots (same format as appointments above). Only returned in Create/Update responses where new time slots have been added.", required: false
42
+ argument :max_appointments_per_participant, Int, "Maximum number of time slots a user may register for, or null if no limit.Example: 1", required: false
43
+ argument :min_appointments_per_participant, Int, "Minimum number of time slots a user must register for. If not set, users do not need to sign up for any time slots.Example: 1", required: false
44
+ argument :participants_per_appointment, Int, "Maximum number of participants that may register for each time slot, or null if no limit.Example: 1", required: false
45
+ argument :participant_visibility, AppointmentGroupParticipantVisibilityEnum, "'private' means participants cannot see who has signed up for a particular time slot, 'protected' means that they can.Example: private", required: false
46
+ argument :participant_type, AppointmentGroupParticipantTypeEnum, "Indicates how participants sign up for the appointment group, either as individuals ('User') or in student groups ('Group'). Related to sub_context_codes (i.e. 'Group' signups always have a single group category).Example: User", required: false
47
+ argument :url, String, "URL for this appointment group (to update, delete, etc.).Example: https://example.com/api/v1/appointment_groups/543", required: false
48
+ argument :html_url, String, "URL for a user to view this appointment group.Example: http://example.com/appointment_groups/1", required: false
49
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "When the appointment group was created.Example: 2012-07-13T10:55:20-06:00", required: false
50
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "When the appointment group was last updated.Example: 2012-07-13T10:55:20-06:00", required: false
51
51
 
52
52
  end
53
53
  end
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAppointmentInput < BaseInputObject
8
- description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
9
- argument :id, ID, "The appointment identifier..Example: 987", required: false
10
- argument :start_at, LMSGraphQL::Types::DateTimeType, "Start time for the appointment.Example: 2012-07-20T15:00:00-06:00", required: false
11
- argument :end_at, LMSGraphQL::Types::DateTimeType, "End time for the appointment.Example: 2012-07-20T15:00:00-06:00", required: false
8
+ description "Appointment Groups. API Docs: https://canvas.instructure.com/doc/api/appointment_groups.html"
9
+ argument :id, ID, "The appointment identifier..Example: 987", required: false
10
+ argument :start_at, LMSGraphQL::Types::DateTimeType, "Start time for the appointment.Example: 2012-07-20T15:00:00-06:00", required: false
11
+ argument :end_at, LMSGraphQL::Types::DateTimeType, "End time for the appointment.Example: 2012-07-20T15:00:00-06:00", required: false
12
12
 
13
13
  end
14
14
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAssessment < BaseType
8
- description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
8
+ description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
9
9
  field :id, ID, "A unique identifier for this live assessment.Example: 42", null: true
10
10
  field :key, String, "A client specified unique identifier for the assessment.Example: 2014-05-27,outcome_52", null: true
11
11
  field :title, String, "A human readable title for the assessment.Example: May 27th Reading Assessment", null: true
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasAssessmentInput < BaseInputObject
8
- description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
9
- argument :id, ID, "A unique identifier for this live assessment.Example: 42", required: false
10
- argument :key, String, "A client specified unique identifier for the assessment.Example: 2014-05-27,outcome_52", required: false
11
- argument :title, String, "A human readable title for the assessment.Example: May 27th Reading Assessment", required: false
8
+ description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
9
+ argument :id, ID, "A unique identifier for this live assessment.Example: 42", required: false
10
+ argument :key, String, "A client specified unique identifier for the assessment.Example: 2014-05-27,outcome_52", required: false
11
+ argument :title, String, "A human readable title for the assessment.Example: May 27th Reading Assessment", required: false
12
12
 
13
13
  end
14
14
  end
@@ -8,11 +8,13 @@ require_relative "discussion_topic"
8
8
  require_relative "submission"
9
9
  require_relative "rubric_criterium"
10
10
  require_relative "assignment_override"
11
+ require_relative "score_statistic"
11
12
 
12
13
  module LMSGraphQL
13
14
  module Types
14
15
  module Canvas
15
- class AssignmentSubmissionTypeEnum < ::GraphQL::Schema::Enum
16
+ class CanvasAssignment < BaseType
17
+ class AssignmentSubmissionTypeEnum < ::GraphQL::Schema::Enum
16
18
  value "discussion_topic"
17
19
  value "online_quiz"
18
20
  value "on_paper"
@@ -23,6 +25,7 @@ module LMSGraphQL
23
25
  value "online_url"
24
26
  value "online_upload"
25
27
  value "media_recording"
28
+ value "student_annotation"
26
29
  end
27
30
 
28
31
  class AssignmentGradingTypeEnum < ::GraphQL::Schema::Enum
@@ -32,7 +35,6 @@ module LMSGraphQL
32
35
  value "gpa_scale"
33
36
  value "points"
34
37
  end
35
- class CanvasAssignment < BaseType
36
38
  description "Assignments. API Docs: https://canvas.instructure.com/doc/api/assignments.html"
37
39
  field :id, ID, "the ID of the assignment.Example: 4", null: true
38
40
  field :name, String, "the name of the assignment.Example: some assignment", null: true
@@ -49,7 +51,7 @@ module LMSGraphQL
49
51
  field :submissions_download_url, String, "the URL to download all submissions as a zip.Example: https://example.com/courses/:course_id/assignments/:id/submissions?zip=1", null: true
50
52
  field :assignment_group_id, ID, "the ID of the assignment's group.Example: 2", null: true
51
53
  field :due_date_required, Boolean, "Boolean flag indicating whether the assignment requires a due date based on the account level setting.Example: true", null: true
52
- field :allowed_extensions, String, "Allowed file extensions, which take effect if submission_types includes 'online_upload'..Example: docx, ppt", null: true
54
+ field :allowed_extensions, [String], "Allowed file extensions, which take effect if submission_types includes 'online_upload'..Example: docx, ppt", null: true
53
55
  field :max_name_length, Int, "An integer indicating the maximum length an assignment's name may be.Example: 15", null: true
54
56
  field :turnitin_enabled, Boolean, "Boolean flag indicating whether or not Turnitin has been enabled for the assignment. NOTE: This flag will not appear unless your account has the Turnitin plugin available.Example: true", null: true
55
57
  field :vericite_enabled, Boolean, "Boolean flag indicating whether or not VeriCite has been enabled for the assignment. NOTE: This flag will not appear unless your account has the VeriCite plugin available.Example: true", null: true
@@ -69,7 +71,7 @@ module LMSGraphQL
69
71
  field :integration_id, ID, "(optional, Third Party unique identifier for Assignment).Example: 12341234", null: true
70
72
  field :integration_data, String, "(optional, Third Party integration data for assignment).Example: 0954", null: true
71
73
  field :points_possible, Float, "the maximum points possible for the assignment.Example: 12.0", null: true
72
- field :submission_types, AssignmentSubmissionTypeEnum, "the types of submissions allowed for this assignment list containing one or more of the following: 'discussion_topic', 'online_quiz', 'on_paper', 'none', 'external_tool', 'online_text_entry', 'online_url', 'online_upload' 'media_recording'.Example: online_text_entry", null: true
74
+ field :submission_types, AssignmentSubmissionTypeEnum, "the types of submissions allowed for this assignment list containing one or more of the following: 'discussion_topic', 'online_quiz', 'on_paper', 'none', 'external_tool', 'online_text_entry', 'online_url', 'online_upload', 'media_recording', 'student_annotation'.Example: online_text_entry", null: true
73
75
  field :has_submitted_submissions, Boolean, "If true, the assignment has been submitted to by at least one student.Example: true", null: true
74
76
  field :grading_type, AssignmentGradingTypeEnum, "The type of grading the assignment receives; one of 'pass_fail', 'percent', 'letter_grade', 'gpa_scale', 'points'.Example: points", null: true
75
77
  field :grading_standard_id, ID, "The id of the grading standard being applied to this assignment. Valid if grading_type is 'letter_grade' or 'gpa_scale'..", null: true
@@ -84,12 +86,12 @@ module LMSGraphQL
84
86
  field :discussion_topic, LMSGraphQL::Types::Canvas::CanvasDiscussionTopic, "(Optional) the DiscussionTopic associated with the assignment, if applicable.", null: true
85
87
  field :freeze_on_copy, Boolean, "(Optional) Boolean indicating if assignment will be frozen when it is copied. NOTE: This field will only be present if the AssignmentFreezer plugin is available for your account..", null: true
86
88
  field :frozen, Boolean, "(Optional) Boolean indicating if assignment is frozen for the calling user. NOTE: This field will only be present if the AssignmentFreezer plugin is available for your account..", null: true
87
- field :frozen_attributes, String, "(Optional) Array of frozen attributes for the assignment. Only account administrators currently have permission to change an attribute in this list. Will be empty if no attributes are frozen for this assignment. Possible frozen attributes are: title, description, lock_at, points_possible, grading_type, submission_types, assignment_group_id, allowed_extensions, group_category_id, notify_of_update, peer_reviews NOTE: This field will only be present if the AssignmentFreezer plugin is available for your account..Example: title", null: true
89
+ field :frozen_attributes, [String], "(Optional) Array of frozen attributes for the assignment. Only account administrators currently have permission to change an attribute in this list. Will be empty if no attributes are frozen for this assignment. Possible frozen attributes are: title, description, lock_at, points_possible, grading_type, submission_types, assignment_group_id, allowed_extensions, group_category_id, notify_of_update, peer_reviews NOTE: This field will only be present if the AssignmentFreezer plugin is available for your account..Example: title", null: true
88
90
  field :submission, LMSGraphQL::Types::Canvas::CanvasSubmission, "(Optional) If 'submission' is included in the 'include' parameter, includes a Submission object that represents the current user's (user who is requesting information from the api) current submission for the assignment. See the Submissions API for an example response. If the user does not have a submission, this key will be absent..", null: true
89
91
  field :use_rubric_for_grading, Boolean, "(Optional) If true, the rubric is directly tied to grading the assignment. Otherwise, it is only advisory. Included if there is an associated rubric..Example: true", null: true
90
92
  field :rubric_settings, String, "(Optional) An object describing the basic attributes of the rubric, including the point total. Included if there is an associated rubric..Example: {'points_possible'=>12}", null: true
91
93
  field :rubric, [LMSGraphQL::Types::Canvas::CanvasRubricCriterium], "(Optional) A list of scoring criteria and ratings for each rubric criterion. Included if there is an associated rubric..", null: true
92
- field :assignment_visibility, Int, "(Optional) If 'assignment_visibility' is included in the 'include' parameter, includes an array of student IDs who can see this assignment..Example: 137, 381, 572", null: true
94
+ field :assignment_visibility, [Int], "(Optional) If 'assignment_visibility' is included in the 'include' parameter, includes an array of student IDs who can see this assignment..Example: 137, 381, 572", null: true
93
95
  field :overrides, [LMSGraphQL::Types::Canvas::CanvasAssignmentOverride], "(Optional) If 'overrides' is included in the 'include' parameter, includes an array of assignment override objects..", null: true
94
96
  field :omit_from_final_grade, Boolean, "(Optional) If true, the assignment will be omitted from the student's final grade.Example: true", null: true
95
97
  field :moderated_grading, Boolean, "Boolean indicating if the assignment is moderated..Example: true", null: true
@@ -101,6 +103,8 @@ module LMSGraphQL
101
103
  field :anonymous_grading, Boolean, "Boolean indicating if the assignment is graded anonymously. If true, graders cannot see student identities..Example: true", null: true
102
104
  field :allowed_attempts, Int, "The number of submission attempts a student can make for this assignment. -1 is considered unlimited..Example: 2", null: true
103
105
  field :post_manually, Boolean, "Whether the assignment has manual posting enabled. Only relevant for courses using New Gradebook..Example: true", null: true
106
+ field :score_statistics, LMSGraphQL::Types::Canvas::CanvasScoreStatistic, "(Optional) If 'score_statistics' and 'submission' are included in the 'include' parameter and statistics are available, includes the min, max, and mode for this assignment.", null: true
107
+ field :can_submit, Boolean, "(Optional) If retrieving a single assignment and 'can_submit' is included in the 'include' parameter, flags whether user has the right to submit the assignment (i.e. checks enrollment dates, submission types, locked status, attempts remaining, etc...). Including 'can submit' automatically includes 'submission' in the include parameter. Not available when observed_users are included..Example: true", null: true
104
108
 
105
109
  end
106
110
  end