lms-graphql-api 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +3 -3
  3. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +3 -3
  4. data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
  5. data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
  6. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
  7. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
  8. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
  9. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
  10. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
  11. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
  12. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
  13. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
  14. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
  15. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
  16. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
  17. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +2 -2
  18. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +8 -2
  19. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
  20. data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
  21. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
  22. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +2 -2
  23. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
  24. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
  25. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +2 -2
  26. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
  27. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
  28. data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
  29. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
  30. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
  31. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
  32. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
  33. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
  34. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
  35. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
  36. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
  37. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +7 -5
  38. data/lib/lms_graphql/mutations/canvas/edit_group.rb +4 -2
  39. data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
  40. data/lib/lms_graphql/mutations/canvas/edit_user.rb +6 -2
  41. data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
  42. data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
  43. data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
  44. data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
  45. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +4 -2
  46. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
  47. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
  48. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +5 -1
  49. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +5 -1
  50. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
  51. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
  52. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
  53. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
  54. data/lib/lms_graphql/mutations/canvas/mutations.rb +15 -2
  55. data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
  56. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
  57. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
  58. data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
  59. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
  60. data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
  61. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
  62. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
  63. data/lib/lms_graphql/mutations/canvas/update_account.rb +7 -1
  64. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +3 -3
  65. data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
  66. data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
  67. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
  68. data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
  69. data/lib/lms_graphql/mutations/canvas/update_course.rb +9 -5
  70. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +8 -2
  71. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
  72. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
  73. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
  74. data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
  75. data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
  76. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +2 -2
  77. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
  78. data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
  79. data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
  80. data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
  81. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +4 -2
  82. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
  83. data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
  84. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +2 -2
  85. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
  86. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
  87. data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
  88. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
  89. data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
  90. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
  91. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
  92. data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +2 -2
  93. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +6 -2
  94. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +6 -2
  95. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +6 -2
  96. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +6 -2
  97. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
  98. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
  99. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +4 -2
  100. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
  101. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
  102. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
  103. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
  104. data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
  105. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
  106. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
  107. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +2 -2
  108. data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
  109. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +2 -2
  110. data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
  111. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +2 -2
  112. data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
  113. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
  114. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
  115. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +8 -4
  116. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +8 -4
  117. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
  118. data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
  119. data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
  120. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +2 -2
  121. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +2 -2
  122. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +2 -2
  123. data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
  124. data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
  125. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +2 -2
  126. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +2 -2
  127. data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
  128. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
  129. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
  130. data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
  131. data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
  132. data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
  133. data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
  134. data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
  135. data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
  136. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
  137. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
  138. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
  139. data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
  140. data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
  141. data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
  142. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
  143. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
  144. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
  145. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
  146. data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
  147. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +3 -1
  148. data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
  149. data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
  150. data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
  151. data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
  152. data/lib/lms_graphql/types/canvas/account_notification.rb +2 -2
  153. data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
  154. data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
  155. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
  156. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
  157. data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
  158. data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
  159. data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
  160. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
  161. data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
  162. data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
  163. data/lib/lms_graphql/types/canvas/assignment.rb +10 -6
  164. data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
  165. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
  166. data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -6
  167. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +16 -16
  168. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
  169. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
  170. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
  171. data/lib/lms_graphql/types/canvas/assignment_input.rb +74 -70
  172. data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
  173. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
  174. data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
  175. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
  176. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -20
  177. data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
  178. data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
  179. data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
  180. data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
  181. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
  182. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
  183. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
  184. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  185. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
  186. data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
  187. data/lib/lms_graphql/types/canvas/calendar_event.rb +10 -6
  188. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -33
  189. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  190. data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
  191. data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
  192. data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
  193. data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
  194. data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
  195. data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
  196. data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
  197. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
  198. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +3 -3
  199. data/lib/lms_graphql/types/canvas/conference.rb +2 -2
  200. data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
  201. data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
  202. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
  203. data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
  204. data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
  205. data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
  206. data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
  207. data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
  208. data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
  209. data/lib/lms_graphql/types/canvas/content_share.rb +2 -2
  210. data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
  211. data/lib/lms_graphql/types/canvas/conversation.rb +1 -1
  212. data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
  213. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
  214. data/lib/lms_graphql/types/canvas/course.rb +5 -4
  215. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
  216. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
  217. data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
  218. data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
  219. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
  220. data/lib/lms_graphql/types/canvas/course_input.rb +51 -50
  221. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
  222. data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
  223. data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
  224. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
  225. data/lib/lms_graphql/types/canvas/created_event_datum.rb +2 -2
  226. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  227. data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
  228. data/lib/lms_graphql/types/canvas/day.rb +1 -1
  229. data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
  230. data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
  231. data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
  232. data/lib/lms_graphql/types/canvas/discussion_topic.rb +4 -4
  233. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
  234. data/lib/lms_graphql/types/canvas/e_portfolio.rb +3 -3
  235. data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +9 -9
  236. data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +2 -2
  237. data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +7 -7
  238. data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
  239. data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
  240. data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
  241. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
  242. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
  243. data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
  244. data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
  245. data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
  246. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  247. data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
  248. data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
  249. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
  250. data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
  251. data/lib/lms_graphql/types/canvas/feature.rb +1 -3
  252. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +5 -5
  253. data/lib/lms_graphql/types/canvas/feature_input.rb +8 -10
  254. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
  255. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
  256. data/lib/lms_graphql/types/canvas/file.rb +2 -2
  257. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
  258. data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
  259. data/lib/lms_graphql/types/canvas/folder.rb +4 -4
  260. data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
  261. data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
  262. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
  263. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
  264. data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
  265. data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
  266. data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
  267. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
  268. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
  269. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
  270. data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
  271. data/lib/lms_graphql/types/canvas/group_input.rb +17 -17
  272. data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
  273. data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
  274. data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
  275. data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
  276. data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +1 -1
  277. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
  278. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  279. data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
  280. data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
  281. data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
  282. data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
  283. data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
  284. data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
  285. data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
  286. data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
  287. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
  288. data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
  289. data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
  290. data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
  291. data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
  292. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
  293. data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
  294. data/lib/lms_graphql/types/canvas/module.rb +2 -2
  295. data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
  296. data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
  297. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  298. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
  299. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
  300. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
  301. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
  302. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
  303. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
  304. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
  305. data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
  306. data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
  307. data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
  308. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
  309. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
  310. data/lib/lms_graphql/types/canvas/outcome_import.rb +3 -3
  311. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  312. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +10 -10
  313. data/lib/lms_graphql/types/canvas/outcome_input.rb +18 -17
  314. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
  315. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
  316. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  317. data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
  318. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
  319. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
  320. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
  321. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
  322. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  323. data/lib/lms_graphql/types/canvas/page.rb +3 -2
  324. data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
  325. data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
  326. data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
  327. data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
  328. data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
  329. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
  330. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
  331. data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
  332. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  333. data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
  334. data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
  335. data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
  336. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
  337. data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
  338. data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
  339. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
  340. data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
  341. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
  342. data/lib/lms_graphql/types/canvas/profile_input.rb +15 -15
  343. data/lib/lms_graphql/types/canvas/progress.rb +2 -2
  344. data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
  345. data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
  346. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
  347. data/lib/lms_graphql/types/canvas/query_type.rb +69 -9
  348. data/lib/lms_graphql/types/canvas/quiz.rb +5 -5
  349. data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
  350. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
  351. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  352. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
  353. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
  354. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
  355. data/lib/lms_graphql/types/canvas/quiz_input.rb +39 -39
  356. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
  357. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
  358. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
  359. data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
  360. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +13 -13
  361. data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
  362. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
  363. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
  364. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
  365. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  366. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
  367. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
  368. data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
  369. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
  370. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
  371. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
  372. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
  373. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
  374. data/lib/lms_graphql/types/canvas/report.rb +3 -3
  375. data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
  376. data/lib/lms_graphql/types/canvas/report_parameter.rb +2 -2
  377. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
  378. data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
  379. data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
  380. data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
  381. data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
  382. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
  383. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
  384. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
  385. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
  386. data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
  387. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
  388. data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
  389. data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
  390. data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
  391. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
  392. data/lib/lms_graphql/types/canvas/section.rb +2 -2
  393. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
  394. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
  395. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
  396. data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
  397. data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
  398. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
  399. data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
  400. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
  401. data/lib/lms_graphql/types/canvas/sis_import.rb +5 -3
  402. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
  403. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
  404. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
  405. data/lib/lms_graphql/types/canvas/sis_import_input.rb +24 -22
  406. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
  407. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
  408. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
  409. data/lib/lms_graphql/types/canvas/submission.rb +5 -4
  410. data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
  411. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
  412. data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
  413. data/lib/lms_graphql/types/canvas/submission_input.rb +31 -30
  414. data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
  415. data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
  416. data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
  417. data/lib/lms_graphql/types/canvas/term.rb +2 -2
  418. data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
  419. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
  420. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
  421. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
  422. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +2 -2
  423. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  424. data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
  425. data/lib/lms_graphql/types/canvas/user.rb +1 -0
  426. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
  427. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
  428. data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
  429. data/lib/lms_graphql/types/canvas/user_input.rb +18 -17
  430. data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
  431. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
  432. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
  433. data/lib/lms_graphql/types/canvas_forward_declarations.rb +4 -0
  434. data/lib/lms_graphql/version.rb +1 -1
  435. metadata +47 -6
  436. data/lib/lms_graphql/types/date_time_type.rb +0 -22
