lms-graphql-api 0.5.3 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (961) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/canvas.rb +1 -0
  3. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +3 -2
  4. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +3 -2
  5. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +3 -2
  6. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +3 -2
  7. data/lib/lms_graphql/mutations/canvas/activate_role.rb +5 -3
  8. data/lib/lms_graphql/mutations/canvas/add_allowed_domain_to_account.rb +24 -0
  9. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +3 -2
  10. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +3 -2
  11. data/lib/lms_graphql/mutations/canvas/add_domain_to_account_whitelist.rb +24 -0
  12. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +3 -2
  13. data/lib/lms_graphql/mutations/canvas/add_message.rb +5 -3
  14. data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +24 -0
  15. data/lib/lms_graphql/mutations/canvas/add_multiple_domains_to_account_whitelist.rb +24 -0
  16. data/lib/lms_graphql/mutations/canvas/add_observee.rb +5 -3
  17. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +8 -4
  18. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +5 -3
  19. data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +26 -0
  20. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +3 -2
  21. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +5 -3
  22. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +5 -3
  23. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +5 -3
  24. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +3 -2
  25. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +5 -3
  26. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +8 -4
  27. data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +23 -0
  28. data/lib/lms_graphql/mutations/canvas/bulk_update_assignment_dates.rb +21 -0
  29. data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +24 -0
  30. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +2 -3
  31. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +3 -2
  32. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +5 -3
  33. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +3 -2
  34. data/lib/lms_graphql/mutations/canvas/confirm_image_selection.rb +21 -0
  35. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +5 -3
  36. data/lib/lms_graphql/mutations/canvas/copy_file.rb +5 -3
  37. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +5 -3
  38. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +5 -3
  39. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +5 -3
  40. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +3 -2
  41. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -2
  42. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +20 -6
  43. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +5 -3
  44. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +5 -3
  45. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +3 -2
  46. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +3 -2
  47. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +5 -3
  48. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +20 -4
  49. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +20 -4
  50. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +20 -4
  51. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +20 -4
  52. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +28 -0
  53. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +6 -3
  54. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +5 -3
  55. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +5 -3
  56. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +5 -3
  57. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +3 -2
  58. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +3 -2
  59. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +5 -3
  60. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +5 -3
  61. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +11 -5
  62. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +11 -5
  63. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +5 -3
  64. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +5 -3
  65. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +5 -3
  66. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +5 -3
  67. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +5 -3
  68. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +5 -3
  69. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +5 -3
  70. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +5 -3
  71. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +3 -2
  72. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +2 -3
  73. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +5 -3
  74. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +34 -0
  75. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +5 -3
  76. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +5 -3
  77. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +5 -3
  78. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +5 -3
  79. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +5 -3
  80. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +5 -3
  81. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +3 -2
  82. data/lib/lms_graphql/mutations/canvas/create_membership.rb +5 -3
  83. data/lib/lms_graphql/mutations/canvas/create_module.rb +5 -3
  84. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +5 -3
  85. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +8 -4
  86. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +5 -3
  87. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +5 -3
  88. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +5 -3
  89. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +5 -3
  90. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +5 -3
  91. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +5 -3
  92. data/lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb +21 -0
  93. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +3 -2
  94. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +5 -3
  95. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +10 -4
  96. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +5 -3
  97. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +5 -3
  98. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +3 -2
  99. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +6 -5
  100. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +5 -3
  101. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -3
  102. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +5 -3
  103. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +5 -3
  104. data/lib/lms_graphql/mutations/canvas/create_rubricassociation.rb +38 -0
  105. data/lib/lms_graphql/mutations/canvas/create_score.rb +40 -0
  106. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +3 -2
  107. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +5 -3
  108. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +5 -3
  109. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +5 -3
  110. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +5 -3
  111. data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +42 -0
  112. data/lib/lms_graphql/mutations/canvas/create_single_rubric_assessment.rb +32 -0
  113. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +5 -3
  114. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +5 -3
  115. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +5 -3
  116. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings.rb +30 -0
  117. data/lib/lms_graphql/mutations/canvas/create_user.rb +10 -4
  118. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +5 -3
  119. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +6 -5
  120. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +3 -2
  121. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +3 -2
  122. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +3 -2
  123. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +3 -2
  124. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +3 -2
  125. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +3 -2
  126. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +3 -2
  127. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +3 -2
  128. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +3 -2
  129. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +3 -2
  130. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +3 -2
  131. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +3 -2
  132. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +3 -2
  133. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +3 -2
  134. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +3 -2
  135. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +3 -2
  136. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +3 -2
  137. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +3 -2
  138. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +3 -2
  139. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +3 -2
  140. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +3 -2
  141. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +3 -2
  142. data/lib/lms_graphql/mutations/canvas/delete_file.rb +3 -2
  143. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +3 -2
  144. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +3 -2
  145. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +3 -2
  146. data/lib/lms_graphql/mutations/canvas/delete_group.rb +3 -2
  147. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +3 -2
  148. data/lib/lms_graphql/mutations/canvas/delete_line_item.rb +23 -0
  149. data/lib/lms_graphql/mutations/canvas/delete_message.rb +5 -3
  150. data/lib/lms_graphql/mutations/canvas/delete_module.rb +3 -2
  151. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +3 -2
  152. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +3 -2
  153. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +3 -2
  154. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +3 -2
  155. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -2
  156. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -2
  157. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +3 -2
  158. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +3 -2
  159. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +3 -2
  160. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +3 -2
  161. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +3 -2
  162. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +3 -2
  163. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +3 -2
  164. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +2 -3
  165. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +3 -2
  166. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +3 -2
  167. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +3 -2
  168. data/lib/lms_graphql/mutations/canvas/delete_report.rb +3 -2
  169. data/lib/lms_graphql/mutations/canvas/delete_rubricassociation.rb +23 -0
  170. data/lib/lms_graphql/mutations/canvas/delete_section.rb +3 -2
  171. data/lib/lms_graphql/mutations/canvas/delete_single_rubric.rb +23 -0
  172. data/lib/lms_graphql/mutations/canvas/delete_single_rubric_assessment.rb +25 -0
  173. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +3 -2
  174. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +3 -2
  175. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +3 -2
  176. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +3 -2
  177. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +3 -2
  178. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +3 -2
  179. data/lib/lms_graphql/mutations/canvas/deprecated_self_register_user.rb +42 -0
  180. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +3 -2
  181. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +5 -3
  182. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -2
  183. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +22 -6
  184. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +3 -2
  185. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +5 -3
  186. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +3 -2
  187. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +3 -2
  188. data/lib/lms_graphql/mutations/canvas/edit_group.rb +5 -3
  189. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +8 -4
  190. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +8 -4
  191. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +5 -3
  192. data/lib/lms_graphql/mutations/canvas/edit_section.rb +5 -3
  193. data/lib/lms_graphql/mutations/canvas/edit_user.rb +10 -4
  194. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +8 -4
  195. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +24 -0
  196. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +24 -0
  197. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +10 -4
  198. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +10 -4
  199. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +5 -3
  200. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +5 -3
  201. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +5 -3
  202. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +3 -2
  203. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +5 -3
  204. data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +21 -0
  205. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +5 -3
  206. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +5 -3
  207. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +5 -3
  208. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +5 -3
  209. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +5 -3
  210. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +5 -3
  211. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +5 -3
  212. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +3 -2
  213. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +2 -3
  214. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +3 -2
  215. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +8 -4
  216. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +8 -4
  217. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +8 -4
  218. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +5 -3
  219. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +5 -3
  220. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +8 -4
  221. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +5 -3
  222. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +3 -2
  223. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +3 -2
  224. data/lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb +24 -0
  225. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +5 -3
  226. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +2 -3
  227. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +5 -3
  228. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +5 -3
  229. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +3 -2
  230. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +3 -2
  231. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +5 -3
  232. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +5 -3
  233. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +3 -2
  234. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +3 -2
  235. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +3 -2
  236. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +3 -2
  237. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +3 -2
  238. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +3 -2
  239. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +3 -2
  240. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +3 -2
  241. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +3 -2
  242. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +3 -2
  243. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +3 -2
  244. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +3 -2
  245. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +3 -2
  246. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +3 -2
  247. data/lib/lms_graphql/mutations/canvas/mutations.rb +38 -4
  248. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +5 -3
  249. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +5 -3
  250. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +5 -3
  251. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +5 -3
  252. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +5 -3
  253. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +5 -3
  254. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +5 -3
  255. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +3 -2
  256. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +17 -15
  257. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +5 -3
  258. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +5 -3
  259. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +5 -3
  260. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +3 -2
  261. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +3 -2
  262. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +3 -2
  263. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +3 -2
  264. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +3 -2
  265. data/lib/lms_graphql/mutations/canvas/remove_content_share.rb +23 -0
  266. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +3 -2
  267. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +3 -2
  268. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb +23 -0
  269. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account_whitelist.rb +23 -0
  270. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +3 -2
  271. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +3 -2
  272. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +3 -2
  273. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +3 -2
  274. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +3 -2
  275. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +3 -2
  276. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +3 -2
  277. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +3 -2
  278. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +5 -3
  279. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +5 -3
  280. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +5 -3
  281. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +5 -3
  282. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +5 -3
  283. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +5 -3
  284. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +5 -3
  285. data/lib/lms_graphql/mutations/canvas/reset_course.rb +3 -2
  286. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +2 -3
  287. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +2 -3
  288. data/lib/lms_graphql/mutations/canvas/reset_link_verifier.rb +21 -0
  289. data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +30 -0
  290. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -2
  291. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -2
  292. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +5 -3
  293. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +3 -2
  294. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +5 -3
  295. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +5 -3
  296. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +5 -3
  297. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +5 -3
  298. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +5 -3
  299. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +28 -0
  300. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +5 -3
  301. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +5 -3
  302. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +5 -3
  303. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +5 -3
  304. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +5 -3
  305. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +5 -3
  306. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +5 -3
  307. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +5 -3
  308. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +3 -2
  309. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +2 -3
  310. data/lib/lms_graphql/mutations/canvas/start_report.rb +5 -3
  311. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +5 -3
  312. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +3 -2
  313. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +10 -4
  314. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +10 -4
  315. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +5 -3
  316. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +3 -2
  317. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +3 -2
  318. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +3 -2
  319. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +5 -3
  320. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +3 -2
  321. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +3 -2
  322. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +3 -2
  323. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +3 -2
  324. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +3 -2
  325. data/lib/lms_graphql/mutations/canvas/update_account.rb +10 -4
  326. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +3 -2
  327. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +5 -3
  328. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +5 -3
  329. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +5 -3
  330. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +3 -2
  331. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +5 -3
  332. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +5 -3
  333. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +5 -3
  334. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +3 -2
  335. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +3 -2
  336. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +3 -2
  337. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +3 -2
  338. data/lib/lms_graphql/mutations/canvas/update_content_share.rb +26 -0
  339. data/lib/lms_graphql/mutations/canvas/update_course.rb +10 -4
  340. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +14 -4
  341. data/lib/lms_graphql/mutations/canvas/update_courses.rb +5 -3
  342. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +5 -3
  343. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +5 -3
  344. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +5 -3
  345. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +5 -3
  346. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +5 -3
  347. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +3 -2
  348. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +3 -2
  349. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +5 -3
  350. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +5 -3
  351. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +5 -3
  352. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +5 -3
  353. data/lib/lms_graphql/mutations/canvas/update_file.rb +5 -3
  354. data/lib/lms_graphql/mutations/canvas/update_folder.rb +5 -3
  355. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +5 -3
  356. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +5 -3
  357. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +32 -0
  358. data/lib/lms_graphql/mutations/canvas/update_media_object.rb +24 -0
  359. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +24 -0
  360. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +5 -3
  361. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +5 -3
  362. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +5 -3
  363. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +5 -3
  364. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +5 -3
  365. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +5 -3
  366. data/lib/lms_graphql/mutations/canvas/update_module.rb +5 -3
  367. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +5 -3
  368. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +5 -3
  369. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +5 -3
  370. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +5 -3
  371. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +5 -3
  372. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +5 -3
  373. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +5 -3
  374. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +30 -0
  375. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +5 -3
  376. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +5 -3
  377. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +5 -3
  378. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +5 -3
  379. data/lib/lms_graphql/mutations/canvas/update_public_jwk.rb +21 -0
  380. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +5 -3
  381. data/lib/lms_graphql/mutations/canvas/update_role.rb +5 -3
  382. data/lib/lms_graphql/mutations/canvas/update_rubricassociation.rb +40 -0
  383. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +3 -2
  384. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +5 -3
  385. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +5 -3
  386. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +5 -3
  387. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +5 -3
  388. data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +44 -0
  389. data/lib/lms_graphql/mutations/canvas/update_single_rubric_assessment.rb +34 -0
  390. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +11 -9
  391. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +5 -3
  392. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +5 -3
  393. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +5 -3
  394. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +3 -2
  395. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +3 -2
  396. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +3 -2
  397. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +3 -2
  398. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +5 -3
  399. data/lib/lms_graphql/resolvers/canvas/activity_stream_summary.rb +5 -3
  400. data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +6 -3
  401. data/lib/lms_graphql/resolvers/canvas/close_opened_poll_session.rb +5 -3
  402. data/lib/lms_graphql/resolvers/canvas/course_activity_stream.rb +5 -3
  403. data/lib/lms_graphql/resolvers/canvas/course_activity_stream_summary.rb +5 -3
  404. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +27 -0
  405. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +6 -3
  406. data/lib/lms_graphql/resolvers/canvas/course_todo_items.rb +5 -3
  407. data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +24 -0
  408. data/lib/lms_graphql/resolvers/canvas/days_in_gradebook_history_for_this_course.rb +6 -3
  409. data/lib/lms_graphql/resolvers/canvas/details_for_given_date_in_gradebook_history_for_this_course.rb +6 -3
  410. data/lib/lms_graphql/resolvers/canvas/enrollment_by_id.rb +5 -3
  411. data/lib/lms_graphql/resolvers/canvas/fetching_latest_quiz_statistics.rb +5 -3
  412. data/lib/lms_graphql/resolvers/canvas/find_images.rb +22 -0
  413. data/lib/lms_graphql/resolvers/canvas/find_recipients.rb +5 -3
  414. data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +5 -3
  415. data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +5 -3
  416. data/lib/lms_graphql/resolvers/canvas/get_account.rb +22 -0
  417. data/lib/lms_graphql/resolvers/canvas/get_aligned_assignments_for_outcome_in_course_for_particular_student.rb +25 -0
  418. data/lib/lms_graphql/resolvers/canvas/get_all_outcome_groups_for_context_accounts.rb +6 -3
  419. data/lib/lms_graphql/resolvers/canvas/get_all_outcome_groups_for_context_courses.rb +6 -3
  420. data/lib/lms_graphql/resolvers/canvas/get_all_outcome_links_for_context_accounts.rb +6 -3
  421. data/lib/lms_graphql/resolvers/canvas/get_all_outcome_links_for_context_courses.rb +6 -3
  422. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +6 -3
  423. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +6 -3
  424. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +6 -3
  425. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +6 -3
  426. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +5 -3
  427. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +5 -3
  428. data/lib/lms_graphql/resolvers/canvas/get_all_users_in_group_lti.rb +6 -3
  429. data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +5 -3
  430. data/lib/lms_graphql/resolvers/canvas/get_associated_course_information.rb +6 -3
  431. data/lib/lms_graphql/resolvers/canvas/get_authentication_provider.rb +5 -3
  432. data/lib/lms_graphql/resolvers/canvas/get_available_quiz_ip_filters.rb +5 -3
  433. data/lib/lms_graphql/resolvers/canvas/get_blueprint_information.rb +5 -3
  434. data/lib/lms_graphql/resolvers/canvas/get_bookmark.rb +5 -3
  435. data/lib/lms_graphql/resolvers/canvas/get_brand_config_variables_that_should_be_used_for_this_domain.rb +5 -3
  436. data/lib/lms_graphql/resolvers/canvas/get_content_migration_accounts.rb +5 -3
  437. data/lib/lms_graphql/resolvers/canvas/get_content_migration_courses.rb +5 -3
  438. data/lib/lms_graphql/resolvers/canvas/get_content_migration_groups.rb +5 -3
  439. data/lib/lms_graphql/resolvers/canvas/get_content_migration_users.rb +5 -3
  440. data/lib/lms_graphql/resolvers/canvas/get_content_share.rb +24 -0
  441. data/lib/lms_graphql/resolvers/canvas/get_course_copy_status.rb +5 -3
  442. data/lib/lms_graphql/resolvers/canvas/get_course_level_assignment_data.rb +5 -3
  443. data/lib/lms_graphql/resolvers/canvas/get_course_level_participation_data.rb +5 -3
  444. data/lib/lms_graphql/resolvers/canvas/get_course_level_student_summary_data.rb +5 -3
  445. data/lib/lms_graphql/resolvers/canvas/get_course_nickname.rb +5 -3
  446. data/lib/lms_graphql/resolvers/canvas/get_course_settings.rb +5 -3
  447. data/lib/lms_graphql/resolvers/canvas/get_course_timetable.rb +5 -3
  448. data/lib/lms_graphql/resolvers/canvas/get_current_importing_sis_import.rb +22 -0
  449. data/lib/lms_graphql/resolvers/canvas/get_current_quiz_submission_times.rb +5 -3
  450. data/lib/lms_graphql/resolvers/canvas/get_current_settings_for_account_or_course_accounts.rb +22 -0
  451. data/lib/lms_graphql/resolvers/canvas/get_current_settings_for_account_or_course_courses.rb +22 -0
  452. data/lib/lms_graphql/resolvers/canvas/get_custom_color.rb +5 -3
  453. data/lib/lms_graphql/resolvers/canvas/get_custom_colors.rb +5 -3
  454. data/lib/lms_graphql/resolvers/canvas/get_dashboard_positions.rb +5 -3
  455. data/lib/lms_graphql/resolvers/canvas/get_department_level_grade_data_completed.rb +5 -3
  456. data/lib/lms_graphql/resolvers/canvas/get_department_level_grade_data_current.rb +5 -3
  457. data/lib/lms_graphql/resolvers/canvas/get_department_level_grade_data_terms.rb +5 -3
  458. data/lib/lms_graphql/resolvers/canvas/get_department_level_participation_data_completed.rb +5 -3
  459. data/lib/lms_graphql/resolvers/canvas/get_department_level_participation_data_current.rb +5 -3
  460. data/lib/lms_graphql/resolvers/canvas/get_department_level_participation_data_terms.rb +5 -3
  461. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_completed.rb +5 -3
  462. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_current.rb +5 -3
  463. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_terms.rb +5 -3
  464. data/lib/lms_graphql/resolvers/canvas/get_effective_due_dates.rb +5 -3
  465. data/lib/lms_graphql/resolvers/canvas/get_feature_flag_accounts.rb +5 -3
  466. data/lib/lms_graphql/resolvers/canvas/get_feature_flag_courses.rb +5 -3
  467. data/lib/lms_graphql/resolvers/canvas/get_feature_flag_users.rb +5 -3
  468. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +5 -3
  469. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +5 -3
  470. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +5 -3
  471. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +5 -3
  472. data/lib/lms_graphql/resolvers/canvas/get_folder_courses.rb +5 -3
  473. data/lib/lms_graphql/resolvers/canvas/get_folder_folders.rb +5 -3
  474. data/lib/lms_graphql/resolvers/canvas/get_folder_groups.rb +5 -3
  475. data/lib/lms_graphql/resolvers/canvas/get_folder_users.rb +5 -3
  476. data/lib/lms_graphql/resolvers/canvas/get_full_topic_courses.rb +5 -3
  477. data/lib/lms_graphql/resolvers/canvas/get_full_topic_groups.rb +5 -3
  478. data/lib/lms_graphql/resolvers/canvas/get_help_links.rb +22 -0
  479. data/lib/lms_graphql/resolvers/canvas/get_history_of_single_submission.rb +5 -3
  480. data/lib/lms_graphql/resolvers/canvas/get_import_details.rb +6 -3
  481. data/lib/lms_graphql/resolvers/canvas/get_kaltura_config.rb +5 -3
  482. data/lib/lms_graphql/resolvers/canvas/get_late_policy.rb +5 -3
  483. data/lib/lms_graphql/resolvers/canvas/get_migration_details.rb +6 -3
  484. data/lib/lms_graphql/resolvers/canvas/get_migration_issue_accounts.rb +5 -3
  485. data/lib/lms_graphql/resolvers/canvas/get_migration_issue_courses.rb +5 -3
  486. data/lib/lms_graphql/resolvers/canvas/get_migration_issue_groups.rb +5 -3
  487. data/lib/lms_graphql/resolvers/canvas/get_migration_issue_users.rb +5 -3
  488. data/lib/lms_graphql/resolvers/canvas/get_module_item_sequence.rb +5 -3
  489. data/lib/lms_graphql/resolvers/canvas/get_next_appointment.rb +6 -3
  490. data/lib/lms_graphql/resolvers/canvas/get_outcome_import_status_accounts.rb +5 -3
  491. data/lib/lms_graphql/resolvers/canvas/get_outcome_import_status_courses.rb +5 -3
  492. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +16 -4
  493. data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +8 -4
  494. data/lib/lms_graphql/resolvers/canvas/get_preference_communication_channel_id.rb +5 -3
  495. data/lib/lms_graphql/resolvers/canvas/get_preference_type.rb +5 -3
  496. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings.rb +22 -0
  497. data/lib/lms_graphql/resolvers/canvas/get_public_inline_preview_url.rb +5 -3
  498. data/lib/lms_graphql/resolvers/canvas/get_quiz_report.rb +5 -3
  499. data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +5 -3
  500. data/lib/lms_graphql/resolvers/canvas/get_quota_information_courses.rb +5 -3
  501. data/lib/lms_graphql/resolvers/canvas/get_quota_information_groups.rb +5 -3
  502. data/lib/lms_graphql/resolvers/canvas/get_quota_information_users.rb +5 -3
  503. data/lib/lms_graphql/resolvers/canvas/get_results_for_single_poll_session.rb +5 -3
  504. data/lib/lms_graphql/resolvers/canvas/get_running_batches.rb +5 -3
  505. data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +5 -3
  506. data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +5 -3
  507. data/lib/lms_graphql/resolvers/canvas/get_sessionless_launch_url_for_external_tool_accounts.rb +5 -3
  508. data/lib/lms_graphql/resolvers/canvas/get_sessionless_launch_url_for_external_tool_courses.rb +5 -3
  509. data/lib/lms_graphql/resolvers/canvas/get_single_account.rb +5 -3
  510. data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +5 -3
  511. data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +5 -3
  512. data/lib/lms_graphql/resolvers/canvas/get_single_assignment_lti.rb +5 -3
  513. data/lib/lms_graphql/resolvers/canvas/get_single_assignment_override.rb +5 -3
  514. data/lib/lms_graphql/resolvers/canvas/get_single_calendar_event_or_assignment.rb +5 -3
  515. data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +5 -3
  516. data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +8 -4
  517. data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +8 -4
  518. data/lib/lms_graphql/resolvers/canvas/get_single_external_tool_accounts.rb +5 -3
  519. data/lib/lms_graphql/resolvers/canvas/get_single_external_tool_courses.rb +5 -3
  520. data/lib/lms_graphql/resolvers/canvas/get_single_grading_period.rb +5 -3
  521. data/lib/lms_graphql/resolvers/canvas/get_single_grading_standard_in_context_accounts.rb +5 -3
  522. data/lib/lms_graphql/resolvers/canvas/get_single_grading_standard_in_context_courses.rb +5 -3
  523. data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +5 -3
  524. data/lib/lms_graphql/resolvers/canvas/get_single_group_category.rb +5 -3
  525. data/lib/lms_graphql/resolvers/canvas/get_single_group_membership_memberships.rb +5 -3
  526. data/lib/lms_graphql/resolvers/canvas/get_single_group_membership_users.rb +5 -3
  527. data/lib/lms_graphql/resolvers/canvas/get_single_poll.rb +5 -3
  528. data/lib/lms_graphql/resolvers/canvas/get_single_poll_choice.rb +5 -3
  529. data/lib/lms_graphql/resolvers/canvas/get_single_poll_submission.rb +5 -3
  530. data/lib/lms_graphql/resolvers/canvas/get_single_quiz.rb +5 -3
  531. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_group.rb +5 -3
  532. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_question.rb +5 -3
  533. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +5 -3
  534. data/lib/lms_graphql/resolvers/canvas/get_single_role.rb +5 -3
  535. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +5 -3
  536. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +5 -3
  537. data/lib/lms_graphql/resolvers/canvas/get_single_submission.rb +5 -3
  538. data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +5 -3
  539. data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +5 -3
  540. data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +5 -3
  541. data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +5 -3
  542. data/lib/lms_graphql/resolvers/canvas/get_single_user.rb +5 -3
  543. data/lib/lms_graphql/resolvers/canvas/get_single_user_lti.rb +5 -3
  544. data/lib/lms_graphql/resolvers/canvas/get_sis_import_error_list_sis_import_errors.rb +9 -4
  545. data/lib/lms_graphql/resolvers/canvas/get_sis_import_error_list_sis_imports.rb +9 -4
  546. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +9 -4
  547. data/lib/lms_graphql/resolvers/canvas/get_sis_import_status.rb +5 -3
  548. data/lib/lms_graphql/resolvers/canvas/get_sub_accounts_of_account.rb +6 -3
  549. data/lib/lms_graphql/resolvers/canvas/get_terms_of_service.rb +22 -0
  550. data/lib/lms_graphql/resolvers/canvas/get_unread_shares_count.rb +22 -0
  551. data/lib/lms_graphql/resolvers/canvas/get_unsynced_changes.rb +6 -3
  552. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_courses.rb +22 -0
  553. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_groups.rb +22 -0
  554. data/lib/lms_graphql/resolvers/canvas/get_user_in_a_course_level_assignment_data.rb +5 -3
  555. data/lib/lms_graphql/resolvers/canvas/get_user_in_a_course_level_messaging_data.rb +5 -3
  556. data/lib/lms_graphql/resolvers/canvas/get_user_in_a_course_level_participation_data.rb +5 -3
  557. data/lib/lms_graphql/resolvers/canvas/get_user_profile.rb +5 -3
  558. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +29 -0
  559. data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +6 -3
  560. data/lib/lms_graphql/resolvers/canvas/group_activity_stream.rb +5 -3
  561. data/lib/lms_graphql/resolvers/canvas/group_activity_stream_summary.rb +5 -3
  562. data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +24 -0
  563. data/lib/lms_graphql/resolvers/canvas/index_of_active_global_notification_for_user.rb +9 -4
  564. data/lib/lms_graphql/resolvers/canvas/index_of_reports.rb +6 -3
  565. data/lib/lms_graphql/resolvers/canvas/list_account_admins.rb +6 -3
  566. data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +6 -3
  567. data/lib/lms_graphql/resolvers/canvas/list_accounts_for_course_admins.rb +6 -3
  568. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +11 -4
  569. data/lib/lms_graphql/resolvers/canvas/list_activity_stream_activity_stream.rb +7 -5
  570. data/lib/lms_graphql/resolvers/canvas/list_activity_stream_self.rb +7 -5
  571. data/lib/lms_graphql/resolvers/canvas/list_all_courses.rb +5 -3
  572. data/lib/lms_graphql/resolvers/canvas/list_all_folders_courses.rb +6 -3
  573. data/lib/lms_graphql/resolvers/canvas/list_all_folders_groups.rb +6 -3
  574. data/lib/lms_graphql/resolvers/canvas/list_all_folders_users.rb +6 -3
  575. data/lib/lms_graphql/resolvers/canvas/list_all_webhook_subscription_for_tool_proxy.rb +5 -3
  576. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +6 -3
  577. data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +5 -3
  578. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +6 -3
  579. data/lib/lms_graphql/resolvers/canvas/list_assignment_overrides.rb +6 -3
  580. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +6 -3
  581. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +6 -3
  582. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +41 -0
  583. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +39 -0
  584. data/lib/lms_graphql/resolvers/canvas/list_assignments_for_user.rb +5 -3
  585. data/lib/lms_graphql/resolvers/canvas/list_authentication_providers.rb +6 -3
  586. data/lib/lms_graphql/resolvers/canvas/list_available_reports.rb +5 -3
  587. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +22 -0
  588. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +6 -6
  589. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +6 -6
  590. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +22 -0
  591. data/lib/lms_graphql/resolvers/canvas/list_avatar_options.rb +6 -3
  592. data/lib/lms_graphql/resolvers/canvas/list_blueprint_imports.rb +6 -3
  593. data/lib/lms_graphql/resolvers/canvas/list_blueprint_migrations.rb +6 -3
  594. data/lib/lms_graphql/resolvers/canvas/list_blueprint_subscriptions.rb +23 -0
  595. data/lib/lms_graphql/resolvers/canvas/list_bookmarks.rb +6 -3
  596. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +6 -3
  597. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +11 -4
  598. data/lib/lms_graphql/resolvers/canvas/list_closed_poll_sessions.rb +5 -3
  599. data/lib/lms_graphql/resolvers/canvas/list_collaborations_courses.rb +6 -3
  600. data/lib/lms_graphql/resolvers/canvas/list_collaborations_groups.rb +6 -3
  601. data/lib/lms_graphql/resolvers/canvas/list_conferences_courses.rb +6 -3
  602. data/lib/lms_graphql/resolvers/canvas/list_conferences_for_current_user.rb +23 -0
  603. data/lib/lms_graphql/resolvers/canvas/list_conferences_groups.rb +6 -3
  604. data/lib/lms_graphql/resolvers/canvas/list_content_exports_courses.rb +6 -3
  605. data/lib/lms_graphql/resolvers/canvas/list_content_exports_groups.rb +6 -3
  606. data/lib/lms_graphql/resolvers/canvas/list_content_exports_users.rb +6 -3
  607. data/lib/lms_graphql/resolvers/canvas/list_content_migrations_accounts.rb +6 -3
  608. data/lib/lms_graphql/resolvers/canvas/list_content_migrations_courses.rb +6 -3
  609. data/lib/lms_graphql/resolvers/canvas/list_content_migrations_groups.rb +6 -3
  610. data/lib/lms_graphql/resolvers/canvas/list_content_migrations_users.rb +6 -3
  611. data/lib/lms_graphql/resolvers/canvas/list_content_shares_received.rb +23 -0
  612. data/lib/lms_graphql/resolvers/canvas/list_content_shares_sent.rb +23 -0
  613. data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +6 -3
  614. data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +5 -3
  615. data/lib/lms_graphql/resolvers/canvas/list_course_memberships.rb +28 -0
  616. data/lib/lms_graphql/resolvers/canvas/list_course_nicknames.rb +6 -3
  617. data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +6 -3
  618. data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -3
  619. data/lib/lms_graphql/resolvers/canvas/list_courses_with_their_latest_epub_export.rb +6 -3
  620. data/lib/lms_graphql/resolvers/canvas/list_custom_gradebook_columns.rb +6 -3
  621. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +6 -3
  622. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +6 -3
  623. data/lib/lms_graphql/resolvers/canvas/list_enabled_features_accounts.rb +5 -3
  624. data/lib/lms_graphql/resolvers/canvas/list_enabled_features_courses.rb +5 -3
  625. data/lib/lms_graphql/resolvers/canvas/list_enabled_features_users.rb +5 -3
  626. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +7 -5
  627. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -4
  628. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -4
  629. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -4
  630. data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +5 -3
  631. data/lib/lms_graphql/resolvers/canvas/list_entries_for_column.rb +6 -3
  632. data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +5 -3
  633. data/lib/lms_graphql/resolvers/canvas/list_entry_replies_courses.rb +5 -3
  634. data/lib/lms_graphql/resolvers/canvas/list_entry_replies_groups.rb +5 -3
  635. data/lib/lms_graphql/resolvers/canvas/list_external_feeds_courses.rb +6 -3
  636. data/lib/lms_graphql/resolvers/canvas/list_external_feeds_groups.rb +6 -3
  637. data/lib/lms_graphql/resolvers/canvas/list_external_tools_accounts.rb +5 -3
  638. data/lib/lms_graphql/resolvers/canvas/list_external_tools_courses.rb +5 -3
  639. data/lib/lms_graphql/resolvers/canvas/list_external_tools_groups.rb +5 -3
  640. data/lib/lms_graphql/resolvers/canvas/list_favorite_courses.rb +6 -3
  641. data/lib/lms_graphql/resolvers/canvas/list_favorite_groups.rb +6 -3
  642. data/lib/lms_graphql/resolvers/canvas/list_features_accounts.rb +6 -3
  643. data/lib/lms_graphql/resolvers/canvas/list_features_courses.rb +6 -3
  644. data/lib/lms_graphql/resolvers/canvas/list_features_users.rb +6 -3
  645. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +8 -3
  646. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +8 -3
  647. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +8 -3
  648. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +8 -3
  649. data/lib/lms_graphql/resolvers/canvas/list_folders.rb +6 -3
  650. data/lib/lms_graphql/resolvers/canvas/list_gradeable_students.rb +8 -5
  651. data/lib/lms_graphql/resolvers/canvas/list_grading_periods_accounts.rb +5 -3
  652. data/lib/lms_graphql/resolvers/canvas/list_grading_periods_courses.rb +5 -3
  653. data/lib/lms_graphql/resolvers/canvas/list_grading_standards_available_in_context_accounts.rb +6 -3
  654. data/lib/lms_graphql/resolvers/canvas/list_grading_standards_available_in_context_courses.rb +6 -3
  655. data/lib/lms_graphql/resolvers/canvas/list_group_categories_for_context_accounts.rb +6 -3
  656. data/lib/lms_graphql/resolvers/canvas/list_group_categories_for_context_courses.rb +6 -3
  657. data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +6 -3
  658. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +9 -4
  659. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +6 -3
  660. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +6 -3
  661. data/lib/lms_graphql/resolvers/canvas/list_groups_in_group_category.rb +6 -3
  662. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_accounts.rb +26 -0
  663. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_courses.rb +26 -0
  664. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_groups.rb +26 -0
  665. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_users.rb +26 -0
  666. data/lib/lms_graphql/resolvers/canvas/list_licenses_courses.rb +6 -3
  667. data/lib/lms_graphql/resolvers/canvas/list_licenses_groups.rb +6 -3
  668. data/lib/lms_graphql/resolvers/canvas/list_licenses_users.rb +6 -3
  669. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +30 -0
  670. data/lib/lms_graphql/resolvers/canvas/list_linked_outcomes_accounts.rb +6 -3
  671. data/lib/lms_graphql/resolvers/canvas/list_linked_outcomes_courses.rb +6 -3
  672. data/lib/lms_graphql/resolvers/canvas/list_linked_outcomes_global.rb +6 -3
  673. data/lib/lms_graphql/resolvers/canvas/list_live_assessment_results.rb +5 -3
  674. data/lib/lms_graphql/resolvers/canvas/list_live_assessments.rb +5 -3
  675. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +29 -0
  676. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +27 -0
  677. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +25 -0
  678. data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +6 -3
  679. data/lib/lms_graphql/resolvers/canvas/list_migration_issues_accounts.rb +6 -3
  680. data/lib/lms_graphql/resolvers/canvas/list_migration_issues_courses.rb +6 -3
  681. data/lib/lms_graphql/resolvers/canvas/list_migration_issues_groups.rb +6 -3
  682. data/lib/lms_graphql/resolvers/canvas/list_migration_issues_users.rb +6 -3
  683. data/lib/lms_graphql/resolvers/canvas/list_migration_systems_accounts.rb +6 -3
  684. data/lib/lms_graphql/resolvers/canvas/list_migration_systems_courses.rb +6 -3
  685. data/lib/lms_graphql/resolvers/canvas/list_migration_systems_groups.rb +6 -3
  686. data/lib/lms_graphql/resolvers/canvas/list_migration_systems_users.rb +6 -3
  687. data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +9 -4
  688. data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +6 -3
  689. data/lib/lms_graphql/resolvers/canvas/list_modules.rb +6 -3
  690. data/lib/lms_graphql/resolvers/canvas/list_multiple_assignments_gradeable_students.rb +5 -3
  691. data/lib/lms_graphql/resolvers/canvas/list_observees.rb +6 -3
  692. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +25 -0
  693. data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +6 -3
  694. data/lib/lms_graphql/resolvers/canvas/list_of_preference_categories.rb +5 -3
  695. data/lib/lms_graphql/resolvers/canvas/list_opened_poll_sessions.rb +5 -3
  696. data/lib/lms_graphql/resolvers/canvas/list_pages_courses.rb +6 -3
  697. data/lib/lms_graphql/resolvers/canvas/list_pages_groups.rb +6 -3
  698. data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +7 -3
  699. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +28 -0
  700. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +30 -0
  701. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +6 -3
  702. data/lib/lms_graphql/resolvers/canvas/list_planner_overrides.rb +6 -3
  703. data/lib/lms_graphql/resolvers/canvas/list_poll_choices_in_poll.rb +5 -3
  704. data/lib/lms_graphql/resolvers/canvas/list_poll_sessions_for_poll.rb +5 -3
  705. data/lib/lms_graphql/resolvers/canvas/list_polls.rb +5 -3
  706. data/lib/lms_graphql/resolvers/canvas/list_potential_members_courses.rb +6 -3
  707. data/lib/lms_graphql/resolvers/canvas/list_potential_members_groups.rb +6 -3
  708. data/lib/lms_graphql/resolvers/canvas/list_preferences_communication_channel_id.rb +6 -3
  709. data/lib/lms_graphql/resolvers/canvas/list_preferences_type.rb +6 -3
  710. data/lib/lms_graphql/resolvers/canvas/list_questions_in_quiz_or_submission.rb +6 -3
  711. data/lib/lms_graphql/resolvers/canvas/list_quizzes_in_course.rb +6 -3
  712. data/lib/lms_graphql/resolvers/canvas/list_recently_logged_in_students.rb +6 -3
  713. data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +6 -3
  714. data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +6 -3
  715. data/lib/lms_graphql/resolvers/canvas/list_roles.rb +6 -3
  716. data/lib/lms_graphql/resolvers/canvas/list_rubrics_accounts.rb +5 -3
  717. data/lib/lms_graphql/resolvers/canvas/list_rubrics_courses.rb +5 -3
  718. data/lib/lms_graphql/resolvers/canvas/list_scopes.rb +6 -3
  719. data/lib/lms_graphql/resolvers/canvas/list_student_group_participants.rb +5 -3
  720. data/lib/lms_graphql/resolvers/canvas/list_students.rb +6 -3
  721. data/lib/lms_graphql/resolvers/canvas/list_students_selected_for_moderation.rb +6 -3
  722. data/lib/lms_graphql/resolvers/canvas/list_subgroups_accounts.rb +6 -3
  723. data/lib/lms_graphql/resolvers/canvas/list_subgroups_courses.rb +6 -3
  724. data/lib/lms_graphql/resolvers/canvas/list_subgroups_global.rb +6 -3
  725. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +5 -3
  726. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +5 -3
  727. data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +5 -3
  728. data/lib/lms_graphql/resolvers/canvas/list_topic_entries_courses.rb +5 -3
  729. data/lib/lms_graphql/resolvers/canvas/list_topic_entries_groups.rb +5 -3
  730. data/lib/lms_graphql/resolvers/canvas/list_uncollated_submission_versions.rb +6 -3
  731. data/lib/lms_graphql/resolvers/canvas/list_upcoming_assignments_calendar_events.rb +5 -3
  732. data/lib/lms_graphql/resolvers/canvas/list_user_communication_channels.rb +6 -3
  733. data/lib/lms_graphql/resolvers/canvas/list_user_logins_accounts.rb +5 -3
  734. data/lib/lms_graphql/resolvers/canvas/list_user_logins_users.rb +5 -3
  735. data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +6 -3
  736. data/lib/lms_graphql/resolvers/canvas/list_user_participants.rb +5 -3
  737. data/lib/lms_graphql/resolvers/canvas/list_users_in_account.rb +8 -3
  738. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +8 -3
  739. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +8 -3
  740. data/lib/lms_graphql/resolvers/canvas/list_users_in_group_category.rb +6 -3
  741. data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +6 -3
  742. data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +6 -3
  743. data/lib/lms_graphql/resolvers/canvas/lists_submissions.rb +6 -3
  744. data/lib/lms_graphql/resolvers/canvas/load_custom_data.rb +5 -3
  745. data/lib/lms_graphql/resolvers/canvas/moderated_grading_show_provisional_grade_status_for_student.rb +26 -0
  746. data/lib/lms_graphql/resolvers/canvas/names_and_role_list_group_memberships.rb +28 -0
  747. data/lib/lms_graphql/resolvers/canvas/open_poll_session.rb +5 -3
  748. data/lib/lms_graphql/resolvers/canvas/permissions.rb +7 -5
  749. data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +5 -3
  750. data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +6 -3
  751. data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +6 -3
  752. data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +5 -3
  753. data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +6 -3
  754. data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +5 -3
  755. data/lib/lms_graphql/resolvers/canvas/query_progress.rb +5 -3
  756. data/lib/lms_graphql/resolvers/canvas/redirect_to_assignment_override_for_group.rb +5 -3
  757. data/lib/lms_graphql/resolvers/canvas/redirect_to_assignment_override_for_section.rb +5 -3
  758. data/lib/lms_graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_accounts.rb +5 -3
  759. data/lib/lms_graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_courses.rb +5 -3
  760. data/lib/lms_graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_global.rb +5 -3
  761. data/lib/lms_graphql/resolvers/canvas/resolve_path_courses.rb +6 -3
  762. data/lib/lms_graphql/resolvers/canvas/resolve_path_courses_full_path.rb +6 -3
  763. data/lib/lms_graphql/resolvers/canvas/resolve_path_groups.rb +6 -3
  764. data/lib/lms_graphql/resolvers/canvas/resolve_path_groups_full_path.rb +6 -3
  765. data/lib/lms_graphql/resolvers/canvas/resolve_path_users.rb +6 -3
  766. data/lib/lms_graphql/resolvers/canvas/resolve_path_users_full_path.rb +6 -3
  767. data/lib/lms_graphql/resolvers/canvas/retrieve_all_quiz_reports.rb +6 -3
  768. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +24 -0
  769. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +24 -0
  770. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_quizzes.rb +5 -3
  771. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +5 -3
  772. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +5 -3
  773. data/lib/lms_graphql/resolvers/canvas/retrieve_captured_events.rb +5 -3
  774. data/lib/lms_graphql/resolvers/canvas/retrieve_enrollment_term.rb +24 -0
  775. data/lib/lms_graphql/resolvers/canvas/retrieve_reported_csp_violations_for_account.rb +22 -0
  776. data/lib/lms_graphql/resolvers/canvas/return_test_student_for_course.rb +22 -0
  777. data/lib/lms_graphql/resolvers/canvas/search_account_domains.rb +5 -3
  778. data/lib/lms_graphql/resolvers/canvas/search_for_content_share_users.rb +25 -0
  779. data/lib/lms_graphql/resolvers/canvas/show_account_auth_settings.rb +5 -3
  780. data/lib/lms_graphql/resolvers/canvas/show_blueprint_import.rb +5 -3
  781. data/lib/lms_graphql/resolvers/canvas/show_blueprint_migration.rb +5 -3
  782. data/lib/lms_graphql/resolvers/canvas/show_collection_of_results.rb +24 -0
  783. data/lib/lms_graphql/resolvers/canvas/show_content_export_courses.rb +5 -3
  784. data/lib/lms_graphql/resolvers/canvas/show_content_export_groups.rb +5 -3
  785. data/lib/lms_graphql/resolvers/canvas/show_content_export_users.rb +5 -3
  786. data/lib/lms_graphql/resolvers/canvas/show_epub_export.rb +5 -3
  787. data/lib/lms_graphql/resolvers/canvas/show_front_page_courses.rb +5 -3
  788. data/lib/lms_graphql/resolvers/canvas/show_front_page_groups.rb +5 -3
  789. data/lib/lms_graphql/resolvers/canvas/show_global_notification.rb +5 -3
  790. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +24 -0
  791. data/lib/lms_graphql/resolvers/canvas/show_module.rb +5 -3
  792. data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +5 -3
  793. data/lib/lms_graphql/resolvers/canvas/show_observee.rb +5 -3
  794. data/lib/lms_graphql/resolvers/canvas/show_observer.rb +24 -0
  795. data/lib/lms_graphql/resolvers/canvas/show_originality_report_files.rb +5 -3
  796. data/lib/lms_graphql/resolvers/canvas/show_originality_report_submissions.rb +5 -3
  797. data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +5 -3
  798. data/lib/lms_graphql/resolvers/canvas/show_outcome_group_accounts.rb +5 -3
  799. data/lib/lms_graphql/resolvers/canvas/show_outcome_group_courses.rb +5 -3
  800. data/lib/lms_graphql/resolvers/canvas/show_outcome_group_global.rb +5 -3
  801. data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +5 -3
  802. data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +5 -3
  803. data/lib/lms_graphql/resolvers/canvas/show_planner_note.rb +22 -0
  804. data/lib/lms_graphql/resolvers/canvas/show_planner_override.rb +5 -3
  805. data/lib/lms_graphql/resolvers/canvas/show_provisional_grade_status_for_student.rb +5 -3
  806. data/lib/lms_graphql/resolvers/canvas/show_result.rb +26 -0
  807. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +5 -3
  808. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +5 -3
  809. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +5 -3
  810. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +5 -3
  811. data/lib/lms_graphql/resolvers/canvas/show_single_webhook_subscription.rb +5 -3
  812. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +8 -4
  813. data/lib/lms_graphql/resolvers/canvas/status_of_report.rb +5 -3
  814. data/lib/lms_graphql/resolvers/canvas/submission_summary_courses.rb +5 -3
  815. data/lib/lms_graphql/resolvers/canvas/submission_summary_sections.rb +5 -3
  816. data/lib/lms_graphql/resolvers/canvas/unread_count.rb +5 -3
  817. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -4
  818. data/lib/lms_graphql/types/canvas/account.rb +1 -9
  819. data/lib/lms_graphql/types/canvas/account_input.rb +1 -9
  820. data/lib/lms_graphql/types/canvas/admin_input.rb +1 -1
  821. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +15 -0
  822. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +15 -0
  823. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +3 -3
  824. data/lib/lms_graphql/types/canvas/assignment.rb +11 -3
  825. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +2 -2
  826. data/lib/lms_graphql/types/canvas/assignment_extension.rb +16 -0
  827. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +16 -0
  828. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +1 -1
  829. data/lib/lms_graphql/types/canvas/assignment_input.rb +20 -12
  830. data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
  831. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +1 -1
  832. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +1 -1
  833. data/lib/lms_graphql/types/canvas/blueprint_subscription.rb +16 -0
  834. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +16 -0
  835. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  836. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +2 -2
  837. data/lib/lms_graphql/types/canvas/calendar_event.rb +1 -0
  838. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +1 -0
  839. data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
  840. data/lib/lms_graphql/types/canvas/change_record_input.rb +1 -1
  841. data/lib/lms_graphql/types/canvas/conference.rb +2 -0
  842. data/lib/lms_graphql/types/canvas/conference_input.rb +3 -1
  843. data/lib/lms_graphql/types/canvas/content_detail_input.rb +1 -1
  844. data/lib/lms_graphql/types/canvas/content_export_input.rb +1 -1
  845. data/lib/lms_graphql/types/canvas/content_share.rb +24 -0
  846. data/lib/lms_graphql/types/canvas/content_share_input.rb +24 -0
  847. data/lib/lms_graphql/types/canvas/conversation_input.rb +1 -1
  848. data/lib/lms_graphql/types/canvas/course.rb +3 -1
  849. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +1 -1
  850. data/lib/lms_graphql/types/canvas/course_event_input.rb +1 -1
  851. data/lib/lms_graphql/types/canvas/course_input.rb +7 -5
  852. data/lib/lms_graphql/types/canvas/developer_key.rb +34 -0
  853. data/lib/lms_graphql/types/canvas/developer_key_input.rb +34 -0
  854. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +2 -2
  855. data/lib/lms_graphql/types/canvas/enrollment.rb +4 -8
  856. data/lib/lms_graphql/types/canvas/enrollment_input.rb +6 -10
  857. data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +14 -0
  858. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +14 -0
  859. data/lib/lms_graphql/types/canvas/epub_export_input.rb +1 -1
  860. data/lib/lms_graphql/types/canvas/feature.rb +1 -1
  861. data/lib/lms_graphql/types/canvas/feature_input.rb +2 -2
  862. data/lib/lms_graphql/types/canvas/grade.rb +2 -0
  863. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +1 -1
  864. data/lib/lms_graphql/types/canvas/grade_input.rb +2 -0
  865. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +1 -1
  866. data/lib/lms_graphql/types/canvas/group_category_input.rb +1 -1
  867. data/lib/lms_graphql/types/canvas/help_link.rb +18 -0
  868. data/lib/lms_graphql/types/canvas/help_link_input.rb +18 -0
  869. data/lib/lms_graphql/types/canvas/line_item.rb +20 -0
  870. data/lib/lms_graphql/types/canvas/line_item_input.rb +20 -0
  871. data/lib/lms_graphql/types/canvas/lti_assignment.rb +2 -0
  872. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +2 -0
  873. data/lib/lms_graphql/types/canvas/media_object.rb +20 -0
  874. data/lib/lms_graphql/types/canvas/media_object_input.rb +20 -0
  875. data/lib/lms_graphql/types/canvas/media_track.rb +22 -0
  876. data/lib/lms_graphql/types/canvas/media_track_input.rb +22 -0
  877. data/lib/lms_graphql/types/canvas/module_input.rb +1 -1
  878. data/lib/lms_graphql/types/canvas/module_item_input.rb +2 -2
  879. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  880. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +3 -3
  881. data/lib/lms_graphql/types/canvas/names_and_role_context.rb +16 -0
  882. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +16 -0
  883. data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +17 -0
  884. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +17 -0
  885. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +18 -0
  886. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +18 -0
  887. data/lib/lms_graphql/types/canvas/originality_report.rb +4 -1
  888. data/lib/lms_graphql/types/canvas/originality_report_input.rb +5 -2
  889. data/lib/lms_graphql/types/canvas/outcome.rb +1 -1
  890. data/lib/lms_graphql/types/canvas/outcome_alignment.rb +7 -4
  891. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +7 -4
  892. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +1 -1
  893. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +2 -2
  894. data/lib/lms_graphql/types/canvas/outcome_input.rb +2 -2
  895. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +2 -2
  896. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +1 -1
  897. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +2 -2
  898. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +1 -1
  899. data/lib/lms_graphql/types/canvas/page_input.rb +2 -2
  900. data/lib/lms_graphql/types/canvas/page_revision_input.rb +1 -1
  901. data/lib/lms_graphql/types/canvas/page_view_input.rb +1 -1
  902. data/lib/lms_graphql/types/canvas/pairing_code.rb +17 -0
  903. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +17 -0
  904. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  905. data/lib/lms_graphql/types/canvas/planner_note_input.rb +1 -1
  906. data/lib/lms_graphql/types/canvas/planner_override.rb +2 -1
  907. data/lib/lms_graphql/types/canvas/planner_override_input.rb +2 -1
  908. data/lib/lms_graphql/types/canvas/poll_session_input.rb +1 -1
  909. data/lib/lms_graphql/types/canvas/proficiency.rb +14 -0
  910. data/lib/lms_graphql/types/canvas/proficiency_input.rb +14 -0
  911. data/lib/lms_graphql/types/canvas/proficiency_rating.rb +17 -0
  912. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +17 -0
  913. data/lib/lms_graphql/types/canvas/profile_input.rb +1 -1
  914. data/lib/lms_graphql/types/canvas/query_type.rb +211 -35
  915. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  916. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +2 -2
  917. data/lib/lms_graphql/types/canvas/quiz_input.rb +3 -3
  918. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +1 -1
  919. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +2 -2
  920. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +3 -3
  921. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +1 -1
  922. data/lib/lms_graphql/types/canvas/report_input.rb +2 -2
  923. data/lib/lms_graphql/types/canvas/result.rb +8 -6
  924. data/lib/lms_graphql/types/canvas/result_input.rb +8 -6
  925. data/lib/lms_graphql/types/canvas/role_input.rb +1 -1
  926. data/lib/lms_graphql/types/canvas/rubric.rb +4 -0
  927. data/lib/lms_graphql/types/canvas/rubric_association.rb +23 -0
  928. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +23 -0
  929. data/lib/lms_graphql/types/canvas/rubric_criterion.rb +19 -0
  930. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +19 -0
  931. data/lib/lms_graphql/types/canvas/rubric_criterium.rb +1 -0
  932. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +2 -1
  933. data/lib/lms_graphql/types/canvas/rubric_input.rb +5 -1
  934. data/lib/lms_graphql/types/canvas/rubric_rating.rb +6 -5
  935. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +6 -5
  936. data/lib/lms_graphql/types/canvas/scope.rb +4 -1
  937. data/lib/lms_graphql/types/canvas/scope_input.rb +4 -1
  938. data/lib/lms_graphql/types/canvas/score.rb +20 -0
  939. data/lib/lms_graphql/types/canvas/score_input.rb +20 -0
  940. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +3 -3
  941. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +3 -3
  942. data/lib/lms_graphql/types/canvas/sis_import.rb +13 -2
  943. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +1 -1
  944. data/lib/lms_graphql/types/canvas/sis_import_error.rb +1 -0
  945. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +1 -0
  946. data/lib/lms_graphql/types/canvas/sis_import_input.rb +16 -5
  947. data/lib/lms_graphql/types/canvas/sis_import_statistic.rb +39 -0
  948. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +39 -0
  949. data/lib/lms_graphql/types/canvas/submission.rb +9 -3
  950. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +1 -1
  951. data/lib/lms_graphql/types/canvas/submission_history_input.rb +1 -1
  952. data/lib/lms_graphql/types/canvas/submission_input.rb +10 -4
  953. data/lib/lms_graphql/types/canvas/terms_of_service.rb +18 -0
  954. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +18 -0
  955. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +1 -1
  956. data/lib/lms_graphql/types/canvas/user_input.rb +1 -1
  957. data/lib/lms_graphql/types/canvas_forward_declarations.rb +411 -11
  958. data/lib/lms_graphql/types/canvas_hacks.rb +15 -0
  959. data/lib/lms_graphql/types/date_time_type.rb +8 -5
  960. data/lib/lms_graphql/version.rb +1 -1
  961. metadata +137 -4
