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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 2f7ca11cba07223db22f0311224d7477025d3ed88f5bc8b6a60dc439d574b8f0
4
- data.tar.gz: 16218af525a0bcf66e4010985d78d480d9081977d1dfc91f2bd1f68fb2e53c8b
2
+ SHA1:
3
+ metadata.gz: cac4c2c433ac823a442a6ae0d3a6c77ca11db1b2
4
+ data.tar.gz: 3410d5530c1a1c9bb3527b1878602058369e1321
5
5
  SHA512:
6
- metadata.gz: 180ac5bca9ce90187df36670e1b404df4fd59797512d06678584edf1c43dd05295cfbc4c55d9a3c7ad97f64aedb035f0468ee9c052445e03ce2e388d067e33e6
7
- data.tar.gz: dea525537ceb75751c230e8d8d3503085c5a0b25b99dfce77bcf729ca5f4fe898b8f102cd4695b8ebc597a8546b2eba1b84c0bd979dfcffc607c3de45cc54817
6
+ metadata.gz: 110f94228494ce8e9a4b40e9b3b0fed7de3159bdc8664201e2a29a9be06c54ed2e6f6cc9ad2cd4e476ac8f68a32cc407a0f18315de93262839df8f3125b15127
7
+ data.tar.gz: 9f0fd296745b8628e8477d985867d9a726ee6f1edd078a3dc533b32629f8135495f028a80019e55b0387bc457d6c122a77645756c7891947d668cb972a7461f4
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("ABORT_ALL_PENDING_SIS_IMPORTS").proxy(
11
11
  "ABORT_ALL_PENDING_SIS_IMPORTS",
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
@@ -14,8 +14,9 @@ module LMSGraphQL
14
14
  {
15
15
  "course_id": course_id,
16
16
  "quiz_id": quiz_id,
17
- "id": id },
18
- nil,
17
+ "id": id
18
+ },
19
+ {},
19
20
  ).parsed_response
20
21
  end
21
22
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "ABORT_SIS_IMPORT",
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
  "ACCEPT_COURSE_INVITATION",
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
@@ -14,10 +14,12 @@ module LMSGraphQL
14
14
  "ACTIVATE_ROLE",
15
15
  {
16
16
  "account_id": account_id,
17
- "id": id,
17
+ "id": id
18
+ },
19
+ {
18
20
  "role_id": role_id,
19
- "role": role },
20
- nil,
21
+ "role": role
22
+ },
21
23
  ).parsed_response
22
24
  end
23
25
  end
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("ADD_AUTHENTICATION_PROVIDER").proxy(
11
11
  "ADD_AUTHENTICATION_PROVIDER",
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
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("ADD_COURSE_TO_FAVORITES").proxy(
11
11
  "ADD_COURSE_TO_FAVORITES",
12
12
  {
13
- "id": id },
14
- nil,
13
+ "id": id
14
+ },
15
+ {},
15
16
  ).parsed_response
16
17
  end
17
18
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("ADD_DOMAIN_TO_ACCOUNT_WHITELIST").proxy(
12
12
  "ADD_DOMAIN_TO_ACCOUNT_WHITELIST",
13
13
  {
14
- "account_id": account_id,
15
- "domain": domain },
16
- nil,
14
+ "account_id": account_id
15
+ },
16
+ {
17
+ "domain": domain
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -10,8 +10,9 @@ module LMSGraphQL
10
10
  context[:canvas_api].call("ADD_GROUP_TO_FAVORITES").proxy(
11
11
  "ADD_GROUP_TO_FAVORITES",
12
12
  {
13
- "id": id },
14
- nil,
13
+ "id": id
14
+ },
15
+ {},
15
16
  ).parsed_response
16
17
  end
17
18
  end
@@ -17,15 +17,17 @@ module LMSGraphQL
17
17
  context[:canvas_api].call("ADD_MESSAGE").proxy(
18
18
  "ADD_MESSAGE",
19
19
  {
20
- "id": id,
20
+ "id": id
21
+ },
22
+ {
21
23
  "body": body,
22
24
  "attachment_ids": attachment_ids,
23
25
  "media_comment_id": media_comment_id,
24
26
  "media_comment_type": media_comment_type,
25
27
  "recipients": recipients,
26
28
  "included_messages": included_messages,
27
- "user_note": user_note },
28
- nil,
29
+ "user_note": user_note
30
+ },
29
31
  ).parsed_response
