lms-graphql-api 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (537) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/canvas_schema.rb +2 -2
  3. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +1 -1
  4. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +1 -1
  5. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +1 -1
  6. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +1 -1
  7. data/lib/lms_graphql/mutations/canvas/activate_role.rb +1 -1
  8. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +1 -1
  9. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +1 -1
  10. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +1 -1
  11. data/lib/lms_graphql/mutations/canvas/add_message.rb +1 -1
  12. data/lib/lms_graphql/mutations/canvas/add_observee.rb +1 -1
  13. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +1 -1
  14. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
  15. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +1 -1
  16. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +2 -2
  17. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +1 -1
  18. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +2 -2
  19. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +1 -1
  20. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +2 -2
  21. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +1 -1
  22. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +1 -1
  23. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +1 -1
  24. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +1 -1
  25. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +1 -1
  26. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +1 -1
  27. data/lib/lms_graphql/mutations/canvas/copy_file.rb +1 -1
  28. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +1 -1
  29. data/lib/lms_graphql/mutations/canvas/copy_provisional_grade.rb +1 -1
  30. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +1 -1
  31. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +1 -1
  32. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +1 -1
  33. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +1 -1
  34. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +2 -2
  35. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +1 -1
  36. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +1 -1
  37. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +1 -1
  38. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +1 -1
  39. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +1 -1
  40. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +1 -1
  41. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +1 -1
  42. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +1 -1
  43. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +1 -1
  44. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +1 -1
  45. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +1 -1
  46. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +1 -1
  47. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +1 -1
  48. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +1 -1
  49. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +1 -1
  50. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +1 -1
  51. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +1 -1
  52. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +1 -1
  53. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +1 -1
  54. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +1 -1
  55. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +1 -1
  56. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +1 -1
  57. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +1 -1
  58. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +1 -1
  59. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +1 -1
  60. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +1 -1
  61. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +1 -1
  62. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +1 -1
  63. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +1 -1
  64. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +1 -1
  65. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +1 -1
  66. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +1 -1
  67. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +1 -1
  68. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +1 -1
  69. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +1 -1
  70. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +1 -1
  71. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +1 -1
  72. data/lib/lms_graphql/mutations/canvas/create_membership.rb +1 -1
  73. data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
  74. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +1 -1
  75. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +1 -1
  76. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +1 -1
  77. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +1 -1
  78. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +1 -1
  79. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +1 -1
  80. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +12 -12
  81. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +1 -1
  82. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +1 -1
  83. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +1 -1
  84. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +1 -1
  85. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +1 -1
  86. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +1 -1
  87. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
  88. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +1 -1
  89. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +1 -1
  90. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +1 -1
  91. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +1 -1
  92. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +1 -1
  93. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +1 -1
  94. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +1 -1
  95. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +1 -1
  96. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
  97. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +1 -1
  98. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +1 -1
  99. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +1 -1
  100. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +1 -1
  101. data/lib/lms_graphql/mutations/canvas/create_user.rb +1 -1
  102. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +1 -1
  103. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +1 -1
  104. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +1 -1
  105. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +1 -1
  106. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +1 -1
  107. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +1 -1
  108. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +1 -1
  109. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +1 -1
  110. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +1 -1
  111. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +1 -1
  112. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +1 -1
  113. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +1 -1
  114. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +1 -1
  115. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +1 -1
  116. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +1 -1
  117. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +1 -1
  118. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +1 -1
  119. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +1 -1
  120. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +1 -1
  121. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +1 -1
  122. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +1 -1
  123. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +1 -1
  124. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +1 -1
  125. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +1 -1
  126. data/lib/lms_graphql/mutations/canvas/delete_file.rb +1 -1
  127. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +1 -1
  128. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +1 -1
  129. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +1 -1
  130. data/lib/lms_graphql/mutations/canvas/delete_group.rb +1 -1
  131. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +1 -1
  132. data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
  133. data/lib/lms_graphql/mutations/canvas/delete_module.rb +1 -1
  134. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +1 -1
  135. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +1 -1
  136. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +1 -1
  137. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +1 -1
  138. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +1 -1
  139. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +1 -1
  140. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +1 -1
  141. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +1 -1
  142. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +1 -1
  143. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +1 -1
  144. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +1 -1
  145. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +1 -1
  146. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +1 -1
  147. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +3 -3
  148. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +1 -1
  149. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +1 -1
  150. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +1 -1
  151. data/lib/lms_graphql/mutations/canvas/delete_report.rb +1 -1
  152. data/lib/lms_graphql/mutations/canvas/delete_section.rb +1 -1
  153. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +1 -1
  154. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +1 -1
  155. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +1 -1
  156. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +1 -1
  157. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +1 -1
  158. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +1 -1
  159. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +1 -1
  160. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +1 -1
  161. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +1 -1
  162. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +2 -2
  163. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +1 -1
  164. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
  165. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +1 -1
  166. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +1 -1
  167. data/lib/lms_graphql/mutations/canvas/edit_group.rb +1 -1
  168. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +1 -1
  169. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +1 -1
  170. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +1 -1
  171. data/lib/lms_graphql/mutations/canvas/edit_section.rb +1 -1
  172. data/lib/lms_graphql/mutations/canvas/edit_user.rb +1 -1
  173. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +1 -1
  174. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +1 -1
  175. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +1 -1
  176. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +1 -1
  177. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +1 -1
  178. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +1 -1
  179. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +1 -1
  180. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +1 -1
  181. data/lib/lms_graphql/mutations/canvas/get_pandata_jwt_token_and_its_expiration_date.rb +1 -1
  182. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +20 -20
  183. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +20 -20
  184. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +20 -20
  185. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +20 -20
  186. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +1 -1
  187. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +1 -1
  188. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +1 -1
  189. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +1 -1
  190. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +1 -1
  191. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +1 -1
  192. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +1 -1
  193. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +1 -1
  194. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +1 -1
  195. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +1 -1
  196. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +1 -1
  197. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +1 -1
  198. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
  199. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +1 -1
  200. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +1 -1
  201. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +1 -1
  202. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +1 -1
  203. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +1 -1
  204. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +1 -1
  205. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +1 -1
  206. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +1 -1
  207. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +1 -1
  208. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +1 -1
  209. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +1 -1
  210. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +1 -1
  211. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +1 -1
  212. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +1 -1
  213. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +1 -1
  214. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +1 -1
  215. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +1 -1
  216. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +1 -1
  217. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +1 -1
  218. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +1 -1
  219. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +1 -1
  220. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +1 -1
  221. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +1 -1
  222. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +1 -1
  223. data/lib/lms_graphql/mutations/canvas/mutations.rb +2 -2
  224. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +1 -1
  225. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +1 -1
  226. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +1 -1
  227. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +1 -1
  228. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +1 -1
  229. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +1 -1
  230. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +1 -1
  231. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +1 -1
  232. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +1 -1
  233. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +1 -1
  234. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +1 -1
  235. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +1 -1
  236. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +1 -1
  237. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +1 -1
  238. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +1 -1
  239. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +1 -1
  240. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +1 -1
  241. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +1 -1
  242. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +1 -1
  243. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +1 -1
  244. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +1 -1
  245. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +1 -1
  246. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +1 -1
  247. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +1 -1
  248. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +1 -1
  249. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +1 -1
  250. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +1 -1
  251. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
  252. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
  253. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
  254. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +1 -1
  255. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +1 -1
  256. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +1 -1
  257. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +1 -1
  258. data/lib/lms_graphql/mutations/canvas/reset_course.rb +1 -1
  259. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +1 -1
  260. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +1 -1
  261. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +1 -1
  262. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +1 -1
  263. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +1 -1
  264. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +1 -1
  265. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +1 -1
  266. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
  267. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +1 -1
  268. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +1 -1
  269. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +1 -1
  270. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +1 -1
  271. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +1 -1
  272. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +1 -1
  273. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +1 -1
  274. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +1 -1
  275. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +1 -1
  276. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +1 -1
  277. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +1 -1
  278. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +1 -1
  279. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +1 -1
  280. data/lib/lms_graphql/mutations/canvas/start_report.rb +1 -1
  281. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +1 -1
  282. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +1 -1
  283. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
  284. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
  285. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +1 -1
  286. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +1 -1
  287. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +1 -1
  288. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +1 -1
  289. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +1 -1
  290. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +1 -1
  291. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +1 -1
  292. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +1 -1
  293. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +1 -1
  294. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +1 -1
  295. data/lib/lms_graphql/mutations/canvas/update_account.rb +1 -1
  296. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +1 -1
  297. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +1 -1
  298. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +1 -1
  299. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +1 -1
  300. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +1 -1
  301. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +1 -1
  302. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +1 -1
  303. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +1 -1
  304. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +1 -1
  305. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +1 -1
  306. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +1 -1
  307. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +1 -1
  308. data/lib/lms_graphql/mutations/canvas/update_course.rb +1 -1
  309. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +1 -1
  310. data/lib/lms_graphql/mutations/canvas/update_courses.rb +1 -1
  311. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +1 -1
  312. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +1 -1
  313. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +1 -1
  314. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +1 -1
  315. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +1 -1
  316. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +1 -1
  317. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +1 -1
  318. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +1 -1
  319. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +1 -1
  320. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +1 -1
  321. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +1 -1
  322. data/lib/lms_graphql/mutations/canvas/update_file.rb +1 -1
  323. data/lib/lms_graphql/mutations/canvas/update_folder.rb +1 -1
  324. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +1 -1
  325. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +1 -1
  326. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +1 -1
  327. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +1 -1
  328. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +1 -1
  329. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +1 -1
  330. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +1 -1
  331. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +1 -1
  332. data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
  333. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +1 -1
  334. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +4 -4
  335. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +4 -4
  336. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +1 -1
  337. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +1 -1
  338. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +1 -1
  339. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +1 -1
  340. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +1 -1
  341. data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
  342. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +1 -1
  343. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +1 -1
  344. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +1 -1
  345. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +1 -1
  346. data/lib/lms_graphql/mutations/canvas/update_role.rb +10 -10
  347. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +1 -1
  348. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +1 -1
  349. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +1 -1
  350. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +1 -1
  351. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +1 -1
  352. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +1 -1
  353. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +1 -1
  354. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +1 -1
  355. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +1 -1
  356. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +1 -1
  357. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +1 -1
  358. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +1 -1
  359. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +1 -1
  360. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +1 -1
  361. data/lib/lms_graphql/mutations/canvas_base_mutation.rb +1 -1
  362. data/lib/lms_graphql/types/canvas/account_input.rb +27 -0
  363. data/lib/lms_graphql/types/canvas/account_notification_input.rb +27 -0
  364. data/lib/lms_graphql/types/canvas/admin_input.rb +17 -0
  365. data/lib/lms_graphql/types/canvas/answer_input.rb +30 -0
  366. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +55 -0
  367. data/lib/lms_graphql/types/canvas/appointment_input.rb +16 -0
  368. data/lib/lms_graphql/types/canvas/assessment_input.rb +16 -0
  369. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +19 -0
  370. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +33 -0
  371. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +18 -0
  372. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +21 -0
  373. data/lib/lms_graphql/types/canvas/assignment_input.rb +101 -0
  374. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +24 -0
  375. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +22 -0
  376. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +32 -0
  377. data/lib/lms_graphql/types/canvas/avatar_input.rb +21 -0
  378. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +23 -0
  379. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +17 -0
  380. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +18 -0
  381. data/lib/lms_graphql/types/canvas/bookmark_input.rb +18 -0
  382. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +44 -0
  383. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +14 -0
  384. data/lib/lms_graphql/types/canvas/change_record_input.rb +20 -0
  385. data/lib/lms_graphql/types/canvas/collaboration_input.rb +27 -0
  386. data/lib/lms_graphql/types/canvas/collaborator_input.rb +20 -0
  387. data/lib/lms_graphql/types/canvas/column_datum_input.rb +15 -0
  388. data/lib/lms_graphql/types/canvas/comm_message_input.rb +34 -0
  389. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +30 -0
  390. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +22 -0
  391. data/lib/lms_graphql/types/canvas/conference_input.rb +28 -0
  392. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +18 -0
  393. data/lib/lms_graphql/types/canvas/content_detail_input.rb +20 -0
  394. data/lib/lms_graphql/types/canvas/content_export_input.rb +31 -0
  395. data/lib/lms_graphql/types/canvas/content_migration_input.rb +32 -0
  396. data/lib/lms_graphql/types/canvas/conversation_input.rb +29 -0
  397. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +17 -0
  398. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +17 -0
  399. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +16 -0
  400. data/lib/lms_graphql/types/canvas/course_event_input.rb +19 -0
  401. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +19 -0
  402. data/lib/lms_graphql/types/canvas/course_input.rb +76 -0
  403. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +16 -0
  404. data/lib/lms_graphql/types/canvas/course_progress_input.rb +17 -0
  405. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +18 -0
  406. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +18 -0
  407. data/lib/lms_graphql/types/canvas/custom_column_input.rb +19 -0
  408. data/lib/lms_graphql/types/canvas/day_input.rb +15 -0
  409. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +64 -0
  410. data/lib/lms_graphql/types/canvas/enrollment_input.rb +62 -0
  411. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +21 -0
  412. data/lib/lms_graphql/types/canvas/epub_export_input.rb +27 -0
  413. data/lib/lms_graphql/types/canvas/error_report_input.rb +20 -0
  414. data/lib/lms_graphql/types/canvas/exception_record_input.rb +15 -0
  415. data/lib/lms_graphql/types/canvas/external_feed_input.rb +24 -0
  416. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +16 -0
  417. data/lib/lms_graphql/types/canvas/favorite_input.rb +18 -0
  418. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +29 -0
  419. data/lib/lms_graphql/types/canvas/feature_input.rb +33 -0
  420. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +15 -0
  421. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +24 -0
  422. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +17 -0
  423. data/lib/lms_graphql/types/canvas/file_input.rb +20 -0
  424. data/lib/lms_graphql/types/canvas/folder_input.rb +33 -0
  425. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +24 -0
  426. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +18 -0
  427. data/lib/lms_graphql/types/canvas/grade_input.rb +22 -0
  428. data/lib/lms_graphql/types/canvas/grader_input.rb +16 -0
  429. data/lib/lms_graphql/types/canvas/grading_period_input.rb +20 -0
  430. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +16 -0
  431. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +15 -0
  432. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +18 -0
  433. data/lib/lms_graphql/types/canvas/group_category_input.rb +33 -0
  434. data/lib/lms_graphql/types/canvas/group_input.rb +40 -0
  435. data/lib/lms_graphql/types/canvas/group_membership_input.rb +25 -0
  436. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +13 -0
  437. data/lib/lms_graphql/types/canvas/jwt_input.rb +14 -0
  438. data/lib/lms_graphql/types/canvas/late_policy_input.rb +24 -0
  439. data/lib/lms_graphql/types/canvas/license_input.rb +16 -0
  440. data/lib/lms_graphql/types/canvas/lock_info_input.rb +18 -0
  441. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +19 -0
  442. data/lib/lms_graphql/types/canvas/media_comment_input.rb +18 -0
  443. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +33 -0
  444. data/lib/lms_graphql/types/canvas/migrator_input.rb +17 -0
  445. data/lib/lms_graphql/types/canvas/module_input.rb +38 -0
  446. data/lib/lms_graphql/types/canvas/module_item_input.rb +39 -0
  447. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +16 -0
  448. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +19 -0
  449. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +15 -0
  450. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +23 -0
  451. data/lib/lms_graphql/types/canvas/originality_report_input.rb +19 -0
  452. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +16 -0
  453. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +25 -0
  454. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +14 -0
  455. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +33 -0
  456. data/lib/lms_graphql/types/canvas/outcome_input.rb +36 -0
  457. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +21 -0
  458. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +15 -0
  459. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +14 -0
  460. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +18 -0
  461. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +17 -0
  462. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +16 -0
  463. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +16 -0
  464. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +14 -0
  465. data/lib/lms_graphql/types/canvas/page_input.rb +27 -0
  466. data/lib/lms_graphql/types/canvas/page_revision_input.rb +20 -0
  467. data/lib/lms_graphql/types/canvas/page_view_input.rb +30 -0
  468. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +18 -0
  469. data/lib/lms_graphql/types/canvas/peer_review_input.rb +22 -0
  470. data/lib/lms_graphql/types/canvas/planner_note_input.rb +24 -0
  471. data/lib/lms_graphql/types/canvas/planner_override_input.rb +23 -0
  472. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +18 -0
  473. data/lib/lms_graphql/types/canvas/poll_input.rb +19 -0
  474. data/lib/lms_graphql/types/canvas/poll_session_input.rb +22 -0
  475. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +17 -0
  476. data/lib/lms_graphql/types/canvas/profile_input.rb +27 -0
  477. data/lib/lms_graphql/types/canvas/progress_input.rb +31 -0
  478. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +20 -0
  479. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +19 -0
  480. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +14 -0
  481. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +17 -0
  482. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +19 -0
  483. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +20 -0
  484. data/lib/lms_graphql/types/canvas/quiz_input.rb +70 -0
  485. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +16 -0
  486. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +20 -0
  487. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +24 -0
  488. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +31 -0
  489. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +27 -0
  490. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +17 -0
  491. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +17 -0
  492. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +14 -0
  493. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +15 -0
  494. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +22 -0
  495. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +16 -0
  496. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +32 -0
  497. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +17 -0
  498. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +13 -0
  499. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +13 -0
  500. data/lib/lms_graphql/types/canvas/report_input.rb +25 -0
  501. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +36 -0
  502. data/lib/lms_graphql/types/canvas/result_input.rb +17 -0
  503. data/lib/lms_graphql/types/canvas/result_link_input.rb +16 -0
  504. data/lib/lms_graphql/types/canvas/role_input.rb +19 -0
  505. data/lib/lms_graphql/types/canvas/role_permission_input.rb +20 -0
  506. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +24 -0
  507. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +21 -0
  508. data/lib/lms_graphql/types/canvas/rubric_input.rb +23 -0
  509. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +17 -0
  510. data/lib/lms_graphql/types/canvas/scope_input.rb +16 -0
  511. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +17 -0
  512. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +22 -0
  513. data/lib/lms_graphql/types/canvas/section_input.rb +25 -0
  514. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +19 -0
  515. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +42 -0
  516. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +29 -0
  517. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +16 -0
  518. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +17 -0
  519. data/lib/lms_graphql/types/canvas/sis_import_input.rb +53 -0
  520. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +17 -0
  521. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +15 -0
  522. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +21 -0
  523. data/lib/lms_graphql/types/canvas/submission_history_input.rb +15 -0
  524. data/lib/lms_graphql/types/canvas/submission_input.rb +52 -0
  525. data/lib/lms_graphql/types/canvas/submission_version_input.rb +36 -0
  526. data/lib/lms_graphql/types/canvas/tab_input.rb +20 -0
  527. data/lib/lms_graphql/types/canvas/term_input.rb +17 -0
  528. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +15 -0
  529. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +21 -0
  530. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +17 -0
  531. data/lib/lms_graphql/types/canvas/usage_right_input.rb +19 -0
  532. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +19 -0
  533. data/lib/lms_graphql/types/canvas/user_display_input.rb +17 -0
  534. data/lib/lms_graphql/types/canvas/user_input.rb +28 -0
  535. data/lib/lms_graphql/types/canvas_base_input_type.rb +8 -0
  536. data/lib/lms_graphql/version.rb +1 -1
  537. metadata +175 -1