@@ -6,18 +6,21 @@ module LMSGraphQL
6
6
  class CrossListSection < BaseMutation
7
7
  argument :id, ID, required: true
8
8
  argument :new_course_id, ID, required: true
9
+ argument :override_sis_stickiness, Boolean, required: false
9
10
 
10
11
 
11
12
  field :section, LMSGraphQL::Types::Canvas::CanvasSection, null: false
12
13
 
13
- def resolve(id:, new_course_id:)
14
+ def resolve(id:, new_course_id:, override_sis_stickiness: nil)
14
15
  context[:canvas_api].call("CROSS_LIST_SECTION").proxy(
15
16
  "CROSS_LIST_SECTION",
16
17
  {
17
18
  "id": id,
18
19
  "new_course_id": new_course_id
19
20
  },
20
- {},
21
+ {
22
+ "override_sis_stickiness": override_sis_stickiness
23
+ },
21
24
  ).parsed_response
22
25
  end
23
26
  end
@@ -5,15 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class DeCrossListSection < BaseMutation
7
7
  argument :id, ID, required: true
8
+ argument :override_sis_stickiness, Boolean, required: false
8
9
 
9
10
 
10
11
  field :section, LMSGraphQL::Types::Canvas::CanvasSection, null: false
11
12
 
12
- def resolve(id:)
13
+ def resolve(id:, override_sis_stickiness: nil)
13
14
  context[:canvas_api].call("DE_CROSS_LIST_SECTION").proxy(
14
15
  "DE_CROSS_LIST_SECTION",
15
16
  {
16
- "id": id
17
+ "id": id,
18
+ "override_sis_stickiness": override_sis_stickiness
17
19
  },
18
20
  {},
19
21
  ).parsed_response
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/blackout_date"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class DeleteBlackoutDateAccount < BaseMutation
7
+ argument :account_id, ID, required: true
8
+ argument :id, ID, required: true
9
+
10
+
11
+ field :blackout_date, LMSGraphQL::Types::Canvas::CanvasBlackoutDate, null: false
12
+
13
+ def resolve(account_id:, id:)
14
+ context[:canvas_api].call("DELETE_BLACKOUT_DATE_ACCOUNTS").proxy(
15
+ "DELETE_BLACKOUT_DATE_ACCOUNTS",
16
+ {
17
+ "account_id": account_id,
18
+ "id": id
19
+ },
20
+ {},
21
+ ).parsed_response
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/blackout_date"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class DeleteBlackoutDateCourse < BaseMutation
7
+ argument :course_id, ID, required: true
8
+ argument :id, ID, required: true
9
+
10
+
11
+ field :blackout_date, LMSGraphQL::Types::Canvas::CanvasBlackoutDate, null: false
12
+
13
+ def resolve(course_id:, id:)
14
+ context[:canvas_api].call("DELETE_BLACKOUT_DATE_COURSES").proxy(
15
+ "DELETE_BLACKOUT_DATE_COURSES",
16
+ {
17
+ "course_id": course_id,
18
+ "id": id
19
+ },
20
+ {},
21
+ ).parsed_response
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -6,16 +6,18 @@ module LMSGraphQL
6
6
  class DeleteCalendarEvent < BaseMutation