@@ -7,14 +7,16 @@ module LMSGraphQL
7
7
  type Boolean, null: false
8
8
  argument :user_id, ID, required: true
9
9
  argument :course_id, ID, required: true
10
- def resolve(user_id:, course_id:)
11
- context[:canvas_api].call("LIST_ASSIGNMENTS_FOR_USER").proxy(
10
+ def resolve(user_id:, course_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_ASSIGNMENTS_FOR_USER").proxy(
12
12
  "LIST_ASSIGNMENTS_FOR_USER",
13
13
  {
14
14
  "user_id": user_id,
15
15
  "course_id": course_id },
16
16
  nil,
17
- ).parsed_response
17
+ get_all,
18
+ )
19
+ get_all ? result : result.parsed_response
18
20
  end
19
21
  end
20
22
  end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListAuthenticationProvider < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasAuthenticationProvider], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :account_id, ID, required: true
9
- def resolve(account_id:)
10
- context[:canvas_api].call("LIST_AUTHENTICATION_PROVIDERS").proxy(
10
+ def resolve(account_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_AUTHENTICATION_PROVIDERS").proxy(
11
12
  "LIST_AUTHENTICATION_PROVIDERS",
12
13
  {
13
14
  "account_id": account_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -6,13 +6,15 @@ module LMSGraphQL
6
6
  class ListAvailableReport < CanvasBaseResolver
7
7
  type Boolean, null: false
8
8
  argument :account_id, ID, required: true
9
- def resolve(account_id:)
10
- context[:canvas_api].call("LIST_AVAILABLE_REPORTS").proxy(
9
+ def resolve(account_id:, get_all: false)
10
+ result = context[:canvas_api].call("LIST_AVAILABLE_REPORTS").proxy(
11
11
  "LIST_AVAILABLE_REPORTS",
12
12
  {
13
13
  "account_id": account_id },
14
14
  nil,
15
- ).parsed_response
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
16
18
  end
17
19
  end
18
20
  end
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMSGraphQL
4
+ module Resolvers
5
+ module Canvas
6
+ class ListAvailableTabsForCourseOrGroupAccount < CanvasBaseResolver
7
+ type Boolean, null: false
8
+ argument :account_id, ID, required: true
9
+ def resolve(account_id:, get_all: false)
10
+ result = context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_ACCOUNTS").proxy(
11
+ "LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_ACCOUNTS",
12
+ {
13
+ "account_id": account_id },
14
+ nil,
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -6,15 +6,15 @@ module LMSGraphQL
6
6
  class ListAvailableTabsForCourseOrGroupCourse < CanvasBaseResolver
7
7
  type Boolean, null: false
8
8
  argument :course_id, ID, required: true
9
- argument :include, String, required: false
10
- def resolve(course_id:, include: nil)
11
- context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_COURSES").proxy(
9
+ def resolve(course_id:, get_all: false)
10
+ result = context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_COURSES").proxy(
12
11
  "LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_COURSES",
13
12
  {
14
- "course_id": course_id,
15
- "include": include },
13
+ "course_id": course_id },
16
14
  nil,
17
- ).parsed_response
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
18
18
  end
19
19
  end
20
20
  end
@@ -6,15 +6,15 @@ module LMSGraphQL
6
6
  class ListAvailableTabsForCourseOrGroupGroup < CanvasBaseResolver
7
7
  type Boolean, null: false
8
8
  argument :group_id, ID, required: true
9
- argument :include, String, required: false
10
- def resolve(group_id:, include: nil)
11
- context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_GROUPS").proxy(
9
+ def resolve(group_id:, get_all: false)
10
+ result = context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_GROUPS").proxy(
12
11
  "LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_GROUPS",
13
12
  {
14
- "group_id": group_id,
15
- "include": include },
13
+ "group_id": group_id },
16
14
  nil,
17
- ).parsed_response
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
18
18
  end
