lms-graphql-api 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +5 -5
  2. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +3 -2
  3. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +3 -2
  4. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +3 -2
  5. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +3 -2
  6. data/lib/lms_graphql/mutations/canvas/activate_role.rb +5 -3
  7. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +3 -2
  8. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +3 -2
  9. data/lib/lms_graphql/mutations/canvas/add_domain_to_account_whitelist.rb +5 -3
  10. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +3 -2
  11. data/lib/lms_graphql/mutations/canvas/add_message.rb +5 -3
  12. data/lib/lms_graphql/mutations/canvas/add_multiple_domains_to_account_whitelist.rb +24 -0
  13. data/lib/lms_graphql/mutations/canvas/add_observee.rb +5 -3
  14. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +5 -3
  15. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +5 -3
  16. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +3 -2
  17. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +5 -3
  18. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +5 -3
  19. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +5 -3
  20. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +3 -2
  21. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +5 -3
  22. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +5 -3
  23. data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +3 -2
  24. data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +5 -3
  25. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +2 -3
  26. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +3 -2
  27. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +5 -3
  28. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +3 -2
  29. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +5 -3
  30. data/lib/lms_graphql/mutations/canvas/copy_file.rb +5 -3
  31. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +5 -3
  32. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +5 -3
  33. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +5 -3
  34. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +3 -2
  35. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -2
  36. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +5 -3
  37. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +5 -3
  38. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +5 -3
  39. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +3 -2
  40. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +3 -2
  41. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +5 -3
  42. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +5 -3
  43. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +5 -3
  44. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +5 -3
  45. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +5 -3
  46. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +3 -2
  47. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +5 -3
  48. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +5 -3
  49. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +5 -3
  50. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +3 -2
  51. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +3 -2
  52. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +5 -3
  53. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +5 -3
  54. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +5 -3
  55. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +5 -3
  56. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +5 -3
  57. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +5 -3
  58. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +5 -3
  59. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +5 -3
  60. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +5 -3
  61. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +5 -3
  62. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +5 -3
  63. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +5 -3
  64. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +3 -2
  65. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +2 -3
  66. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +5 -3
  67. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +5 -3
  68. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +5 -3
  69. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +5 -3
  70. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +5 -3
  71. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +5 -3
  72. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +5 -3
  73. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +3 -2
  74. data/lib/lms_graphql/mutations/canvas/create_membership.rb +5 -3
  75. data/lib/lms_graphql/mutations/canvas/create_module.rb +5 -3
  76. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +5 -3
  77. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +5 -3
  78. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +5 -3
  79. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +5 -3
  80. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +5 -3
  81. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +5 -3
  82. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +5 -3
  83. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +5 -3
  84. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +3 -2
  85. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +5 -3
  86. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +5 -3
  87. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +5 -3
  88. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +5 -3
  89. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +3 -2
  90. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +3 -2
  91. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +5 -3
  92. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -3
  93. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +5 -3
  94. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +5 -3
  95. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +3 -2
  96. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +5 -3
  97. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +5 -3
  98. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +5 -3
  99. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +5 -3
  100. data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +5 -3
  101. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +5 -3
  102. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +5 -3
  103. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +5 -3
  104. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings.rb +5 -3
  105. data/lib/lms_graphql/mutations/canvas/create_user.rb +5 -3
  106. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +5 -3
  107. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +3 -2
  108. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +3 -2
  109. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +3 -2
  110. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +3 -2
  111. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +3 -2
  112. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +3 -2
  113. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +3 -2
  114. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +3 -2
  115. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +3 -2
  116. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +3 -2
  117. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +3 -2
  118. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +3 -2
  119. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +3 -2
  120. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +3 -2
  121. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +3 -2
  122. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +3 -2
  123. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +3 -2
  124. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +3 -2
  125. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +3 -2
  126. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +3 -2
  127. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +3 -2
  128. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +3 -2
  129. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +3 -2
  130. data/lib/lms_graphql/mutations/canvas/delete_file.rb +3 -2
  131. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +3 -2
  132. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +3 -2
  133. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +3 -2
  134. data/lib/lms_graphql/mutations/canvas/delete_group.rb +3 -2
  135. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +3 -2
  136. data/lib/lms_graphql/mutations/canvas/delete_message.rb +5 -3
  137. data/lib/lms_graphql/mutations/canvas/delete_module.rb +3 -2
  138. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +3 -2
  139. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +3 -2
  140. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +3 -2
  141. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +3 -2
  142. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -2
  143. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -2
  144. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +3 -2
  145. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +3 -2
  146. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +3 -2
  147. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +3 -2
  148. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +3 -2
  149. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +3 -2
  150. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +3 -2
  151. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +2 -3
  152. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +3 -2
  153. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +3 -2
  154. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +3 -2
  155. data/lib/lms_graphql/mutations/canvas/delete_report.rb +3 -2
  156. data/lib/lms_graphql/mutations/canvas/delete_section.rb +3 -2
  157. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +3 -2
  158. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +3 -2
  159. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +3 -2
  160. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +3 -2
  161. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +3 -2
  162. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +3 -2
  163. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +3 -2
  164. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +5 -3
  165. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -2
  166. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +5 -3
  167. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +3 -2
  168. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +5 -3
  169. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +3 -2
  170. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +3 -2
  171. data/lib/lms_graphql/mutations/canvas/edit_group.rb +5 -3
  172. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +5 -3
  173. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +5 -3
  174. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +5 -3
  175. data/lib/lms_graphql/mutations/canvas/edit_section.rb +5 -3
  176. data/lib/lms_graphql/mutations/canvas/edit_user.rb +10 -4
  177. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +5 -3
  178. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +5 -3
  179. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +5 -3
  180. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +5 -3
  181. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +5 -3
  182. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +5 -3
  183. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +5 -3
  184. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +5 -3
  185. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +3 -2
  186. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +5 -3
  187. data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +3 -2
  188. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +5 -3
  189. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +5 -3
  190. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +5 -3
  191. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +5 -3
  192. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +5 -3
  193. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +5 -3
  194. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +5 -3
  195. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +3 -2
  196. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +2 -3
  197. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +3 -2
  198. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +5 -3
  199. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +5 -3
  200. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +5 -3
  201. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +5 -3
  202. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +5 -3
  203. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -3
  204. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +5 -3
  205. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +3 -2
  206. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +3 -2
  207. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +5 -3
  208. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +2 -3
  209. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +5 -3
  210. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +5 -3
  211. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +3 -2
  212. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +3 -2
  213. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +5 -3
  214. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +5 -3
  215. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +3 -2
  216. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +3 -2
  217. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +3 -2
  218. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +3 -2
  219. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +3 -2
  220. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +3 -2
  221. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +3 -2
  222. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +3 -2
  223. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +3 -2
  224. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +3 -2
  225. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +3 -2
  226. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +3 -2
  227. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +3 -2
  228. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +3 -2
  229. data/lib/lms_graphql/mutations/canvas/mutations.rb +1 -1
  230. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +5 -3
  231. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +5 -3
  232. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +5 -3
  233. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +5 -3
  234. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +5 -3
  235. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +5 -3
  236. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +5 -3
  237. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +3 -2
  238. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +5 -3
  239. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +5 -3
  240. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +5 -3
  241. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +5 -3
  242. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +3 -2
  243. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +3 -2
  244. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +3 -2
  245. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +3 -2
  246. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +3 -2
  247. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +3 -2
  248. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +3 -2
  249. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account_whitelist.rb +3 -2
  250. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +3 -2
  251. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +3 -2
  252. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +3 -2
  253. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +3 -2
  254. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +3 -2
  255. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +3 -2
  256. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +3 -2
  257. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +3 -2
  258. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +5 -3
  259. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +5 -3
  260. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +5 -3
  261. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +5 -3
  262. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +5 -3
  263. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +5 -3
  264. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +5 -3
  265. data/lib/lms_graphql/mutations/canvas/reset_course.rb +3 -2
  266. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +2 -3
  267. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +2 -3
  268. data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +5 -3
  269. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -2
  270. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -2
  271. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +5 -3
  272. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +3 -2
  273. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +5 -3
  274. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +5 -3
  275. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +5 -3
  276. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +5 -3
  277. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +5 -3
  278. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +5 -3
  279. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +5 -3
  280. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +5 -3
  281. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +5 -3
  282. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +5 -3
  283. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +5 -3
  284. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +5 -3
  285. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +5 -3
  286. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +5 -3
  287. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +3 -2
  288. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +2 -3
  289. data/lib/lms_graphql/mutations/canvas/start_report.rb +5 -3
  290. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +5 -3
  291. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +3 -2
  292. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +5 -3
  293. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +5 -3
  294. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +5 -3
  295. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +3 -2
  296. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +3 -2
  297. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +3 -2
  298. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +5 -3
  299. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +3 -2
  300. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +3 -2
  301. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +3 -2
  302. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +3 -2
  303. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +3 -2
  304. data/lib/lms_graphql/mutations/canvas/update_account.rb +5 -3
  305. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +3 -2
  306. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +5 -3
  307. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +5 -3
  308. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +5 -3
  309. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +3 -2
  310. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +5 -3
  311. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +5 -3
  312. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +5 -3
  313. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +3 -2
  314. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +3 -2
  315. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +3 -2
  316. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +3 -2
  317. data/lib/lms_graphql/mutations/canvas/update_course.rb +5 -3
  318. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +5 -3
  319. data/lib/lms_graphql/mutations/canvas/update_courses.rb +5 -3
  320. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +5 -3
  321. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +5 -3
  322. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +5 -3
  323. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +5 -3
  324. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +5 -3
  325. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +3 -2
  326. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +3 -2
  327. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +5 -3
  328. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +5 -3
  329. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +5 -3
  330. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +5 -3
  331. data/lib/lms_graphql/mutations/canvas/update_file.rb +5 -3
  332. data/lib/lms_graphql/mutations/canvas/update_folder.rb +5 -3
  333. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +5 -3
  334. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +5 -3
  335. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +5 -3
  336. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +5 -3
  337. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +5 -3
  338. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +5 -3
  339. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +5 -3
  340. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +5 -3
  341. data/lib/lms_graphql/mutations/canvas/update_module.rb +5 -3
  342. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +5 -3
  343. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +5 -3
  344. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +5 -3
  345. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +5 -3
  346. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +5 -3
  347. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +5 -3
  348. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +5 -3
  349. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +5 -3
  350. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +5 -3
  351. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +5 -3
  352. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +5 -3
  353. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +5 -3
  354. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +5 -3
  355. data/lib/lms_graphql/mutations/canvas/update_role.rb +5 -3
  356. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +3 -2
  357. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +5 -3
  358. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +5 -3
  359. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +5 -3
  360. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +5 -3
  361. data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +5 -3
  362. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +5 -3
  363. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +5 -3
  364. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +5 -3
  365. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +5 -3
  366. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +3 -2
  367. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +3 -2
  368. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +3 -2
  369. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +3 -2
  370. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +5 -3
  371. data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
  372. data/lib/lms_graphql/types/canvas/change_record_input.rb +1 -1
  373. data/lib/lms_graphql/version.rb +1 -1
  374. metadata +4 -3
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UNLINK_OUTCOME_GLOBAL",
13
13
  {
14
14
  "id": id,
15
- "outcome_id": outcome_id },
16
- nil,
15
+ "outcome_id": outcome_id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UNSUBSCRIBE_FROM_TOPIC_COURSES",
13
13
  {
14
14
  "course_id": course_id,
15
- "topic_id": topic_id },
16
- nil,
15
+ "topic_id": topic_id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UNSUBSCRIBE_FROM_TOPIC_GROUPS",
13
13
  {
14
14
  "group_id": group_id,
15
- "topic_id": topic_id },
16
- nil,
15
+ "topic_id": topic_id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -25,7 +25,9 @@ module LMSGraphQL
25
25
  context[:canvas_api].call("UPDATE_ACCOUNT").proxy(
26
26
  "UPDATE_ACCOUNT",
27
27
  {
28
- "id": id,
28
+ "id": id
29
+ },
30
+ {
29
31
  "account[name]": account_name,
30
32
  "account[sis_account_id]": account_sis_account_id,
31
33
  "account[default_time_zone]": account_default_time_zone,
@@ -40,8 +42,8 @@ module LMSGraphQL
40
42
  "account[settings][lock_all_announcements][locked]": account_settings_lock_all_announcements_locked,
41
43
  "account[settings][restrict_student_future_listing][value]": account_settings_restrict_student_future_listing_value,
42
44
  "account[settings][restrict_student_future_listing][locked]": account_settings_restrict_student_future_listing_locked,
43
- "account[services]": account_services },
44
- nil,
45
+ "account[services]": account_services
46
+ },
45
47
  ).parsed_response