30
32
  end
31
33
  end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_mutation"
2
+
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class AddMultipleDomainsToAccountWhitelist < BaseMutation
7
+ argument :account_id, ID, required: true
8
+ argument :domains, String, required: true
9
+ field :return_value, Boolean, null: false
10
+ def resolve(account_id:, domains:)
11
+ context[:canvas_api].call("ADD_MULTIPLE_DOMAINS_TO_ACCOUNT_WHITELIST").proxy(
12
+ "ADD_MULTIPLE_DOMAINS_TO_ACCOUNT_WHITELIST",
13
+ {
14
+ "account_id": account_id
15
+ },
16
+ {
17
+ "domains": domains
18
+ },
19
+ ).parsed_response
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -13,9 +13,11 @@ module LMSGraphQL
13
13
  "ADD_OBSERVEE",
14
14
  {
15
15
  "user_id": user_id,
16
- "observee_id": observee_id,
17
- "root_account_id": root_account_id },
18
- nil,
16
+ "observee_id": observee_id
17
+ },
18
+ {
19
+ "root_account_id": root_account_id
20
+ },
19
21
  ).parsed_response
20
22
  end
21
23
  end
@@ -15,13 +15,15 @@ module LMSGraphQL
15
15
  context[:canvas_api].call("ADD_OBSERVEE_WITH_CREDENTIALS").proxy(
16
16
  "ADD_OBSERVEE_WITH_CREDENTIALS",
17
17
  {
18
- "user_id": user_id,
18
+ "user_id": user_id
19
+ },
20
+ {
19
21
  "observee[unique_id]": observee_unique_id,
20
22
  "observee[password]": observee_password,
21
23
  "access_token": access_token,
22
24
  "pairing_code": pairing_code,
23
- "root_account_id": root_account_id },
24
- nil,
25
+ "root_account_id": root_account_id
26
+ },
25
27
  ).parsed_response
26
28
  end
27
29
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("ADD_RECIPIENTS").proxy(
12
12
  "ADD_RECIPIENTS",
13
13
  {
14
- "id": id,
15
- "recipients": recipients },
16
- nil,
14
+ "id": id
15
+ },
16
+ {
17
+ "recipients": recipients
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "ADDS_LAST_ATTENDED_DATE_TO_STUDENT_ENROLLMENT_IN_COURSE",
13
13
  {
14
14
  "course_id": course_id,
15
- "user_id": user_id },
16
- nil,
15
+ "user_id": user_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("ANSWERING_QUESTIONS").proxy(
15
15
  "ANSWERING_QUESTIONS",
16
16
  {
17
- "quiz_submission_id": quiz_submission_id,
17
+ "quiz_submission_id": quiz_submission_id
18
+ },
19
+ {
18
20
  "attempt": attempt,
19
21
  "validation_token": validation_token,
20
22
  "access_code": access_code,
21
- "quiz_questions": quiz_questions },
22
- nil,
23
+ "quiz_questions": quiz_questions
24
+ },
23
25
  ).parsed_response
24
26
  end