7
7
  argument :id, ID, required: true
8
8
  argument :cancel_reason, String, required: false
9
+ argument :which, String, required: false
9
10
 
10
11
 
11
12
  field :return_value, Boolean, null: false
12
13
 
13
- def resolve(id:, cancel_reason: nil)
14
+ def resolve(id:, cancel_reason: nil, which: nil)
14
15
  context[:canvas_api].call("DELETE_CALENDAR_EVENT").proxy(
15
16
  "DELETE_CALENDAR_EVENT",
16
17
  {
17
18
  "id": id,
18
- "cancel_reason": cancel_reason
19
+ "cancel_reason": cancel_reason,
20
+ "which": which
19
21
  },
20
22
  {},
21
23
  ).parsed_response
@@ -5,17 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class DeletePageCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
- argument :url, String, required: true
8
+ argument :url_or_id, ID, required: true
9
9
 
10
10
 
11
11
  field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
12
12
 
13
- def resolve(course_id:, url:)
13
+ def resolve(course_id:, url_or_id:)
14
14
  context[:canvas_api].call("DELETE_PAGE_COURSES").proxy(
15
15
  "DELETE_PAGE_COURSES",
16
16
  {
17
17
  "course_id": course_id,
18
- "url": url
18
+ "url_or_id": url_or_id
19
19
  },
20
20
  {},
21
21
  ).parsed_response