46
48
  end
47
49
  end
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("UPDATE_ACCOUNT_AUTH_SETTINGS").proxy(
11
11
  "UPDATE_ACCOUNT_AUTH_SETTINGS",
12
12
  {
13
- "account_id": account_id },
14
- nil,
13
+ "account_id": account_id
14
+ },
15
+ {},
15
16
  ).parsed_response
16
17
  end
17
18
  end
@@ -22,7 +22,9 @@ module LMSGraphQL
22
22
  context[:canvas_api].call("UPDATE_APPOINTMENT_GROUP").proxy(
23
23
  "UPDATE_APPOINTMENT_GROUP",
24
24
  {
25
- "id": id,
25
+ "id": id
26
+ },
27
+ {
26
28
  "appointment_group[context_codes]": appointment_group_context_codes,
27
29
  "appointment_group[sub_context_codes]": appointment_group_sub_context_codes,
28
30
  "appointment_group[title]": appointment_group_title,
@@ -34,8 +36,8 @@ module LMSGraphQL
34
36
  "appointment_group[min_appointments_per_participant]": appointment_group_min_appointments_per_participant,
35
37
  "appointment_group[max_appointments_per_participant]": appointment_group_max_appointments_per_participant,
36
38
  "appointment_group[new_appointments][X]": appointment_group_new_appointments_X,
37
- "appointment_group[participant_visibility]": appointment_group_participant_visibility },
38
- nil,
39
+ "appointment_group[participant_visibility]": appointment_group_participant_visibility
40
+ },
39
41
  ).parsed_response
