lms-graphql-api 1.1.1 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (708) hide show
  1. checksums.yaml +5 -5
  2. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +3 -0
  3. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +3 -0
  4. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +3 -0
  5. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +3 -0
  6. data/lib/lms_graphql/mutations/canvas/activate_role.rb +3 -0
  7. data/lib/lms_graphql/mutations/canvas/add_allowed_domain_to_account.rb +27 -0
  8. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +3 -0
  9. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +3 -0
  10. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +3 -0
  11. data/lib/lms_graphql/mutations/canvas/add_message.rb +3 -0
  12. data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +27 -0
  13. data/lib/lms_graphql/mutations/canvas/add_observee.rb +3 -0
  14. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +3 -0
  15. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +3 -0
  16. data/lib/lms_graphql/mutations/canvas/add_tool_to_rce_favorites.rb +26 -0
  17. data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +29 -0
  18. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +3 -0
  19. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +3 -0
  20. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +3 -0
  21. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +3 -0
  22. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +3 -0
  23. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +3 -0
  24. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +7 -2
  25. data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +3 -0
  26. data/lib/lms_graphql/mutations/canvas/bulk_update_assignment_dates.rb +24 -0
  27. data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +3 -0
  28. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +3 -0
  29. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +3 -0
  30. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +3 -0
  31. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +3 -0
  32. data/lib/lms_graphql/mutations/canvas/confirm_image_selection.rb +24 -0
  33. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +3 -0
  34. data/lib/lms_graphql/mutations/canvas/copy_file.rb +3 -0
  35. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +3 -0
  36. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +3 -0
  37. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +3 -0
  38. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +3 -0
  39. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -0
  40. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +16 -3
  41. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +3 -0
  42. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +3 -0
  43. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +3 -0
  44. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +3 -0
  45. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +3 -0
  46. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +19 -2
  47. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +19 -2
  48. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +19 -2
  49. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +19 -2
  50. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +31 -0
  51. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +3 -0
  52. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +3 -0
  53. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +3 -0
  54. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +3 -0
  55. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +3 -0
  56. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +3 -0
  57. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +3 -0
  58. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +3 -0
  59. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +9 -2
  60. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +9 -2
  61. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +3 -0
  62. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +3 -0
  63. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +3 -0
  64. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +3 -0
  65. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +3 -0
  66. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +3 -0
  67. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +3 -0
  68. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +3 -0
  69. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +3 -0
  70. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +3 -0
  71. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +3 -0
  72. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +37 -0
  73. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +3 -0
  74. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +3 -0
  75. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +3 -0
  76. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +3 -0
  77. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +3 -0
  78. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +3 -0
  79. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +3 -0
  80. data/lib/lms_graphql/mutations/canvas/create_membership.rb +3 -0
  81. data/lib/lms_graphql/mutations/canvas/create_module.rb +7 -1
  82. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +3 -0
  83. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +6 -1
  84. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +3 -0
  85. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +3 -0
  86. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +3 -0
  87. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +3 -0
  88. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +3 -0
  89. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +3 -0
  90. data/lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb +24 -0
  91. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +3 -0
  92. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +7 -2
  93. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +9 -2
  94. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +3 -0
  95. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +3 -0
  96. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +3 -0
  97. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +3 -0
  98. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +3 -0
  99. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +3 -0
  100. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +3 -0
  101. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +3 -0
  102. data/lib/lms_graphql/mutations/canvas/create_rubricassociation.rb +41 -0
  103. data/lib/lms_graphql/mutations/canvas/create_score.rb +43 -0
  104. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +3 -0
  105. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -0
  106. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -0
  107. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +3 -0
  108. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +3 -0
  109. data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +3 -0
  110. data/lib/lms_graphql/mutations/canvas/create_single_rubric_assessment.rb +35 -0
  111. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +3 -0
  112. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +3 -0
  113. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +3 -0
  114. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +33 -0
  115. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +33 -0
  116. data/lib/lms_graphql/mutations/canvas/create_user.rb +9 -4
  117. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +3 -0
  118. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +6 -3
  119. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +3 -0
  120. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +3 -0
  121. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +3 -0
  122. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +3 -0
  123. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +3 -0
  124. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +3 -0
  125. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +3 -0
  126. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +3 -0
  127. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +3 -0
  128. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +3 -0
  129. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +3 -0
  130. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +3 -0
  131. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +3 -0
  132. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +3 -0
  133. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +3 -0
  134. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +3 -0
  135. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +3 -0
  136. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +3 -0
  137. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +3 -0
  138. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +3 -0
  139. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +3 -0
  140. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +3 -0
  141. data/lib/lms_graphql/mutations/canvas/delete_file.rb +3 -0
  142. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +3 -0
  143. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +3 -0
  144. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +3 -0
  145. data/lib/lms_graphql/mutations/canvas/delete_group.rb +3 -0
  146. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +3 -0
  147. data/lib/lms_graphql/mutations/canvas/delete_line_item.rb +26 -0
  148. data/lib/lms_graphql/mutations/canvas/delete_message.rb +3 -0
  149. data/lib/lms_graphql/mutations/canvas/delete_module.rb +7 -1
  150. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +3 -0
  151. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +3 -0
  152. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +3 -0
  153. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +3 -0
  154. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -0
  155. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -0
  156. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +3 -0
  157. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +3 -0
  158. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +3 -0
  159. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +3 -0
  160. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +3 -0
  161. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +3 -0
  162. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +3 -0
  163. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +3 -0
  164. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +3 -0
  165. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +3 -0
  166. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +3 -0
  167. data/lib/lms_graphql/mutations/canvas/delete_report.rb +3 -0
  168. data/lib/lms_graphql/mutations/canvas/delete_rubricassociation.rb +26 -0
  169. data/lib/lms_graphql/mutations/canvas/delete_section.rb +3 -0
  170. data/lib/lms_graphql/mutations/canvas/delete_single_rubric.rb +26 -0
  171. data/lib/lms_graphql/mutations/canvas/delete_single_rubric_assessment.rb +28 -0
  172. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +3 -0
  173. data/lib/lms_graphql/mutations/canvas/delete_submission_comment.rb +30 -0
  174. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +3 -0
  175. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +3 -0
  176. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +3 -0
  177. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +3 -0
  178. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +3 -0
  179. data/lib/lms_graphql/mutations/canvas/deprecated_self_register_user.rb +43 -0
  180. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +3 -0
  181. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +3 -0
  182. data/lib/lms_graphql/mutations/canvas/duplicate_assignnment.rb +29 -0
  183. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_courses.rb +26 -0
  184. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_groups.rb +26 -0
  185. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -0
  186. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +18 -3
  187. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +3 -0
  188. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +3 -0
  189. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +3 -0
  190. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +3 -0
  191. data/lib/lms_graphql/mutations/canvas/edit_group.rb +3 -0
  192. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +7 -2
  193. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +7 -2
  194. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +3 -0
  195. data/lib/lms_graphql/mutations/canvas/edit_section.rb +3 -0
  196. data/lib/lms_graphql/mutations/canvas/edit_submission_comment.rb +33 -0
  197. data/lib/lms_graphql/mutations/canvas/edit_user.rb +7 -2
  198. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +7 -2
  199. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +3 -0
  200. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +3 -0
  201. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +8 -1
  202. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +8 -1
  203. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +3 -0
  204. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +3 -0
  205. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +3 -0
  206. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +3 -0
  207. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +3 -0
  208. data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +3 -0
  209. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +3 -0
  210. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +3 -0
  211. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +3 -0
  212. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +3 -0
  213. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +3 -0
  214. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +3 -0
  215. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +3 -0
  216. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +3 -0
  217. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +3 -0
  218. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +3 -0
  219. data/lib/lms_graphql/mutations/canvas/import_category_groups.rb +27 -0
  220. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +3 -0
  221. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +3 -0
  222. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +3 -0
  223. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +3 -0
  224. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +3 -0
  225. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +7 -2
  226. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +3 -0
  227. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +3 -0
  228. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +3 -0
  229. data/lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb +27 -0
  230. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +3 -0
  231. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +3 -0
  232. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +3 -0
  233. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +3 -0
  234. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +3 -0
  235. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +3 -0
  236. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +3 -0
  237. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +3 -0
  238. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +3 -0
  239. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +3 -0
  240. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +3 -0
  241. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +3 -0
  242. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +3 -0
  243. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +3 -0
  244. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +3 -0
  245. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +3 -0
  246. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +3 -0
  247. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +3 -0
  248. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +3 -0
  249. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +3 -0
  250. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +3 -0
  251. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +3 -0
  252. data/lib/lms_graphql/mutations/canvas/mutations.rb +37 -5
  253. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +3 -0
  254. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +3 -0
  255. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +3 -0
  256. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +3 -0
  257. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +3 -0
  258. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +3 -0
  259. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +3 -0
  260. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +3 -0
  261. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +3 -0
  262. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +3 -0
  263. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +3 -0
  264. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +3 -0
  265. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +3 -0
  266. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +7 -1
  267. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +3 -0
  268. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +3 -0
  269. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +3 -0
  270. data/lib/lms_graphql/mutations/canvas/remove_content_share.rb +26 -0
  271. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +3 -0
  272. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +3 -0
  273. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb +26 -0
  274. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +3 -0
  275. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +3 -0
  276. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +3 -0
  277. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +3 -0
  278. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +3 -0
  279. data/lib/lms_graphql/mutations/canvas/remove_tool_from_rce_favorites.rb +26 -0
  280. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +3 -0
  281. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +3 -0
  282. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +3 -0
  283. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +3 -0
  284. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +3 -0
  285. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +3 -0
  286. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +3 -0
  287. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +3 -0
  288. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +3 -0
  289. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +3 -0
  290. data/lib/lms_graphql/mutations/canvas/reset_course.rb +3 -0
  291. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +3 -0
  292. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +3 -0
  293. data/lib/lms_graphql/mutations/canvas/reset_link_verifier.rb +24 -0
  294. data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +3 -0
  295. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -0
  296. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -0
  297. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +3 -0
  298. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +3 -0
  299. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +3 -0
  300. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +3 -0
  301. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +3 -0
  302. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +3 -0
  303. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +3 -0
  304. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +3 -0
  305. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +3 -0
  306. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +3 -0
  307. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +3 -0
  308. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +3 -0
  309. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +3 -0
  310. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +3 -0
  311. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +3 -0
  312. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +3 -0
  313. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +3 -0
  314. data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -0
  315. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +3 -0
  316. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +3 -0
  317. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +9 -2
  318. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +9 -2
  319. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +3 -0
  320. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +3 -0
  321. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +3 -0
  322. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +3 -0
  323. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +3 -0
  324. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +3 -0
  325. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +3 -0
  326. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +3 -0
  327. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +3 -0
  328. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +3 -0
  329. data/lib/lms_graphql/mutations/canvas/update_account.rb +16 -1
  330. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +3 -0
  331. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -0
  332. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +3 -0
  333. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +3 -0
  334. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +3 -0
  335. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +3 -0
  336. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +3 -0
  337. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +3 -0
  338. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +3 -0
  339. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +3 -0
  340. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +3 -0
  341. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +3 -0
  342. data/lib/lms_graphql/mutations/canvas/update_content_share.rb +29 -0
  343. data/lib/lms_graphql/mutations/canvas/update_course.rb +11 -2
  344. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +13 -2
  345. data/lib/lms_graphql/mutations/canvas/update_courses.rb +3 -0
  346. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +3 -0
  347. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +3 -0
  348. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -0
  349. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -0
  350. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +3 -0
  351. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +3 -0
  352. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +3 -0
  353. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +3 -0
  354. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +3 -0
  355. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +3 -0
  356. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +3 -0
  357. data/lib/lms_graphql/mutations/canvas/update_file.rb +3 -0
  358. data/lib/lms_graphql/mutations/canvas/update_folder.rb +3 -0
  359. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +3 -0
  360. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +3 -0
  361. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +35 -0
  362. data/lib/lms_graphql/mutations/canvas/update_media_object.rb +27 -0
  363. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +27 -0
  364. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +3 -0
  365. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +3 -0
  366. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +3 -0
  367. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +3 -0
  368. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +3 -0
  369. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +3 -0
  370. data/lib/lms_graphql/mutations/canvas/update_module.rb +7 -1
  371. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +3 -0
  372. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +3 -0
  373. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +3 -0
  374. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +3 -0
  375. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +3 -0
  376. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +3 -0
  377. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +3 -0
  378. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +3 -0
  379. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +3 -0
  380. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +3 -0
  381. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +3 -0
  382. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +3 -0
  383. data/lib/lms_graphql/mutations/canvas/update_public_jwk.rb +24 -0
  384. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -0
  385. data/lib/lms_graphql/mutations/canvas/update_role.rb +3 -0
  386. data/lib/lms_graphql/mutations/canvas/update_rubricassociation.rb +43 -0
  387. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +3 -0
  388. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +3 -0
  389. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +3 -0
  390. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -0
  391. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -0
  392. data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +3 -0
  393. data/lib/lms_graphql/mutations/canvas/update_single_rubric_assessment.rb +37 -0
  394. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +3 -0
  395. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +3 -0
  396. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +3 -0
  397. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +3 -0
  398. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +3 -0
  399. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +3 -0
  400. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +3 -0
  401. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +3 -0
  402. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +3 -0
  403. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +33 -0
  404. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +27 -0
  405. data/lib/lms_graphql/resolvers/canvas/export_groups_in_and_users_in_category.rb +22 -0
  406. data/lib/lms_graphql/resolvers/canvas/find_images.rb +22 -0
  407. data/lib/lms_graphql/resolvers/canvas/get_account.rb +22 -0
  408. data/lib/lms_graphql/resolvers/canvas/get_content_share.rb +24 -0
  409. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_accounts.rb +22 -0
  410. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_courses.rb +22 -0
  411. data/lib/lms_graphql/resolvers/canvas/get_unread_shares_count.rb +22 -0
  412. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_courses.rb +22 -0
  413. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_groups.rb +22 -0
  414. data/lib/lms_graphql/resolvers/canvas/get_user_progress.rb +24 -0
  415. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +29 -0
  416. data/lib/lms_graphql/resolvers/canvas/index_of_active_global_notification_for_user.rb +4 -2
  417. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +6 -2
  418. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +3 -1
  419. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +4 -2
  420. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +4 -2
  421. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +22 -0
  422. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +2 -4
  423. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +2 -4
  424. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +22 -0
  425. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +6 -2
  426. data/lib/lms_graphql/resolvers/canvas/list_conferences_for_current_user.rb +23 -0
  427. data/lib/lms_graphql/resolvers/canvas/list_content_shares_received.rb +23 -0
  428. data/lib/lms_graphql/resolvers/canvas/list_content_shares_sent.rb +23 -0
  429. data/lib/lms_graphql/resolvers/canvas/list_course_memberships.rb +28 -0
  430. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -3
  431. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +4 -2
  432. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +4 -2
  433. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +4 -2
  434. data/lib/lms_graphql/resolvers/canvas/list_environment_features.rb +22 -0
  435. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -1
  436. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -1
  437. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -1
  438. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -1
  439. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +4 -2
  440. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_accounts.rb +26 -0
  441. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_courses.rb +26 -0
  442. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_groups.rb +26 -0
  443. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_users.rb +26 -0
  444. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +30 -0
  445. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +29 -0
  446. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +29 -0
  447. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +27 -0
  448. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +25 -0
  449. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +25 -0
  450. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +28 -0
  451. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +30 -0
  452. data/lib/lms_graphql/resolvers/canvas/list_recent_history_for_user.rb +23 -0
  453. data/lib/lms_graphql/resolvers/canvas/list_users_in_account.rb +3 -1
  454. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -1
  455. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -1
  456. data/lib/lms_graphql/resolvers/canvas/names_and_role_list_group_memberships.rb +28 -0
  457. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +24 -0
  458. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +24 -0
  459. data/lib/lms_graphql/resolvers/canvas/retrieve_enrollment_term.rb +24 -0
  460. data/lib/lms_graphql/resolvers/canvas/retrieve_reported_csp_violations_for_account.rb +22 -0
  461. data/lib/lms_graphql/resolvers/canvas/return_test_student_for_course.rb +22 -0
  462. data/lib/lms_graphql/resolvers/canvas/search_for_content_share_users.rb +25 -0
  463. data/lib/lms_graphql/resolvers/canvas/show_collection_of_results.rb +24 -0
  464. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +24 -0
  465. data/lib/lms_graphql/resolvers/canvas/show_observer.rb +24 -0
  466. data/lib/lms_graphql/resolvers/canvas/show_result.rb +26 -0
  467. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +4 -2
  468. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +4 -2
  469. data/lib/lms_graphql/types/canvas/account.rb +1 -9
  470. data/lib/lms_graphql/types/canvas/account_input.rb +7 -15
  471. data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
  472. data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
  473. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +2 -2
  474. data/lib/lms_graphql/types/canvas/answer.rb +4 -1
  475. data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
  476. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
  477. data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
  478. data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
  479. data/lib/lms_graphql/types/canvas/assignment.rb +6 -3
  480. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
  481. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +15 -15
  482. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
  483. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
  484. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
  485. data/lib/lms_graphql/types/canvas/assignment_input.rb +70 -67
  486. data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
  487. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
  488. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
  489. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +19 -19
  490. data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
  491. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
  492. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
  493. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
  494. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  495. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
  496. data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
  497. data/lib/lms_graphql/types/canvas/calendar_event.rb +1 -0
  498. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +32 -31
  499. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  500. data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
  501. data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
  502. data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
  503. data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
  504. data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
  505. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
  506. data/lib/lms_graphql/types/canvas/completion_requirement.rb +2 -1
  507. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -3
  508. data/lib/lms_graphql/types/canvas/conference.rb +2 -0
  509. data/lib/lms_graphql/types/canvas/conference_input.rb +17 -15
  510. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
  511. data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
  512. data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
  513. data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
  514. data/lib/lms_graphql/types/canvas/content_share.rb +24 -0
  515. data/lib/lms_graphql/types/canvas/content_share_input.rb +24 -0
  516. data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
  517. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
  518. data/lib/lms_graphql/types/canvas/course.rb +2 -1
  519. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
  520. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
  521. data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
  522. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
  523. data/lib/lms_graphql/types/canvas/course_input.rb +48 -47
  524. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
  525. data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
  526. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
  527. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  528. data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
  529. data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
  530. data/lib/lms_graphql/types/canvas/developer_key.rb +34 -0
  531. data/lib/lms_graphql/types/canvas/developer_key_input.rb +34 -0
  532. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
  533. data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
  534. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +8 -8
  535. data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +14 -0
  536. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +14 -0
  537. data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
  538. data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
  539. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  540. data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
  541. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
  542. data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
  543. data/lib/lms_graphql/types/canvas/feature.rb +1 -1
  544. data/lib/lms_graphql/types/canvas/feature_flag.rb +2 -1
  545. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +6 -5
  546. data/lib/lms_graphql/types/canvas/feature_input.rb +10 -10
  547. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
  548. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
  549. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
  550. data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
  551. data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
  552. data/lib/lms_graphql/types/canvas/grade.rb +2 -0
  553. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
  554. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
  555. data/lib/lms_graphql/types/canvas/grade_input.rb +11 -9
  556. data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
  557. data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
  558. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
  559. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
  560. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
  561. data/lib/lms_graphql/types/canvas/group.rb +2 -1
  562. data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
  563. data/lib/lms_graphql/types/canvas/group_input.rb +18 -17
  564. data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
  565. data/lib/lms_graphql/types/canvas/help_link.rb +2 -2
  566. data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
  567. data/lib/lms_graphql/types/canvas/history_entry.rb +23 -0
  568. data/lib/lms_graphql/types/canvas/history_entry_input.rb +23 -0
  569. data/lib/lms_graphql/types/canvas/jsonapi_pagination.rb +1 -1
  570. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  571. data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
  572. data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
  573. data/lib/lms_graphql/types/canvas/line_item.rb +20 -0
  574. data/lib/lms_graphql/types/canvas/line_item_input.rb +20 -0
  575. data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
  576. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
  577. data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
  578. data/lib/lms_graphql/types/canvas/media_object.rb +20 -0
  579. data/lib/lms_graphql/types/canvas/media_object_input.rb +20 -0
  580. data/lib/lms_graphql/types/canvas/media_track.rb +22 -0
  581. data/lib/lms_graphql/types/canvas/media_track_input.rb +22 -0
  582. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
  583. data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
  584. data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
  585. data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
  586. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  587. data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +4 -1
  588. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
  589. data/lib/lms_graphql/types/canvas/names_and_role_context.rb +16 -0
  590. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +16 -0
  591. data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +20 -0
  592. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +17 -0
  593. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +18 -0
  594. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +18 -0
  595. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
  596. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
  597. data/lib/lms_graphql/types/canvas/originality_report.rb +4 -1
  598. data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -6
  599. data/lib/lms_graphql/types/canvas/outcome_alignment.rb +2 -1
  600. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -5
  601. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
  602. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  603. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +9 -9
  604. data/lib/lms_graphql/types/canvas/outcome_input.rb +17 -17
  605. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
  606. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
  607. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  608. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
  609. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
  610. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
  611. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
  612. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  613. data/lib/lms_graphql/types/canvas/page_input.rb +13 -13
  614. data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
  615. data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
  616. data/lib/lms_graphql/types/canvas/page_view_link.rb +4 -1
  617. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
  618. data/lib/lms_graphql/types/canvas/pairing_code.rb +17 -0
  619. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +17 -0
  620. data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
  621. data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
  622. data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
  623. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
  624. data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
  625. data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
  626. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
  627. data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
  628. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
  629. data/lib/lms_graphql/types/canvas/profile_input.rb +14 -14
  630. data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
  631. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
  632. data/lib/lms_graphql/types/canvas/query_type.rb +182 -18
  633. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
  634. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  635. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
  636. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
  637. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
  638. data/lib/lms_graphql/types/canvas/quiz_input.rb +39 -39
  639. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
  640. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
  641. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
  642. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +13 -13
  643. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
  644. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
  645. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
  646. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  647. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
  648. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
  649. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
  650. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
  651. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
  652. data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +1 -1
  653. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum.rb +1 -1
  654. data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
  655. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
  656. data/lib/lms_graphql/types/canvas/result.rb +8 -6
  657. data/lib/lms_graphql/types/canvas/result_input.rb +8 -6
  658. data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
  659. data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
  660. data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
  661. data/lib/lms_graphql/types/canvas/rubric.rb +4 -0
  662. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
  663. data/lib/lms_graphql/types/canvas/rubric_association.rb +23 -0
  664. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +23 -0
  665. data/lib/lms_graphql/types/canvas/rubric_criterion.rb +19 -0
  666. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +19 -0
  667. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
  668. data/lib/lms_graphql/types/canvas/rubric_input.rb +14 -10
  669. data/lib/lms_graphql/types/canvas/rubric_rating.rb +6 -5
  670. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +6 -5
  671. data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
  672. data/lib/lms_graphql/types/canvas/score.rb +20 -0
  673. data/lib/lms_graphql/types/canvas/score_input.rb +20 -0
  674. data/lib/lms_graphql/types/canvas/score_statistic.rb +16 -0
  675. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +16 -0
  676. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
  677. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
  678. data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
  679. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
  680. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
  681. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
  682. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
  683. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
  684. data/lib/lms_graphql/types/canvas/sis_import_input.rb +22 -22
  685. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
  686. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
  687. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
  688. data/lib/lms_graphql/types/canvas/submission.rb +7 -3
  689. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
  690. data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
  691. data/lib/lms_graphql/types/canvas/submission_input.rb +32 -28
  692. data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
  693. data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
  694. data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
  695. data/lib/lms_graphql/types/canvas/terms_of_service.rb +1 -0
  696. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -5
  697. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
  698. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
  699. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  700. data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
  701. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
  702. data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
  703. data/lib/lms_graphql/types/canvas/user_input.rb +15 -15
  704. data/lib/lms_graphql/types/canvas_forward_declarations.rb +38 -0
  705. data/lib/lms_graphql/types/canvas_hacks.rb +1 -0
  706. data/lib/lms_graphql/types/date_time_type.rb +8 -5
  707. data/lib/lms_graphql/version.rb +1 -1
  708. metadata +117 -7