@@ -5,17 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class DeletePageGroup < BaseMutation
7
7
  argument :group_id, ID, required: true
8
- argument :url, String, required: true
8
+ argument :url_or_id, ID, required: true
9
9
 
10
10
 
11
11
  field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
12
12
 
13
- def resolve(group_id:, url:)
13
+ def resolve(group_id:, url_or_id:)
14
14
  context[:canvas_api].call("DELETE_PAGE_GROUPS").proxy(
15
15
  "DELETE_PAGE_GROUPS",
16
16
  {
17
17
  "group_id": group_id,
18
- "url": url
18
+ "url_or_id": url_or_id
19
19
  },
20
20
  {},
21
21
  ).parsed_response
@@ -5,17 +5,17 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class DuplicatePage < BaseMutation
7
7
  argument :course_id, ID, required: true
8
- argument :url, String, required: true
8
+ argument :url_or_id, ID, required: true
9
9
 
10
10
 
11
11
  field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
12
12
 
13
- def resolve(course_id:, url:)
13
+ def resolve(course_id:, url_or_id:)
14
14
  context[:canvas_api].call("DUPLICATE_PAGE").proxy(
15
15
  "DUPLICATE_PAGE",
16
16
  {
17
17
  "course_id": course_id,
18
- "url": url
18
+ "url_or_id": url_or_id
19
19
  },
20
20
  {},
21
21
  ).parsed_response
@@ -24,9 +24,9 @@ module LMSGraphQL
24
24
  argument :assignment_external_tool_tag_attributes, String, required: false
25
25
  argument :assignment_points_possible, Float, required: false
26
26
  argument :assignment_grading_type, String, required: false
27
- argument :assignment_due_at, LMSGraphQL::Types::DateTimeType, required: false
28
- argument :assignment_lock_at, LMSGraphQL::Types::DateTimeType, required: false
29
- argument :assignment_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
27
+ argument :assignment_due_at, GraphQL::Types::ISO8601DateTime, required: false
28
+ argument :assignment_lock_at, GraphQL::Types::ISO8601DateTime, required: false
29
+ argument :assignment_unlock_at, GraphQL::Types::ISO8601DateTime, required: false
30
30
  argument :assignment_description, String, required: false
31
31
  argument :assignment_assignment_group_id, Int, required: false
32
32
  argument :assignment_assignment_overrides, [LMSGraphQL::Types::Canvas::CanvasAssignmentOverrideInput], required: false
@@ -43,11 +43,12 @@ module LMSGraphQL
43
43
  argument :assignment_anonymous_grading, Boolean, required: false
44
44
  argument :assignment_allowed_attempts, Int, required: false
45
45
  argument :assignment_annotatable_attachment_id, Int, required: false
46
+ argument :assignment_force_updated_at, Boolean, required: false
46
47
 
47
48
 
48
49
  field :assignment, LMSGraphQL::Types::Canvas::CanvasAssignment, null: false
49
50
 