19
19
  end
20
20
  end
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMSGraphQL
4
+ module Resolvers
5
+ module Canvas
6
+ class ListAvailableTabsForCourseOrGroupUser < CanvasBaseResolver
7
+ type Boolean, null: false
8
+ argument :user_id, ID, required: true
9
+ def resolve(user_id:, get_all: false)
10
+ result = context[:canvas_api].call("LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_USERS").proxy(
11
+ "LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_USERS",
12
+ {
13
+ "user_id": user_id },
14
+ nil,
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListAvatarOption < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasAvatar], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :user_id, ID, required: true
9
- def resolve(user_id:)
10
- context[:canvas_api].call("LIST_AVATAR_OPTIONS").proxy(
10
+ def resolve(user_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_AVATAR_OPTIONS").proxy(
11
12
  "LIST_AVATAR_OPTIONS",
12
13
  {
13
14
  "user_id": user_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -5,16 +5,19 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListBlueprintImport < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasBlueprintMigration], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :course_id, ID, required: true
9
10
  argument :subscription_id, ID, required: true
10
- def resolve(course_id:, subscription_id:)
11
- context[:canvas_api].call("LIST_BLUEPRINT_IMPORTS").proxy(
11
+ def resolve(course_id:, subscription_id:, get_all: false)
12
+ result = context[:canvas_api].call("LIST_BLUEPRINT_IMPORTS").proxy(
12
13
  "LIST_BLUEPRINT_IMPORTS",
13
14
  {
14
15
  "course_id": course_id,
15
16
  "subscription_id": subscription_id },
16
17
  nil,
17
- ).parsed_response
18
+ get_all,
19
+ )
20
+ get_all ? result : result.parsed_response
18
21
  end
19
22
  end
20
23
  end
@@ -5,16 +5,19 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListBlueprintMigration < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasBlueprintMigration], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :course_id, ID, required: true
9
10
  argument :template_id, ID, required: true
10
- def resolve(course_id:, template_id:)
11
- context[:canvas_api].call("LIST_BLUEPRINT_MIGRATIONS").proxy(
11
+ def resolve(course_id:, template_id:, get_all: false)
12
+ result = context[:canvas_api].call("LIST_BLUEPRINT_MIGRATIONS").proxy(
12
13
  "LIST_BLUEPRINT_MIGRATIONS",
13
14
  {
14
15
  "course_id": course_id,
15
16
  "template_id": template_id },
16
17
  nil,
17
- ).parsed_response
18
+ get_all,
19
+ )
20
+ get_all ? result : result.parsed_response
18
21
  end
19
22
  end
20
23
  end
@@ -0,0 +1,23 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/blueprint_subscription"
3
+ module LMSGraphQL
4
+ module Resolvers
5
+ module Canvas
6
+ class ListBlueprintSubscription < CanvasBaseResolver
7
+ type [LMSGraphQL::Types::Canvas::CanvasBlueprintSubscription], null: false
8
+ argument :get_all, Boolean, required: false
9
+ argument :course_id, ID, required: true
10
+ def resolve(course_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_BLUEPRINT_SUBSCRIPTIONS").proxy(
12
+ "LIST_BLUEPRINT_SUBSCRIPTIONS",
13
+ {
14
+ "course_id": course_id },
15
+ nil,
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListBookmark < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasBookmark], null: false
8
+ argument :get_all, Boolean, required: false
8
9
 
9
- def resolve()
10
- context[:canvas_api].call("LIST_BOOKMARKS").proxy(
10
+ def resolve(get_all: false)
11
+ result = context[:canvas_api].call("LIST_BOOKMARKS").proxy(
11
12
  "LIST_BOOKMARKS",
12
13
  {
13
14
  },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -5,6 +5,7 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListCalendarEvent < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasCalendarEvent], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :type, String, required: false
9
10
  argument :start_date, LMSGraphQL::Types::DateTimeType, required: false
10
11
  argument :end_date, LMSGraphQL::Types::DateTimeType, required: false
@@ -12,8 +13,8 @@ module LMSGraphQL
12
13
  argument :all_events, Boolean, required: false
13
14
  argument :context_codes, String, required: false
14
15
  argument :excludes, [String], required: false
15
- def resolve(type: nil, start_date: nil, end_date: nil, undated: nil, all_events: nil, context_codes: nil, excludes: nil)
16
- context[:canvas_api].call("LIST_CALENDAR_EVENTS").proxy(
16
+ def resolve(type: nil, start_date: nil, end_date: nil, undated: nil, all_events: nil, context_codes: nil, excludes: nil, get_all: false)
17
+ result = context[:canvas_api].call("LIST_CALENDAR_EVENTS").proxy(
17
18
  "LIST_CALENDAR_EVENTS",
18
19
  {
19
20
  "type": type,
@@ -24,7 +25,9 @@ module LMSGraphQL
24
25
  "context_codes": context_codes,
25
26
  "excludes": excludes },
26
27
  nil,
27
- ).parsed_response
28
+ get_all,
29
+ )
30
+ get_all ? result : result.parsed_response
28
31
  end
29
32
  end
30
33
  end
@@ -5,6 +5,7 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListCalendarEventsForUser < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasCalendarEvent], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :user_id, ID, required: true
9
10
  argument :type, String, required: false
10
11
  argument :start_date, LMSGraphQL::Types::DateTimeType, required: false
@@ -13,8 +14,10 @@ module LMSGraphQL
13
14
  argument :all_events, Boolean, required: false
14
15
  argument :context_codes, String, required: false
15
16
  argument :excludes, [String], required: false
16
- def resolve(user_id:, type: nil, start_date: nil, end_date: nil, undated: nil, all_events: nil, context_codes: nil, excludes: nil)
17
- context[:canvas_api].call("LIST_CALENDAR_EVENTS_FOR_USER").proxy(
17
+ argument :submission_types, [String], required: false
18
+ argument :exclude_submission_types, [String], required: false
19
+ def resolve(user_id:, type: nil, start_date: nil, end_date: nil, undated: nil, all_events: nil, context_codes: nil, excludes: nil, submission_types: nil, exclude_submission_types: nil, get_all: false)
20
+ result = context[:canvas_api].call("LIST_CALENDAR_EVENTS_FOR_USER").proxy(
18
21
  "LIST_CALENDAR_EVENTS_FOR_USER",
19
22
  {
20
23
  "user_id": user_id,
@@ -24,9 +27,13 @@ module LMSGraphQL
24
27
  "undated": undated,
25
28
  "all_events": all_events,
26
29
  "context_codes": context_codes,
27
- "excludes": excludes },
30
+ "excludes": excludes,
31
+ "submission_types": submission_types,
32
+ "exclude_submission_types": exclude_submission_types },
28
33
  nil,
29
- ).parsed_response
34
+ get_all,
35
+ )
36
+ get_all ? result : result.parsed_response
30
37
  end