@@ -11,7 +11,10 @@ module LMSGraphQL
11
11
  argument :scope, String, required: false
12
12
  argument :filter, String, required: false
13
13
  argument :filter_mode, String, required: false
14
+
15
+
14
16
  field :return_value, Boolean, null: false
17
+
15
18
  def resolve(id:, conversation_workflow_state: nil, conversation_subscribed: nil, conversation_starred: nil, scope: nil, filter: nil, filter_mode: nil)
16
19
  context[:canvas_api].call("EDIT_CONVERSATION").proxy(
17
20
  "EDIT_CONVERSATION",
@@ -6,7 +6,10 @@ module LMSGraphQL
6
6
  class EditExternalToolAccount < BaseMutation
7
7
  argument :account_id, ID, required: true
8
8
  argument :external_tool_id, ID, required: true
9
+
10
+
9
11
  field :return_value, Boolean, null: false
12
+
10
13
  def resolve(account_id:, external_tool_id:)
11
14
  context[:canvas_api].call("EDIT_EXTERNAL_TOOL_ACCOUNTS").proxy(
12
15
  "EDIT_EXTERNAL_TOOL_ACCOUNTS",
@@ -6,7 +6,10 @@ module LMSGraphQL
6
6
  class EditExternalToolCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :external_tool_id, ID, required: true
9
+
10
+
9
11
  field :return_value, Boolean, null: false
12
+
10
13
  def resolve(course_id:, external_tool_id:)
11
14
  context[:canvas_api].call("EDIT_EXTERNAL_TOOL_COURSES").proxy(
12
15
  "EDIT_EXTERNAL_TOOL_COURSES",
@@ -13,7 +13,10 @@ module LMSGraphQL
13
13
  argument :storage_quota_mb, Int, required: false
14
14
  argument :members, String, required: false
15
15
  argument :sis_group_id, ID, required: false
16
+
17
+
16
18
  field :group, LMSGraphQL::Types::Canvas::CanvasGroup, null: false
19
+
17
20
  def resolve(group_id:, name: nil, description: nil, is_public: nil, join_level: nil, avatar_id: nil, storage_quota_mb: nil, members: nil, sis_group_id: nil)
18
21
  context[:canvas_api].call("EDIT_GROUP").proxy(
19
22
  "EDIT_GROUP",
@@ -12,8 +12,12 @@ module LMSGraphQL
12
12
  argument :originality_report_tool_setting_resource_type_code, String, required: false
13
13
  argument :originality_report_tool_setting_resource_url, String, required: false
14
14
  argument :originality_report_workflow_state, String, required: false
15
+ argument :originality_report_error_message, String, required: false
16
+
17
+
15
18
  field :originality_report, LMSGraphQL::Types::Canvas::CanvasOriginalityReport, null: false
16
- def resolve(assignment_id:, file_id:, originality_report_originality_score: nil, originality_report_originality_report_url: nil, originality_report_originality_report_file_id: nil, originality_report_tool_setting_resource_type_code: nil, originality_report_tool_setting_resource_url: nil, originality_report_workflow_state: nil)
19
+
20
+ def resolve(assignment_id:, file_id:, originality_report_originality_score: nil, originality_report_originality_report_url: nil, originality_report_originality_report_file_id: nil, originality_report_tool_setting_resource_type_code: nil, originality_report_tool_setting_resource_url: nil, originality_report_workflow_state: nil, originality_report_error_message: nil)
17
21
  context[:canvas_api].call("EDIT_ORIGINALITY_REPORT_FILES").proxy(
18
22
  "EDIT_ORIGINALITY_REPORT_FILES",
19
23
  {
@@ -26,7 +30,8 @@ module LMSGraphQL
26
30
  "originality_report[originality_report_file_id]": originality_report_originality_report_file_id,
27
31
  "originality_report[tool_setting][resource_type_code]": originality_report_tool_setting_resource_type_code,
28
32
  "originality_report[tool_setting][resource_url]": originality_report_tool_setting_resource_url,
29
- "originality_report[workflow_state]": originality_report_workflow_state
33
+ "originality_report[workflow_state]": originality_report_workflow_state,
34
+ "originality_report[error_message]": originality_report_error_message
30
35
  },
31
36
  ).parsed_response
32
37
  end
@@ -13,8 +13,12 @@ module LMSGraphQL
13
13
  argument :originality_report_tool_setting_resource_type_code, String, required: false
14
14
  argument :originality_report_tool_setting_resource_url, String, required: false
15
15
  argument :originality_report_workflow_state, String, required: false
16
+ argument :originality_report_error_message, String, required: false
17
+
18
+
16
19
  field :originality_report, LMSGraphQL::Types::Canvas::CanvasOriginalityReport, null: false
17
- def resolve(assignment_id:, submission_id:, id:, originality_report_originality_score: nil, originality_report_originality_report_url: nil, originality_report_originality_report_file_id: nil, originality_report_tool_setting_resource_type_code: nil, originality_report_tool_setting_resource_url: nil, originality_report_workflow_state: nil)
20
+
21
+ def resolve(assignment_id:, submission_id:, id:, originality_report_originality_score: nil, originality_report_originality_report_url: nil, originality_report_originality_report_file_id: nil, originality_report_tool_setting_resource_type_code: nil, originality_report_tool_setting_resource_url: nil, originality_report_workflow_state: nil, originality_report_error_message: nil)
18
22
  context[:canvas_api].call("EDIT_ORIGINALITY_REPORT_SUBMISSIONS").proxy(
19
23
  "EDIT_ORIGINALITY_REPORT_SUBMISSIONS",
20
24
  {
@@ -28,7 +32,8 @@ module LMSGraphQL
28
32
  "originality_report[originality_report_file_id]": originality_report_originality_report_file_id,
29
33
  "originality_report[tool_setting][resource_type_code]": originality_report_tool_setting_resource_type_code,
30
34
  "originality_report[tool_setting][resource_url]": originality_report_tool_setting_resource_url,
31
- "originality_report[workflow_state]": originality_report_workflow_state
35
+ "originality_report[workflow_state]": originality_report_workflow_state,
36
+ "originality_report[error_message]": originality_report_error_message
32
37
  },
33
38
  ).parsed_response
34
39
  end
@@ -7,7 +7,10 @@ module LMSGraphQL
7
7
  argument :course_id, ID, required: true
8
8
  argument :id, ID, required: true
9
9
  argument :quiz_notify_of_update, Boolean, required: false
10
+
11
+
10
12
  field :quiz, LMSGraphQL::Types::Canvas::CanvasQuiz, null: false
13
+
11
14
  def resolve(course_id:, id:, quiz_notify_of_update: nil)
12
15
  context[:canvas_api].call("EDIT_QUIZ").proxy(
13
16
  "EDIT_QUIZ",
@@ -11,7 +11,10 @@ module LMSGraphQL
11
11
  argument :course_section_start_at, LMSGraphQL::Types::DateTimeType, required: false
12
12
  argument :course_section_end_at, LMSGraphQL::Types::DateTimeType, required: false
13
13
  argument :course_section_restrict_enrollments_to_section_dates, Boolean, required: false
14
+
15
+
14
16
  field :section, LMSGraphQL::Types::Canvas::CanvasSection, null: false
17
+
15
18
  def resolve(id:, course_section_name: nil, course_section_sis_section_id: nil, course_section_integration_id: nil, course_section_start_at: nil, course_section_end_at: nil, course_section_restrict_enrollments_to_section_dates: nil)
16
19
  context[:canvas_api].call("EDIT_SECTION").proxy(
17
20
  "EDIT_SECTION",
@@ -0,0 +1,33 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/submission_comment"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class EditSubmissionComment < BaseMutation
7
+ argument :course_id, ID, required: true
8
+ argument :assignment_id, ID, required: true
9
+ argument :user_id, ID, required: true
10
+ argument :id, ID, required: true
11
+ argument :comment, String, required: false
12
+
13
+
14
+ field :submission_comment, LMSGraphQL::Types::Canvas::CanvasSubmissionComment, null: false
15
+
16
+ def resolve(course_id:, assignment_id:, user_id:, id:, comment: nil)
17
+ context[:canvas_api].call("EDIT_SUBMISSION_COMMENT").proxy(
18
+ "EDIT_SUBMISSION_COMMENT",
19
+ {
20
+ "course_id": course_id,
21
+ "assignment_id": assignment_id,
22
+ "user_id": user_id,
23
+ "id": id
24
+ },
25
+ {
26
+ "comment": comment
27
+ },
28
+ ).parsed_response
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -15,8 +15,12 @@ module LMSGraphQL
15
15
  argument :user_avatar_url, String, required: false
16
16
  argument :user_title, String, required: false
17
17
  argument :user_bio, String, required: false
18
+ argument :user_pronouns, String, required: false
19
+
20
+
18
21
  field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
19
- def resolve(id:, user_name: nil, user_short_name: nil, user_sortable_name: nil, user_time_zone: nil, user_email: nil, user_locale: nil, user_avatar_token: nil, user_avatar_url: nil, user_title: nil, user_bio: nil)
22
+
23
+ def resolve(id:, user_name: nil, user_short_name: nil, user_sortable_name: nil, user_time_zone: nil, user_email: nil, user_locale: nil, user_avatar_token: nil, user_avatar_url: nil, user_title: nil, user_bio: nil, user_pronouns: nil)
20
24
  context[:canvas_api].call("EDIT_USER").proxy(
21
25
  "EDIT_USER",
22
26
  {
@@ -32,7 +36,8 @@ module LMSGraphQL
32
36
  "user[avatar][token]": user_avatar_token,
33
37
  "user[avatar][url]": user_avatar_url,
34
38
  "user[title]": user_title,
35
- "user[bio]": user_bio
39
+ "user[bio]": user_bio,
40
+ "user[pronouns]": user_pronouns
36
41
  },
37
42
  ).parsed_response
38
43
  end
@@ -10,8 +10,12 @@ module LMSGraphQL
10
10
  argument :login_password, String, required: false
11
11
  argument :login_sis_user_id, String, required: false
12
12
  argument :login_integration_id, String, required: false
13
+ argument :login_authentication_provider_id, String, required: false
14
+
15
+
13
16
  field :return_value, Boolean, null: false
14
- def resolve(account_id:, id:, login_unique_id: nil, login_password: nil, login_sis_user_id: nil, login_integration_id: nil)
17
+
18
+ def resolve(account_id:, id:, login_unique_id: nil, login_password: nil, login_sis_user_id: nil, login_integration_id: nil, login_authentication_provider_id: nil)
15
19
  context[:canvas_api].call("EDIT_USER_LOGIN").proxy(
16
20
  "EDIT_USER_LOGIN",
17
21
  {
@@ -22,7 +26,8 @@ module LMSGraphQL
22
26
  "login[unique_id]": login_unique_id,
23
27
  "login[password]": login_password,
24
28
  "login[sis_user_id]": login_sis_user_id,
25
- "login[integration_id]": login_integration_id
29
+ "login[integration_id]": login_integration_id,
30
+ "login[authentication_provider_id]": login_authentication_provider_id
26
31
  },
27
32
  ).parsed_response
28
33
  end
@@ -6,7 +6,10 @@ module LMSGraphQL
6
6
  class EnableDisableOrClearExplicitCspSettingAccount < BaseMutation
7
7
  argument :account_id, ID, required: true
8
8
  argument :status, String, required: true
9
+
10
+
9
11
  field :return_value, Boolean, null: false
12
+
10
13
  def resolve(account_id:, status:)
11
14
  context[:canvas_api].call("ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_ACCOUNTS").proxy(
12
15
  "ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_ACCOUNTS",
@@ -6,7 +6,10 @@ module LMSGraphQL
6
6
  class EnableDisableOrClearExplicitCspSettingCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :status, String, required: true
9
+
10
+
9
11
  field :return_value, Boolean, null: false
12
+
10
13
  def resolve(course_id:, status:)
11
14
  context[:canvas_api].call("ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_COURSES").proxy(
12
15
  "ENABLE_DISABLE_OR_CLEAR_EXPLICIT_CSP_SETTING_COURSES",
@@ -5,6 +5,8 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class EnrollUserCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
+ argument :enrollment_start_at, LMSGraphQL::Types::DateTimeType, required: false
9
+ argument :enrollment_end_at, LMSGraphQL::Types::DateTimeType, required: false
8
10
  argument :enrollment_user_id, String, required: true
9
11
  argument :enrollment_type, String, required: true
10
12
  argument :enrollment_role, String, required: false
@@ -16,14 +18,19 @@ module LMSGraphQL
16
18
  argument :enrollment_self_enrollment_code, String, required: false
17
19
  argument :enrollment_self_enrolled, Boolean, required: false
18
20
  argument :enrollment_associated_user_id, Int, required: false
21
+
22
+
19
23
  field :enrollment, LMSGraphQL::Types::Canvas::CanvasEnrollment, null: false
20
- def resolve(course_id:, enrollment_user_id:, enrollment_type:, enrollment_role: nil, enrollment_role_id: nil, enrollment_enrollment_state: nil, enrollment_course_section_id: nil, enrollment_limit_privileges_to_course_section: nil, enrollment_notify: nil, enrollment_self_enrollment_code: nil, enrollment_self_enrolled: nil, enrollment_associated_user_id: nil)
24
+
25
+ def resolve(course_id:, enrollment_start_at: nil, enrollment_end_at: nil, enrollment_user_id:, enrollment_type:, enrollment_role: nil, enrollment_role_id: nil, enrollment_enrollment_state: nil, enrollment_course_section_id: nil, enrollment_limit_privileges_to_course_section: nil, enrollment_notify: nil, enrollment_self_enrollment_code: nil, enrollment_self_enrolled: nil, enrollment_associated_user_id: nil)
21
26
  context[:canvas_api].call("ENROLL_USER_COURSES").proxy(
22
27
  "ENROLL_USER_COURSES",
23
28
  {
24
29
  "course_id": course_id
25
30
  },
26
31
  {
32
+ "enrollment[start_at]": enrollment_start_at,
33
+ "enrollment[end_at]": enrollment_end_at,
27
34
  "enrollment[user_id]": enrollment_user_id,
28
35
  "enrollment[type]": enrollment_type,
29
36
  "enrollment[role]": enrollment_role,
@@ -5,6 +5,8 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class EnrollUserSection < BaseMutation
7
7
  argument :section_id, ID, required: true
8
+ argument :enrollment_start_at, LMSGraphQL::Types::DateTimeType, required: false
9
+ argument :enrollment_end_at, LMSGraphQL::Types::DateTimeType, required: false
8
10
  argument :enrollment_user_id, String, required: true
9
11
  argument :enrollment_type, String, required: true
10
12
  argument :enrollment_role, String, required: false
@@ -16,14 +18,19 @@ module LMSGraphQL
16
18
  argument :enrollment_self_enrollment_code, String, required: false
17
19
  argument :enrollment_self_enrolled, Boolean, required: false
18
20
  argument :enrollment_associated_user_id, Int, required: false
21
+
22
+
19
23
  field :enrollment, LMSGraphQL::Types::Canvas::CanvasEnrollment, null: false
20
- def resolve(section_id:, enrollment_user_id:, enrollment_type:, enrollment_role: nil, enrollment_role_id: nil, enrollment_enrollment_state: nil, enrollment_course_section_id: nil, enrollment_limit_privileges_to_course_section: nil, enrollment_notify: nil, enrollment_self_enrollment_code: nil, enrollment_self_enrolled: nil, enrollment_associated_user_id: nil)
24
+
25
+ def resolve(section_id:, enrollment_start_at: nil, enrollment_end_at: nil, enrollment_user_id:, enrollment_type:, enrollment_role: nil, enrollment_role_id: nil, enrollment_enrollment_state: nil, enrollment_course_section_id: nil, enrollment_limit_privileges_to_course_section: nil, enrollment_notify: nil, enrollment_self_enrollment_code: nil, enrollment_self_enrolled: nil, enrollment_associated_user_id: nil)
21
26
  context[:canvas_api].call("ENROLL_USER_SECTIONS").proxy(
22
27
  "ENROLL_USER_SECTIONS",
23
28
  {
24
29
  "section_id": section_id
25
30
  },
26
31
  {
32
+ "enrollment[start_at]": enrollment_start_at,
33
+ "enrollment[end_at]": enrollment_end_at,
27
34
  "enrollment[user_id]": enrollment_user_id,
28
35
  "enrollment[type]": enrollment_type,
29
36
  "enrollment[role]": enrollment_role,
@@ -8,7 +8,10 @@ module LMSGraphQL
8
8
  argument :export_type, String, required: true
9
9
  argument :skip_notifications, Boolean, required: false
10
10
  argument :select, String, required: false
11
+
12
+
11
13
  field :content_export, LMSGraphQL::Types::Canvas::CanvasContentExport, null: false
14
+
12
15
  def resolve(course_id:, export_type:, skip_notifications: nil, select: nil)
13
16
  context[:canvas_api].call("EXPORT_CONTENT_COURSES").proxy(
14
17
  "EXPORT_CONTENT_COURSES",
@@ -8,7 +8,10 @@ module LMSGraphQL
8
8
  argument :export_type, String, required: true
9
9
  argument :skip_notifications, Boolean, required: false
10
10
  argument :select, String, required: false
11
+
12
+
11
13
  field :content_export, LMSGraphQL::Types::Canvas::CanvasContentExport, null: false
14
+
12
15
  def resolve(group_id:, export_type:, skip_notifications: nil, select: nil)
13
16
  context[:canvas_api].call("EXPORT_CONTENT_GROUPS").proxy(
14
17
  "EXPORT_CONTENT_GROUPS",
@@ -8,7 +8,10 @@ module LMSGraphQL
8
8
  argument :export_type, String, required: true
9
9
  argument :skip_notifications, Boolean, required: false
10
10
  argument :select, String, required: false
11
+
12
+
11
13
  field :content_export, LMSGraphQL::Types::Canvas::CanvasContentExport, null: false
14
+
12
15
  def resolve(user_id:, export_type:, skip_notifications: nil, select: nil)
13
16
  context[:canvas_api].call("EXPORT_CONTENT_USERS").proxy(
14
17
  "EXPORT_CONTENT_USERS",
@@ -5,7 +5,10 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class FilesUploadFile < BaseMutation
7
7
  argument :folder_id, ID, required: true
8
+
9
+
8
10
  field :return_value, Boolean, null: false
11
+
9
12
  def resolve(folder_id:)
10
13
  context[:canvas_api].call("FILES_UPLOAD_FILE").proxy(
11
14
  "FILES_UPLOAD_FILE",
@@ -9,7 +9,10 @@ module LMSGraphQL
9
9
  argument :attempt, Int, required: true
10
10
  argument :validation_token, String, required: true
11
11
  argument :access_code, String, required: false
12
+
13
+
12
14
  field :return_value, Boolean, null: false
15
+
13
16
  def resolve(quiz_submission_id:, id:, attempt:, validation_token:, access_code: nil)
14
17
  context[:canvas_api].call("FLAGGING_QUESTION").proxy(
15
18
  "FLAGGING_QUESTION",
@@ -5,7 +5,10 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class GetPandataEventsJwtTokenAndItsExpirationDate < BaseMutation
7
7
  argument :app_key, String, required: false
8
+
9
+
8
10
  field :return_value, Boolean, null: false
11
+
9
12
  def resolve(app_key: nil)
10
13
  context[:canvas_api].call("GET_PANDATA_EVENTS_JWT_TOKEN_AND_ITS_EXPIRATION_DATE").proxy(
11
14
  "GET_PANDATA_EVENTS_JWT_TOKEN_AND_ITS_EXPIRATION_DATE",
@@ -15,7 +15,10 @@ module LMSGraphQL
15
15
  argument :grade_data__student_id__media_comment_type, String, required: false
16
16
  argument :grade_data__student_id__file_ids, Int, required: false
17
17
  argument :grade_data__student_id__assignment_id, Int, required: false
18
+
19
+
18
20
  field :progress, LMSGraphQL::Types::Canvas::CanvasProgress, null: false
21
+
19
22
  def resolve(course_id:, assignment_id:, grade_data__student_id__posted_grade: nil, grade_data__student_id__excuse: nil, grade_data__student_id__rubric_assessment: nil, grade_data__student_id__text_comment: nil, grade_data__student_id__group_comment: nil, grade_data__student_id__media_comment_id: nil, grade_data__student_id__media_comment_type: nil, grade_data__student_id__file_ids: nil, grade_data__student_id__assignment_id: nil)
20
23
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_ASSIGNMENTS").proxy(
21
24
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_ASSIGNMENTS",
@@ -14,7 +14,10 @@ module LMSGraphQL
14
14
  argument :grade_data__student_id__media_comment_type, String, required: false
15
15
  argument :grade_data__student_id__file_ids, Int, required: false
16
16
  argument :grade_data__student_id__assignment_id, Int, required: false
17
+
18
+
17
19
  field :progress, LMSGraphQL::Types::Canvas::CanvasProgress, null: false
20
+
18
21
  def resolve(course_id:, grade_data__student_id__posted_grade: nil, grade_data__student_id__excuse: nil, grade_data__student_id__rubric_assessment: nil, grade_data__student_id__text_comment: nil, grade_data__student_id__group_comment: nil, grade_data__student_id__media_comment_id: nil, grade_data__student_id__media_comment_type: nil, grade_data__student_id__file_ids: nil, grade_data__student_id__assignment_id: nil)
19
22
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_SUBMISSIONS").proxy(
20
23
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_SUBMISSIONS",
@@ -15,7 +15,10 @@ module LMSGraphQL
15
15
  argument :grade_data__student_id__media_comment_type, String, required: false
16
16
  argument :grade_data__student_id__file_ids, Int, required: false
17
17
  argument :grade_data__student_id__assignment_id, Int, required: false
18
+
19
+
18
20
  field :progress, LMSGraphQL::Types::Canvas::CanvasProgress, null: false
21
+
19
22
  def resolve(section_id:, assignment_id:, grade_data__student_id__posted_grade: nil, grade_data__student_id__excuse: nil, grade_data__student_id__rubric_assessment: nil, grade_data__student_id__text_comment: nil, grade_data__student_id__group_comment: nil, grade_data__student_id__media_comment_id: nil, grade_data__student_id__media_comment_type: nil, grade_data__student_id__file_ids: nil, grade_data__student_id__assignment_id: nil)
20
23
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_SECTIONS_ASSIGNMENTS").proxy(
21
24
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_SECTIONS_ASSIGNMENTS",
@@ -14,7 +14,10 @@ module LMSGraphQL
14
14
  argument :grade_data__student_id__media_comment_type, String, required: false
15
15
  argument :grade_data__student_id__file_ids, Int, required: false
16
16
  argument :grade_data__student_id__assignment_id, Int, required: false
17
+
18
+
17
19
  field :progress, LMSGraphQL::Types::Canvas::CanvasProgress, null: false
20
+
18
21
  def resolve(section_id:, grade_data__student_id__posted_grade: nil, grade_data__student_id__excuse: nil, grade_data__student_id__rubric_assessment: nil, grade_data__student_id__text_comment: nil, grade_data__student_id__group_comment: nil, grade_data__student_id__media_comment_id: nil, grade_data__student_id__media_comment_type: nil, grade_data__student_id__file_ids: nil, grade_data__student_id__assignment_id: nil)
19
22
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_SECTIONS_SUBMISSIONS").proxy(
20
23
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_SECTIONS_SUBMISSIONS",
@@ -18,7 +18,10 @@ module LMSGraphQL
18
18
  argument :submission_late_policy_status, String, required: false
19
19
  argument :submission_seconds_late_override, Int, required: false
20
20
  argument :rubric_assessment, String, required: false
21
+
22
+
21
23
  field :return_value, Boolean, null: false
24
+
22
25
  def resolve(course_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
23
26
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_COURSES").proxy(
24
27
  "GRADE_OR_COMMENT_ON_SUBMISSION_COURSES",
@@ -18,7 +18,10 @@ module LMSGraphQL
18
18
  argument :submission_late_policy_status, String, required: false
19
19
  argument :submission_seconds_late_override, Int, required: false
20
20
  argument :rubric_assessment, String, required: false
21
+
22
+
21
23
  field :return_value, Boolean, null: false
24
+
22
25
  def resolve(section_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
23
26
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS").proxy(
24
27
  "GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS",
@@ -6,7 +6,10 @@ module LMSGraphQL
6
6
  class GroupsPreviewProcessedHtml < BaseMutation
7
7
  argument :group_id, ID, required: true
8
8
  argument :html, String, required: false
9
+
10
+
9
11
  field :return_value, Boolean, null: false
12
+
10
13
  def resolve(group_id:, html: nil)
11
14
  context[:canvas_api].call("GROUPS_PREVIEW_PROCESSED_HTML").proxy(
12
15
  "GROUPS_PREVIEW_PROCESSED_HTML",