50
- def resolve(course_id:, id:, assignment_name: nil, assignment_position: nil, assignment_submission_types: nil, assignment_allowed_extensions: nil, assignment_turnitin_enabled: nil, assignment_vericite_enabled: nil, assignment_turnitin_settings: nil, assignment_sis_assignment_id: nil, assignment_integration_data: nil, assignment_integration_id: nil, assignment_peer_reviews: nil, assignment_automatic_peer_reviews: nil, assignment_notify_of_update: nil, assignment_group_category_id: nil, assignment_grade_group_students_individually: nil, assignment_external_tool_tag_attributes: nil, assignment_points_possible: nil, assignment_grading_type: nil, assignment_due_at: nil, assignment_lock_at: nil, assignment_unlock_at: nil, assignment_description: nil, assignment_assignment_group_id: nil, assignment_assignment_overrides: nil, assignment_only_visible_to_overrides: nil, assignment_published: nil, assignment_grading_standard_id: nil, assignment_omit_from_final_grade: nil, assignment_moderated_grading: nil, assignment_grader_count: nil, assignment_final_grader_id: nil, assignment_grader_comments_visible_to_graders: nil, assignment_graders_anonymous_to_graders: nil, assignment_graders_names_visible_to_final_grader: nil, assignment_anonymous_grading: nil, assignment_allowed_attempts: nil, assignment_annotatable_attachment_id: nil)
51
+ def resolve(course_id:, id:, assignment_name: nil, assignment_position: nil, assignment_submission_types: nil, assignment_allowed_extensions: nil, assignment_turnitin_enabled: nil, assignment_vericite_enabled: nil, assignment_turnitin_settings: nil, assignment_sis_assignment_id: nil, assignment_integration_data: nil, assignment_integration_id: nil, assignment_peer_reviews: nil, assignment_automatic_peer_reviews: nil, assignment_notify_of_update: nil, assignment_group_category_id: nil, assignment_grade_group_students_individually: nil, assignment_external_tool_tag_attributes: nil, assignment_points_possible: nil, assignment_grading_type: nil, assignment_due_at: nil, assignment_lock_at: nil, assignment_unlock_at: nil, assignment_description: nil, assignment_assignment_group_id: nil, assignment_assignment_overrides: nil, assignment_only_visible_to_overrides: nil, assignment_published: nil, assignment_grading_standard_id: nil, assignment_omit_from_final_grade: nil, assignment_moderated_grading: nil, assignment_grader_count: nil, assignment_final_grader_id: nil, assignment_grader_comments_visible_to_graders: nil, assignment_graders_anonymous_to_graders: nil, assignment_graders_names_visible_to_final_grader: nil, assignment_anonymous_grading: nil, assignment_allowed_attempts: nil, assignment_annotatable_attachment_id: nil, assignment_force_updated_at: nil)
51
52
  context[:canvas_api].call("EDIT_ASSIGNMENT").proxy(
52
53
  "EDIT_ASSIGNMENT",
53
54
  {
@@ -91,7 +92,8 @@ module LMSGraphQL
91
92
  "assignment[graders_names_visible_to_final_grader]": assignment_graders_names_visible_to_final_grader,
92
93
  "assignment[anonymous_grading]": assignment_anonymous_grading,
93
94
  "assignment[allowed_attempts]": assignment_allowed_attempts,
94
- "assignment[annotatable_attachment_id]": assignment_annotatable_attachment_id
95
+ "assignment[annotatable_attachment_id]": assignment_annotatable_attachment_id,
96
+ "assignment[force_updated_at]": assignment_force_updated_at
95
97
  },
96
98
  ).parsed_response
97
99
  end
@@ -13,11 +13,12 @@ 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
+ argument :override_sis_stickiness, Boolean, required: false
16
17
 
17
18
 
18
19
  field :group, LMSGraphQL::Types::Canvas::CanvasGroup, null: false
19
20
 
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)
21
+ 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, override_sis_stickiness: nil)
21
22
  context[:canvas_api].call("EDIT_GROUP").proxy(
22
23
  "EDIT_GROUP",
23
24
  {
@@ -31,7 +32,8 @@ module LMSGraphQL
31
32
  "avatar_id": avatar_id,
32
33
  "storage_quota_mb": storage_quota_mb,
33
34
  "members": members,
34
- "sis_group_id": sis_group_id
35
+ "sis_group_id": sis_group_id,
36
+ "override_sis_stickiness": override_sis_stickiness
35
37
  },
36
38
  ).parsed_response
37
39
  end
@@ -8,14 +8,15 @@ module LMSGraphQL
8
8
  argument :course_section_name, String, required: false
9
9
  argument :course_section_sis_section_id, String, required: false
10
10
  argument :course_section_integration_id, String, required: false
11
- argument :course_section_start_at, LMSGraphQL::Types::DateTimeType, required: false
12
- argument :course_section_end_at, LMSGraphQL::Types::DateTimeType, required: false
11
+ argument :course_section_start_at, GraphQL::Types::ISO8601DateTime, required: false
12
+ argument :course_section_end_at, GraphQL::Types::ISO8601DateTime, required: false
13
13
  argument :course_section_restrict_enrollments_to_section_dates, Boolean, required: false
14
+ argument :override_sis_stickiness, Boolean, required: false
14
15
 
15
16
 
16
17
  field :section, LMSGraphQL::Types::Canvas::CanvasSection, null: false
17
18
 
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)
19
+ 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, override_sis_stickiness: nil)
19
20
  context[:canvas_api].call("EDIT_SECTION").proxy(
20
21
  "EDIT_SECTION",
21
22
  {
@@ -27,7 +28,8 @@ module LMSGraphQL
27
28
  "course_section[integration_id]": course_section_integration_id,
28
29
  "course_section[start_at]": course_section_start_at,
29
30
  "course_section[end_at]": course_section_end_at,
30
- "course_section[restrict_enrollments_to_section_dates]": course_section_restrict_enrollments_to_section_dates
31
+ "course_section[restrict_enrollments_to_section_dates]": course_section_restrict_enrollments_to_section_dates,
32
+ "override_sis_stickiness": override_sis_stickiness
31
33
  },
32
34
  ).parsed_response
33
35
  end
@@ -13,15 +13,17 @@ module LMSGraphQL
13
13
  argument :user_locale, String, required: false
14
14
  argument :user_avatar_token, String, required: false