40
42
  end
41
43
  end
@@ -19,13 +19,15 @@ module LMSGraphQL
19
19
  {
20
20
  "course_id": course_id,
21
21
  "assignment_id": assignment_id,
22
- "id": id,
22
+ "id": id
23
+ },
24
+ {
23
25
  "assignment_override[student_ids]": assignment_override_student_ids,
24
26
  "assignment_override[title]": assignment_override_title,
25
27
  "assignment_override[due_at]": assignment_override_due_at,
26
28
  "assignment_override[unlock_at]": assignment_override_unlock_at,
27
- "assignment_override[lock_at]": assignment_override_lock_at },
28
- nil,
29
+ "assignment_override[lock_at]": assignment_override_lock_at
30
+ },
29
31
  ).parsed_response
30
32
  end
31
33
  end
@@ -14,10 +14,12 @@ module LMSGraphQL
14
14
  "UPDATE_ASSOCIATED_COURSES",
15
15
  {
16
16
  "course_id": course_id,
17
- "template_id": template_id,
17
+ "template_id": template_id
18
+ },
19
+ {
18
20
  "course_ids_to_add": course_ids_to_add,
19
- "course_ids_to_remove": course_ids_to_remove },
20
- nil,
21
+ "course_ids_to_remove": course_ids_to_remove
22
+ },
21
23
  ).parsed_response
