lms-graphql-api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (919) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +12 -0
  4. data/Rakefile +26 -0
  5. data/lib/lms/canvas.rb +7 -0
  6. data/lib/lms/graphql/canvas_schema.rb +17 -0
  7. data/lib/lms/graphql/mutations/canvas/abort_all_pending_sis_imports.rb +22 -0
  8. data/lib/lms/graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +26 -0
  9. data/lib/lms/graphql/mutations/canvas/abort_sis_import.rb +24 -0
  10. data/lib/lms/graphql/mutations/canvas/accept_course_invitation.rb +24 -0
  11. data/lib/lms/graphql/mutations/canvas/activate_role.rb +28 -0
  12. data/lib/lms/graphql/mutations/canvas/add_authentication_provider.rb +22 -0
  13. data/lib/lms/graphql/mutations/canvas/add_course_to_favorites.rb +22 -0
  14. data/lib/lms/graphql/mutations/canvas/add_group_to_favorites.rb +22 -0
  15. data/lib/lms/graphql/mutations/canvas/add_message.rb +36 -0
  16. data/lib/lms/graphql/mutations/canvas/add_observee.rb +26 -0
  17. data/lib/lms/graphql/mutations/canvas/add_observee_with_credentials.rb +30 -0
  18. data/lib/lms/graphql/mutations/canvas/add_recipients.rb +24 -0
  19. data/lib/lms/graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +24 -0
  20. data/lib/lms/graphql/mutations/canvas/answering_questions.rb +30 -0
  21. data/lib/lms/graphql/mutations/canvas/assign_unassigned_members.rb +24 -0
  22. data/lib/lms/graphql/mutations/canvas/batch_create_overrides_in_course.rb +24 -0
  23. data/lib/lms/graphql/mutations/canvas/batch_update_conversations.rb +24 -0
  24. data/lib/lms/graphql/mutations/canvas/batch_update_overrides_in_course.rb +24 -0
  25. data/lib/lms/graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +30 -0
  26. data/lib/lms/graphql/mutations/canvas/clear_course_nicknames.rb +22 -0
  27. data/lib/lms/graphql/mutations/canvas/close_notification_for_user.rb +24 -0
  28. data/lib/lms/graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +32 -0
  29. data/lib/lms/graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +26 -0
  30. data/lib/lms/graphql/mutations/canvas/copy_course_content.rb +28 -0
  31. data/lib/lms/graphql/mutations/canvas/copy_file.rb +26 -0
  32. data/lib/lms/graphql/mutations/canvas/copy_folder.rb +24 -0
  33. data/lib/lms/graphql/mutations/canvas/copy_provisional_grade.rb +26 -0
  34. data/lib/lms/graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +34 -0
  35. data/lib/lms/graphql/mutations/canvas/courses_preview_processed_html.rb +24 -0
  36. data/lib/lms/graphql/mutations/canvas/courses_upload_file.rb +22 -0
  37. data/lib/lms/graphql/mutations/canvas/create_appointment_group.rb +44 -0
  38. data/lib/lms/graphql/mutations/canvas/create_assignment.rb +82 -0
  39. data/lib/lms/graphql/mutations/canvas/create_assignment_group.rb +34 -0
  40. data/lib/lms/graphql/mutations/canvas/create_assignment_override.rb +38 -0
  41. data/lib/lms/graphql/mutations/canvas/create_bookmark.rb +28 -0
  42. data/lib/lms/graphql/mutations/canvas/create_calendar_event.rb +52 -0
  43. data/lib/lms/graphql/mutations/canvas/create_communication_channel.rb +30 -0
  44. data/lib/lms/graphql/mutations/canvas/create_content_migration_accounts.rb +54 -0
  45. data/lib/lms/graphql/mutations/canvas/create_content_migration_courses.rb +54 -0
  46. data/lib/lms/graphql/mutations/canvas/create_content_migration_groups.rb +54 -0
  47. data/lib/lms/graphql/mutations/canvas/create_content_migration_users.rb +54 -0
  48. data/lib/lms/graphql/mutations/canvas/create_conversation.rb +46 -0
  49. data/lib/lms/graphql/mutations/canvas/create_course_section.rb +36 -0
  50. data/lib/lms/graphql/mutations/canvas/create_custom_gradebook_column.rb +32 -0
  51. data/lib/lms/graphql/mutations/canvas/create_enrollment_term.rb +34 -0
  52. data/lib/lms/graphql/mutations/canvas/create_epub_export.rb +22 -0
  53. data/lib/lms/graphql/mutations/canvas/create_error_report.rb +30 -0
  54. data/lib/lms/graphql/mutations/canvas/create_external_feed_courses.rb +28 -0
  55. data/lib/lms/graphql/mutations/canvas/create_external_feed_groups.rb +28 -0
  56. data/lib/lms/graphql/mutations/canvas/create_external_tool_accounts.rb +144 -0
  57. data/lib/lms/graphql/mutations/canvas/create_external_tool_courses.rb +144 -0
  58. data/lib/lms/graphql/mutations/canvas/create_folder_courses.rb +38 -0
  59. data/lib/lms/graphql/mutations/canvas/create_folder_folders.rb +38 -0
  60. data/lib/lms/graphql/mutations/canvas/create_folder_groups.rb +38 -0
  61. data/lib/lms/graphql/mutations/canvas/create_folder_users.rb +38 -0
  62. data/lib/lms/graphql/mutations/canvas/create_global_notification.rb +34 -0
  63. data/lib/lms/graphql/mutations/canvas/create_group_category_accounts.rb +36 -0
  64. data/lib/lms/graphql/mutations/canvas/create_group_category_courses.rb +36 -0
  65. data/lib/lms/graphql/mutations/canvas/create_group_group_categories.rb +34 -0
  66. data/lib/lms/graphql/mutations/canvas/create_group_groups.rb +32 -0
  67. data/lib/lms/graphql/mutations/canvas/create_jwt.rb +22 -0
  68. data/lib/lms/graphql/mutations/canvas/create_late_policy.rb +36 -0
  69. data/lib/lms/graphql/mutations/canvas/create_link_outcome_accounts.rb +46 -0
  70. data/lib/lms/graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +46 -0
  71. data/lib/lms/graphql/mutations/canvas/create_link_outcome_courses.rb +46 -0
  72. data/lib/lms/graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +46 -0
  73. data/lib/lms/graphql/mutations/canvas/create_link_outcome_global.rb +44 -0
  74. data/lib/lms/graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +44 -0
  75. data/lib/lms/graphql/mutations/canvas/create_live_assessment_results.rb +24 -0
  76. data/lib/lms/graphql/mutations/canvas/create_membership.rb +24 -0
  77. data/lib/lms/graphql/mutations/canvas/create_module.rb +34 -0
  78. data/lib/lms/graphql/mutations/canvas/create_module_item.rb +44 -0
  79. data/lib/lms/graphql/mutations/canvas/create_new_course.rb +80 -0
  80. data/lib/lms/graphql/mutations/canvas/create_new_discussion_topic_courses.rb +60 -0
  81. data/lib/lms/graphql/mutations/canvas/create_new_discussion_topic_groups.rb +60 -0
  82. data/lib/lms/graphql/mutations/canvas/create_new_grading_standard_accounts.rb +28 -0
  83. data/lib/lms/graphql/mutations/canvas/create_new_grading_standard_courses.rb +28 -0
  84. data/lib/lms/graphql/mutations/canvas/create_new_role.rb +38 -0
  85. data/lib/lms/graphql/mutations/canvas/create_new_sub_account.rb +32 -0
  86. data/lib/lms/graphql/mutations/canvas/create_or_find_live_assessment.rb +22 -0
  87. data/lib/lms/graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +34 -0
  88. data/lib/lms/graphql/mutations/canvas/create_originality_report.rb +38 -0
  89. data/lib/lms/graphql/mutations/canvas/create_page_courses.rb +34 -0
  90. data/lib/lms/graphql/mutations/canvas/create_page_groups.rb +34 -0
  91. data/lib/lms/graphql/mutations/canvas/create_planner_note.rb +32 -0
  92. data/lib/lms/graphql/mutations/canvas/create_planner_override.rb +28 -0
  93. data/lib/lms/graphql/mutations/canvas/create_question_group.rb +32 -0
  94. data/lib/lms/graphql/mutations/canvas/create_quiz.rb +68 -0
  95. data/lib/lms/graphql/mutations/canvas/create_quiz_report.rb +30 -0
  96. data/lib/lms/graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +28 -0
  97. data/lib/lms/graphql/mutations/canvas/create_single_poll.rb +24 -0
  98. data/lib/lms/graphql/mutations/canvas/create_single_poll_choice.rb +28 -0
  99. data/lib/lms/graphql/mutations/canvas/create_single_poll_session.rb +28 -0
  100. data/lib/lms/graphql/mutations/canvas/create_single_poll_submission.rb +26 -0
  101. data/lib/lms/graphql/mutations/canvas/create_single_quiz_question.rb +46 -0
  102. data/lib/lms/graphql/mutations/canvas/create_subgroup_accounts.rb +30 -0
  103. data/lib/lms/graphql/mutations/canvas/create_subgroup_courses.rb +30 -0
  104. data/lib/lms/graphql/mutations/canvas/create_subgroup_global.rb +28 -0
  105. data/lib/lms/graphql/mutations/canvas/create_user.rb +66 -0
  106. data/lib/lms/graphql/mutations/canvas/create_user_login.rb +34 -0
  107. data/lib/lms/graphql/mutations/canvas/create_webhook_subscription.rb +32 -0
  108. data/lib/lms/graphql/mutations/canvas/cross_list_section.rb +24 -0
  109. data/lib/lms/graphql/mutations/canvas/de_cross_list_section.rb +22 -0
  110. data/lib/lms/graphql/mutations/canvas/deactivate_role.rb +28 -0
  111. data/lib/lms/graphql/mutations/canvas/delete_appointment_group.rb +24 -0
  112. data/lib/lms/graphql/mutations/canvas/delete_assignment.rb +24 -0
  113. data/lib/lms/graphql/mutations/canvas/delete_assignment_override.rb +26 -0
  114. data/lib/lms/graphql/mutations/canvas/delete_authentication_provider.rb +24 -0
  115. data/lib/lms/graphql/mutations/canvas/delete_bookmark.rb +22 -0
  116. data/lib/lms/graphql/mutations/canvas/delete_calendar_event.rb +24 -0
  117. data/lib/lms/graphql/mutations/canvas/delete_communication_channel_id.rb +24 -0
  118. data/lib/lms/graphql/mutations/canvas/delete_communication_channel_type.rb +26 -0
  119. data/lib/lms/graphql/mutations/canvas/delete_conclude_course.rb +24 -0
  120. data/lib/lms/graphql/mutations/canvas/delete_conversation.rb +22 -0
  121. data/lib/lms/graphql/mutations/canvas/delete_custom_data.rb +24 -0
  122. data/lib/lms/graphql/mutations/canvas/delete_custom_gradebook_column.rb +24 -0
  123. data/lib/lms/graphql/mutations/canvas/delete_enrollment_term.rb +24 -0
  124. data/lib/lms/graphql/mutations/canvas/delete_entry_courses.rb +26 -0
  125. data/lib/lms/graphql/mutations/canvas/delete_entry_groups.rb +26 -0
  126. data/lib/lms/graphql/mutations/canvas/delete_external_feed_courses.rb +24 -0
  127. data/lib/lms/graphql/mutations/canvas/delete_external_feed_groups.rb +24 -0
  128. data/lib/lms/graphql/mutations/canvas/delete_external_tool_accounts.rb +24 -0
  129. data/lib/lms/graphql/mutations/canvas/delete_external_tool_courses.rb +24 -0
  130. data/lib/lms/graphql/mutations/canvas/delete_file.rb +24 -0
  131. data/lib/lms/graphql/mutations/canvas/delete_folder.rb +24 -0
  132. data/lib/lms/graphql/mutations/canvas/delete_grading_period_accounts.rb +24 -0
  133. data/lib/lms/graphql/mutations/canvas/delete_grading_period_courses.rb +24 -0
  134. data/lib/lms/graphql/mutations/canvas/delete_group.rb +22 -0
  135. data/lib/lms/graphql/mutations/canvas/delete_group_category.rb +22 -0
  136. data/lib/lms/graphql/mutations/canvas/delete_message.rb +24 -0
  137. data/lib/lms/graphql/mutations/canvas/delete_module.rb +24 -0
  138. data/lib/lms/graphql/mutations/canvas/delete_module_item.rb +26 -0
  139. data/lib/lms/graphql/mutations/canvas/delete_outcome_group_accounts.rb +24 -0
  140. data/lib/lms/graphql/mutations/canvas/delete_outcome_group_courses.rb +24 -0
  141. data/lib/lms/graphql/mutations/canvas/delete_outcome_group_global.rb +22 -0
  142. data/lib/lms/graphql/mutations/canvas/delete_page_courses.rb +24 -0
  143. data/lib/lms/graphql/mutations/canvas/delete_page_groups.rb +24 -0
  144. data/lib/lms/graphql/mutations/canvas/delete_peer_review_courses.rb +28 -0
  145. data/lib/lms/graphql/mutations/canvas/delete_peer_review_sections.rb +28 -0
  146. data/lib/lms/graphql/mutations/canvas/delete_planner_note.rb +22 -0
  147. data/lib/lms/graphql/mutations/canvas/delete_planner_override.rb +22 -0
  148. data/lib/lms/graphql/mutations/canvas/delete_poll.rb +22 -0
  149. data/lib/lms/graphql/mutations/canvas/delete_poll_choice.rb +24 -0
  150. data/lib/lms/graphql/mutations/canvas/delete_poll_session.rb +24 -0
  151. data/lib/lms/graphql/mutations/canvas/delete_push_notification_endpoint.rb +22 -0
  152. data/lib/lms/graphql/mutations/canvas/delete_question_group.rb +26 -0
  153. data/lib/lms/graphql/mutations/canvas/delete_quiz.rb +24 -0
  154. data/lib/lms/graphql/mutations/canvas/delete_quiz_question.rb +26 -0
  155. data/lib/lms/graphql/mutations/canvas/delete_report.rb +26 -0
  156. data/lib/lms/graphql/mutations/canvas/delete_section.rb +22 -0
  157. data/lib/lms/graphql/mutations/canvas/delete_sub_account.rb +24 -0
  158. data/lib/lms/graphql/mutations/canvas/delete_topic_courses.rb +24 -0
  159. data/lib/lms/graphql/mutations/canvas/delete_topic_groups.rb +24 -0
  160. data/lib/lms/graphql/mutations/canvas/delete_user_from_root_account.rb +24 -0
  161. data/lib/lms/graphql/mutations/canvas/delete_user_login.rb +24 -0
  162. data/lib/lms/graphql/mutations/canvas/delete_webhook_subscription.rb +22 -0
  163. data/lib/lms/graphql/mutations/canvas/destroy_assignment_group.rb +26 -0
  164. data/lib/lms/graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +24 -0
  165. data/lib/lms/graphql/mutations/canvas/duplicate_page.rb +24 -0
  166. data/lib/lms/graphql/mutations/canvas/edit_assignment.rb +82 -0
  167. data/lib/lms/graphql/mutations/canvas/edit_assignment_group.rb +24 -0
  168. data/lib/lms/graphql/mutations/canvas/edit_conversation.rb +34 -0
  169. data/lib/lms/graphql/mutations/canvas/edit_external_tool_accounts.rb +24 -0
  170. data/lib/lms/graphql/mutations/canvas/edit_external_tool_courses.rb +24 -0
  171. data/lib/lms/graphql/mutations/canvas/edit_group.rb +38 -0
  172. data/lib/lms/graphql/mutations/canvas/edit_originality_report_files.rb +36 -0
  173. data/lib/lms/graphql/mutations/canvas/edit_originality_report_submissions.rb +38 -0
  174. data/lib/lms/graphql/mutations/canvas/edit_quiz.rb +26 -0
  175. data/lib/lms/graphql/mutations/canvas/edit_section.rb +34 -0
  176. data/lib/lms/graphql/mutations/canvas/edit_user.rb +38 -0
  177. data/lib/lms/graphql/mutations/canvas/edit_user_login.rb +32 -0
  178. data/lib/lms/graphql/mutations/canvas/enroll_user_courses.rb +44 -0
  179. data/lib/lms/graphql/mutations/canvas/enroll_user_sections.rb +44 -0
  180. data/lib/lms/graphql/mutations/canvas/export_content_courses.rb +28 -0
  181. data/lib/lms/graphql/mutations/canvas/export_content_groups.rb +28 -0
  182. data/lib/lms/graphql/mutations/canvas/export_content_users.rb +28 -0
  183. data/lib/lms/graphql/mutations/canvas/files_upload_file.rb +22 -0
  184. data/lib/lms/graphql/mutations/canvas/flagging_question.rb +30 -0
  185. data/lib/lms/graphql/mutations/canvas/get_pandata_jwt_token_and_its_expiration_date.rb +24 -0
  186. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +42 -0
  187. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +40 -0
  188. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +42 -0
  189. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +40 -0
  190. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +48 -0
  191. data/lib/lms/graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +48 -0
  192. data/lib/lms/graphql/mutations/canvas/groups_preview_processed_html.rb +24 -0
  193. data/lib/lms/graphql/mutations/canvas/groups_upload_file.rb +22 -0
  194. data/lib/lms/graphql/mutations/canvas/hide_all_stream_items.rb +22 -0
  195. data/lib/lms/graphql/mutations/canvas/hide_stream_item.rb +22 -0
  196. data/lib/lms/graphql/mutations/canvas/import_outcome_group_accounts.rb +26 -0
  197. data/lib/lms/graphql/mutations/canvas/import_outcome_group_courses.rb +26 -0
  198. data/lib/lms/graphql/mutations/canvas/import_outcome_group_global.rb +24 -0
  199. data/lib/lms/graphql/mutations/canvas/import_outcomes_accounts.rb +28 -0
  200. data/lib/lms/graphql/mutations/canvas/import_outcomes_courses.rb +28 -0
  201. data/lib/lms/graphql/mutations/canvas/import_sis_data.rb +50 -0
  202. data/lib/lms/graphql/mutations/canvas/invite_others_to_group.rb +24 -0
  203. data/lib/lms/graphql/mutations/canvas/leave_group_memberships.rb +24 -0
  204. data/lib/lms/graphql/mutations/canvas/leave_group_users.rb +24 -0
  205. data/lib/lms/graphql/mutations/canvas/make_account_admin.rb +30 -0
  206. data/lib/lms/graphql/mutations/canvas/mark_all_as_read.rb +22 -0
  207. data/lib/lms/graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +26 -0
  208. data/lib/lms/graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +26 -0
  209. data/lib/lms/graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +26 -0
  210. data/lib/lms/graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +26 -0
  211. data/lib/lms/graphql/mutations/canvas/mark_entry_as_read_courses.rb +28 -0
  212. data/lib/lms/graphql/mutations/canvas/mark_entry_as_read_groups.rb +28 -0
  213. data/lib/lms/graphql/mutations/canvas/mark_entry_as_unread_courses.rb +28 -0
  214. data/lib/lms/graphql/mutations/canvas/mark_entry_as_unread_groups.rb +28 -0
  215. data/lib/lms/graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +26 -0
  216. data/lib/lms/graphql/mutations/canvas/mark_module_item_read.rb +26 -0
  217. data/lib/lms/graphql/mutations/canvas/mark_submission_as_read_courses.rb +26 -0
  218. data/lib/lms/graphql/mutations/canvas/mark_submission_as_read_sections.rb +26 -0
  219. data/lib/lms/graphql/mutations/canvas/mark_submission_as_unread_courses.rb +26 -0
  220. data/lib/lms/graphql/mutations/canvas/mark_submission_as_unread_sections.rb +26 -0
  221. data/lib/lms/graphql/mutations/canvas/mark_topic_as_read_courses.rb +24 -0
  222. data/lib/lms/graphql/mutations/canvas/mark_topic_as_read_groups.rb +24 -0
  223. data/lib/lms/graphql/mutations/canvas/mark_topic_as_unread_courses.rb +24 -0
  224. data/lib/lms/graphql/mutations/canvas/mark_topic_as_unread_groups.rb +24 -0
  225. data/lib/lms/graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +26 -0
  226. data/lib/lms/graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +24 -0
  227. data/lib/lms/graphql/mutations/canvas/mutations.rb +373 -0
  228. data/lib/lms/graphql/mutations/canvas/patch_late_policy.rb +36 -0
  229. data/lib/lms/graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +28 -0
  230. data/lib/lms/graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +28 -0
  231. data/lib/lms/graphql/mutations/canvas/post_entry_courses.rb +28 -0
  232. data/lib/lms/graphql/mutations/canvas/post_entry_groups.rb +28 -0
  233. data/lib/lms/graphql/mutations/canvas/post_reply_courses.rb +30 -0
  234. data/lib/lms/graphql/mutations/canvas/post_reply_groups.rb +30 -0
  235. data/lib/lms/graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +24 -0
  236. data/lib/lms/graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +36 -0
  237. data/lib/lms/graphql/mutations/canvas/quiz_submission_files_upload_file.rb +28 -0
  238. data/lib/lms/graphql/mutations/canvas/rate_entry_courses.rb +28 -0
  239. data/lib/lms/graphql/mutations/canvas/rate_entry_groups.rb +28 -0
  240. data/lib/lms/graphql/mutations/canvas/re_activate_enrollment.rb +24 -0
  241. data/lib/lms/graphql/mutations/canvas/re_lock_module_progressions.rb +24 -0
  242. data/lib/lms/graphql/mutations/canvas/refresh_jwt.rb +22 -0
  243. data/lib/lms/graphql/mutations/canvas/reject_course_invitation.rb +24 -0
  244. data/lib/lms/graphql/mutations/canvas/remove_account_admin.rb +28 -0
  245. data/lib/lms/graphql/mutations/canvas/remove_course_from_favorites.rb +22 -0
  246. data/lib/lms/graphql/mutations/canvas/remove_course_nickname.rb +22 -0
  247. data/lib/lms/graphql/mutations/canvas/remove_feature_flag_accounts.rb +24 -0
  248. data/lib/lms/graphql/mutations/canvas/remove_feature_flag_courses.rb +24 -0
  249. data/lib/lms/graphql/mutations/canvas/remove_feature_flag_users.rb +24 -0
  250. data/lib/lms/graphql/mutations/canvas/remove_group_from_favorites.rb +22 -0
  251. data/lib/lms/graphql/mutations/canvas/remove_observee.rb +26 -0
  252. data/lib/lms/graphql/mutations/canvas/remove_usage_rights_courses.rb +26 -0
  253. data/lib/lms/graphql/mutations/canvas/remove_usage_rights_groups.rb +26 -0
  254. data/lib/lms/graphql/mutations/canvas/remove_usage_rights_users.rb +26 -0
  255. data/lib/lms/graphql/mutations/canvas/reorder_custom_columns.rb +24 -0
  256. data/lib/lms/graphql/mutations/canvas/reorder_pinned_topics_courses.rb +24 -0
  257. data/lib/lms/graphql/mutations/canvas/reorder_pinned_topics_groups.rb +24 -0
  258. data/lib/lms/graphql/mutations/canvas/reorder_question_groups.rb +30 -0
  259. data/lib/lms/graphql/mutations/canvas/reorder_quiz_items.rb +28 -0
  260. data/lib/lms/graphql/mutations/canvas/reserve_time_slot.rb +28 -0
  261. data/lib/lms/graphql/mutations/canvas/reserve_time_slot_participant_id.rb +28 -0
  262. data/lib/lms/graphql/mutations/canvas/reset_course.rb +22 -0
  263. data/lib/lms/graphql/mutations/canvas/reset_course_favorites.rb +22 -0
  264. data/lib/lms/graphql/mutations/canvas/reset_group_favorites.rb +22 -0
  265. data/lib/lms/graphql/mutations/canvas/revert_to_revision_courses.rb +26 -0
  266. data/lib/lms/graphql/mutations/canvas/revert_to_revision_groups.rb +26 -0
  267. data/lib/lms/graphql/mutations/canvas/select_mastery_path.rb +30 -0
  268. data/lib/lms/graphql/mutations/canvas/select_provisional_grade.rb +26 -0
  269. data/lib/lms/graphql/mutations/canvas/select_students_for_moderation.rb +26 -0
  270. data/lib/lms/graphql/mutations/canvas/self_register_user.rb +42 -0
  271. data/lib/lms/graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +26 -0
  272. data/lib/lms/graphql/mutations/canvas/set_course_nickname.rb +24 -0
  273. data/lib/lms/graphql/mutations/canvas/set_course_timetable.rb +32 -0
  274. data/lib/lms/graphql/mutations/canvas/set_feature_flag_accounts.rb +26 -0
  275. data/lib/lms/graphql/mutations/canvas/set_feature_flag_courses.rb +26 -0
  276. data/lib/lms/graphql/mutations/canvas/set_feature_flag_users.rb +26 -0
  277. data/lib/lms/graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +32 -0
  278. data/lib/lms/graphql/mutations/canvas/set_usage_rights_courses.rb +34 -0
  279. data/lib/lms/graphql/mutations/canvas/set_usage_rights_groups.rb +34 -0
  280. data/lib/lms/graphql/mutations/canvas/set_usage_rights_users.rb +34 -0
  281. data/lib/lms/graphql/mutations/canvas/share_brandconfig_theme.rb +26 -0
  282. data/lib/lms/graphql/mutations/canvas/split_merged_users_into_separate_users.rb +22 -0
  283. data/lib/lms/graphql/mutations/canvas/start_kaltura_session.rb +22 -0
  284. data/lib/lms/graphql/mutations/canvas/start_report.rb +30 -0
  285. data/lib/lms/graphql/mutations/canvas/store_custom_data.rb +26 -0
  286. data/lib/lms/graphql/mutations/canvas/submission_comments_upload_file.rb +26 -0
  287. data/lib/lms/graphql/mutations/canvas/submit_assignment_courses.rb +38 -0
  288. data/lib/lms/graphql/mutations/canvas/submit_assignment_sections.rb +38 -0
  289. data/lib/lms/graphql/mutations/canvas/submit_captured_events.rb +28 -0
  290. data/lib/lms/graphql/mutations/canvas/subscribe_to_topic_courses.rb +24 -0
  291. data/lib/lms/graphql/mutations/canvas/subscribe_to_topic_groups.rb +24 -0
  292. data/lib/lms/graphql/mutations/canvas/un_share_brandconfig_theme.rb +22 -0
  293. data/lib/lms/graphql/mutations/canvas/unflagging_question.rb +30 -0
  294. data/lib/lms/graphql/mutations/canvas/unlink_outcome_accounts.rb +26 -0
  295. data/lib/lms/graphql/mutations/canvas/unlink_outcome_courses.rb +26 -0
  296. data/lib/lms/graphql/mutations/canvas/unlink_outcome_global.rb +24 -0
  297. data/lib/lms/graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +24 -0
  298. data/lib/lms/graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +24 -0
  299. data/lib/lms/graphql/mutations/canvas/update_account.rb +52 -0
  300. data/lib/lms/graphql/mutations/canvas/update_account_auth_settings.rb +22 -0
  301. data/lib/lms/graphql/mutations/canvas/update_appointment_group.rb +46 -0
  302. data/lib/lms/graphql/mutations/canvas/update_assignment_override.rb +36 -0
  303. data/lib/lms/graphql/mutations/canvas/update_associated_courses.rb +28 -0
  304. data/lib/lms/graphql/mutations/canvas/update_authentication_provider.rb +24 -0
  305. data/lib/lms/graphql/mutations/canvas/update_bookmark.rb +30 -0
  306. data/lib/lms/graphql/mutations/canvas/update_calendar_event.rb +46 -0
  307. data/lib/lms/graphql/mutations/canvas/update_column_data.rb +28 -0
  308. data/lib/lms/graphql/mutations/canvas/update_content_migration_accounts.rb +24 -0
  309. data/lib/lms/graphql/mutations/canvas/update_content_migration_courses.rb +24 -0
  310. data/lib/lms/graphql/mutations/canvas/update_content_migration_groups.rb +24 -0
  311. data/lib/lms/graphql/mutations/canvas/update_content_migration_users.rb +24 -0
  312. data/lib/lms/graphql/mutations/canvas/update_course.rb +96 -0
  313. data/lib/lms/graphql/mutations/canvas/update_course_settings.rb +44 -0
  314. data/lib/lms/graphql/mutations/canvas/update_courses.rb +26 -0
  315. data/lib/lms/graphql/mutations/canvas/update_create_front_page_courses.rb +32 -0
  316. data/lib/lms/graphql/mutations/canvas/update_create_front_page_groups.rb +32 -0
  317. data/lib/lms/graphql/mutations/canvas/update_create_page_courses.rb +36 -0
  318. data/lib/lms/graphql/mutations/canvas/update_create_page_groups.rb +36 -0
  319. data/lib/lms/graphql/mutations/canvas/update_custom_color.rb +26 -0
  320. data/lib/lms/graphql/mutations/canvas/update_custom_gradebook_column.rb +24 -0
  321. data/lib/lms/graphql/mutations/canvas/update_dashboard_positions.rb +22 -0
  322. data/lib/lms/graphql/mutations/canvas/update_enrollment_term.rb +36 -0
  323. data/lib/lms/graphql/mutations/canvas/update_entry_courses.rb +28 -0
  324. data/lib/lms/graphql/mutations/canvas/update_entry_groups.rb +28 -0
  325. data/lib/lms/graphql/mutations/canvas/update_existing_quiz_question.rb +48 -0
  326. data/lib/lms/graphql/mutations/canvas/update_file.rb +36 -0
  327. data/lib/lms/graphql/mutations/canvas/update_folder.rb +36 -0
  328. data/lib/lms/graphql/mutations/canvas/update_global_notification.rb +36 -0
  329. data/lib/lms/graphql/mutations/canvas/update_group_category.rb +36 -0
  330. data/lib/lms/graphql/mutations/canvas/update_membership_memberships.rb +28 -0
  331. data/lib/lms/graphql/mutations/canvas/update_membership_users.rb +28 -0
  332. data/lib/lms/graphql/mutations/canvas/update_migration_issue_accounts.rb +28 -0
  333. data/lib/lms/graphql/mutations/canvas/update_migration_issue_courses.rb +28 -0
  334. data/lib/lms/graphql/mutations/canvas/update_migration_issue_groups.rb +28 -0
  335. data/lib/lms/graphql/mutations/canvas/update_migration_issue_users.rb +28 -0
  336. data/lib/lms/graphql/mutations/canvas/update_module.rb +38 -0
  337. data/lib/lms/graphql/mutations/canvas/update_module_item.rb +44 -0
  338. data/lib/lms/graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +24 -0
  339. data/lib/lms/graphql/mutations/canvas/update_multiple_preferences_type.rb +26 -0
  340. data/lib/lms/graphql/mutations/canvas/update_outcome.rb +40 -0
  341. data/lib/lms/graphql/mutations/canvas/update_outcome_group_accounts.rb +32 -0
  342. data/lib/lms/graphql/mutations/canvas/update_outcome_group_courses.rb +32 -0
  343. data/lib/lms/graphql/mutations/canvas/update_outcome_group_global.rb +30 -0
  344. data/lib/lms/graphql/mutations/canvas/update_planner_override.rb +26 -0
  345. data/lib/lms/graphql/mutations/canvas/update_plannernote.rb +30 -0
  346. data/lib/lms/graphql/mutations/canvas/update_preference_communication_channel_id.rb +26 -0
  347. data/lib/lms/graphql/mutations/canvas/update_preference_type.rb +28 -0
  348. data/lib/lms/graphql/mutations/canvas/update_preferences_by_category.rb +26 -0
  349. data/lib/lms/graphql/mutations/canvas/update_question_group.rb +32 -0
  350. data/lib/lms/graphql/mutations/canvas/update_role.rb +34 -0
  351. data/lib/lms/graphql/mutations/canvas/update_shared_theme.rb +24 -0
  352. data/lib/lms/graphql/mutations/canvas/update_single_grading_period.rb +30 -0
  353. data/lib/lms/graphql/mutations/canvas/update_single_poll.rb +26 -0
  354. data/lib/lms/graphql/mutations/canvas/update_single_poll_choice.rb +30 -0
  355. data/lib/lms/graphql/mutations/canvas/update_single_poll_session.rb +30 -0
  356. data/lib/lms/graphql/mutations/canvas/update_student_question_scores_and_comments.rb +32 -0
  357. data/lib/lms/graphql/mutations/canvas/update_tab_for_course.rb +28 -0
  358. data/lib/lms/graphql/mutations/canvas/update_topic_courses.rb +60 -0
  359. data/lib/lms/graphql/mutations/canvas/update_topic_groups.rb +60 -0
  360. data/lib/lms/graphql/mutations/canvas/update_webhook_subscription.rb +22 -0
  361. data/lib/lms/graphql/mutations/canvas/upload_file_courses.rb +26 -0
  362. data/lib/lms/graphql/mutations/canvas/upload_file_sections.rb +26 -0
  363. data/lib/lms/graphql/mutations/canvas/users_upload_file.rb +22 -0
  364. data/lib/lms/graphql/mutations/canvas/validate_quiz_access_code.rb +26 -0
  365. data/lib/lms/graphql/mutations/canvas_base_mutation.rb +12 -0
  366. data/lib/lms/graphql/resolvers/canvas/activity_stream_summary.rb +22 -0
  367. data/lib/lms/graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +26 -0
  368. data/lib/lms/graphql/resolvers/canvas/close_opened_poll_session.rb +24 -0
  369. data/lib/lms/graphql/resolvers/canvas/course_activity_stream.rb +22 -0
  370. data/lib/lms/graphql/resolvers/canvas/course_activity_stream_summary.rb +22 -0
  371. data/lib/lms/graphql/resolvers/canvas/course_audit_log_query_by_course.rb +26 -0
  372. data/lib/lms/graphql/resolvers/canvas/course_todo_items.rb +22 -0
  373. data/lib/lms/graphql/resolvers/canvas/days_in_gradebook_history_for_this_course.rb +22 -0
  374. data/lib/lms/graphql/resolvers/canvas/details_for_given_date_in_gradebook_history_for_this_course.rb +24 -0
  375. data/lib/lms/graphql/resolvers/canvas/enrollment_by_id.rb +24 -0
  376. data/lib/lms/graphql/resolvers/canvas/fetching_latest_quiz_statistics.rb +26 -0
  377. data/lib/lms/graphql/resolvers/canvas/find_recipients.rb +22 -0
  378. data/lib/lms/graphql/resolvers/canvas/find_recipients_conversations.rb +34 -0
  379. data/lib/lms/graphql/resolvers/canvas/find_recipients_search.rb +34 -0
  380. data/lib/lms/graphql/resolvers/canvas/get_all_outcome_groups_for_context_accounts.rb +22 -0
  381. data/lib/lms/graphql/resolvers/canvas/get_all_outcome_groups_for_context_courses.rb +22 -0
  382. data/lib/lms/graphql/resolvers/canvas/get_all_outcome_links_for_context_accounts.rb +26 -0
  383. data/lib/lms/graphql/resolvers/canvas/get_all_outcome_links_for_context_courses.rb +26 -0
  384. data/lib/lms/graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +26 -0
  385. data/lib/lms/graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +28 -0
  386. data/lib/lms/graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +26 -0
  387. data/lib/lms/graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +28 -0
  388. data/lib/lms/graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +24 -0
  389. data/lib/lms/graphql/resolvers/canvas/get_all_quiz_submissions.rb +26 -0
  390. data/lib/lms/graphql/resolvers/canvas/get_all_users_in_group_lti.rb +22 -0
  391. data/lib/lms/graphql/resolvers/canvas/get_assignment_group.rb +30 -0
  392. data/lib/lms/graphql/resolvers/canvas/get_associated_course_information.rb +24 -0
  393. data/lib/lms/graphql/resolvers/canvas/get_authentication_provider.rb +24 -0
  394. data/lib/lms/graphql/resolvers/canvas/get_available_quiz_ip_filters.rb +24 -0
  395. data/lib/lms/graphql/resolvers/canvas/get_blueprint_information.rb +24 -0
  396. data/lib/lms/graphql/resolvers/canvas/get_bookmark.rb +22 -0
  397. data/lib/lms/graphql/resolvers/canvas/get_brand_config_variables_that_should_be_used_for_this_domain.rb +22 -0
  398. data/lib/lms/graphql/resolvers/canvas/get_content_migration_accounts.rb +24 -0
  399. data/lib/lms/graphql/resolvers/canvas/get_content_migration_courses.rb +24 -0
  400. data/lib/lms/graphql/resolvers/canvas/get_content_migration_groups.rb +24 -0
  401. data/lib/lms/graphql/resolvers/canvas/get_content_migration_users.rb +24 -0
  402. data/lib/lms/graphql/resolvers/canvas/get_course_copy_status.rb +24 -0
  403. data/lib/lms/graphql/resolvers/canvas/get_course_level_assignment_data.rb +24 -0
  404. data/lib/lms/graphql/resolvers/canvas/get_course_level_participation_data.rb +22 -0
  405. data/lib/lms/graphql/resolvers/canvas/get_course_level_student_summary_data.rb +26 -0
  406. data/lib/lms/graphql/resolvers/canvas/get_course_nickname.rb +22 -0
  407. data/lib/lms/graphql/resolvers/canvas/get_course_settings.rb +22 -0
  408. data/lib/lms/graphql/resolvers/canvas/get_course_timetable.rb +22 -0
  409. data/lib/lms/graphql/resolvers/canvas/get_current_quiz_submission_times.rb +26 -0
  410. data/lib/lms/graphql/resolvers/canvas/get_custom_color.rb +24 -0
  411. data/lib/lms/graphql/resolvers/canvas/get_custom_colors.rb +22 -0
  412. data/lib/lms/graphql/resolvers/canvas/get_dashboard_positions.rb +22 -0
  413. data/lib/lms/graphql/resolvers/canvas/get_department_level_grade_data_completed.rb +22 -0
  414. data/lib/lms/graphql/resolvers/canvas/get_department_level_grade_data_current.rb +22 -0
  415. data/lib/lms/graphql/resolvers/canvas/get_department_level_grade_data_terms.rb +24 -0
  416. data/lib/lms/graphql/resolvers/canvas/get_department_level_participation_data_completed.rb +22 -0
  417. data/lib/lms/graphql/resolvers/canvas/get_department_level_participation_data_current.rb +22 -0
  418. data/lib/lms/graphql/resolvers/canvas/get_department_level_participation_data_terms.rb +24 -0
  419. data/lib/lms/graphql/resolvers/canvas/get_department_level_statistics_completed.rb +22 -0
  420. data/lib/lms/graphql/resolvers/canvas/get_department_level_statistics_current.rb +22 -0
  421. data/lib/lms/graphql/resolvers/canvas/get_department_level_statistics_terms.rb +24 -0
  422. data/lib/lms/graphql/resolvers/canvas/get_effective_due_dates.rb +24 -0
  423. data/lib/lms/graphql/resolvers/canvas/get_feature_flag_accounts.rb +24 -0
  424. data/lib/lms/graphql/resolvers/canvas/get_feature_flag_courses.rb +24 -0
  425. data/lib/lms/graphql/resolvers/canvas/get_feature_flag_users.rb +24 -0
  426. data/lib/lms/graphql/resolvers/canvas/get_file_courses.rb +26 -0
  427. data/lib/lms/graphql/resolvers/canvas/get_file_files.rb +24 -0
  428. data/lib/lms/graphql/resolvers/canvas/get_file_groups.rb +26 -0
  429. data/lib/lms/graphql/resolvers/canvas/get_file_users.rb +26 -0
  430. data/lib/lms/graphql/resolvers/canvas/get_folder_courses.rb +24 -0
  431. data/lib/lms/graphql/resolvers/canvas/get_folder_folders.rb +22 -0
  432. data/lib/lms/graphql/resolvers/canvas/get_folder_groups.rb +24 -0
  433. data/lib/lms/graphql/resolvers/canvas/get_folder_users.rb +24 -0
  434. data/lib/lms/graphql/resolvers/canvas/get_full_topic_courses.rb +24 -0
  435. data/lib/lms/graphql/resolvers/canvas/get_full_topic_groups.rb +24 -0
  436. data/lib/lms/graphql/resolvers/canvas/get_history_of_single_submission.rb +24 -0
  437. data/lib/lms/graphql/resolvers/canvas/get_import_details.rb +26 -0
  438. data/lib/lms/graphql/resolvers/canvas/get_kaltura_config.rb +22 -0
  439. data/lib/lms/graphql/resolvers/canvas/get_late_policy.rb +22 -0
  440. data/lib/lms/graphql/resolvers/canvas/get_migration_details.rb +26 -0
  441. data/lib/lms/graphql/resolvers/canvas/get_migration_issue_accounts.rb +26 -0
  442. data/lib/lms/graphql/resolvers/canvas/get_migration_issue_courses.rb +26 -0
  443. data/lib/lms/graphql/resolvers/canvas/get_migration_issue_groups.rb +26 -0
  444. data/lib/lms/graphql/resolvers/canvas/get_migration_issue_users.rb +26 -0
  445. data/lib/lms/graphql/resolvers/canvas/get_module_item_sequence.rb +26 -0
  446. data/lib/lms/graphql/resolvers/canvas/get_next_appointment.rb +22 -0
  447. data/lib/lms/graphql/resolvers/canvas/get_outcome_import_status_accounts.rb +24 -0
  448. data/lib/lms/graphql/resolvers/canvas/get_outcome_import_status_courses.rb +24 -0
  449. data/lib/lms/graphql/resolvers/canvas/get_outcome_result_rollups.rb +30 -0
  450. data/lib/lms/graphql/resolvers/canvas/get_outcome_results.rb +28 -0
  451. data/lib/lms/graphql/resolvers/canvas/get_preference_communication_channel_id.rb +26 -0
  452. data/lib/lms/graphql/resolvers/canvas/get_preference_type.rb +28 -0
  453. data/lib/lms/graphql/resolvers/canvas/get_public_inline_preview_url.rb +24 -0
  454. data/lib/lms/graphql/resolvers/canvas/get_quiz_report.rb +28 -0
  455. data/lib/lms/graphql/resolvers/canvas/get_quiz_submission.rb +26 -0
  456. data/lib/lms/graphql/resolvers/canvas/get_quota_information_courses.rb +22 -0
  457. data/lib/lms/graphql/resolvers/canvas/get_quota_information_groups.rb +22 -0
  458. data/lib/lms/graphql/resolvers/canvas/get_quota_information_users.rb +22 -0
  459. data/lib/lms/graphql/resolvers/canvas/get_results_for_single_poll_session.rb +24 -0
  460. data/lib/lms/graphql/resolvers/canvas/get_running_batches.rb +22 -0
  461. data/lib/lms/graphql/resolvers/canvas/get_section_information_courses.rb +26 -0
  462. data/lib/lms/graphql/resolvers/canvas/get_section_information_sections.rb +24 -0
  463. data/lib/lms/graphql/resolvers/canvas/get_sessionless_launch_url_for_external_tool_accounts.rb +32 -0
  464. data/lib/lms/graphql/resolvers/canvas/get_sessionless_launch_url_for_external_tool_courses.rb +32 -0
  465. data/lib/lms/graphql/resolvers/canvas/get_single_account.rb +22 -0
  466. data/lib/lms/graphql/resolvers/canvas/get_single_appointment_group.rb +24 -0
  467. data/lib/lms/graphql/resolvers/canvas/get_single_assignment.rb +32 -0
  468. data/lib/lms/graphql/resolvers/canvas/get_single_assignment_lti.rb +24 -0
  469. data/lib/lms/graphql/resolvers/canvas/get_single_assignment_override.rb +26 -0
  470. data/lib/lms/graphql/resolvers/canvas/get_single_calendar_event_or_assignment.rb +22 -0
  471. data/lib/lms/graphql/resolvers/canvas/get_single_conversation.rb +32 -0
  472. data/lib/lms/graphql/resolvers/canvas/get_single_course_accounts.rb +26 -0
  473. data/lib/lms/graphql/resolvers/canvas/get_single_course_courses.rb +24 -0
  474. data/lib/lms/graphql/resolvers/canvas/get_single_external_tool_accounts.rb +24 -0
  475. data/lib/lms/graphql/resolvers/canvas/get_single_external_tool_courses.rb +24 -0
  476. data/lib/lms/graphql/resolvers/canvas/get_single_grading_period.rb +24 -0
  477. data/lib/lms/graphql/resolvers/canvas/get_single_grading_standard_in_context_accounts.rb +24 -0
  478. data/lib/lms/graphql/resolvers/canvas/get_single_grading_standard_in_context_courses.rb +24 -0
  479. data/lib/lms/graphql/resolvers/canvas/get_single_group.rb +24 -0
  480. data/lib/lms/graphql/resolvers/canvas/get_single_group_category.rb +22 -0
  481. data/lib/lms/graphql/resolvers/canvas/get_single_group_membership_memberships.rb +24 -0
  482. data/lib/lms/graphql/resolvers/canvas/get_single_group_membership_users.rb +24 -0
  483. data/lib/lms/graphql/resolvers/canvas/get_single_poll.rb +22 -0
  484. data/lib/lms/graphql/resolvers/canvas/get_single_poll_choice.rb +24 -0
  485. data/lib/lms/graphql/resolvers/canvas/get_single_poll_submission.rb +26 -0
  486. data/lib/lms/graphql/resolvers/canvas/get_single_quiz.rb +24 -0
  487. data/lib/lms/graphql/resolvers/canvas/get_single_quiz_group.rb +26 -0
  488. data/lib/lms/graphql/resolvers/canvas/get_single_quiz_question.rb +26 -0
  489. data/lib/lms/graphql/resolvers/canvas/get_single_quiz_submission.rb +28 -0
  490. data/lib/lms/graphql/resolvers/canvas/get_single_role.rb +28 -0
  491. data/lib/lms/graphql/resolvers/canvas/get_single_rubric_accounts.rb +28 -0
  492. data/lib/lms/graphql/resolvers/canvas/get_single_rubric_courses.rb +28 -0
  493. data/lib/lms/graphql/resolvers/canvas/get_single_submission.rb +24 -0
  494. data/lib/lms/graphql/resolvers/canvas/get_single_submission_courses.rb +28 -0
  495. data/lib/lms/graphql/resolvers/canvas/get_single_submission_sections.rb +28 -0
  496. data/lib/lms/graphql/resolvers/canvas/get_single_topic_courses.rb +26 -0
  497. data/lib/lms/graphql/resolvers/canvas/get_single_topic_groups.rb +26 -0
  498. data/lib/lms/graphql/resolvers/canvas/get_single_user.rb +24 -0
  499. data/lib/lms/graphql/resolvers/canvas/get_single_user_lti.rb +22 -0
  500. data/lib/lms/graphql/resolvers/canvas/get_sis_import_error_list_sis_import_errors.rb +22 -0
  501. data/lib/lms/graphql/resolvers/canvas/get_sis_import_error_list_sis_imports.rb +24 -0
  502. data/lib/lms/graphql/resolvers/canvas/get_sis_import_list.rb +24 -0
  503. data/lib/lms/graphql/resolvers/canvas/get_sis_import_status.rb +24 -0
  504. data/lib/lms/graphql/resolvers/canvas/get_sub_accounts_of_account.rb +24 -0
  505. data/lib/lms/graphql/resolvers/canvas/get_unsynced_changes.rb +24 -0
  506. data/lib/lms/graphql/resolvers/canvas/get_user_in_a_course_level_assignment_data.rb +24 -0
  507. data/lib/lms/graphql/resolvers/canvas/get_user_in_a_course_level_messaging_data.rb +24 -0
  508. data/lib/lms/graphql/resolvers/canvas/get_user_in_a_course_level_participation_data.rb +24 -0
  509. data/lib/lms/graphql/resolvers/canvas/get_user_profile.rb +22 -0
  510. data/lib/lms/graphql/resolvers/canvas/grade_change_log_query_by_course.rb +26 -0
  511. data/lib/lms/graphql/resolvers/canvas/group_activity_stream.rb +22 -0
  512. data/lib/lms/graphql/resolvers/canvas/group_activity_stream_summary.rb +22 -0
  513. data/lib/lms/graphql/resolvers/canvas/index_of_active_global_notification_for_user.rb +22 -0
  514. data/lib/lms/graphql/resolvers/canvas/index_of_reports.rb +24 -0
  515. data/lib/lms/graphql/resolvers/canvas/list_account_admins.rb +24 -0
  516. data/lib/lms/graphql/resolvers/canvas/list_accounts.rb +22 -0
  517. data/lib/lms/graphql/resolvers/canvas/list_accounts_for_course_admins.rb +22 -0
  518. data/lib/lms/graphql/resolvers/canvas/list_active_courses_in_account.rb +54 -0
  519. data/lib/lms/graphql/resolvers/canvas/list_activity_stream_activity_stream.rb +22 -0
  520. data/lib/lms/graphql/resolvers/canvas/list_activity_stream_self.rb +22 -0
  521. data/lib/lms/graphql/resolvers/canvas/list_all_courses.rb +26 -0
  522. data/lib/lms/graphql/resolvers/canvas/list_all_folders_courses.rb +22 -0
  523. data/lib/lms/graphql/resolvers/canvas/list_all_folders_groups.rb +22 -0
  524. data/lib/lms/graphql/resolvers/canvas/list_all_folders_users.rb +22 -0
  525. data/lib/lms/graphql/resolvers/canvas/list_all_webhook_subscription_for_tool_proxy.rb +22 -0
  526. data/lib/lms/graphql/resolvers/canvas/list_announcements.rb +30 -0
  527. data/lib/lms/graphql/resolvers/canvas/list_appointment_groups.rb +28 -0
  528. data/lib/lms/graphql/resolvers/canvas/list_assignment_groups.rb +32 -0
  529. data/lib/lms/graphql/resolvers/canvas/list_assignment_overrides.rb +24 -0
  530. data/lib/lms/graphql/resolvers/canvas/list_assignment_submissions_courses.rb +28 -0
  531. data/lib/lms/graphql/resolvers/canvas/list_assignment_submissions_sections.rb +28 -0
  532. data/lib/lms/graphql/resolvers/canvas/list_assignments.rb +36 -0
  533. data/lib/lms/graphql/resolvers/canvas/list_assignments_for_user.rb +24 -0
  534. data/lib/lms/graphql/resolvers/canvas/list_authentication_providers.rb +22 -0
  535. data/lib/lms/graphql/resolvers/canvas/list_available_reports.rb +22 -0
  536. data/lib/lms/graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +24 -0
  537. data/lib/lms/graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +24 -0
  538. data/lib/lms/graphql/resolvers/canvas/list_avatar_options.rb +22 -0
  539. data/lib/lms/graphql/resolvers/canvas/list_blueprint_imports.rb +24 -0
  540. data/lib/lms/graphql/resolvers/canvas/list_blueprint_migrations.rb +24 -0
  541. data/lib/lms/graphql/resolvers/canvas/list_bookmarks.rb +22 -0
  542. data/lib/lms/graphql/resolvers/canvas/list_calendar_events.rb +34 -0
  543. data/lib/lms/graphql/resolvers/canvas/list_calendar_events_for_user.rb +36 -0
  544. data/lib/lms/graphql/resolvers/canvas/list_closed_poll_sessions.rb +22 -0
  545. data/lib/lms/graphql/resolvers/canvas/list_collaborations_courses.rb +22 -0
  546. data/lib/lms/graphql/resolvers/canvas/list_collaborations_groups.rb +22 -0
  547. data/lib/lms/graphql/resolvers/canvas/list_conferences_courses.rb +22 -0
  548. data/lib/lms/graphql/resolvers/canvas/list_conferences_groups.rb +22 -0
  549. data/lib/lms/graphql/resolvers/canvas/list_content_exports_courses.rb +22 -0
  550. data/lib/lms/graphql/resolvers/canvas/list_content_exports_groups.rb +22 -0
  551. data/lib/lms/graphql/resolvers/canvas/list_content_exports_users.rb +22 -0
  552. data/lib/lms/graphql/resolvers/canvas/list_content_migrations_accounts.rb +22 -0
  553. data/lib/lms/graphql/resolvers/canvas/list_content_migrations_courses.rb +22 -0
  554. data/lib/lms/graphql/resolvers/canvas/list_content_migrations_groups.rb +22 -0
  555. data/lib/lms/graphql/resolvers/canvas/list_content_migrations_users.rb +22 -0
  556. data/lib/lms/graphql/resolvers/canvas/list_conversations.rb +32 -0
  557. data/lib/lms/graphql/resolvers/canvas/list_counts_for_todo_items.rb +22 -0
  558. data/lib/lms/graphql/resolvers/canvas/list_course_nicknames.rb +22 -0
  559. data/lib/lms/graphql/resolvers/canvas/list_course_sections.rb +24 -0
  560. data/lib/lms/graphql/resolvers/canvas/list_courses_for_user.rb +28 -0
  561. data/lib/lms/graphql/resolvers/canvas/list_courses_with_their_latest_epub_export.rb +22 -0
  562. data/lib/lms/graphql/resolvers/canvas/list_custom_gradebook_columns.rb +24 -0
  563. data/lib/lms/graphql/resolvers/canvas/list_discussion_topics_courses.rb +36 -0
  564. data/lib/lms/graphql/resolvers/canvas/list_discussion_topics_groups.rb +36 -0
  565. data/lib/lms/graphql/resolvers/canvas/list_enabled_features_accounts.rb +22 -0
  566. data/lib/lms/graphql/resolvers/canvas/list_enabled_features_courses.rb +22 -0
  567. data/lib/lms/graphql/resolvers/canvas/list_enabled_features_users.rb +22 -0
  568. data/lib/lms/graphql/resolvers/canvas/list_enrollment_terms.rb +26 -0
  569. data/lib/lms/graphql/resolvers/canvas/list_enrollments_courses.rb +44 -0
  570. data/lib/lms/graphql/resolvers/canvas/list_enrollments_sections.rb +44 -0
  571. data/lib/lms/graphql/resolvers/canvas/list_enrollments_users.rb +42 -0
  572. data/lib/lms/graphql/resolvers/canvas/list_entries_courses.rb +26 -0
  573. data/lib/lms/graphql/resolvers/canvas/list_entries_for_column.rb +26 -0
  574. data/lib/lms/graphql/resolvers/canvas/list_entries_groups.rb +26 -0
  575. data/lib/lms/graphql/resolvers/canvas/list_entry_replies_courses.rb +26 -0
  576. data/lib/lms/graphql/resolvers/canvas/list_entry_replies_groups.rb +26 -0
  577. data/lib/lms/graphql/resolvers/canvas/list_external_feeds_courses.rb +22 -0
  578. data/lib/lms/graphql/resolvers/canvas/list_external_feeds_groups.rb +22 -0
  579. data/lib/lms/graphql/resolvers/canvas/list_external_tools_accounts.rb +28 -0
  580. data/lib/lms/graphql/resolvers/canvas/list_external_tools_courses.rb +28 -0
  581. data/lib/lms/graphql/resolvers/canvas/list_external_tools_groups.rb +28 -0
  582. data/lib/lms/graphql/resolvers/canvas/list_favorite_courses.rb +22 -0
  583. data/lib/lms/graphql/resolvers/canvas/list_favorite_groups.rb +22 -0
  584. data/lib/lms/graphql/resolvers/canvas/list_features_accounts.rb +22 -0
  585. data/lib/lms/graphql/resolvers/canvas/list_features_courses.rb +22 -0
  586. data/lib/lms/graphql/resolvers/canvas/list_features_users.rb +22 -0
  587. data/lib/lms/graphql/resolvers/canvas/list_files_courses.rb +34 -0
  588. data/lib/lms/graphql/resolvers/canvas/list_files_folders.rb +34 -0
  589. data/lib/lms/graphql/resolvers/canvas/list_files_groups.rb +34 -0
  590. data/lib/lms/graphql/resolvers/canvas/list_files_users.rb +34 -0
  591. data/lib/lms/graphql/resolvers/canvas/list_folders.rb +22 -0
  592. data/lib/lms/graphql/resolvers/canvas/list_gradeable_students.rb +24 -0
  593. data/lib/lms/graphql/resolvers/canvas/list_grading_periods_accounts.rb +22 -0
  594. data/lib/lms/graphql/resolvers/canvas/list_grading_periods_courses.rb +22 -0
  595. data/lib/lms/graphql/resolvers/canvas/list_grading_standards_available_in_context_accounts.rb +22 -0
  596. data/lib/lms/graphql/resolvers/canvas/list_grading_standards_available_in_context_courses.rb +22 -0
  597. data/lib/lms/graphql/resolvers/canvas/list_group_categories_for_context_accounts.rb +22 -0
  598. data/lib/lms/graphql/resolvers/canvas/list_group_categories_for_context_courses.rb +22 -0
  599. data/lib/lms/graphql/resolvers/canvas/list_group_memberships.rb +24 -0
  600. data/lib/lms/graphql/resolvers/canvas/list_group_s_users.rb +26 -0
  601. data/lib/lms/graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +26 -0
  602. data/lib/lms/graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +26 -0
  603. data/lib/lms/graphql/resolvers/canvas/list_groups_in_group_category.rb +22 -0
  604. data/lib/lms/graphql/resolvers/canvas/list_licenses_courses.rb +22 -0
  605. data/lib/lms/graphql/resolvers/canvas/list_licenses_groups.rb +22 -0
  606. data/lib/lms/graphql/resolvers/canvas/list_licenses_users.rb +22 -0
  607. data/lib/lms/graphql/resolvers/canvas/list_linked_outcomes_accounts.rb +26 -0
  608. data/lib/lms/graphql/resolvers/canvas/list_linked_outcomes_courses.rb +26 -0
  609. data/lib/lms/graphql/resolvers/canvas/list_linked_outcomes_global.rb +24 -0
  610. data/lib/lms/graphql/resolvers/canvas/list_live_assessment_results.rb +26 -0
  611. data/lib/lms/graphql/resolvers/canvas/list_live_assessments.rb +22 -0
  612. data/lib/lms/graphql/resolvers/canvas/list_members_of_collaboration.rb +24 -0
  613. data/lib/lms/graphql/resolvers/canvas/list_migration_issues_accounts.rb +24 -0
  614. data/lib/lms/graphql/resolvers/canvas/list_migration_issues_courses.rb +24 -0
  615. data/lib/lms/graphql/resolvers/canvas/list_migration_issues_groups.rb +24 -0
  616. data/lib/lms/graphql/resolvers/canvas/list_migration_issues_users.rb +24 -0
  617. data/lib/lms/graphql/resolvers/canvas/list_migration_systems_accounts.rb +22 -0
  618. data/lib/lms/graphql/resolvers/canvas/list_migration_systems_courses.rb +22 -0
  619. data/lib/lms/graphql/resolvers/canvas/list_migration_systems_groups.rb +22 -0
  620. data/lib/lms/graphql/resolvers/canvas/list_migration_systems_users.rb +22 -0
  621. data/lib/lms/graphql/resolvers/canvas/list_missing_submissions.rb +24 -0
  622. data/lib/lms/graphql/resolvers/canvas/list_module_items.rb +30 -0
  623. data/lib/lms/graphql/resolvers/canvas/list_modules.rb +28 -0
  624. data/lib/lms/graphql/resolvers/canvas/list_multiple_assignments_gradeable_students.rb +24 -0
  625. data/lib/lms/graphql/resolvers/canvas/list_observees.rb +24 -0
  626. data/lib/lms/graphql/resolvers/canvas/list_of_commmessages_for_user.rb +26 -0
  627. data/lib/lms/graphql/resolvers/canvas/list_of_preference_categories.rb +24 -0
  628. data/lib/lms/graphql/resolvers/canvas/list_opened_poll_sessions.rb +22 -0
  629. data/lib/lms/graphql/resolvers/canvas/list_pages_courses.rb +30 -0
  630. data/lib/lms/graphql/resolvers/canvas/list_pages_groups.rb +30 -0
  631. data/lib/lms/graphql/resolvers/canvas/list_planner_items.rb +26 -0
  632. data/lib/lms/graphql/resolvers/canvas/list_planner_notes.rb +26 -0
  633. data/lib/lms/graphql/resolvers/canvas/list_planner_overrides.rb +22 -0
  634. data/lib/lms/graphql/resolvers/canvas/list_poll_choices_in_poll.rb +22 -0
  635. data/lib/lms/graphql/resolvers/canvas/list_poll_sessions_for_poll.rb +22 -0
  636. data/lib/lms/graphql/resolvers/canvas/list_polls.rb +22 -0
  637. data/lib/lms/graphql/resolvers/canvas/list_potential_members_courses.rb +22 -0
  638. data/lib/lms/graphql/resolvers/canvas/list_potential_members_groups.rb +22 -0
  639. data/lib/lms/graphql/resolvers/canvas/list_preferences_communication_channel_id.rb +24 -0
  640. data/lib/lms/graphql/resolvers/canvas/list_preferences_type.rb +26 -0
  641. data/lib/lms/graphql/resolvers/canvas/list_questions_in_quiz_or_submission.rb +28 -0
  642. data/lib/lms/graphql/resolvers/canvas/list_quizzes_in_course.rb +24 -0
  643. data/lib/lms/graphql/resolvers/canvas/list_recently_logged_in_students.rb +22 -0
  644. data/lib/lms/graphql/resolvers/canvas/list_revisions_courses.rb +24 -0
  645. data/lib/lms/graphql/resolvers/canvas/list_revisions_groups.rb +24 -0
  646. data/lib/lms/graphql/resolvers/canvas/list_roles.rb +26 -0
  647. data/lib/lms/graphql/resolvers/canvas/list_rubrics_accounts.rb +22 -0
  648. data/lib/lms/graphql/resolvers/canvas/list_rubrics_courses.rb +22 -0
  649. data/lib/lms/graphql/resolvers/canvas/list_scopes.rb +24 -0
  650. data/lib/lms/graphql/resolvers/canvas/list_student_group_participants.rb +24 -0
  651. data/lib/lms/graphql/resolvers/canvas/list_students.rb +22 -0
  652. data/lib/lms/graphql/resolvers/canvas/list_students_selected_for_moderation.rb +24 -0
  653. data/lib/lms/graphql/resolvers/canvas/list_subgroups_accounts.rb +24 -0
  654. data/lib/lms/graphql/resolvers/canvas/list_subgroups_courses.rb +24 -0
  655. data/lib/lms/graphql/resolvers/canvas/list_subgroups_global.rb +22 -0
  656. data/lib/lms/graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +48 -0
  657. data/lib/lms/graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +48 -0
  658. data/lib/lms/graphql/resolvers/canvas/list_todo_items.rb +22 -0
  659. data/lib/lms/graphql/resolvers/canvas/list_topic_entries_courses.rb +24 -0
  660. data/lib/lms/graphql/resolvers/canvas/list_topic_entries_groups.rb +24 -0
  661. data/lib/lms/graphql/resolvers/canvas/list_uncollated_submission_versions.rb +28 -0
  662. data/lib/lms/graphql/resolvers/canvas/list_upcoming_assignments_calendar_events.rb +22 -0
  663. data/lib/lms/graphql/resolvers/canvas/list_user_communication_channels.rb +22 -0
  664. data/lib/lms/graphql/resolvers/canvas/list_user_logins_accounts.rb +22 -0
  665. data/lib/lms/graphql/resolvers/canvas/list_user_logins_users.rb +22 -0
  666. data/lib/lms/graphql/resolvers/canvas/list_user_page_views.rb +26 -0
  667. data/lib/lms/graphql/resolvers/canvas/list_user_participants.rb +24 -0
  668. data/lib/lms/graphql/resolvers/canvas/list_users_in_account.rb +28 -0
  669. data/lib/lms/graphql/resolvers/canvas/list_users_in_course_search_users.rb +38 -0
  670. data/lib/lms/graphql/resolvers/canvas/list_users_in_course_users.rb +38 -0
  671. data/lib/lms/graphql/resolvers/canvas/list_users_in_group_category.rb +26 -0
  672. data/lib/lms/graphql/resolvers/canvas/list_your_courses.rb +34 -0
  673. data/lib/lms/graphql/resolvers/canvas/list_your_groups.rb +24 -0
  674. data/lib/lms/graphql/resolvers/canvas/lists_submissions.rb +28 -0
  675. data/lib/lms/graphql/resolvers/canvas/load_custom_data.rb +24 -0
  676. data/lib/lms/graphql/resolvers/canvas/open_poll_session.rb +24 -0
  677. data/lib/lms/graphql/resolvers/canvas/permissions.rb +24 -0
  678. data/lib/lms/graphql/resolvers/canvas/query_by_account.rb +26 -0
  679. data/lib/lms/graphql/resolvers/canvas/query_by_assignment.rb +26 -0
  680. data/lib/lms/graphql/resolvers/canvas/query_by_grader.rb +26 -0
  681. data/lib/lms/graphql/resolvers/canvas/query_by_login.rb +26 -0
  682. data/lib/lms/graphql/resolvers/canvas/query_by_student.rb +26 -0
  683. data/lib/lms/graphql/resolvers/canvas/query_by_user.rb +26 -0
  684. data/lib/lms/graphql/resolvers/canvas/query_progress.rb +22 -0
  685. data/lib/lms/graphql/resolvers/canvas/redirect_to_assignment_override_for_group.rb +24 -0
  686. data/lib/lms/graphql/resolvers/canvas/redirect_to_assignment_override_for_section.rb +24 -0
  687. data/lib/lms/graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_accounts.rb +22 -0
  688. data/lib/lms/graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_courses.rb +22 -0
  689. data/lib/lms/graphql/resolvers/canvas/redirect_to_root_outcome_group_for_context_global.rb +22 -0
  690. data/lib/lms/graphql/resolvers/canvas/resolve_path_courses.rb +22 -0
  691. data/lib/lms/graphql/resolvers/canvas/resolve_path_courses_full_path.rb +22 -0
  692. data/lib/lms/graphql/resolvers/canvas/resolve_path_groups.rb +22 -0
  693. data/lib/lms/graphql/resolvers/canvas/resolve_path_groups_full_path.rb +22 -0
  694. data/lib/lms/graphql/resolvers/canvas/resolve_path_users.rb +22 -0
  695. data/lib/lms/graphql/resolvers/canvas/resolve_path_users_full_path.rb +22 -0
  696. data/lib/lms/graphql/resolvers/canvas/retrieve_all_quiz_reports.rb +26 -0
  697. data/lib/lms/graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_quizzes.rb +24 -0
  698. data/lib/lms/graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +30 -0
  699. data/lib/lms/graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +30 -0
  700. data/lib/lms/graphql/resolvers/canvas/retrieve_captured_events.rb +28 -0
  701. data/lib/lms/graphql/resolvers/canvas/returns_terms_of_service_for_that_account.rb +22 -0
  702. data/lib/lms/graphql/resolvers/canvas/search_account_domains.rb +28 -0
  703. data/lib/lms/graphql/resolvers/canvas/show_account_auth_settings.rb +22 -0
  704. data/lib/lms/graphql/resolvers/canvas/show_blueprint_import.rb +26 -0
  705. data/lib/lms/graphql/resolvers/canvas/show_blueprint_migration.rb +26 -0
  706. data/lib/lms/graphql/resolvers/canvas/show_content_export_courses.rb +24 -0
  707. data/lib/lms/graphql/resolvers/canvas/show_content_export_groups.rb +24 -0
  708. data/lib/lms/graphql/resolvers/canvas/show_content_export_users.rb +24 -0
  709. data/lib/lms/graphql/resolvers/canvas/show_epub_export.rb +24 -0
  710. data/lib/lms/graphql/resolvers/canvas/show_front_page_courses.rb +22 -0
  711. data/lib/lms/graphql/resolvers/canvas/show_front_page_groups.rb +22 -0
  712. data/lib/lms/graphql/resolvers/canvas/show_global_notification.rb +24 -0
  713. data/lib/lms/graphql/resolvers/canvas/show_module.rb +28 -0
  714. data/lib/lms/graphql/resolvers/canvas/show_module_item.rb +30 -0
  715. data/lib/lms/graphql/resolvers/canvas/show_observee.rb +24 -0
  716. data/lib/lms/graphql/resolvers/canvas/show_originality_report_files.rb +24 -0
  717. data/lib/lms/graphql/resolvers/canvas/show_originality_report_submissions.rb +26 -0
  718. data/lib/lms/graphql/resolvers/canvas/show_outcome.rb +22 -0
  719. data/lib/lms/graphql/resolvers/canvas/show_outcome_group_accounts.rb +24 -0
  720. data/lib/lms/graphql/resolvers/canvas/show_outcome_group_courses.rb +24 -0
  721. data/lib/lms/graphql/resolvers/canvas/show_outcome_group_global.rb +22 -0
  722. data/lib/lms/graphql/resolvers/canvas/show_page_courses.rb +24 -0
  723. data/lib/lms/graphql/resolvers/canvas/show_page_groups.rb +24 -0
  724. data/lib/lms/graphql/resolvers/canvas/show_planner_override.rb +22 -0
  725. data/lib/lms/graphql/resolvers/canvas/show_plannernote.rb +22 -0
  726. data/lib/lms/graphql/resolvers/canvas/show_provisional_grade_status_for_student.rb +26 -0
  727. data/lib/lms/graphql/resolvers/canvas/show_revision_courses_latest.rb +26 -0
  728. data/lib/lms/graphql/resolvers/canvas/show_revision_courses_revision_id.rb +28 -0
  729. data/lib/lms/graphql/resolvers/canvas/show_revision_groups_latest.rb +26 -0
  730. data/lib/lms/graphql/resolvers/canvas/show_revision_groups_revision_id.rb +28 -0
  731. data/lib/lms/graphql/resolvers/canvas/show_single_webhook_subscription.rb +22 -0
  732. data/lib/lms/graphql/resolvers/canvas/show_user_details.rb +22 -0
  733. data/lib/lms/graphql/resolvers/canvas/status_of_report.rb +26 -0
  734. data/lib/lms/graphql/resolvers/canvas/submission_summary_courses.rb +26 -0
  735. data/lib/lms/graphql/resolvers/canvas/submission_summary_sections.rb +26 -0
  736. data/lib/lms/graphql/resolvers/canvas/unread_count.rb +22 -0
  737. data/lib/lms/graphql/resolvers/canvas/update_user_settings.rb +26 -0
  738. data/lib/lms/graphql/resolvers/canvas_base_resolver.rb +12 -0
  739. data/lib/lms/graphql/types/canvas/account.rb +29 -0
  740. data/lib/lms/graphql/types/canvas/account_notification.rb +29 -0
  741. data/lib/lms/graphql/types/canvas/admin.rb +19 -0
  742. data/lib/lms/graphql/types/canvas/answer.rb +32 -0
  743. data/lib/lms/graphql/types/canvas/appointment.rb +18 -0
  744. data/lib/lms/graphql/types/canvas/appointment_group.rb +57 -0
  745. data/lib/lms/graphql/types/canvas/assessment.rb +18 -0
  746. data/lib/lms/graphql/types/canvas/assignment.rb +103 -0
  747. data/lib/lms/graphql/types/canvas/assignment_date.rb +21 -0
  748. data/lib/lms/graphql/types/canvas/assignment_event.rb +35 -0
  749. data/lib/lms/graphql/types/canvas/assignment_group.rb +23 -0
  750. data/lib/lms/graphql/types/canvas/assignment_group_attribute.rb +20 -0
  751. data/lib/lms/graphql/types/canvas/assignment_override.rb +26 -0
  752. data/lib/lms/graphql/types/canvas/authentication_event.rb +24 -0
  753. data/lib/lms/graphql/types/canvas/authentication_provider.rb +34 -0
  754. data/lib/lms/graphql/types/canvas/avatar.rb +23 -0
  755. data/lib/lms/graphql/types/canvas/blueprint_migration.rb +25 -0
  756. data/lib/lms/graphql/types/canvas/blueprint_restriction.rb +19 -0
  757. data/lib/lms/graphql/types/canvas/blueprint_template.rb +20 -0
  758. data/lib/lms/graphql/types/canvas/bookmark.rb +20 -0
  759. data/lib/lms/graphql/types/canvas/calendar_event.rb +46 -0
  760. data/lib/lms/graphql/types/canvas/calendar_link.rb +16 -0
  761. data/lib/lms/graphql/types/canvas/change_record.rb +22 -0
  762. data/lib/lms/graphql/types/canvas/collaboration.rb +29 -0
  763. data/lib/lms/graphql/types/canvas/collaborator.rb +22 -0
  764. data/lib/lms/graphql/types/canvas/column_datum.rb +17 -0
  765. data/lib/lms/graphql/types/canvas/comm_message.rb +36 -0
  766. data/lib/lms/graphql/types/canvas/communication_channel.rb +32 -0
  767. data/lib/lms/graphql/types/canvas/completion_requirement.rb +24 -0
  768. data/lib/lms/graphql/types/canvas/conference.rb +30 -0
  769. data/lib/lms/graphql/types/canvas/conference_recording.rb +20 -0
  770. data/lib/lms/graphql/types/canvas/content_detail.rb +22 -0
  771. data/lib/lms/graphql/types/canvas/content_export.rb +33 -0
  772. data/lib/lms/graphql/types/canvas/content_migration.rb +34 -0
  773. data/lib/lms/graphql/types/canvas/conversation.rb +31 -0
  774. data/lib/lms/graphql/types/canvas/conversation_participant.rb +19 -0
  775. data/lib/lms/graphql/types/canvas/course.rb +78 -0
  776. data/lib/lms/graphql/types/canvas/course_attribute.rb +19 -0
  777. data/lib/lms/graphql/types/canvas/course_epub_export.rb +18 -0
  778. data/lib/lms/graphql/types/canvas/course_event.rb +21 -0
  779. data/lib/lms/graphql/types/canvas/course_event_link.rb +21 -0
  780. data/lib/lms/graphql/types/canvas/course_nickname.rb +18 -0
  781. data/lib/lms/graphql/types/canvas/course_progress.rb +19 -0
  782. data/lib/lms/graphql/types/canvas/course_quiz_extension.rb +20 -0
  783. data/lib/lms/graphql/types/canvas/created_event_datum.rb +20 -0
  784. data/lib/lms/graphql/types/canvas/custom_column.rb +21 -0
  785. data/lib/lms/graphql/types/canvas/day.rb +17 -0
  786. data/lib/lms/graphql/types/canvas/discussion_topic.rb +66 -0
  787. data/lib/lms/graphql/types/canvas/enrollment.rb +64 -0
  788. data/lib/lms/graphql/types/canvas/enrollment_term.rb +23 -0
  789. data/lib/lms/graphql/types/canvas/epub_export.rb +29 -0
  790. data/lib/lms/graphql/types/canvas/error_report.rb +22 -0
  791. data/lib/lms/graphql/types/canvas/exception_record.rb +17 -0
  792. data/lib/lms/graphql/types/canvas/external_feed.rb +26 -0
  793. data/lib/lms/graphql/types/canvas/external_tool_tag_attribute.rb +18 -0
  794. data/lib/lms/graphql/types/canvas/favorite.rb +20 -0
  795. data/lib/lms/graphql/types/canvas/feature.rb +35 -0
  796. data/lib/lms/graphql/types/canvas/feature_flag.rb +31 -0
  797. data/lib/lms/graphql/types/canvas/federated_attribute_config.rb +17 -0
  798. data/lib/lms/graphql/types/canvas/federated_attributes_config.rb +26 -0
  799. data/lib/lms/graphql/types/canvas/file.rb +22 -0
  800. data/lib/lms/graphql/types/canvas/file_attachment.rb +19 -0
  801. data/lib/lms/graphql/types/canvas/folder.rb +35 -0
  802. data/lib/lms/graphql/types/canvas/grade.rb +24 -0
  803. data/lib/lms/graphql/types/canvas/grade_change_event.rb +26 -0
  804. data/lib/lms/graphql/types/canvas/grade_change_event_link.rb +20 -0
  805. data/lib/lms/graphql/types/canvas/grader.rb +18 -0
  806. data/lib/lms/graphql/types/canvas/grading_period.rb +22 -0
  807. data/lib/lms/graphql/types/canvas/grading_rule.rb +18 -0
  808. data/lib/lms/graphql/types/canvas/grading_scheme_entry.rb +17 -0
  809. data/lib/lms/graphql/types/canvas/grading_standard.rb +20 -0
  810. data/lib/lms/graphql/types/canvas/group.rb +42 -0
  811. data/lib/lms/graphql/types/canvas/group_category.rb +35 -0
  812. data/lib/lms/graphql/types/canvas/group_membership.rb +27 -0
  813. data/lib/lms/graphql/types/canvas/jsonapi_pagination.rb +15 -0
  814. data/lib/lms/graphql/types/canvas/jwt.rb +16 -0
  815. data/lib/lms/graphql/types/canvas/late_policy.rb +26 -0
  816. data/lib/lms/graphql/types/canvas/license.rb +18 -0
  817. data/lib/lms/graphql/types/canvas/lock_info.rb +20 -0
  818. data/lib/lms/graphql/types/canvas/lti_assignment.rb +21 -0
  819. data/lib/lms/graphql/types/canvas/media_comment.rb +20 -0
  820. data/lib/lms/graphql/types/canvas/migration_issue.rb +35 -0
  821. data/lib/lms/graphql/types/canvas/migrator.rb +19 -0
  822. data/lib/lms/graphql/types/canvas/module.rb +40 -0
  823. data/lib/lms/graphql/types/canvas/module_item.rb +41 -0
  824. data/lib/lms/graphql/types/canvas/module_item_sequence.rb +18 -0
  825. data/lib/lms/graphql/types/canvas/module_item_sequence_node.rb +21 -0
  826. data/lib/lms/graphql/types/canvas/needs_grading_count.rb +17 -0
  827. data/lib/lms/graphql/types/canvas/notification_preference.rb +25 -0
  828. data/lib/lms/graphql/types/canvas/originality_report.rb +21 -0
  829. data/lib/lms/graphql/types/canvas/outcome.rb +38 -0
  830. data/lib/lms/graphql/types/canvas/outcome_alignment.rb +18 -0
  831. data/lib/lms/graphql/types/canvas/outcome_group.rb +27 -0
  832. data/lib/lms/graphql/types/canvas/outcome_import.rb +35 -0
  833. data/lib/lms/graphql/types/canvas/outcome_import_datum.rb +16 -0
  834. data/lib/lms/graphql/types/canvas/outcome_link.rb +23 -0
  835. data/lib/lms/graphql/types/canvas/outcome_path.rb +17 -0
  836. data/lib/lms/graphql/types/canvas/outcome_path_part.rb +16 -0
  837. data/lib/lms/graphql/types/canvas/outcome_result.rb +20 -0
  838. data/lib/lms/graphql/types/canvas/outcome_rollup.rb +19 -0
  839. data/lib/lms/graphql/types/canvas/outcome_rollup_link.rb +18 -0
  840. data/lib/lms/graphql/types/canvas/outcome_rollup_score.rb +18 -0
  841. data/lib/lms/graphql/types/canvas/outcome_rollup_score_link.rb +16 -0
  842. data/lib/lms/graphql/types/canvas/page.rb +29 -0
  843. data/lib/lms/graphql/types/canvas/page_revision.rb +22 -0
  844. data/lib/lms/graphql/types/canvas/page_view.rb +32 -0
  845. data/lib/lms/graphql/types/canvas/page_view_link.rb +20 -0
  846. data/lib/lms/graphql/types/canvas/peer_review.rb +24 -0
  847. data/lib/lms/graphql/types/canvas/planner_note.rb +26 -0
  848. data/lib/lms/graphql/types/canvas/planner_override.rb +25 -0
  849. data/lib/lms/graphql/types/canvas/poll.rb +21 -0
  850. data/lib/lms/graphql/types/canvas/poll_choice.rb +20 -0
  851. data/lib/lms/graphql/types/canvas/poll_session.rb +24 -0
  852. data/lib/lms/graphql/types/canvas/poll_submission.rb +19 -0
  853. data/lib/lms/graphql/types/canvas/profile.rb +29 -0
  854. data/lib/lms/graphql/types/canvas/progress.rb +33 -0
  855. data/lib/lms/graphql/types/canvas/provisional_grade.rb +22 -0
  856. data/lib/lms/graphql/types/canvas/query_type.rb +1506 -0
  857. data/lib/lms/graphql/types/canvas/quiz.rb +72 -0
  858. data/lib/lms/graphql/types/canvas/quiz_assignment_override.rb +21 -0
  859. data/lib/lms/graphql/types/canvas/quiz_assignment_override_set.rb +19 -0
  860. data/lib/lms/graphql/types/canvas/quiz_assignment_override_set_container.rb +16 -0
  861. data/lib/lms/graphql/types/canvas/quiz_extension.rb +21 -0
  862. data/lib/lms/graphql/types/canvas/quiz_group.rb +22 -0
  863. data/lib/lms/graphql/types/canvas/quiz_ip_filter.rb +18 -0
  864. data/lib/lms/graphql/types/canvas/quiz_permission.rb +22 -0
  865. data/lib/lms/graphql/types/canvas/quiz_question.rb +26 -0
  866. data/lib/lms/graphql/types/canvas/quiz_report.rb +33 -0
  867. data/lib/lms/graphql/types/canvas/quiz_statistic.rb +29 -0
  868. data/lib/lms/graphql/types/canvas/quiz_statistics_answer_point_biserial.rb +19 -0
  869. data/lib/lms/graphql/types/canvas/quiz_statistics_answer_statistic.rb +19 -0
  870. data/lib/lms/graphql/types/canvas/quiz_statistics_link.rb +16 -0
  871. data/lib/lms/graphql/types/canvas/quiz_statistics_question_statistic.rb +17 -0
  872. data/lib/lms/graphql/types/canvas/quiz_statistics_submission_statistic.rb +24 -0
  873. data/lib/lms/graphql/types/canvas/quiz_submission.rb +34 -0
  874. data/lib/lms/graphql/types/canvas/quiz_submission_event.rb +18 -0
  875. data/lib/lms/graphql/types/canvas/quiz_submission_question.rb +19 -0
  876. data/lib/lms/graphql/types/canvas/quiz_submission_user_list.rb +15 -0
  877. data/lib/lms/graphql/types/canvas/quiz_submission_user_list_metum.rb +15 -0
  878. data/lib/lms/graphql/types/canvas/report.rb +27 -0
  879. data/lib/lms/graphql/types/canvas/report_parameter.rb +38 -0
  880. data/lib/lms/graphql/types/canvas/result.rb +19 -0
  881. data/lib/lms/graphql/types/canvas/result_link.rb +18 -0
  882. data/lib/lms/graphql/types/canvas/role.rb +21 -0
  883. data/lib/lms/graphql/types/canvas/role_permission.rb +22 -0
  884. data/lib/lms/graphql/types/canvas/rubric.rb +25 -0
  885. data/lib/lms/graphql/types/canvas/rubric_assessment.rb +26 -0
  886. data/lib/lms/graphql/types/canvas/rubric_criterium.rb +23 -0
  887. data/lib/lms/graphql/types/canvas/rubric_rating.rb +19 -0
  888. data/lib/lms/graphql/types/canvas/scope.rb +18 -0
  889. data/lib/lms/graphql/types/canvas/section.rb +27 -0
  890. data/lib/lms/graphql/types/canvas/section_assignment_override_attribute.rb +19 -0
  891. data/lib/lms/graphql/types/canvas/section_attribute.rb +24 -0
  892. data/lib/lms/graphql/types/canvas/shared_brand_config.rb +21 -0
  893. data/lib/lms/graphql/types/canvas/sis_assignment.rb +44 -0
  894. data/lib/lms/graphql/types/canvas/sis_import.rb +55 -0
  895. data/lib/lms/graphql/types/canvas/sis_import_count.rb +31 -0
  896. data/lib/lms/graphql/types/canvas/sis_import_datum.rb +18 -0
  897. data/lib/lms/graphql/types/canvas/sis_import_error.rb +19 -0
  898. data/lib/lms/graphql/types/canvas/sso_setting.rb +19 -0
  899. data/lib/lms/graphql/types/canvas/student_attribute.rb +17 -0
  900. data/lib/lms/graphql/types/canvas/submission.rb +54 -0
  901. data/lib/lms/graphql/types/canvas/submission_comment.rb +23 -0
  902. data/lib/lms/graphql/types/canvas/submission_history.rb +17 -0
  903. data/lib/lms/graphql/types/canvas/submission_version.rb +38 -0
  904. data/lib/lms/graphql/types/canvas/tab.rb +22 -0
  905. data/lib/lms/graphql/types/canvas/term.rb +19 -0
  906. data/lib/lms/graphql/types/canvas/tool_setting.rb +17 -0
  907. data/lib/lms/graphql/types/canvas/turnitin_setting.rb +23 -0
  908. data/lib/lms/graphql/types/canvas/updated_event_datum.rb +19 -0
  909. data/lib/lms/graphql/types/canvas/usage_right.rb +21 -0
  910. data/lib/lms/graphql/types/canvas/user.rb +30 -0
  911. data/lib/lms/graphql/types/canvas/user_assignment_override_attribute.rb +21 -0
  912. data/lib/lms/graphql/types/canvas/user_display.rb +19 -0
  913. data/lib/lms/graphql/types/canvas_base_type.rb +12 -0
  914. data/lib/lms/graphql/types/canvas_forward_declarations.rb +16 -0
  915. data/lib/lms/graphql/types/date_time_type.rb +23 -0
  916. data/lib/lms/utils.rb +6 -0
  917. data/lib/lms/version.rb +3 -0
  918. data/lib/lms_graphql_api.rb +4 -0
  919. metadata +1032 -0