15
15
  argument :user_avatar_url, String, required: false
16
+ argument :user_avatar_state, String, required: false
16
17
  argument :user_title, String, required: false
17
18
  argument :user_bio, String, required: false
18
19
  argument :user_pronouns, String, required: false
19
20
  argument :user_event, String, required: false
21
+ argument :override_sis_stickiness, Boolean, required: false
20
22
 
21
23
 
22
24
  field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
23
25
 
24
- 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, user_event: nil)
26
+ 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_avatar_state: nil, user_title: nil, user_bio: nil, user_pronouns: nil, user_event: nil, override_sis_stickiness: nil)
25
27
  context[:canvas_api].call("EDIT_USER").proxy(
26
28
  "EDIT_USER",
27
29
  {
@@ -36,10 +38,12 @@ module LMSGraphQL
36
38
  "user[locale]": user_locale,
37
39
  "user[avatar][token]": user_avatar_token,
38
40
  "user[avatar][url]": user_avatar_url,
41
+ "user[avatar][state]": user_avatar_state,
39
42
  "user[title]": user_title,
40
43
  "user[bio]": user_bio,
41
44
  "user[pronouns]": user_pronouns,
42
- "user[event]": user_event
45
+ "user[event]": user_event,
46
+ "override_sis_stickiness": override_sis_stickiness
43
47
  },
44
48
  ).parsed_response
45
49
  end