22
24
  end
23
25
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_AUTHENTICATION_PROVIDER",
13
13
  {
14
14
  "account_id": account_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -14,12 +14,14 @@ module LMSGraphQL
14
14
  context[:canvas_api].call("UPDATE_BOOKMARK").proxy(
15
15
  "UPDATE_BOOKMARK",
16
16
  {
17
- "id": id,
17
+ "id": id
18
+ },
19
+ {
18
20
  "name": name,
19
21
  "url": url,
20
22
  "position": position,
21
- "data": data },
22
- nil,
23
+ "data": data
24
+ },
23
25
  ).parsed_response
24
26
  end
25
27
  end
@@ -22,7 +22,9 @@ module LMSGraphQL
22
22
  context[:canvas_api].call("UPDATE_CALENDAR_EVENT").proxy(
23
23
  "UPDATE_CALENDAR_EVENT",
24
24
  {
25
- "id": id,
25
+ "id": id
26
+ },
27
+ {
26
28
  "calendar_event[context_code]": calendar_event_context_code,
27
29
  "calendar_event[title]": calendar_event_title,
28
30
  "calendar_event[description]": calendar_event_description,
@@ -34,8 +36,8 @@ module LMSGraphQL
34
36
  "calendar_event[all_day]": calendar_event_all_day,
35
37
  "calendar_event[child_event_data][X][start_at]": calendar_event_child_event_data_X_start_at,
36
38
  "calendar_event[child_event_data][X][end_at]": calendar_event_child_event_data_X_end_at,
37
- "calendar_event[child_event_data][X][context_code]": calendar_event_child_event_data_X_context_code },
38
- nil,
39
+ "calendar_event[child_event_data][X][context_code]": calendar_event_child_event_data_X_context_code
40
+ },
39
41
  ).parsed_response