@@ -0,0 +1,30 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "page_view_link"
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPageViewInput < BaseInputObject
8
+ description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
+ argument :id, ID, "A UUID representing the page view. This is also the unique request id.Example: 3e246700-e305-0130-51de-02e33aa501ef", required: false
10
+ argument :app_name, String, "If the request is from an API request, the app that generated the access token.Example: Canvas for iOS", required: false
11
+ argument :url, String, "The URL requested.Example: https://canvas.instructure.com/conversations", required: false
12
+ argument :context_type, String, "The type of context for the request.Example: Course", required: false
13
+ argument :asset_type, String, "The type of asset in the context for the request, if any.Example: Discussion", required: false
14
+ argument :controller, String, "The rails controller that handled the request.Example: discussions", required: false
15
+ argument :action, String, "The rails action that handled the request.Example: index", required: false
16
+ argument :contributed, Boolean, "This field is deprecated, and will always be false.Example: false", required: false
17
+ argument :interaction_seconds, Float, "An approximation of how long the user spent on the page, in seconds.Example: 7.21", required: false
18
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "When the request was made.Example: 2013-10-01T19:49:47Z", required: false
19
+ argument :user_request, Boolean, "A flag indicating whether the request was user-initiated, or automatic (such as an AJAX call).Example: true", required: false
20
+ argument :render_time, Float, "How long the response took to render, in seconds.Example: 0.369", required: false
21
+ argument :user_agent, String, "The user-agent of the browser or program that made the request.Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1", required: false
22
+ argument :participated, Boolean, "True if the request counted as participating, such as submitting homework.Example: false", required: false
23
+ argument :http_method, String, "The HTTP method such as GET or POST.Example: GET", required: false
24
+ argument :remote_ip, String, "The origin IP address of the request.Example: 173.194.46.71", required: false
25
+ argument :links, LMSGraphQL::Types::Canvas::CanvasPageViewLink, "The page view links to define the relationships.Example: 1234, 1234", required: false
26
+
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,18 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPageViewLinkInput < BaseInputObject
8
+ description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
+ argument :user, Int, "The ID of the user for this page view.Example: 1234", required: false
10
+ argument :context, Int, "The ID of the context for the request (course id if context_type is Course, etc).Example: 1234", required: false
11
+ argument :asset, Int, "The ID of the asset for the request, if any.Example: 1234", required: false
12
+ argument :real_user, Int, "The ID of the actual user who made this request, if the request was made by a user who was masquerading.Example: 1234", required: false
13
+ argument :account, Int, "The ID of the account context for this page view.Example: 1234", required: false
14
+
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPeerReviewInput < BaseInputObject
8
+ description "Peer Reviews. API Docs: https://canvas.instructure.com/doc/api/peer_reviews.html"
9
+ argument :assessor_id, ID, "The assessors user id.Example: 23", required: false
10
+ argument :asset_id, ID, "The id for the asset associated with this Peer Review.Example: 13", required: false
11
+ argument :asset_type, String, "The type of the asset.Example: Submission", required: false
12
+ argument :id, ID, "The id of the Peer Review.Example: 1", required: false
13
+ argument :user_id, ID, "The user id for the owner of the asset.Example: 7", required: false
14
+ argument :workflow_state, String, "The state of the Peer Review, either 'assigned' or 'completed'.Example: assigned", required: false
15
+ argument :user, String, "the User object for the owner of the asset if the user include parameter is provided (see user API) (optional).Example: User", required: false
16
+ argument :assessor, String, "The User object for the assessor if the user include parameter is provided (see user API) (optional).Example: User", required: false
17
+ argument :submission_comments, String, "The submission comments associated with this Peer Review if the submission_comment include parameter is provided (see submissions API) (optional).Example: SubmissionComment", required: false
18
+
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPlannerNoteInput < BaseInputObject
8
+ description "Planner Note. API Docs: https://canvas.instructure.com/doc/api/planner_note.html"
9
+ argument :id, ID, "The ID of the planner note.Example: 234", required: false
10
+ argument :title, String, "The title for a planner note.Example: Bring books tomorrow", required: false
11
+ argument :description, String, "The description of the planner note.Example: I need to bring books tomorrow for my course on biology", required: false
12
+ argument :user_id, ID, "The id of the associated user creating the planner note.Example: 1578941", required: false
13
+ argument :workflow_state, String, "The current published state of the planner note.Example: active", required: false
14
+ argument :course_id, ID, "The course that the note is in relation too, if applicable.Example: 1578941", required: false
15
+ argument :todo_date, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner note should show up on their planner.Example: 2017-05-09T10:12:00Z", required: false
16
+ argument :linked_object_type, String, "the type of the linked learning object.Example: assignment", required: false
17
+ argument :linked_object_id, ID, "the id of the linked learning object.Example: 131072", required: false
18
+ argument :linked_object_html_url, String, "the Canvas web URL of the linked learning object.Example: https://canvas.example.com/courses/1578941/assignments/131072", required: false
19
+ argument :linked_object_url, String, "the API URL of the linked learning object.Example: https://canvas.example.com/api/v1/courses/1578941/assignments/131072", required: false
20
+
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPlannerOverrideInput < BaseInputObject
8
+ description "Planner override. API Docs: https://canvas.instructure.com/doc/api/planner_override.html"
9
+ argument :id, ID, "The ID of the planner override.Example: 234", required: false
10
+ argument :plannable_type, String, "The type of the associated object for the planner override.Example: Assignment", required: false
11
+ argument :plannable_id, ID, "The id of the associated object for the planner override.Example: 1578941", required: false
12
+ argument :user_id, ID, "The id of the associated user for the planner override.Example: 1578941", required: false
13
+ argument :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", required: false
14
+ argument :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", required: false
15
+ argument :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", required: false
16
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was created.Example: 2017-05-09T10:12:00Z", required: false
17
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was updated.Example: 2017-05-09T10:12:00Z", required: false
18
+ argument :deleted_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was deleted, if applicable.Example: 2017-05-15T12:12:00Z", required: false
19
+
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,18 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPollChoiceInput < BaseInputObject
8
+ description "PollChoices. API Docs: https://canvas.instructure.com/doc/api/poll_choices.html"
9
+ argument :id, ID, "The unique identifier for the poll choice..Example: 1023", required: false
10
+ argument :poll_id, ID, "The id of the poll this poll choice belongs to..Example: 1779", required: false
11
+ argument :is_correct, Boolean, "Specifies whether or not this poll choice is a 'correct' choice..Example: true", required: false
12
+ argument :text, String, "The text of the poll choice..Example: Choice A", required: false
13
+ argument :position, Int, "The order of the poll choice in relation to it's sibling poll choices..Example: 1", required: false
14
+
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,19 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPollInput < BaseInputObject
8
+ description "Polls. API Docs: https://canvas.instructure.com/doc/api/polls.html"
9
+ argument :id, ID, "The unique identifier for the poll..Example: 1023", required: false
10
+ argument :question, String, "The question/title of the poll..Example: What do you consider most important to your learning in this course?", required: false
11
+ argument :description, String, "A short description of the poll..Example: This poll is to determine what priorities the students in the course have.", required: false
12
+ argument :created_at, String, "The time at which the poll was created..Example: 2014-01-07T15:16:18Z", required: false
13
+ argument :user_id, ID, "The unique identifier for the user that created the poll..Example: 105", required: false
14
+ argument :total_results, String, "An aggregate of the results of all associated poll sessions, with the poll choice id as the key, and the aggregated submission count as the value..Example: 20, 5, 17", required: false
15
+
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "poll_submission"
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPollSessionInput < BaseInputObject
8
+ description "Poll Sessions. API Docs: https://canvas.instructure.com/doc/api/poll_sessions.html"
9
+ argument :id, ID, "The unique identifier for the poll session..Example: 1023", required: false
10
+ argument :poll_id, ID, "The id of the Poll this poll session is associated with.Example: 55", required: false
11
+ argument :course_id, ID, "The id of the Course this poll session is associated with.Example: 1111", required: false
12
+ argument :course_section_id, ID, "The id of the Course Section this poll session is associated with.Example: 444", required: false
13
+ argument :is_published, Boolean, "Specifies whether or not this poll session has been published for students to participate in..Example: true", required: false
14
+ argument :has_public_results, Boolean, "Specifies whether the results are viewable by students..Example: true", required: false
15
+ argument :created_at, String, "The time at which the poll session was created..Example: 2014-01-07T15:16:18Z", required: false
16
+ argument :results, String, "The results of the submissions of the poll. Each key is the poll choice id, and the value is the count of submissions..Example: 10, 3, 27, 8", required: false
17
+ argument :poll_submissions, LMSGraphQL::Types::Canvas::CanvasPollSubmission, "If the poll session has public results, this will return an array of all submissions, viewable by both students and teachers. If the results are not public, for students it will return their submission only..", required: false
18
+
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,17 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasPollSubmissionInput < BaseInputObject
8
+ description "PollSubmissions. API Docs: https://canvas.instructure.com/doc/api/poll_submissions.html"
9
+ argument :id, ID, "The unique identifier for the poll submission..Example: 1023", required: false
10
+ argument :poll_choice_id, ID, "The unique identifier of the poll choice chosen for this submission..Example: 155", required: false
11
+ argument :user_id, ID, "the unique identifier of the user who submitted this poll submission..Example: 4555", required: false
12
+ argument :created_at, String, "The date and time the poll submission was submitted..Example: 2013-11-07T13:16:18Z", required: false
13
+
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,27 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "calendar_link"
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasProfileInput < BaseInputObject
8
+ description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
+ argument :id, ID, "The ID of the user..Example: 1234", required: false
10
+ argument :name, String, "Sample User.Example: Sample User", required: false
11
+ argument :short_name, String, "Sample User.Example: Sample User", required: false
12
+ argument :sortable_name, String, "user, sample.Example: user, sample", required: false
13
+ argument :title, String, "", required: false
14
+ argument :bio, String, "", required: false
15
+ argument :primary_email, String, "sample_user@example.com.Example: sample_user@example.com", required: false
16
+ argument :login_id, ID, "sample_user@example.com.Example: sample_user@example.com", required: false
17
+ argument :sis_user_id, ID, "sis1.Example: sis1", required: false
18
+ argument :lti_user_id, ID, "", required: false
19
+ argument :avatar_url, String, "The avatar_url can change over time, so we recommend not caching it for more than a few hours.Example: url", required: false
20
+ argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLink, "", required: false
21
+ argument :time_zone, String, "Optional: This field is only returned in certain API calls, and will return the IANA time zone name of the user's preferred timezone..Example: America/Denver", required: false
22
+ argument :locale, String, "The users locale..", required: false
23
+
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,31 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class ProgressWorkflowStateEnum < ::GraphQL::Schema::Enum
8
+ value "queued"
9
+ value "running"
10
+ value "completed"
11
+ value "failed"
12
+ end
13
+ class CanvasProgressInput < BaseInputObject
14
+ description "Progress. API Docs: https://canvas.instructure.com/doc/api/progress.html"
15
+ argument :id, ID, "the ID of the Progress object.Example: 1", required: false
16
+ argument :context_id, ID, "the context owning the job..Example: 1", required: false
17
+ argument :context_type, String, "Example: Account", required: false
18
+ argument :user_id, ID, "the id of the user who started the job.Example: 123", required: false
19
+ argument :tag, String, "the type of operation.Example: course_batch_update", required: false
20
+ argument :completion, Int, "percent completed.Example: 100", required: false
21
+ argument :workflow_state, ProgressWorkflowStateEnum, "the state of the job one of 'queued', 'running', 'completed', 'failed'.Example: completed", required: false
22
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "the time the job was created.Example: 2013-01-15T15:00:00Z", required: false
23
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "the time the job was last updated.Example: 2013-01-15T15:04:00Z", required: false
24
+ argument :message, String, "optional details about the job.Example: 17 courses processed", required: false
25
+ argument :results, String, "optional results of the job. omitted when job is still pending.Example: 123", required: false
26
+ argument :url, String, "url where a progress update can be retrieved.Example: https://canvas.example.edu/api/v1/progress/1", required: false
27
+
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,20 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasProvisionalGradeInput < BaseInputObject
8
+ description "Moderated Grading. API Docs: https://canvas.instructure.com/doc/api/moderated_grading.html"
9
+ argument :provisional_grade_id, ID, "The identifier for the provisional grade.Example: 23", required: false
10
+ argument :score, Int, "The numeric score.Example: 90", required: false
11
+ argument :grade, String, "The grade.Example: A-", required: false
12
+ argument :grade_matches_current_submission, Boolean, "Whether the grade was applied to the most current submission (false if the student resubmitted after grading).Example: true", required: false
13
+ argument :graded_at, LMSGraphQL::Types::DateTimeType, "When the grade was given.Example: 2015-11-01T00:03:21-06:00", required: false
14
+ argument :final, Boolean, "Whether this is the 'final' provisional grade created by the moderator.", required: false
15
+ argument :speedgrader_url, String, "A link to view this provisional grade in SpeedGrader™.Example: http://www.example.com/courses/123/gradebook/speed_grader?.", required: false
16
+
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,19 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizAssignmentOverrideInput < BaseInputObject
8
+ description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
9
+ argument :id, ID, "ID of the assignment override, unless this is the base construct, in which case the 'id' field is omitted..Example: 1", required: false
10
+ argument :due_at, LMSGraphQL::Types::DateTimeType, "The date after which any quiz submission is considered late..Example: 2014-02-21T06:59:59Z", required: false
11
+ argument :unlock_at, LMSGraphQL::Types::DateTimeType, "Date when the quiz becomes available for taking..", required: false
12
+ argument :lock_at, LMSGraphQL::Types::DateTimeType, "When the quiz will stop being available for taking. A value of null means it can always be taken..Example: 2014-02-21T06:59:59Z", required: false
13
+ argument :title, String, "Title of the section this assignment override is for, if any..Example: Project X", required: false
14
+ argument :base, Boolean, "If this property is present, it means that dates in this structure are not based on an assignment override, but are instead for all students..Example: true", required: false
15
+
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,14 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "quiz_assignment_override_set"
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizAssignmentOverrideSetContainerInput < BaseInputObject
8
+ description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
9
+ argument :quiz_assignment_overrides, [LMSGraphQL::Types::Canvas::CanvasQuizAssignmentOverrideSet], "The QuizAssignmentOverrideSet.", required: false
10
+
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,17 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "quiz_assignment_override"
3
+ require_relative "quiz_assignment_override"
4
+
5
+ module LMSGraphQL
6
+ module Types
7
+ module Canvas
8
+ class CanvasQuizAssignmentOverrideSetInput < BaseInputObject
9
+ description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
10
+ argument :quiz_id, ID, "ID of the quiz those dates are for..Example: 1", required: false
11
+ argument :due_dates, LMSGraphQL::Types::Canvas::CanvasQuizAssignmentOverride, "An array of quiz assignment overrides. For students, this array will always contain a single item which is the set of dates that apply to that student. For teachers and staff, it may contain more..", required: false
12
+ argument :all_dates, LMSGraphQL::Types::Canvas::CanvasQuizAssignmentOverride, "An array of all assignment overrides active for the quiz. This is visible only to teachers and staff..", required: false
13
+
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,19 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizExtensionInput < BaseInputObject
8
+ description "Quiz Extensions. API Docs: https://canvas.instructure.com/doc/api/quiz_extensions.html"
9
+ argument :quiz_id, ID, "The ID of the Quiz the quiz extension belongs to..Example: 2", required: false
10
+ argument :user_id, ID, "The ID of the Student that needs the quiz extension..Example: 3", required: false
11
+ argument :extra_attempts, Int, "Number of times the student is allowed to re-take the quiz over the multiple-attempt limit..Example: 1", required: false
12
+ argument :extra_time, Int, "Amount of extra time allowed for the quiz submission, in minutes..Example: 60", required: false
13
+ argument :manually_unlocked, Boolean, "The student can take the quiz even if it's locked for everyone else.Example: true", required: false
14
+ argument :end_at, String, "The time at which the quiz submission will be overdue, and be flagged as a late submission..Example: 2013-11-07T13:16:18Z", required: false
15
+
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizGroupInput < BaseInputObject
8
+ description "Quiz Question Groups. API Docs: https://canvas.instructure.com/doc/api/quiz_question_groups.html"
9
+ argument :id, ID, "The ID of the question group..Example: 1", required: false
10
+ argument :quiz_id, ID, "The ID of the Quiz the question group belongs to..Example: 2", required: false
11
+ argument :name, String, "The name of the question group..Example: Fraction questions", required: false
12
+ argument :pick_count, Int, "The number of questions to pick from the group to display to the student..Example: 3", required: false
13
+ argument :question_points, Int, "The amount of points allotted to each question in the group..Example: 10", required: false
14
+ argument :assessment_question_bank_id, ID, "The ID of the Assessment question bank to pull questions from..Example: 2", required: false
15
+ argument :position, Int, "The order in which the question group will be retrieved and displayed..Example: 1", required: false
16
+
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,70 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "lock_info"
3
+ require_relative "quiz_permission"
4
+ require_relative "assignment_date"
5
+
6
+ module LMSGraphQL
7
+ module Types
8
+ module Canvas
9
+ class QuizQuizTypeEnum < ::GraphQL::Schema::Enum
10
+ value "practice_quiz"
11
+ value "assignment"
12
+ value "graded_survey"
13
+ value "survey"
14
+ end
15
+
16
+ class QuizHideResultEnum < ::GraphQL::Schema::Enum
17
+ value "always"
18
+ value "until_after_last_attempt"
19
+ end
20
+
21
+ class QuizScoringPolicyEnum < ::GraphQL::Schema::Enum
22
+ value "keep_highest"
23
+ value "keep_latest"
24
+ end
25
+ class CanvasQuizInput < BaseInputObject
26
+ description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
27
+ argument :id, ID, "the ID of the quiz.Example: 5", required: false
28
+ argument :title, String, "the title of the quiz.Example: Hamlet Act 3 Quiz", required: false
29
+ argument :html_url, String, "the HTTP/HTTPS URL to the quiz.Example: http://canvas.example.edu/courses/1/quizzes/2", required: false
30
+ argument :mobile_url, String, "a url suitable for loading the quiz in a mobile webview. it will persiste the headless session and, for quizzes in public courses, will force the user to login.Example: http://canvas.example.edu/courses/1/quizzes/2?persist_healdess=1&force_user=1", required: false
31
+ argument :preview_url, String, "A url that can be visited in the browser with a POST request to preview a quiz as the teacher. Only present when the user may grade.Example: http://canvas.example.edu/courses/1/quizzes/2/take?preview=1", required: false
32
+ argument :description, String, "the description of the quiz.Example: This is a quiz on Act 3 of Hamlet", required: false
33
+ argument :quiz_type, QuizQuizTypeEnum, "type of quiz possible values: 'practice_quiz', 'assignment', 'graded_survey', 'survey'.Example: assignment", required: false
34
+ argument :assignment_group_id, ID, "the ID of the quiz's assignment group:.Example: 3", required: false
35
+ argument :time_limit, Int, "quiz time limit in minutes.Example: 5", required: false
36
+ argument :shuffle_answers, Boolean, "shuffle answers for students?.", required: false
37
+ argument :hide_results, QuizHideResultEnum, "let students see their quiz responses? possible values: null, 'always', 'until_after_last_attempt'.Example: always", required: false
38
+ argument :show_correct_answers, Boolean, "show which answers were correct when results are shown? only valid if hide_results=null.Example: true", required: false
39
+ argument :show_correct_answers_last_attempt, Boolean, "restrict the show_correct_answers option above to apply only to the last submitted attempt of a quiz that allows multiple attempts. only valid if show_correct_answers=true and allowed_attempts > 1.Example: true", required: false
40
+ argument :show_correct_answers_at, LMSGraphQL::Types::DateTimeType, "when should the correct answers be visible by students? only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", required: false
41
+ argument :hide_correct_answers_at, LMSGraphQL::Types::DateTimeType, "prevent the students from seeing correct answers after the specified date has passed. only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", required: false
42
+ argument :one_time_results, Boolean, "prevent the students from seeing their results more than once (right after they submit the quiz).Example: true", required: false
43
+ argument :scoring_policy, QuizScoringPolicyEnum, "which quiz score to keep (only if allowed_attempts != 1) possible values: 'keep_highest', 'keep_latest'.Example: keep_highest", required: false
44
+ argument :allowed_attempts, Int, "how many times a student can take the quiz -1 = unlimited attempts.Example: 3", required: false
45
+ argument :one_question_at_a_time, Boolean, "show one question at a time?.", required: false
46
+ argument :question_count, Int, "the number of questions in the quiz.Example: 12", required: false
47
+ argument :points_possible, Int, "The total point value given to the quiz.Example: 20", required: false
48
+ argument :cant_go_back, Boolean, "lock questions after answering? only valid if one_question_at_a_time=true.", required: false
49
+ argument :access_code, String, "access code to restrict quiz access.Example: 2beornot2be", required: false
50
+ argument :ip_filter, String, "IP address or range that quiz access is limited to.Example: 123.123.123.123", required: false
51
+ argument :due_at, LMSGraphQL::Types::DateTimeType, "when the quiz is due.Example: 2013-01-23T23:59:00-07:00", required: false
52
+ argument :lock_at, LMSGraphQL::Types::DateTimeType, "when to lock the quiz.", required: false
53
+ argument :unlock_at, LMSGraphQL::Types::DateTimeType, "when to unlock the quiz.Example: 2013-01-21T23:59:00-07:00", required: false
54
+ argument :published, Boolean, "whether the quiz has a published or unpublished draft state..Example: true", required: false
55
+ argument :unpublishable, Boolean, "Whether the assignment's 'published' state can be changed to false. Will be false if there are student submissions for the quiz..Example: true", required: false
56
+ argument :locked_for_user, Boolean, "Whether or not this is locked for the user..", required: false
57
+ argument :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfo, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", required: false
58
+ argument :lock_explanation, String, "(Optional) An explanation of why this is locked for the user. Present when locked_for_user is true..Example: This quiz is locked until September 1 at 12:00am", required: false
59
+ argument :speedgrader_url, String, "Link to Speed Grader for this quiz. Will not be present if quiz is unpublished.Example: http://canvas.instructure.com/courses/1/speed_grader?assignment_id=1", required: false
60
+ argument :quiz_extensions_url, String, "Link to endpoint to send extensions for this quiz..Example: http://canvas.instructure.com/courses/1/quizzes/2/quiz_extensions", required: false
61
+ argument :permissions, LMSGraphQL::Types::Canvas::CanvasQuizPermission, "Permissions the user has for the quiz.", required: false
62
+ argument :all_dates, [LMSGraphQL::Types::Canvas::CanvasAssignmentDate], "list of due dates for the quiz.", required: false
63
+ argument :version_number, Int, "Current version number of the quiz.Example: 3", required: false
64
+ argument :question_types, String, "List of question types in the quiz.Example: multiple_choice, essay", required: false
65
+ argument :anonymous_submissions, Boolean, "Whether survey submissions will be kept anonymous (only applicable to 'graded_survey', 'survey' quiz types).", required: false
66
+
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,16 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizIPFilterInput < BaseInputObject
8
+ description "Quiz IP Filters. API Docs: https://canvas.instructure.com/doc/api/quiz_ip_filters.html"
9
+ argument :name, String, "A unique name for the filter..Example: Current Filter", required: false
10
+ argument :account, String, "Name of the Account (or Quiz) the IP filter is defined in..Example: Some Quiz", required: false
11
+ argument :filter, String, "An IP address (or range mask) this filter embodies..Example: 192.168.1.1/24", required: false
12
+
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,20 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizPermissionInput < BaseInputObject
8
+ description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
9
+ argument :read, Boolean, "whether the user can view the quiz.Example: true", required: false
10
+ argument :submit, Boolean, "whether the user may submit a submission for the quiz.Example: true", required: false
11
+ argument :create, Boolean, "whether the user may create a new quiz.Example: true", required: false
12
+ argument :manage, Boolean, "whether the user may edit, update, or delete the quiz.Example: true", required: false
13
+ argument :read_statistics, Boolean, "whether the user may view quiz statistics for this quiz.Example: true", required: false
14
+ argument :review_grades, Boolean, "whether the user may review grades for all quiz submissions for this quiz.Example: true", required: false
15
+ argument :update, Boolean, "whether the user may update the quiz.Example: true", required: false
16
+
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "answer"
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizQuestionInput < BaseInputObject
8
+ description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
+ argument :id, ID, "The ID of the quiz question..Example: 1", required: false
10
+ argument :quiz_id, ID, "The ID of the Quiz the question belongs to..Example: 2", required: false
11
+ argument :position, Int, "The order in which the question will be retrieved and displayed..Example: 1", required: false
12
+ argument :question_name, String, "The name of the question..Example: Prime Number Identification", required: false
13
+ argument :question_type, String, "The type of the question..Example: multiple_choice_question", required: false
14
+ argument :question_text, String, "The text of the question..Example: Which of the following is NOT a prime number?", required: false
15
+ argument :points_possible, Int, "The maximum amount of points possible received for getting this question correct..Example: 5", required: false
16
+ argument :correct_comments, String, "The comments to display if the student answers the question correctly..Example: That's correct!", required: false
17
+ argument :incorrect_comments, String, "The comments to display if the student answers incorrectly..Example: Unfortunately, that IS a prime number.", required: false
18
+ argument :neutral_comments, String, "The comments to display regardless of how the student answered..Example: Goldbach's conjecture proposes that every even integer greater than 2 can be expressed as the sum of two prime numbers.", required: false
19
+ argument :answers, [LMSGraphQL::Types::Canvas::CanvasAnswer], "An array of available answers to display to the student..", required: false
20
+
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,31 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "file"
3
+ require_relative "progress"
4
+
5
+ module LMSGraphQL
6
+ module Types
7
+ module Canvas
8
+ class QuizReportReportTypeEnum < ::GraphQL::Schema::Enum
9
+ value "student_analysis"
10
+ value "item_analysis"
11
+ end
12
+ class CanvasQuizReportInput < BaseInputObject
13
+ description "Quiz Reports. API Docs: https://canvas.instructure.com/doc/api/quiz_reports.html"
14
+ argument :id, ID, "the ID of the quiz report.Example: 5", required: false
15
+ argument :quiz_id, ID, "the ID of the quiz.Example: 4", required: false
16
+ argument :report_type, QuizReportReportTypeEnum, "which type of report this is possible values: 'student_analysis', 'item_analysis'.Example: student_analysis", required: false
17
+ argument :readable_type, String, "a human-readable (and localized) version of the report_type.Example: Student Analysis", required: false
18
+ argument :includes_all_versions, Boolean, "boolean indicating whether the report represents all submissions or only the most recent ones for each student.Example: true", required: false
19
+ argument :anonymous, Boolean, "boolean indicating whether the report is for an anonymous survey. if true, no student names will be included in the csv.", required: false
20
+ argument :generatable, Boolean, "boolean indicating whether the report can be generated, which is true unless the quiz is a survey one.Example: true", required: false
21
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "when the report was created.Example: 2013-05-01T12:34:56-07:00", required: false
22
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "when the report was last updated.Example: 2013-05-01T12:34:56-07:00", required: false
23
+ argument :url, String, "the API endpoint for this report.Example: http://canvas.example.com/api/v1/courses/1/quizzes/1/reports/1", required: false
24
+ argument :file, LMSGraphQL::Types::Canvas::CanvasFile, "if the report has finished generating, a File object that represents it. refer to the Files API for more information about the format.", required: false
25
+ argument :progress_url, String, "if the report has not yet finished generating, a URL where information about its progress can be retrieved. refer to the Progress API for more information (Note: not available in JSON-API format).", required: false
26
+ argument :progress, LMSGraphQL::Types::Canvas::CanvasProgress, "if the report is being generated, a Progress object that represents the operation. Refer to the Progress API for more information about the format. (Note: available only in JSON-API format).", required: false
27
+
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,27 @@
1
+ require_relative "../canvas_base_input_type"
2
+ require_relative "quiz_statistics_question_statistic"
3
+ require_relative "quiz_statistics_submission_statistic"
4
+ require_relative "quiz_statistics_link"
5
+
6
+ module LMSGraphQL
7
+ module Types
8
+ module Canvas
9
+ class CanvasQuizStatisticInput < BaseInputObject
10
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
11
+ argument :id, ID, "The ID of the quiz statistics report..Example: 1", required: false
12
+ argument :quiz_id, ID, "The ID of the Quiz the statistics report is for.
13
+ NOTE: AVAILABLE ONLY IN NON-JSON-API REQUESTS..Example: 2", required: false
14
+ argument :multiple_attempts_exist, Boolean, "Whether there are any students that have made mutliple submissions for this quiz..Example: true", required: false
15
+ argument :includes_all_versions, Boolean, "In the presence of multiple attempts, this field describes whether the statistics describe all the submission attempts and not only the latest ones..Example: true", required: false
16
+ argument :generated_at, LMSGraphQL::Types::DateTimeType, "The time at which the statistics were generated, which is usually after the occurrence of a quiz event, like a student submitting it..Example: 2013-01-23T23:59:00-07:00", required: false
17
+ argument :url, String, "The API HTTP/HTTPS URL to this quiz statistics..Example: http://canvas.example.edu/api/v1/courses/1/quizzes/2/statistics", required: false
18
+ argument :html_url, String, "The HTTP/HTTPS URL to the page where the statistics can be seen visually..Example: http://canvas.example.edu/courses/1/quizzes/2/statistics", required: false
19
+ argument :question_statistics, LMSGraphQL::Types::Canvas::CanvasQuizStatisticsQuestionStatistic, "Question-specific statistics for each question and its answers..", required: false
20
+ argument :submission_statistics, LMSGraphQL::Types::Canvas::CanvasQuizStatisticsSubmissionStatistic, "Question-specific statistics for each question and its answers..", required: false
21
+ argument :links, LMSGraphQL::Types::Canvas::CanvasQuizStatisticsLink, "JSON-API construct that contains links to media related to this quiz statistics object.
22
+ NOTE: AVAILABLE ONLY IN JSON-API REQUESTS..", required: false
23
+
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,17 @@
1
+ require_relative "../canvas_base_input_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasQuizStatisticsAnswerPointBiserialInput < BaseInputObject
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
+ argument :answer_id, ID, "ID of the answer the point biserial is for..Example: 3866", required: false
10
+ argument :point_biserial, Float, "The point biserial value for this answer. Value ranges between -1 and 1..Example: -0.802955068546966", required: false
11
+ argument :correct, Boolean, "Convenience attribute that denotes whether this is the correct answer as opposed to being a distractor. This is mutually exclusive with the `distractor` value.Example: true", required: false
12
+ argument :distractor, Boolean, "Convenience attribute that denotes whether this is a distractor answer and not the correct one. This is mutually exclusive with the `correct` value.", required: false
13
+
14
+ end
15
+ end
16
+ end
17
+ end