@@ -0,0 +1,53 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/user"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class EditUser < BaseMutation
7
+ argument :id, ID, required: true
8
+ argument :user_name, String, required: false
9
+ argument :user_short_name, String, required: false
10
+ argument :user_sortable_name, String, required: false
11
+ argument :user_time_zone, String, required: false
12
+ argument :user_email, String, required: false
13
+ argument :user_locale, String, required: false
14
+ argument :user_avatar_token, String, required: false
15
+ argument :user_avatar_url, String, required: false
16
+ argument :user_avatar_state, String, required: false
17
+ argument :user_title, String, required: false
18
+ argument :user_bio, String, required: false
19
+ argument :user_pronouns, String, required: false
20
+ argument :user_event, String, required: false
21
+ argument :override_sis_stickiness, Boolean, required: false
22
+
23
+
24
+ field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
25
+
26
+ 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_avatar_state: nil, user_title: nil, user_bio: nil, user_pronouns: nil, user_event: nil, override_sis_stickiness: nil)
27
+ context[:canvas_api].call("EDIT_USER").proxy(
28
+ "EDIT_USER",
29
+ {
30
+ "id": id
31
+ },
32
+ {
33
+ "user[name]": user_name,
34
+ "user[short_name]": user_short_name,
35
+ "user[sortable_name]": user_sortable_name,
36
+ "user[time_zone]": user_time_zone,
37
+ "user[email]": user_email,
38
+ "user[locale]": user_locale,
39
+ "user[avatar][token]": user_avatar_token,
40
+ "user[avatar][url]": user_avatar_url,
41
+ "user[avatar][state]": user_avatar_state,
42
+ "user[title]": user_title,
43
+ "user[bio]": user_bio,
44
+ "user[pronouns]": user_pronouns,
45
+ "user[event]": user_event,
46
+ "override_sis_stickiness": override_sis_stickiness
47
+ },
48
+ ).parsed_response
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,47 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/user"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class EditUser < BaseMutation
7
+ argument :id, ID, required: true
8
+ argument :user_name, String, required: false
9
+ argument :user_short_name, String, required: false
10
+ argument :user_sortable_name, String, required: false
11
+ argument :user_time_zone, String, required: false
12
+ argument :user_email, String, required: false
13
+ argument :user_locale, String, required: false
14
+ argument :user_avatar_token, String, required: false
15
+ argument :user_avatar_url, String, required: false
16
+ argument :user_title, String, required: false
17
+ argument :user_bio, String, required: false
18
+ argument :user_pronouns, String, required: false
19
+
20
+
21
+ field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
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)
24
+ context[:canvas_api].call("EDIT_USER").proxy(
25
+ "EDIT_USER",
26
+ {
27
+ "id": id
28
+ },
29
+ {
30
+ "user[name]": user_name,
31
+ "user[short_name]": user_short_name,
32
+ "user[sortable_name]": user_sortable_name,
33
+ "user[time_zone]": user_time_zone,
34
+ "user[email]": user_email,
35
+ "user[locale]": user_locale,
36
+ "user[avatar][token]": user_avatar_token,
37
+ "user[avatar][url]": user_avatar_url,
38
+ "user[title]": user_title,
39
+ "user[bio]": user_bio,
40
+ "user[pronouns]": user_pronouns
41
+ },
42
+ ).parsed_response
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,53 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/user"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class EditUser < BaseMutation
7
+ argument :id, ID, required: true
8
+ argument :user_name, String, required: false
9
+ argument :user_short_name, String, required: false
10
+ argument :user_sortable_name, String, required: false
11
+ argument :user_time_zone, String, required: false
12
+ argument :user_email, String, required: false
13
+ argument :user_locale, String, required: false
14
+ argument :user_avatar_token, String, required: false
15
+ argument :user_avatar_url, String, required: false
16
+ argument :user_avatar_state, String, required: false
17
+ argument :user_title, String, required: false
18
+ argument :user_bio, String, required: false
19
+ argument :user_pronouns, String, required: false
20
+ argument :user_event, String, required: false
21
+ argument :override_sis_stickiness, Boolean, required: false
22
+
23
+
24
+ field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
25
+
26
+ 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_avatar_state: nil, user_title: nil, user_bio: nil, user_pronouns: nil, user_event: nil, override_sis_stickiness: nil)
27
+ context[:canvas_api].call("EDIT_USER").proxy(
28
+ "EDIT_USER",
29
+ {
30
+ "id": id
31
+ },
32
+ {
33
+ "user[name]": user_name,
34
+ "user[short_name]": user_short_name,
35
+ "user[sortable_name]": user_sortable_name,
36
+ "user[time_zone]": user_time_zone,
37
+ "user[email]": user_email,
38
+ "user[locale]": user_locale,
39
+ "user[avatar][token]": user_avatar_token,
40
+ "user[avatar][url]": user_avatar_url,
41
+ "user[avatar][state]": user_avatar_state,
42
+ "user[title]": user_title,
43
+ "user[bio]": user_bio,
44
+ "user[pronouns]": user_pronouns,
45
+ "user[event]": user_event,
46
+ "override_sis_stickiness": override_sis_stickiness
47
+ },
48
+ ).parsed_response
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,49 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/user"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class EditUser < BaseMutation
7
+ argument :id, ID, required: true
8
+ argument :user_name, String, required: false
9
+ argument :user_short_name, String, required: false
10
+ argument :user_sortable_name, String, required: false
11
+ argument :user_time_zone, String, required: false
12
+ argument :user_email, String, required: false
13
+ argument :user_locale, String, required: false
14
+ argument :user_avatar_token, String, required: false
15
+ argument :user_avatar_url, String, required: false
16
+ argument :user_title, String, required: false
17
+ argument :user_bio, String, required: false
18
+ argument :user_pronouns, String, required: false
19
+ argument :user_event, String, required: false
20
+
21
+
22
+ field :user, LMSGraphQL::Types::Canvas::CanvasUser, null: false
23
+
24
+ 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, user_event: nil)
25
+ context[:canvas_api].call("EDIT_USER").proxy(
26
+ "EDIT_USER",
27
+ {
28
+ "id": id
29
+ },
30
+ {
31
+ "user[name]": user_name,
32
+ "user[short_name]": user_short_name,
33
+ "user[sortable_name]": user_sortable_name,
34
+ "user[time_zone]": user_time_zone,
35
+ "user[email]": user_email,
36
+ "user[locale]": user_locale,
37
+ "user[avatar][token]": user_avatar_token,
38
+ "user[avatar][url]": user_avatar_url,
39
+ "user[title]": user_title,
40
+ "user[bio]": user_bio,
41
+ "user[pronouns]": user_pronouns,
42
+ "user[event]": user_event
43
+ },
44
+ ).parsed_response
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -13,11 +13,12 @@ module LMSGraphQL
13
13
  argument :login_authentication_provider_id, String, required: false
14
14
  argument :login_workflow_state, String, required: false
15
15
  argument :login_declared_user_type, String, required: false
16
+ argument :override_sis_stickiness, Boolean, required: false
16
17
 
17
18
 
18
19
  field :return_value, Boolean, null: false
19
20
 
20
- 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, login_workflow_state: nil, login_declared_user_type: nil)
21
+ 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, login_workflow_state: nil, login_declared_user_type: nil, override_sis_stickiness: nil)
21
22
  context[:canvas_api].call("EDIT_USER_LOGIN").proxy(
22
23
  "EDIT_USER_LOGIN",
23
24
  {
@@ -31,7 +32,8 @@ module LMSGraphQL
31
32
  "login[integration_id]": login_integration_id,
32
33
  "login[authentication_provider_id]": login_authentication_provider_id,
33
34
  "login[workflow_state]": login_workflow_state,
34
- "login[declared_user_type]": login_declared_user_type
35
+ "login[declared_user_type]": login_declared_user_type,
36
+ "override_sis_stickiness": override_sis_stickiness
35
37
  },
36
38
  ).parsed_response