40
42
  end
41
43
  end
@@ -15,9 +15,11 @@ module LMSGraphQL
15
15
  {
16
16
  "course_id": course_id,
17
17
  "id": id,
18
- "user_id": user_id,
19
- "column_data[content]": column_data_content },
20
- nil,
18
+ "user_id": user_id
19
+ },
20
+ {
21
+ "column_data[content]": column_data_content
22
+ },
21
23
  ).parsed_response
22
24
  end
23
25
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_CONTENT_MIGRATION_ACCOUNTS",
13
13
  {
14
14
  "account_id": account_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_CONTENT_MIGRATION_COURSES",
13
13
  {
14
14
  "course_id": course_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_CONTENT_MIGRATION_GROUPS",
13
13
  {
14
14
  "group_id": group_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_CONTENT_MIGRATION_USERS",
13
13
  {
14
14
  "user_id": user_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -47,7 +47,9 @@ module LMSGraphQL
47
47
  context[:canvas_api].call("UPDATE_COURSE").proxy(
48
48
  "UPDATE_COURSE",
49
49
  {
50
- "id": id,
50
+ "id": id
51
+ },
52
+ {
51
53
  "course[account_id]": course_account_id,
52
54
  "course[name]": course_name,
53
55
  "course[course_code]": course_course_code,
@@ -84,8 +86,8 @@ module LMSGraphQL
84
86
  "course[blueprint]": course_blueprint,
85
87
  "course[blueprint_restrictions]": course_blueprint_restrictions,
86
88
  "course[use_blueprint_restrictions_by_object_type]": course_use_blueprint_restrictions_by_object_type,
87
- "course[blueprint_restrictions_by_object_type]": course_blueprint_restrictions_by_object_type },
88
- nil,
89
+ "course[blueprint_restrictions_by_object_type]": course_blueprint_restrictions_by_object_type
90
+ },
89
91
  ).parsed_response
90
92
  end
91
93
  end
@@ -21,7 +21,9 @@ module LMSGraphQL
21
21
  context[:canvas_api].call("UPDATE_COURSE_SETTINGS").proxy(
22
22
  "UPDATE_COURSE_SETTINGS",
23
23
  {
24
- "course_id": course_id,
24
+ "course_id": course_id
25
+ },
26
+ {
25
27
  "allow_student_discussion_topics": allow_student_discussion_topics,
26
28
  "allow_student_forum_attachments": allow_student_forum_attachments,
27
29
  "allow_student_discussion_editing": allow_student_discussion_editing,
@@ -32,8 +34,8 @@ module LMSGraphQL
32
34
  "restrict_student_past_view": restrict_student_past_view,
33
35
  "restrict_student_future_view": restrict_student_future_view,
34
36
  "show_announcements_on_home_page": show_announcements_on_home_page,
35
- "home_page_announcement_limit": home_page_announcement_limit },
36
- nil,
37
+ "home_page_announcement_limit": home_page_announcement_limit
38
+ },
37
39
  ).parsed_response
38
40
  end
39
41
  end
@@ -12,10 +12,12 @@ module LMSGraphQL
12
12
  context[:canvas_api].call("UPDATE_COURSES").proxy(
13
13
  "UPDATE_COURSES",
14
14
  {
15
- "account_id": account_id,
15
+ "account_id": account_id
16
+ },
17
+ {
16
18
  "course_ids": course_ids,
17
- "event": event },
18
- nil,
19
+ "event": event
20
+ },
19
21
  ).parsed_response
20
22
  end
21
23
  end
@@ -15,13 +15,15 @@ module LMSGraphQL
15
15
  context[:canvas_api].call("UPDATE_CREATE_FRONT_PAGE_COURSES").proxy(
16
16
  "UPDATE_CREATE_FRONT_PAGE_COURSES",
17
17
  {
18
- "course_id": course_id,
18
+ "course_id": course_id
19
+ },
20
+ {
19
21
  "wiki_page[title]": wiki_page_title,
20
22
  "wiki_page[body]": wiki_page_body,
21
23
  "wiki_page[editing_roles]": wiki_page_editing_roles,
22
24
  "wiki_page[notify_of_update]": wiki_page_notify_of_update,
23
- "wiki_page[published]": wiki_page_published },
24
- nil,
25
+ "wiki_page[published]": wiki_page_published
26
+ },
25
27
  ).parsed_response