25
27
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("ASSIGN_UNASSIGNED_MEMBERS").proxy(
12
12
  "ASSIGN_UNASSIGNED_MEMBERS",
13
13
  {
14
- "group_category_id": group_category_id,
15
- "sync": sync },
16
- nil,
14
+ "group_category_id": group_category_id
15
+ },
16
+ {
17
+ "sync": sync
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("BATCH_CREATE_OVERRIDES_IN_COURSE").proxy(
12
12
  "BATCH_CREATE_OVERRIDES_IN_COURSE",
13
13
  {
14
- "course_id": course_id,
15
- "assignment_overrides": assignment_overrides },
16
- nil,
14
+ "course_id": course_id
15
+ },
16
+ {
17
+ "assignment_overrides": assignment_overrides
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -10,10 +10,11 @@ module LMSGraphQL
10
10
  def resolve(conversation_ids:, event:)
11
11
  context[:canvas_api].call("BATCH_UPDATE_CONVERSATIONS").proxy(
12
12
  "BATCH_UPDATE_CONVERSATIONS",
13
+ {},
13
14
  {
14
15
  "conversation_ids": conversation_ids,
15
- "event": event },
16
- nil,
16
+ "event": event
17
+ },
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("BATCH_UPDATE_OVERRIDES_IN_COURSE").proxy(
12
12
  "BATCH_UPDATE_OVERRIDES_IN_COURSE",
13
13
  {
14
- "course_id": course_id,
15
- "assignment_overrides": assignment_overrides },
16
- nil,
14
+ "course_id": course_id
15
+ },
16
+ {
17
+ "assignment_overrides": assignment_overrides
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -15,11 +15,13 @@ module LMSGraphQL
15
15
  "BEGIN_MIGRATION_TO_PUSH_TO_ASSOCIATED_COURSES",
16
16
  {
17
17
  "course_id": course_id,
18
- "template_id": template_id,
18
+ "template_id": template_id
19
+ },
20
+ {
19
21
  "comment": comment,
20
22
  "send_notification": send_notification,
21
- "copy_settings": copy_settings },
22
- nil,
23
+ "copy_settings": copy_settings
24
+ },
23
25
  ).parsed_response
24
26
  end
25
27
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "BULK_SELECT_PROVISIONAL_GRADES",
13
13
  {
14
14
  "course_id": course_id,
15
- "assignment_id": assignment_id },
16
- nil,
15
+ "assignment_id": assignment_id
16
+ },
17
+ {},
17
18
  ).parsed_response
18
19
  end
19
20
  end
@@ -11,9 +11,11 @@ module LMSGraphQL
11
11
  context[:canvas_api].call("BULK_UPDATE_COLUMN_DATA").proxy(
12
12
  "BULK_UPDATE_COLUMN_DATA",
13
13
  {
14
- "course_id": course_id,
15
- "column_data": column_data },
16
- nil,
14
+ "course_id": course_id
15
+ },
16
+ {
17
+ "column_data": column_data
18
+ },
17
19
  ).parsed_response
18
20
  end
19
21
  end
@@ -9,9 +9,8 @@ module LMSGraphQL
9
9
  def resolve()
10
10
  context[:canvas_api].call("CLEAR_COURSE_NICKNAMES").proxy(
11
11
  "CLEAR_COURSE_NICKNAMES",
12
- {
13
- },
14
- nil,
12
+ {},
13
+ {},
15
14
  ).parsed_response
16
15
  end
17
16
  end
@@ -12,8 +12,9 @@ module LMSGraphQL
12
12
  "CLOSE_NOTIFICATION_FOR_USER",
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
@@ -17,11 +17,13 @@ module LMSGraphQL
17
17
  {
18
18
  "course_id": course_id,
19
19
  "quiz_id": quiz_id,
20
- "id": id,
20
+ "id": id
21
+ },
22
+ {
21
23
  "attempt": attempt,
22
24
  "validation_token": validation_token,
23
- "access_code": access_code },
24
- nil,
25
+ "access_code": access_code
26
+ },
25
27
  ).parsed_response
26
28
  end
27
29
  end
@@ -14,8 +14,9 @@ module LMSGraphQL
14
14
  {
15
15
  "course_id": course_id,
16
16
  "id": id,
17
- "task": task },
18
- nil,
17
+ "task": task
18
+ },
19
+ {},
19
20
  ).parsed_response
20
21
  end
21
22
  end
@@ -13,11 +13,13 @@ module LMSGraphQL
13
13
  context[:canvas_api].call("COPY_COURSE_CONTENT").proxy(
14
14
  "COPY_COURSE_CONTENT",
15
15
  {
16
- "course_id": course_id,
16
+ "course_id": course_id
17
+ },
18
+ {
17
19
  "source_course": source_course,
18
20
  "except": except,
19
- "only": only },
20
- nil,
21
+ "only": only
22
+ },
21
23
  ).parsed_response
22
24
  end
23
25
  end