37
39
  end
@@ -5,8 +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
+ argument :enrollment_start_at, GraphQL::Types::ISO8601DateTime, required: false
9
+ argument :enrollment_end_at, GraphQL::Types::ISO8601DateTime, required: false
10
10
  argument :enrollment_user_id, String, required: true
11
11
  argument :enrollment_type, String, required: true
12
12
  argument :enrollment_role, String, required: false
@@ -5,8 +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
+ argument :enrollment_start_at, GraphQL::Types::ISO8601DateTime, required: false
9
+ argument :enrollment_end_at, GraphQL::Types::ISO8601DateTime, required: false
10
10
  argument :enrollment_user_id, String, required: true
11
11
  argument :enrollment_type, String, required: true
12
12
  argument :enrollment_role, String, required: false
@@ -8,11 +8,13 @@ module LMSGraphQL
8
8
  argument :assignment_id, ID, required: true
9
9
  argument :user_id, ID, required: true
10
10
  argument :comment_text_comment, String, required: false
11
+ argument :comment_attempt, Int, required: false
11
12
  argument :comment_group_comment, Boolean, required: false
12
13
  argument :comment_media_comment_id, String, required: false
13
14
  argument :comment_media_comment_type, String, required: false
14
15
  argument :comment_file_ids, [Int], required: false
15
16
  argument :include_visibility, String, required: false
17
+ argument :prefer_points_over_scheme, Boolean, required: false
16
18
  argument :submission_posted_grade, String, required: false
17
19
  argument :submission_excuse, Boolean, required: false
18
20
  argument :submission_late_policy_status, String, required: false
@@ -22,7 +24,7 @@ module LMSGraphQL
22
24
 
23
25
  field :return_value, Boolean, null: false
24
26
 
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)
27
+ def resolve(course_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_attempt: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, prefer_points_over_scheme: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
26
28
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_COURSES").proxy(
27
29
  "GRADE_OR_COMMENT_ON_SUBMISSION_COURSES",
28
30
  {
@@ -32,11 +34,13 @@ module LMSGraphQL
32
34
  },
33
35
  {
34
36
  "comment[text_comment]": comment_text_comment,
37
+ "comment[attempt]": comment_attempt,
35
38
  "comment[group_comment]": comment_group_comment,
36
39
  "comment[media_comment_id]": comment_media_comment_id,
37
40
  "comment[media_comment_type]": comment_media_comment_type,
38
41
  "comment[file_ids]": comment_file_ids,
39
42
  "include[visibility]": include_visibility,
43
+ "prefer_points_over_scheme": prefer_points_over_scheme,
40
44
  "submission[posted_grade]": submission_posted_grade,
41
45
  "submission[excuse]": submission_excuse,
42
46
  "submission[late_policy_status]": submission_late_policy_status,
@@ -8,11 +8,13 @@ module LMSGraphQL
8
8
  argument :assignment_id, ID, required: true
9
9
  argument :user_id, ID, required: true
10
10
  argument :comment_text_comment, String, required: false
11
+ argument :comment_attempt, Int, required: false
11
12
  argument :comment_group_comment, Boolean, required: false
12
13
  argument :comment_media_comment_id, String, required: false
13
14
  argument :comment_media_comment_type, String, required: false
14
15
  argument :comment_file_ids, [Int], required: false
15
16
  argument :include_visibility, String, required: false
17
+ argument :prefer_points_over_scheme, Boolean, required: false
16
18
  argument :submission_posted_grade, String, required: false
17
19
  argument :submission_excuse, Boolean, required: false
18
20
  argument :submission_late_policy_status, String, required: false
@@ -22,7 +24,7 @@ module LMSGraphQL
22
24
 
23
25
  field :return_value, Boolean, null: false
24
26
 
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)
27
+ def resolve(section_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_attempt: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, prefer_points_over_scheme: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
26
28
  context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS").proxy(
27
29
  "GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS",
28
30
  {
@@ -32,11 +34,13 @@ module LMSGraphQL
32
34
  },
33
35
  {
34
36
  "comment[text_comment]": comment_text_comment,
37
+ "comment[attempt]": comment_attempt,
35
38
  "comment[group_comment]": comment_group_comment,
36
39
  "comment[media_comment_id]": comment_media_comment_id,
37
40
  "comment[media_comment_type]": comment_media_comment_type,
38
41
  "comment[file_ids]": comment_file_ids,
39
42
  "include[visibility]": include_visibility,
43
+ "prefer_points_over_scheme": prefer_points_over_scheme,
40
44
  "submission[posted_grade]": submission_posted_grade,
41
45
  "submission[excuse]": submission_excuse,
42
46
  "submission[late_policy_status]": submission_late_policy_status,