26
28
  end
27
29
  end
@@ -15,13 +15,15 @@ module LMSGraphQL
15
15
  context[:canvas_api].call("UPDATE_CREATE_FRONT_PAGE_GROUPS").proxy(
16
16
  "UPDATE_CREATE_FRONT_PAGE_GROUPS",
17
17
  {
18
- "group_id": group_id,
18
+ "group_id": group_id
19
+ },
20
+ {
19
21
  "wiki_page[title]": wiki_page_title,
20
22
  "wiki_page[body]": wiki_page_body,
21
23
  "wiki_page[editing_roles]": wiki_page_editing_roles,
22
24
  "wiki_page[notify_of_update]": wiki_page_notify_of_update,
23
- "wiki_page[published]": wiki_page_published },
24
- nil,
25
+ "wiki_page[published]": wiki_page_published
26
+ },
25
27
  ).parsed_response
26
28
  end
27
29
  end
@@ -18,14 +18,16 @@ module LMSGraphQL
18
18
  "UPDATE_CREATE_PAGE_COURSES",
19
19
  {
20
20
  "course_id": course_id,
21
- "url": url,
21
+ "url": url
22
+ },
23
+ {
22
24
  "wiki_page[title]": wiki_page_title,
23
25
  "wiki_page[body]": wiki_page_body,
24
26
  "wiki_page[editing_roles]": wiki_page_editing_roles,
25
27
  "wiki_page[notify_of_update]": wiki_page_notify_of_update,
26
28
  "wiki_page[published]": wiki_page_published,
27
- "wiki_page[front_page]": wiki_page_front_page },
28
- nil,
29
+ "wiki_page[front_page]": wiki_page_front_page
30
+ },
29
31
  ).parsed_response
30
32
  end
31
33
  end
@@ -18,14 +18,16 @@ module LMSGraphQL
18
18
  "UPDATE_CREATE_PAGE_GROUPS",
19
19
  {
20
20
  "group_id": group_id,
21
- "url": url,
21
+ "url": url
22
+ },
23
+ {
22
24
  "wiki_page[title]": wiki_page_title,
23
25
  "wiki_page[body]": wiki_page_body,
24
26
  "wiki_page[editing_roles]": wiki_page_editing_roles,
25
27
  "wiki_page[notify_of_update]": wiki_page_notify_of_update,
26
28
  "wiki_page[published]": wiki_page_published,
27
- "wiki_page[front_page]": wiki_page_front_page },
28
- nil,
29
+ "wiki_page[front_page]": wiki_page_front_page
30
+ },
29
31
  ).parsed_response
30
32
  end
31
33
  end
@@ -13,9 +13,11 @@ module LMSGraphQL
13
13
  "UPDATE_CUSTOM_COLOR",
14
14
  {
15
15
  "id": id,
16
- "asset_string": asset_string,
17
- "hexcode": hexcode },
18
- nil,
16
+ "asset_string": asset_string
17
+ },
18
+ {
19
+ "hexcode": hexcode
20
+ },
19
21
  ).parsed_response
20
22
  end
21
23
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "UPDATE_CUSTOM_GRADEBOOK_COLUMN",
13
13
  {
14
14
  "course_id": course_id,
15
- "id": id },
16
- nil,
15
+ "id": id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("UPDATE_DASHBOARD_POSITIONS").proxy(
11
11
  "UPDATE_DASHBOARD_POSITIONS",
12
12
  {
13
- "id": id },
14
- nil,
13
+ "id": id
14
+ },
15
+ {},
15
16
  ).parsed_response
16
17
  end
17
18
  end