31
38
  end
32
39
  end
@@ -6,13 +6,15 @@ module LMSGraphQL
6
6
  class ListClosedPollSession < CanvasBaseResolver
7
7
  type Boolean, null: false
8
8
 
9
- def resolve()
10
- context[:canvas_api].call("LIST_CLOSED_POLL_SESSIONS").proxy(
9
+ def resolve(get_all: false)
10
+ result = context[:canvas_api].call("LIST_CLOSED_POLL_SESSIONS").proxy(
11
11
  "LIST_CLOSED_POLL_SESSIONS",
12
12
  {
13
13
  },
14
14
  nil,
15
- ).parsed_response
15
+ get_all,
16
+ )
17
+ get_all ? result : result.parsed_response
16
18
  end
17
19
  end
18
20
  end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListCollaborationsCourse < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasCollaboration], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :course_id, ID, required: true
9
- def resolve(course_id:)
10
- context[:canvas_api].call("LIST_COLLABORATIONS_COURSES").proxy(
10
+ def resolve(course_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_COLLABORATIONS_COURSES").proxy(
11
12
  "LIST_COLLABORATIONS_COURSES",
12
13
  {
13
14
  "course_id": course_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListCollaborationsGroup < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasCollaboration], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :group_id, ID, required: true
9
- def resolve(group_id:)
10
- context[:canvas_api].call("LIST_COLLABORATIONS_GROUPS").proxy(
10
+ def resolve(group_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_COLLABORATIONS_GROUPS").proxy(
11
12
  "LIST_COLLABORATIONS_GROUPS",
12
13
  {
13
14
  "group_id": group_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListConferencesCourse < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasConference], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :course_id, ID, required: true
9
- def resolve(course_id:)
10
- context[:canvas_api].call("LIST_CONFERENCES_COURSES").proxy(
10
+ def resolve(course_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_CONFERENCES_COURSES").proxy(
11
12
  "LIST_CONFERENCES_COURSES",
12
13
  {
13
14
  "course_id": course_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end
@@ -0,0 +1,23 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/conference"
3
+ module LMSGraphQL
4
+ module Resolvers
5
+ module Canvas
6
+ class ListConferencesForCurrentUser < CanvasBaseResolver
7
+ type [LMSGraphQL::Types::Canvas::CanvasConference], null: false
8
+ argument :get_all, Boolean, required: false
9
+ argument :state, String, required: false
10
+ def resolve(state: nil, get_all: false)
11
+ result = context[:canvas_api].call("LIST_CONFERENCES_FOR_CURRENT_USER").proxy(
12
+ "LIST_CONFERENCES_FOR_CURRENT_USER",
13
+ {
14
+ "state": state },
15
+ nil,
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -5,14 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class ListConferencesGroup < CanvasBaseResolver
7
7
  type [LMSGraphQL::Types::Canvas::CanvasConference], null: false
8
+ argument :get_all, Boolean, required: false
8
9
  argument :group_id, ID, required: true
9
- def resolve(group_id:)
10
- context[:canvas_api].call("LIST_CONFERENCES_GROUPS").proxy(
10
+ def resolve(group_id:, get_all: false)
11
+ result = context[:canvas_api].call("LIST_CONFERENCES_GROUPS").proxy(
11
12
  "LIST_CONFERENCES_GROUPS",
12
13
  {
13
14
  "group_id": group_id },
14
15
  nil,
15
- ).parsed_response
16
+ get_all,
17
+ )
18
+ get_all ? result : result.parsed_response
16
19
  end
17
20
  end
18
21
  end