@@ -0,0 +1,38 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/user"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListUsersInCourseSearchUser < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::User], null: false
9
+ argument :course_id, ID, required: true
10
+ argument :search_term, String, required: false
11
+ argument :enrollment_type, String, required: false
12
+ argument :enrollment_role, String, required: false
13
+ argument :enrollment_role_id, ID, required: false
14
+ argument :include, String, required: false
15
+ argument :user_id, ID, required: false
16
+ argument :user_ids, [ID], required: false
17
+ argument :enrollment_state, String, required: false
18
+ def resolve(course_id:, search_term: nil, enrollment_type: nil, enrollment_role: nil, enrollment_role_id: nil, include: nil, user_id: nil, user_ids: nil, enrollment_state: nil)
19
+ context[:canvas_api].proxy(
20
+ "LIST_USERS_IN_COURSE_SEARCH_USERS",
21
+ {
22
+ "course_id": course_id,
23
+ "search_term": search_term,
24
+ "enrollment_type": enrollment_type,
25
+ "enrollment_role": enrollment_role,
26
+ "enrollment_role_id": enrollment_role_id,
27
+ "include": include,
28
+ "user_id": user_id,
29
+ "user_ids": user_ids,
30
+ "enrollment_state": enrollment_state },
31
+ nil,
32
+ ).parsed_response
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,38 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/user"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListUsersInCourseUser < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::User], null: false
9
+ argument :course_id, ID, required: true
10
+ argument :search_term, String, required: false
11
+ argument :enrollment_type, String, required: false
12
+ argument :enrollment_role, String, required: false
13
+ argument :enrollment_role_id, ID, required: false
14
+ argument :include, String, required: false
15
+ argument :user_id, ID, required: false
16
+ argument :user_ids, [ID], required: false
17
+ argument :enrollment_state, String, required: false
18
+ def resolve(course_id:, search_term: nil, enrollment_type: nil, enrollment_role: nil, enrollment_role_id: nil, include: nil, user_id: nil, user_ids: nil, enrollment_state: nil)
19
+ context[:canvas_api].proxy(
20
+ "LIST_USERS_IN_COURSE_USERS",
21
+ {
22
+ "course_id": course_id,
23
+ "search_term": search_term,
24
+ "enrollment_type": enrollment_type,
25
+ "enrollment_role": enrollment_role,
26
+ "enrollment_role_id": enrollment_role_id,
27
+ "include": include,
28
+ "user_id": user_id,
29
+ "user_ids": user_ids,
30
+ "enrollment_state": enrollment_state },
31
+ nil,
32
+ ).parsed_response
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/user"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListUsersInGroupCategory < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::User], null: false
9
+ argument :group_category_id, ID, required: true
10
+ argument :search_term, String, required: false
11
+ argument :unassigned, Boolean, required: false
12
+ def resolve(group_category_id:, search_term: nil, unassigned: nil)
13
+ context[:canvas_api].proxy(
14
+ "LIST_USERS_IN_GROUP_CATEGORY",
15
+ {
16
+ "group_category_id": group_category_id,
17
+ "search_term": search_term,
18
+ "unassigned": unassigned },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,34 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/course"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListYourCourse < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::Course], null: false
9
+ argument :enrollment_type, String, required: false
10
+ argument :enrollment_role, String, required: false
11
+ argument :enrollment_role_id, ID, required: false
12
+ argument :enrollment_state, String, required: false
13
+ argument :exclude_blueprint_courses, Boolean, required: false
14
+ argument :include, String, required: false
15
+ argument :state, String, required: false
16
+ def resolve(enrollment_type: nil, enrollment_role: nil, enrollment_role_id: nil, enrollment_state: nil, exclude_blueprint_courses: nil, include: nil, state: nil)
17
+ context[:canvas_api].proxy(
18
+ "LIST_YOUR_COURSES",
19
+ {
20
+ "enrollment_type": enrollment_type,
21
+ "enrollment_role": enrollment_role,
22
+ "enrollment_role_id": enrollment_role_id,
23
+ "enrollment_state": enrollment_state,
24
+ "exclude_blueprint_courses": exclude_blueprint_courses,
25
+ "include": include,
26
+ "state": state },
27
+ nil,
28
+ ).parsed_response
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/group"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListYourGroup < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::Group], null: false
9
+ argument :context_type, String, required: false
10
+ argument :include, String, required: false
11
+ def resolve(context_type: nil, include: nil)
12
+ context[:canvas_api].proxy(
13
+ "LIST_YOUR_GROUPS",
14
+ {
15
+ "context_type": context_type,
16
+ "include": include },
17
+ nil,
18
+ ).parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,28 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/submission_history"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class ListsSubmission < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::SubmissionHistory], null: false
9
+ argument :course_id, ID, required: true
10
+ argument :date, String, required: true
11
+ argument :grader_id, ID, required: true
12
+ argument :assignment_id, ID, required: true
13
+ def resolve(course_id:, date:, grader_id:, assignment_id:)
14
+ context[:canvas_api].proxy(
15
+ "LISTS_SUBMISSIONS",
16
+ {
17
+ "course_id": course_id,
18
+ "date": date,
19
+ "grader_id": grader_id,
20
+ "assignment_id": assignment_id },
21
+ nil,
22
+ ).parsed_response
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class LoadCustomDatum < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :user_id, ID, required: true
10
+ argument :ns, String, required: true
11
+ def resolve(user_id:, ns:)
12
+ context[:canvas_api].proxy(
13
+ "LOAD_CUSTOM_DATA",
14
+ {
15
+ "user_id": user_id,
16
+ "ns": ns },
17
+ nil,
18
+ ).parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class OpenPollSession < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :poll_id, ID, required: true
10
+ argument :id, ID, required: true
11
+ def resolve(poll_id:, id:)
12
+ context[:canvas_api].proxy(
13
+ "OPEN_POLL_SESSION",
14
+ {
15
+ "poll_id": poll_id,
16
+ "id": id },
17
+ nil,
18
+ ).parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class Permission < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :course_id, ID, required: true
10
+ argument :permissions, String, required: false
11
+ def resolve(course_id:, permissions: nil)
12
+ context[:canvas_api].proxy(
13
+ "PERMISSIONS",
14
+ {
15
+ "course_id": course_id,
16
+ "permissions": permissions },
17
+ nil,
18
+ ).parsed_response
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByAccount < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :account_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(account_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_ACCOUNT",
15
+ {
16
+ "account_id": account_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/grade_change_event"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByAssignment < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::GradeChangeEvent], null: false
9
+ argument :assignment_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(assignment_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_ASSIGNMENT",
15
+ {
16
+ "assignment_id": assignment_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/grade_change_event"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByGrader < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::GradeChangeEvent], null: false
9
+ argument :grader_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(grader_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_GRADER",
15
+ {
16
+ "grader_id": grader_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByLogin < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :login_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(login_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_LOGIN",
15
+ {
16
+ "login_id": login_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/grade_change_event"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByStudent < CanvasBaseResolver
8
+ type [LMS::GraphQL::Types::Canvas::GradeChangeEvent], null: false
9
+ argument :student_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(student_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_STUDENT",
15
+ {
16
+ "student_id": student_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_resolver"
2
+
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryByUser < CanvasBaseResolver
8
+ type Boolean, null: false
9
+ argument :user_id, ID, required: true
10
+ argument :start_time, LMS::GraphQL::Types::DateTimeType, required: false
11
+ argument :end_time, LMS::GraphQL::Types::DateTimeType, required: false
12
+ def resolve(user_id:, start_time: nil, end_time: nil)
13
+ context[:canvas_api].proxy(
14
+ "QUERY_BY_USER",
15
+ {
16
+ "user_id": user_id,
17
+ "start_time": start_time,
18
+ "end_time": end_time },
19
+ nil,
20
+ ).parsed_response
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_resolver"
2
+ require_relative "../../types/canvas/progress"
3
+ module LMS
4
+ module GraphQL
5
+ module Resolvers
6
+ module Canvas
7
+ class QueryProgress < CanvasBaseResolver
8
+ type LMS::GraphQL::Types::Canvas::Progress, null: false
9
+ argument :id, ID, required: true
10
+ def resolve(id:)
11
+ context[:canvas_api].proxy(
12
+ "QUERY_PROGRESS",
13
+ {
14
+ "id": id },
15
+ nil,
16
+ ).parsed_response
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end