lms-graphql-api 1.6.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (617) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/add_message.rb +2 -2
  3. data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +1 -1
  4. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
  5. data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +1 -1
  6. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +2 -2
  7. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -3
  8. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +6 -4
  9. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +1 -1
  10. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +1 -1
  11. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
  12. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +1 -1
  13. data/lib/lms_graphql/mutations/canvas/create_instaccess_token.rb +22 -0
  14. data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
  15. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +5 -3
  16. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
  17. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
  18. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
  19. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
  20. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
  21. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
  22. data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
  23. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +1 -1
  24. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
  25. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
  26. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +3 -3
  27. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
  28. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
  29. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
  30. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
  31. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
  32. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
  33. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
  34. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +4 -2
  35. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +1 -1
  36. data/lib/lms_graphql/mutations/canvas/delete_eportfolio.rb +24 -0
  37. data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
  38. data/lib/lms_graphql/mutations/canvas/duplicate_assignnment.rb +29 -0
  39. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_courses.rb +26 -0
  40. data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_groups.rb +26 -0
  41. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +6 -4
  42. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
  43. data/lib/lms_graphql/mutations/canvas/edit_group.rb +1 -1
  44. data/lib/lms_graphql/mutations/canvas/edit_user.rb +4 -2
  45. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +6 -2
  46. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +4 -4
  47. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +4 -4
  48. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +4 -4
  49. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +4 -4
  50. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_courses.rb +51 -0
  51. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_sections.rb +51 -0
  52. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +1 -1
  53. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +1 -1
  54. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
  55. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
  56. data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_courses.rb +28 -0
  57. data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_sections.rb +28 -0
  58. data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_courses.rb +28 -0
  59. data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_sections.rb +28 -0
  60. data/lib/lms_graphql/mutations/canvas/moderate_all_eportfolios_for_user.rb +27 -0
  61. data/lib/lms_graphql/mutations/canvas/moderate_eportfolio.rb +27 -0
  62. data/lib/lms_graphql/mutations/canvas/mutations.rb +22 -7
  63. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
  64. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
  65. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
  66. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
  67. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
  68. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
  69. data/lib/lms_graphql/mutations/canvas/restore_deleted_eportfolio.rb +24 -0
  70. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
  71. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
  72. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +4 -2
  73. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +4 -2
  74. data/lib/lms_graphql/mutations/canvas/terminate_all_user_sessions.rb +24 -0
  75. data/lib/lms_graphql/mutations/canvas/update_account.rb +13 -1
  76. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
  77. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +1 -1
  78. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +2 -2
  79. data/lib/lms_graphql/mutations/canvas/update_course.rb +18 -2
  80. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +3 -1
  81. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +1 -1
  82. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
  83. data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
  84. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +2 -2
  85. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
  86. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +1 -1
  87. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
  88. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
  89. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
  90. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
  91. data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
  92. data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
  93. data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
  94. data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
  95. data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
  96. data/lib/lms_graphql/resolvers/canvas/get_all_eportfolios_for_user.rb +25 -0
  97. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
  98. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
  99. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
  100. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
  101. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
  102. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
  103. data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
  104. data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +22 -0
  105. data/lib/lms_graphql/resolvers/canvas/get_custom_colors.rb +1 -1
  106. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_completed.rb +22 -0
  107. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_current.rb +22 -0
  108. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_terms.rb +24 -0
  109. data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_courses.rb +26 -0
  110. data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_sections.rb +26 -0
  111. data/lib/lms_graphql/resolvers/canvas/get_eportfolio.rb +22 -0
  112. data/lib/lms_graphql/resolvers/canvas/get_eportfolio_pages.rb +23 -0
  113. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +1 -1
  114. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +1 -1
  115. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +1 -1
  116. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +1 -1
  117. data/lib/lms_graphql/resolvers/canvas/get_formatted_student_numerical_answer.rb +26 -0
  118. data/lib/lms_graphql/resolvers/canvas/get_manually_created_courses_sub_account_for_domain_root_account.rb +22 -0
  119. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +2 -2
  120. data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
  121. data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
  122. data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_courses.rb +26 -0
  123. data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_sections.rb +26 -0
  124. data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
  125. data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
  126. data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
  127. data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
  128. data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
  129. data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
  130. data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
  131. data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
  132. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
  133. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
  134. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
  135. data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_courses.rb +28 -0
  136. data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_sections.rb +28 -0
  137. data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
  138. data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
  139. data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
  140. data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
  141. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +4 -2
  142. data/lib/lms_graphql/resolvers/canvas/get_user_progress.rb +24 -0
  143. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
  144. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +22 -0
  145. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
  146. data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
  147. data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
  148. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +9 -7
  149. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +5 -3
  150. data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
  151. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
  152. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
  153. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
  154. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
  155. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
  156. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
  157. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
  158. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
  159. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
  160. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +5 -3
  161. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +5 -3
  162. data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
  163. data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
  164. data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
  165. data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
  166. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
  167. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
  168. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
  169. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
  170. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
  171. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
  172. data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
  173. data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
  174. data/lib/lms_graphql/resolvers/canvas/list_environment_features.rb +22 -0
  175. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
  176. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
  177. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
  178. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
  179. data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
  180. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
  181. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
  182. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
  183. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
  184. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
  185. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
  186. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
  187. data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
  188. data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +8 -4
  189. data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
  190. data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
  191. data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
  192. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
  193. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +4 -2
  194. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +4 -2
  195. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +1 -1
  196. data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
  197. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +1 -1
  198. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +1 -1
  199. data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
  200. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
  201. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
  202. data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
  203. data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
  204. data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
  205. data/lib/lms_graphql/resolvers/canvas/progress_query_progress.rb +24 -0
  206. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
  207. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
  208. data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
  209. data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
  210. data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
  211. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
  212. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -2
  213. data/lib/lms_graphql/types/canvas/account.rb +1 -1
  214. data/lib/lms_graphql/types/canvas/account_input.rb +1 -1
  215. data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
  216. data/lib/lms_graphql/types/canvas/account_notification_input.rb +4 -4
  217. data/lib/lms_graphql/types/canvas/admin.rb +1 -1
  218. data/lib/lms_graphql/types/canvas/admin_input.rb +1 -1
  219. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -1
  220. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +1 -1
  221. data/lib/lms_graphql/types/canvas/answer.rb +2 -2
  222. data/lib/lms_graphql/types/canvas/answer_input.rb +2 -2
  223. data/lib/lms_graphql/types/canvas/appointment.rb +1 -1
  224. data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
  225. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +9 -9
  226. data/lib/lms_graphql/types/canvas/appointment_input.rb +1 -1
  227. data/lib/lms_graphql/types/canvas/assessment.rb +1 -1
  228. data/lib/lms_graphql/types/canvas/assessment_input.rb +1 -1
  229. data/lib/lms_graphql/types/canvas/assignment.rb +9 -7
  230. data/lib/lms_graphql/types/canvas/assignment_date.rb +1 -1
  231. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +1 -1
  232. data/lib/lms_graphql/types/canvas/assignment_event.rb +3 -2
  233. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +4 -3
  234. data/lib/lms_graphql/types/canvas/assignment_extension.rb +1 -1
  235. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +1 -1
  236. data/lib/lms_graphql/types/canvas/assignment_group.rb +2 -2
  237. data/lib/lms_graphql/types/canvas/assignment_group_attribute.rb +1 -1
  238. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +1 -1
  239. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +2 -2
  240. data/lib/lms_graphql/types/canvas/assignment_input.rb +11 -9
  241. data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
  242. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +1 -1
  243. data/lib/lms_graphql/types/canvas/authentication_event.rb +2 -2
  244. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +3 -3
  245. data/lib/lms_graphql/types/canvas/authentication_provider.rb +2 -1
  246. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +2 -1
  247. data/lib/lms_graphql/types/canvas/avatar.rb +1 -1
  248. data/lib/lms_graphql/types/canvas/avatar_input.rb +1 -1
  249. data/lib/lms_graphql/types/canvas/blueprint_migration.rb +1 -1
  250. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +1 -1
  251. data/lib/lms_graphql/types/canvas/blueprint_restriction.rb +1 -1
  252. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +1 -1
  253. data/lib/lms_graphql/types/canvas/blueprint_subscription.rb +1 -1
  254. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +1 -1
  255. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  256. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +1 -1
  257. data/lib/lms_graphql/types/canvas/bookmark.rb +1 -1
  258. data/lib/lms_graphql/types/canvas/bookmark_input.rb +1 -1
  259. data/lib/lms_graphql/types/canvas/calendar_event.rb +3 -2
  260. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +3 -2
  261. data/lib/lms_graphql/types/canvas/calendar_link.rb +1 -1
  262. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  263. data/lib/lms_graphql/types/canvas/change_record.rb +2 -2
  264. data/lib/lms_graphql/types/canvas/change_record_input.rb +2 -2
  265. data/lib/lms_graphql/types/canvas/collaboration.rb +1 -1
  266. data/lib/lms_graphql/types/canvas/collaboration_input.rb +1 -1
  267. data/lib/lms_graphql/types/canvas/collaborator.rb +2 -2
  268. data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
  269. data/lib/lms_graphql/types/canvas/column_datum.rb +1 -1
  270. data/lib/lms_graphql/types/canvas/column_datum_input.rb +1 -1
  271. data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
  272. data/lib/lms_graphql/types/canvas/comm_message_input.rb +3 -3
  273. data/lib/lms_graphql/types/canvas/communication_channel.rb +2 -2
  274. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +5 -5
  275. data/lib/lms_graphql/types/canvas/completion_requirement.rb +2 -2
  276. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +3 -3
  277. data/lib/lms_graphql/types/canvas/conference.rb +2 -2
  278. data/lib/lms_graphql/types/canvas/conference_input.rb +2 -2
  279. data/lib/lms_graphql/types/canvas/conference_recording.rb +1 -1
  280. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +1 -1
  281. data/lib/lms_graphql/types/canvas/content_detail.rb +1 -1
  282. data/lib/lms_graphql/types/canvas/content_detail_input.rb +1 -1
  283. data/lib/lms_graphql/types/canvas/content_export.rb +2 -2
  284. data/lib/lms_graphql/types/canvas/content_export_input.rb +5 -5
  285. data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
  286. data/lib/lms_graphql/types/canvas/content_migration_input.rb +3 -3
  287. data/lib/lms_graphql/types/canvas/content_share.rb +2 -2
  288. data/lib/lms_graphql/types/canvas/content_share_input.rb +2 -2
  289. data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
  290. data/lib/lms_graphql/types/canvas/conversation_input.rb +4 -4
  291. data/lib/lms_graphql/types/canvas/conversation_participant.rb +1 -1
  292. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +1 -1
  293. data/lib/lms_graphql/types/canvas/course.rb +5 -2
  294. data/lib/lms_graphql/types/canvas/course_attribute.rb +1 -1
  295. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +1 -1
  296. data/lib/lms_graphql/types/canvas/course_epub_export.rb +1 -1
  297. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +1 -1
  298. data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
  299. data/lib/lms_graphql/types/canvas/course_event_input.rb +1 -1
  300. data/lib/lms_graphql/types/canvas/course_event_link.rb +1 -1
  301. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +1 -1
  302. data/lib/lms_graphql/types/canvas/course_input.rb +8 -5
  303. data/lib/lms_graphql/types/canvas/course_nickname.rb +1 -1
  304. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +1 -1
  305. data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
  306. data/lib/lms_graphql/types/canvas/course_progress_input.rb +1 -1
  307. data/lib/lms_graphql/types/canvas/course_quiz_extension.rb +1 -1
  308. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +1 -1
  309. data/lib/lms_graphql/types/canvas/created_event_datum.rb +5 -5
  310. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  311. data/lib/lms_graphql/types/canvas/custom_column.rb +1 -1
  312. data/lib/lms_graphql/types/canvas/custom_column_input.rb +1 -1
  313. data/lib/lms_graphql/types/canvas/day.rb +1 -1
  314. data/lib/lms_graphql/types/canvas/day_input.rb +1 -1
  315. data/lib/lms_graphql/types/canvas/developer_key.rb +1 -1
  316. data/lib/lms_graphql/types/canvas/developer_key_input.rb +1 -1
  317. data/lib/lms_graphql/types/canvas/discussion_topic.rb +4 -4
  318. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +9 -9
  319. data/lib/lms_graphql/types/canvas/e_portfolio.rb +24 -0
  320. data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +24 -0
  321. data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +20 -0
  322. data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +20 -0
  323. data/lib/lms_graphql/types/canvas/enrollment.rb +1 -1
  324. data/lib/lms_graphql/types/canvas/enrollment_input.rb +1 -1
  325. data/lib/lms_graphql/types/canvas/enrollment_term.rb +1 -1
  326. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +1 -1
  327. data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +1 -1
  328. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
  329. data/lib/lms_graphql/types/canvas/epub_export.rb +2 -2
  330. data/lib/lms_graphql/types/canvas/epub_export_input.rb +3 -3
  331. data/lib/lms_graphql/types/canvas/error_report.rb +1 -1
  332. data/lib/lms_graphql/types/canvas/error_report_input.rb +1 -1
  333. data/lib/lms_graphql/types/canvas/exception_record.rb +2 -2
  334. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  335. data/lib/lms_graphql/types/canvas/external_feed.rb +2 -2
  336. data/lib/lms_graphql/types/canvas/external_feed_input.rb +3 -3
  337. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute.rb +1 -1
  338. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +1 -1
  339. data/lib/lms_graphql/types/canvas/favorite.rb +2 -2
  340. data/lib/lms_graphql/types/canvas/favorite_input.rb +3 -3
  341. data/lib/lms_graphql/types/canvas/feature.rb +3 -3
  342. data/lib/lms_graphql/types/canvas/feature_flag.rb +4 -3
  343. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +6 -5
  344. data/lib/lms_graphql/types/canvas/feature_input.rb +4 -4
  345. data/lib/lms_graphql/types/canvas/federated_attribute_config.rb +1 -1
  346. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +1 -1
  347. data/lib/lms_graphql/types/canvas/federated_attributes_config.rb +1 -1
  348. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +1 -1
  349. data/lib/lms_graphql/types/canvas/file.rb +1 -1
  350. data/lib/lms_graphql/types/canvas/file_attachment.rb +1 -1
  351. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +1 -1
  352. data/lib/lms_graphql/types/canvas/file_input.rb +1 -1
  353. data/lib/lms_graphql/types/canvas/folder.rb +1 -1
  354. data/lib/lms_graphql/types/canvas/folder_input.rb +1 -1
  355. data/lib/lms_graphql/types/canvas/grade.rb +1 -1
  356. data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
  357. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +1 -1
  358. data/lib/lms_graphql/types/canvas/grade_change_event_link.rb +1 -1
  359. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +1 -1
  360. data/lib/lms_graphql/types/canvas/grade_input.rb +1 -1
  361. data/lib/lms_graphql/types/canvas/grader.rb +2 -2
  362. data/lib/lms_graphql/types/canvas/grader_input.rb +2 -2
  363. data/lib/lms_graphql/types/canvas/grading_period.rb +1 -1
  364. data/lib/lms_graphql/types/canvas/grading_period_input.rb +1 -1
  365. data/lib/lms_graphql/types/canvas/grading_rule.rb +2 -2
  366. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +2 -2
  367. data/lib/lms_graphql/types/canvas/grading_scheme_entry.rb +1 -1
  368. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +1 -1
  369. data/lib/lms_graphql/types/canvas/grading_standard.rb +1 -1
  370. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +1 -1
  371. data/lib/lms_graphql/types/canvas/group.rb +4 -3
  372. data/lib/lms_graphql/types/canvas/group_category.rb +2 -2
  373. data/lib/lms_graphql/types/canvas/group_category_input.rb +5 -5
  374. data/lib/lms_graphql/types/canvas/group_input.rb +7 -6
  375. data/lib/lms_graphql/types/canvas/group_membership.rb +2 -2
  376. data/lib/lms_graphql/types/canvas/group_membership_input.rb +3 -3
  377. data/lib/lms_graphql/types/canvas/help_link.rb +1 -1
  378. data/lib/lms_graphql/types/canvas/help_link_input.rb +1 -1
  379. data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
  380. data/lib/lms_graphql/types/canvas/history_entry_input.rb +1 -1
  381. data/lib/lms_graphql/types/canvas/inst_access_token.rb +14 -0
  382. data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +14 -0
  383. data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
  384. data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
  385. data/lib/lms_graphql/types/canvas/jsonapi_pagination.rb +1 -1
  386. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
  387. data/lib/lms_graphql/types/canvas/jwt.rb +1 -1
  388. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  389. data/lib/lms_graphql/types/canvas/late_policy.rb +1 -1
  390. data/lib/lms_graphql/types/canvas/late_policy_input.rb +1 -1
  391. data/lib/lms_graphql/types/canvas/license.rb +1 -1
  392. data/lib/lms_graphql/types/canvas/license_input.rb +1 -1
  393. data/lib/lms_graphql/types/canvas/line_item.rb +1 -1
  394. data/lib/lms_graphql/types/canvas/line_item_input.rb +1 -1
  395. data/lib/lms_graphql/types/canvas/lock_info.rb +1 -1
  396. data/lib/lms_graphql/types/canvas/lock_info_input.rb +1 -1
  397. data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
  398. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +1 -1
  399. data/lib/lms_graphql/types/canvas/media_comment.rb +1 -1
  400. data/lib/lms_graphql/types/canvas/media_comment_input.rb +1 -1
  401. data/lib/lms_graphql/types/canvas/media_object.rb +1 -1
  402. data/lib/lms_graphql/types/canvas/media_object_input.rb +1 -1
  403. data/lib/lms_graphql/types/canvas/media_track.rb +1 -1
  404. data/lib/lms_graphql/types/canvas/media_track_input.rb +1 -1
  405. data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
  406. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +5 -5
  407. data/lib/lms_graphql/types/canvas/migrator.rb +2 -2
  408. data/lib/lms_graphql/types/canvas/migrator_input.rb +2 -2
  409. data/lib/lms_graphql/types/canvas/module.rb +2 -2
  410. data/lib/lms_graphql/types/canvas/module_input.rb +5 -5
  411. data/lib/lms_graphql/types/canvas/module_item.rb +2 -2
  412. data/lib/lms_graphql/types/canvas/module_item_input.rb +3 -3
  413. data/lib/lms_graphql/types/canvas/module_item_sequence.rb +1 -1
  414. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +1 -1
  415. data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +1 -1
  416. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +1 -1
  417. data/lib/lms_graphql/types/canvas/names_and_role_context.rb +1 -1
  418. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +1 -1
  419. data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +1 -1
  420. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +1 -1
  421. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +1 -1
  422. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +1 -1
  423. data/lib/lms_graphql/types/canvas/needs_grading_count.rb +1 -1
  424. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +1 -1
  425. data/lib/lms_graphql/types/canvas/notification_preference.rb +2 -2
  426. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +3 -3
  427. data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
  428. data/lib/lms_graphql/types/canvas/originality_report_input.rb +1 -1
  429. data/lib/lms_graphql/types/canvas/outcome.rb +2 -2
  430. data/lib/lms_graphql/types/canvas/outcome_alignment.rb +1 -1
  431. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +1 -1
  432. data/lib/lms_graphql/types/canvas/outcome_group.rb +1 -1
  433. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +1 -1
  434. data/lib/lms_graphql/types/canvas/outcome_import.rb +4 -3
  435. data/lib/lms_graphql/types/canvas/outcome_import_datum.rb +1 -1
  436. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  437. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +5 -4
  438. data/lib/lms_graphql/types/canvas/outcome_input.rb +3 -3
  439. data/lib/lms_graphql/types/canvas/outcome_link.rb +1 -1
  440. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +1 -1
  441. data/lib/lms_graphql/types/canvas/outcome_path.rb +1 -1
  442. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +1 -1
  443. data/lib/lms_graphql/types/canvas/outcome_path_part.rb +1 -1
  444. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  445. data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
  446. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +1 -1
  447. data/lib/lms_graphql/types/canvas/outcome_rollup.rb +1 -1
  448. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +1 -1
  449. data/lib/lms_graphql/types/canvas/outcome_rollup_link.rb +1 -1
  450. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +1 -1
  451. data/lib/lms_graphql/types/canvas/outcome_rollup_score.rb +1 -1
  452. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +1 -1
  453. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link.rb +1 -1
  454. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  455. data/lib/lms_graphql/types/canvas/page.rb +1 -1
  456. data/lib/lms_graphql/types/canvas/page_input.rb +1 -1
  457. data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
  458. data/lib/lms_graphql/types/canvas/page_revision_input.rb +1 -1
  459. data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
  460. data/lib/lms_graphql/types/canvas/page_view_input.rb +1 -1
  461. data/lib/lms_graphql/types/canvas/page_view_link.rb +1 -1
  462. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +1 -1
  463. data/lib/lms_graphql/types/canvas/pairing_code.rb +1 -1
  464. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +1 -1
  465. data/lib/lms_graphql/types/canvas/peer_review.rb +1 -1
  466. data/lib/lms_graphql/types/canvas/peer_review_input.rb +1 -1
  467. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  468. data/lib/lms_graphql/types/canvas/planner_note_input.rb +1 -1
  469. data/lib/lms_graphql/types/canvas/planner_override.rb +1 -1
  470. data/lib/lms_graphql/types/canvas/planner_override_input.rb +1 -1
  471. data/lib/lms_graphql/types/canvas/poll.rb +1 -1
  472. data/lib/lms_graphql/types/canvas/poll_choice.rb +1 -1
  473. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +1 -1
  474. data/lib/lms_graphql/types/canvas/poll_input.rb +1 -1
  475. data/lib/lms_graphql/types/canvas/poll_session.rb +1 -1
  476. data/lib/lms_graphql/types/canvas/poll_session_input.rb +1 -1
  477. data/lib/lms_graphql/types/canvas/poll_submission.rb +1 -1
  478. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +1 -1
  479. data/lib/lms_graphql/types/canvas/proficiency.rb +2 -2
  480. data/lib/lms_graphql/types/canvas/proficiency_input.rb +2 -2
  481. data/lib/lms_graphql/types/canvas/proficiency_rating.rb +1 -1
  482. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +1 -1
  483. data/lib/lms_graphql/types/canvas/profile.rb +2 -1
  484. data/lib/lms_graphql/types/canvas/profile_input.rb +2 -1
  485. data/lib/lms_graphql/types/canvas/progress.rb +3 -3
  486. data/lib/lms_graphql/types/canvas/progress_input.rb +4 -4
  487. data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
  488. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +1 -1
  489. data/lib/lms_graphql/types/canvas/query_type.rb +139 -51
  490. data/lib/lms_graphql/types/canvas/quiz.rb +3 -3
  491. data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +1 -1
  492. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +1 -1
  493. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set.rb +1 -1
  494. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container.rb +1 -1
  495. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  496. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +1 -1
  497. data/lib/lms_graphql/types/canvas/quiz_extension.rb +1 -1
  498. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +1 -1
  499. data/lib/lms_graphql/types/canvas/quiz_group.rb +1 -1
  500. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +1 -1
  501. data/lib/lms_graphql/types/canvas/quiz_input.rb +8 -8
  502. data/lib/lms_graphql/types/canvas/quiz_ip_filter.rb +1 -1
  503. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +1 -1
  504. data/lib/lms_graphql/types/canvas/quiz_permission.rb +1 -1
  505. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +1 -1
  506. data/lib/lms_graphql/types/canvas/quiz_question.rb +1 -1
  507. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +1 -1
  508. data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
  509. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +3 -3
  510. data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
  511. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +1 -1
  512. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial.rb +1 -1
  513. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +1 -1
  514. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic.rb +2 -2
  515. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +2 -2
  516. data/lib/lms_graphql/types/canvas/quiz_statistics_link.rb +1 -1
  517. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  518. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic.rb +1 -1
  519. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +1 -1
  520. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic.rb +1 -1
  521. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +1 -1
  522. data/lib/lms_graphql/types/canvas/quiz_submission.rb +1 -1
  523. data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
  524. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +1 -1
  525. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +1 -1
  526. data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +2 -2
  527. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +2 -2
  528. data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +1 -1
  529. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
  530. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum.rb +1 -1
  531. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
  532. data/lib/lms_graphql/types/canvas/report.rb +1 -1
  533. data/lib/lms_graphql/types/canvas/report_input.rb +1 -1
  534. data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
  535. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +4 -4
  536. data/lib/lms_graphql/types/canvas/result.rb +1 -1
  537. data/lib/lms_graphql/types/canvas/result_input.rb +1 -1
  538. data/lib/lms_graphql/types/canvas/result_link.rb +1 -1
  539. data/lib/lms_graphql/types/canvas/result_link_input.rb +1 -1
  540. data/lib/lms_graphql/types/canvas/role.rb +1 -1
  541. data/lib/lms_graphql/types/canvas/role_input.rb +1 -1
  542. data/lib/lms_graphql/types/canvas/role_permission.rb +1 -1
  543. data/lib/lms_graphql/types/canvas/role_permission_input.rb +1 -1
  544. data/lib/lms_graphql/types/canvas/rubric.rb +1 -1
  545. data/lib/lms_graphql/types/canvas/rubric_assessment.rb +3 -3
  546. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +3 -3
  547. data/lib/lms_graphql/types/canvas/rubric_association.rb +1 -1
  548. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +1 -1
  549. data/lib/lms_graphql/types/canvas/rubric_criterion.rb +1 -1
  550. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +1 -1
  551. data/lib/lms_graphql/types/canvas/rubric_criterium.rb +1 -1
  552. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +1 -1
  553. data/lib/lms_graphql/types/canvas/rubric_input.rb +1 -1
  554. data/lib/lms_graphql/types/canvas/rubric_rating.rb +1 -1
  555. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +1 -1
  556. data/lib/lms_graphql/types/canvas/scope.rb +1 -1
  557. data/lib/lms_graphql/types/canvas/scope_input.rb +1 -1
  558. data/lib/lms_graphql/types/canvas/score.rb +1 -1
  559. data/lib/lms_graphql/types/canvas/score_input.rb +1 -1
  560. data/lib/lms_graphql/types/canvas/score_statistic.rb +1 -1
  561. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +1 -1
  562. data/lib/lms_graphql/types/canvas/section.rb +1 -1
  563. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +1 -1
  564. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +1 -1
  565. data/lib/lms_graphql/types/canvas/section_attribute.rb +1 -1
  566. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +1 -1
  567. data/lib/lms_graphql/types/canvas/section_input.rb +1 -1
  568. data/lib/lms_graphql/types/canvas/shared_brand_config.rb +1 -1
  569. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +1 -1
  570. data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -3
  571. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +4 -3
  572. data/lib/lms_graphql/types/canvas/sis_import.rb +5 -5
  573. data/lib/lms_graphql/types/canvas/sis_import_count.rb +1 -1
  574. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +1 -1
  575. data/lib/lms_graphql/types/canvas/sis_import_datum.rb +2 -2
  576. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +2 -2
  577. data/lib/lms_graphql/types/canvas/sis_import_error.rb +1 -1
  578. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +1 -1
  579. data/lib/lms_graphql/types/canvas/sis_import_input.rb +6 -6
  580. data/lib/lms_graphql/types/canvas/sis_import_statistic.rb +1 -1
  581. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +1 -1
  582. data/lib/lms_graphql/types/canvas/sso_setting.rb +1 -1
  583. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +1 -1
  584. data/lib/lms_graphql/types/canvas/student_attribute.rb +1 -1
  585. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +1 -1
  586. data/lib/lms_graphql/types/canvas/submission.rb +10 -3
  587. data/lib/lms_graphql/types/canvas/submission_comment.rb +1 -1
  588. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +1 -1
  589. data/lib/lms_graphql/types/canvas/submission_history.rb +1 -1
  590. data/lib/lms_graphql/types/canvas/submission_history_input.rb +1 -1
  591. data/lib/lms_graphql/types/canvas/submission_input.rb +12 -5
  592. data/lib/lms_graphql/types/canvas/submission_version.rb +1 -1
  593. data/lib/lms_graphql/types/canvas/submission_version_input.rb +1 -1
  594. data/lib/lms_graphql/types/canvas/tab.rb +1 -1
  595. data/lib/lms_graphql/types/canvas/tab_input.rb +1 -1
  596. data/lib/lms_graphql/types/canvas/term.rb +1 -1
  597. data/lib/lms_graphql/types/canvas/term_input.rb +1 -1
  598. data/lib/lms_graphql/types/canvas/terms_of_service.rb +1 -1
  599. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +1 -1
  600. data/lib/lms_graphql/types/canvas/tool_setting.rb +1 -1
  601. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +1 -1
  602. data/lib/lms_graphql/types/canvas/turnitin_setting.rb +1 -1
  603. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +1 -1
  604. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +5 -5
  605. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +5 -5
  606. data/lib/lms_graphql/types/canvas/usage_right.rb +1 -1
  607. data/lib/lms_graphql/types/canvas/usage_right_input.rb +1 -1
  608. data/lib/lms_graphql/types/canvas/user.rb +3 -1
  609. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +1 -1
  610. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +1 -1
  611. data/lib/lms_graphql/types/canvas/user_display.rb +1 -1
  612. data/lib/lms_graphql/types/canvas/user_display_input.rb +1 -1
  613. data/lib/lms_graphql/types/canvas/user_input.rb +3 -1
  614. data/lib/lms_graphql/types/canvas_forward_declarations.rb +20 -14
  615. data/lib/lms_graphql/types/date_time_type.rb +4 -0
  616. data/lib/lms_graphql/version.rb +1 -1
  617. metadata +52 -6
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizGroupInput < BaseInputObject
8
- description "Quiz Question Groups. API Docs: https://canvas.instructure.com/doc/api/quiz_question_groups.html"
8
+ description "Quiz Question Groups. API Docs: https://canvas.instructure.com/doc/api/quiz_question_groups.html"
9
9
  argument :id, ID, "The ID of the question group..Example: 1", required: false
10
10
  argument :quiz_id, ID, "The ID of the Quiz the question group belongs to..Example: 2", required: false
11
11
  argument :name, String, "The name of the question group..Example: Fraction questions", required: false
@@ -6,23 +6,23 @@ require_relative "assignment_date"
6
6
  module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
- class QuizQuizTypeEnum < ::GraphQL::Schema::Enum
9
+ class CanvasQuizInput < BaseInputObject
10
+ class QuizInputQuizTypeEnum < ::GraphQL::Schema::Enum
10
11
  value "practice_quiz"
11
12
  value "assignment"
12
13
  value "graded_survey"
13
14
  value "survey"
14
15
  end
15
16
 
16
- class QuizHideResultEnum < ::GraphQL::Schema::Enum
17
+ class QuizInputHideResultEnum < ::GraphQL::Schema::Enum
17
18
  value "always"
18
19
  value "until_after_last_attempt"
19
20
  end
20
21
 
21
- class QuizScoringPolicyEnum < ::GraphQL::Schema::Enum
22
+ class QuizInputScoringPolicyEnum < ::GraphQL::Schema::Enum
22
23
  value "keep_highest"
23
24
  value "keep_latest"
24
25
  end
25
- class CanvasQuizInput < BaseInputObject
26
26
  description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
27
27
  argument :id, ID, "the ID of the quiz.Example: 5", required: false
28
28
  argument :title, String, "the title of the quiz.Example: Hamlet Act 3 Quiz", required: false
@@ -30,17 +30,17 @@ module LMSGraphQL
30
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
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
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
33
+ argument :quiz_type, QuizInputQuizTypeEnum, "type of quiz possible values: 'practice_quiz', 'assignment', 'graded_survey', 'survey'.Example: assignment", required: false
34
34
  argument :assignment_group_id, ID, "the ID of the quiz's assignment group:.Example: 3", required: false
35
35
  argument :time_limit, Int, "quiz time limit in minutes.Example: 5", required: false
36
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
37
+ argument :hide_results, QuizInputHideResultEnum, "let students see their quiz responses? possible values: null, 'always', 'until_after_last_attempt'.Example: always", required: false
38
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
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
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
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
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
43
+ argument :scoring_policy, QuizInputScoringPolicyEnum, "which quiz score to keep (only if allowed_attempts != 1) possible values: 'keep_highest', 'keep_latest'.Example: keep_highest", required: false
44
44
  argument :allowed_attempts, Int, "how many times a student can take the quiz -1 = unlimited attempts.Example: 3", required: false
45
45
  argument :one_question_at_a_time, Boolean, "show one question at a time?.", required: false
46
46
  argument :question_count, Int, "the number of questions in the quiz.Example: 12", required: false
@@ -61,7 +61,7 @@ module LMSGraphQL
61
61
  argument :permissions, LMSGraphQL::Types::Canvas::CanvasQuizPermissionInput, "Permissions the user has for the quiz.", required: false
62
62
  argument :all_dates, [LMSGraphQL::Types::Canvas::CanvasAssignmentDateInput], "list of due dates for the quiz.", required: false
63
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
64
+ argument :question_types, [String], "List of question types in the quiz.Example: multiple_choice, essay", required: false
65
65
  argument :anonymous_submissions, Boolean, "Whether survey submissions will be kept anonymous (only applicable to 'graded_survey', 'survey' quiz types).", required: false
66
66
 
67
67
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizIPFilter < BaseType
8
- description "Quiz IP Filters. API Docs: https://canvas.instructure.com/doc/api/quiz_ip_filters.html"
8
+ description "Quiz IP Filters. API Docs: https://canvas.instructure.com/doc/api/quiz_ip_filters.html"
9
9
  field :name, String, "A unique name for the filter..Example: Current Filter", null: true
10
10
  field :account, String, "Name of the Account (or Quiz) the IP filter is defined in..Example: Some Quiz", null: true
11
11
  field :filter, String, "An IP address (or range mask) this filter embodies..Example: 192.168.1.1/24", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizIPFilterInput < BaseInputObject
8
- description "Quiz IP Filters. API Docs: https://canvas.instructure.com/doc/api/quiz_ip_filters.html"
8
+ description "Quiz IP Filters. API Docs: https://canvas.instructure.com/doc/api/quiz_ip_filters.html"
9
9
  argument :name, String, "A unique name for the filter..Example: Current Filter", required: false
10
10
  argument :account, String, "Name of the Account (or Quiz) the IP filter is defined in..Example: Some Quiz", required: false
11
11
  argument :filter, String, "An IP address (or range mask) this filter embodies..Example: 192.168.1.1/24", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizPermission < BaseType
8
- description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
8
+ description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
9
9
  field :read, Boolean, "whether the user can view the quiz.Example: true", null: true
10
10
  field :submit, Boolean, "whether the user may submit a submission for the quiz.Example: true", null: true
11
11
  field :create, Boolean, "whether the user may create a new quiz.Example: true", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizPermissionInput < BaseInputObject
8
- description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
8
+ description "Quizzes. API Docs: https://canvas.instructure.com/doc/api/quizzes.html"
9
9
  argument :read, Boolean, "whether the user can view the quiz.Example: true", required: false
10
10
  argument :submit, Boolean, "whether the user may submit a submission for the quiz.Example: true", required: false
11
11
  argument :create, Boolean, "whether the user may create a new quiz.Example: true", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizQuestion < BaseType
8
- description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
8
+ description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
9
  field :id, ID, "The ID of the quiz question..Example: 1", null: true
10
10
  field :quiz_id, ID, "The ID of the Quiz the question belongs to..Example: 2", null: true
11
11
  field :position, Int, "The order in which the question will be retrieved and displayed..Example: 1", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizQuestionInput < BaseInputObject
8
- description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
8
+ description "Quiz Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_questions.html"
9
9
  argument :id, ID, "The ID of the quiz question..Example: 1", required: false
10
10
  argument :quiz_id, ID, "The ID of the Quiz the question belongs to..Example: 2", required: false
11
11
  argument :position, Int, "The order in which the question will be retrieved and displayed..Example: 1", required: false
@@ -5,11 +5,11 @@ require_relative "progress"
5
5
  module LMSGraphQL
6
6
  module Types
7
7
  module Canvas
8
- class QuizReportReportTypeEnum < ::GraphQL::Schema::Enum
8
+ class CanvasQuizReport < BaseType
9
+ class QuizReportReportTypeEnum < ::GraphQL::Schema::Enum
9
10
  value "student_analysis"
10
11
  value "item_analysis"
11
12
  end
12
- class CanvasQuizReport < BaseType
13
13
  description "Quiz Reports. API Docs: https://canvas.instructure.com/doc/api/quiz_reports.html"
14
14
  field :id, ID, "the ID of the quiz report.Example: 5", null: true
15
15
  field :quiz_id, ID, "the ID of the quiz.Example: 4", null: true
@@ -5,15 +5,15 @@ require_relative "progress"
5
5
  module LMSGraphQL
6
6
  module Types
7
7
  module Canvas
8
- class QuizReportReportTypeEnum < ::GraphQL::Schema::Enum
8
+ class CanvasQuizReportInput < BaseInputObject
9
+ class QuizReportInputReportTypeEnum < ::GraphQL::Schema::Enum
9
10
  value "student_analysis"
10
11
  value "item_analysis"
11
12
  end
12
- class CanvasQuizReportInput < BaseInputObject
13
13
  description "Quiz Reports. API Docs: https://canvas.instructure.com/doc/api/quiz_reports.html"
14
14
  argument :id, ID, "the ID of the quiz report.Example: 5", required: false
15
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
16
+ argument :report_type, QuizReportInputReportTypeEnum, "which type of report this is possible values: 'student_analysis', 'item_analysis'.Example: student_analysis", required: false
17
17
  argument :readable_type, String, "a human-readable (and localized) version of the report_type.Example: Student Analysis", required: false
18
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
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
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
9
  class CanvasQuizStatistic < BaseType
10
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
10
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
11
11
  field :id, ID, "The ID of the quiz statistics report..Example: 1", null: true
12
12
  field :quiz_id, ID, "The ID of the Quiz the statistics report is for.
13
13
  NOTE: AVAILABLE ONLY IN NON-JSON-API REQUESTS..Example: 2", null: true
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
9
  class CanvasQuizStatisticInput < BaseInputObject
10
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
10
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
11
11
  argument :id, ID, "The ID of the quiz statistics report..Example: 1", required: false
12
12
  argument :quiz_id, ID, "The ID of the Quiz the statistics report is for.
13
13
  NOTE: AVAILABLE ONLY IN NON-JSON-API REQUESTS..Example: 2", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsAnswerPointBiserial < BaseType
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  field :answer_id, ID, "ID of the answer the point biserial is for..Example: 3866", null: true
10
10
  field :point_biserial, Float, "The point biserial value for this answer. Value ranges between -1 and 1..Example: -0.802955068546966", null: true
11
11
  field :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", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsAnswerPointBiserialInput < BaseInputObject
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  argument :answer_id, ID, "ID of the answer the point biserial is for..Example: 3866", required: false
10
10
  argument :point_biserial, Float, "The point biserial value for this answer. Value ranges between -1 and 1..Example: -0.802955068546966", required: false
11
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
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsAnswerStatistic < BaseType
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  field :id, ID, "ID of the answer..Example: 3866", null: true
10
10
  field :text, String, "The text attached to the answer..Example: Blue.", null: true
11
- field :weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be non-negative..Example: 100", null: true
11
+ field :weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should 100.Example: 100", null: true
12
12
  field :responses, Int, "Number of students who have chosen this answer..Example: 2", null: true
13
13
 
14
14
  end
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsAnswerStatisticInput < BaseInputObject
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  argument :id, ID, "ID of the answer..Example: 3866", required: false
10
10
  argument :text, String, "The text attached to the answer..Example: Blue.", required: false
11
- argument :weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should be non-negative..Example: 100", required: false
11
+ argument :weight, Int, "An integer to determine correctness of the answer. Incorrect answers should be 0, correct answers should 100.Example: 100", required: false
12
12
  argument :responses, Int, "Number of students who have chosen this answer..Example: 2", required: false
13
13
 
14
14
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsLink < BaseType
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  field :quiz, String, "HTTP/HTTPS API URL to the quiz this statistics describe..Example: http://canvas.example.edu/api/v1/courses/1/quizzes/2", null: true
10
10
 
11
11
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsLinkInput < BaseInputObject
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  argument :quiz, String, "HTTP/HTTPS API URL to the quiz this statistics describe..Example: http://canvas.example.edu/api/v1/courses/1/quizzes/2", required: false
10
10
 
11
11
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsQuestionStatistic < BaseType
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  field :responses, Int, "Number of students who have provided an answer to this question. Blank or empty responses are not counted..Example: 3", null: true
10
10
  field :answers, LMSGraphQL::Types::Canvas::CanvasQuizStatisticsAnswerStatistic, "Statistics related to each individual pre-defined answer..", null: true
11
11
 
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsQuestionStatisticInput < BaseInputObject
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  argument :responses, Int, "Number of students who have provided an answer to this question. Blank or empty responses are not counted..Example: 3", required: false
10
10
  argument :answers, LMSGraphQL::Types::Canvas::CanvasQuizStatisticsAnswerStatisticInput, "Statistics related to each individual pre-defined answer..", required: false
11
11
 
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsSubmissionStatistic < BaseType
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  field :unique_count, Int, "The number of students who have taken the quiz..Example: 3", null: true
10
10
  field :score_average, Float, "The mean of the student submission scores..Example: 4.33333333333333", null: true
11
11
  field :score_high, Float, "The highest submission score..Example: 6", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizStatisticsSubmissionStatisticInput < BaseInputObject
8
- description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
8
+ description "Quiz Statistics. API Docs: https://canvas.instructure.com/doc/api/quiz_statistics.html"
9
9
  argument :unique_count, Int, "The number of students who have taken the quiz..Example: 3", required: false
10
10
  argument :score_average, Float, "The mean of the student submission scores..Example: 4.33333333333333", required: false
11
11
  argument :score_high, Float, "The highest submission score..Example: 6", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmission < BaseType
8
- description "Quiz Submissions. API Docs: https://canvas.instructure.com/doc/api/quiz_submissions.html"
8
+ description "Quiz Submissions. API Docs: https://canvas.instructure.com/doc/api/quiz_submissions.html"
9
9
  field :id, ID, "The ID of the quiz submission..Example: 1", null: true
10
10
  field :quiz_id, ID, "The ID of the Quiz the quiz submission belongs to..Example: 2", null: true
11
11
  field :user_id, ID, "The ID of the Student that made the quiz submission..Example: 3", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionEvent < BaseType
8
- description "Quiz Submission Events. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_events.html"
8
+ description "Quiz Submission Events. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_events.html"
9
9
  field :created_at, LMSGraphQL::Types::DateTimeType, "a timestamp record of creation time.Example: 2014-10-08T19:29:58Z", null: true
10
10
  field :event_type, String, "the type of event being sent.Example: question_answered", null: true
11
11
  field :event_data, String, "custom contextual data for the specific event type.Example: 42", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionEventInput < BaseInputObject
8
- description "Quiz Submission Events. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_events.html"
8
+ description "Quiz Submission Events. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_events.html"
9
9
  argument :created_at, LMSGraphQL::Types::DateTimeType, "a timestamp record of creation time.Example: 2014-10-08T19:29:58Z", required: false
10
10
  argument :event_type, String, "the type of event being sent.Example: question_answered", required: false
11
11
  argument :event_data, String, "custom contextual data for the specific event type.Example: 42", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionInput < BaseInputObject
8
- description "Quiz Submissions. API Docs: https://canvas.instructure.com/doc/api/quiz_submissions.html"
8
+ description "Quiz Submissions. API Docs: https://canvas.instructure.com/doc/api/quiz_submissions.html"
9
9
  argument :id, ID, "The ID of the quiz submission..Example: 1", required: false
10
10
  argument :quiz_id, ID, "The ID of the Quiz the quiz submission belongs to..Example: 2", required: false
11
11
  argument :user_id, ID, "The ID of the Student that made the quiz submission..Example: 3", required: false
@@ -5,11 +5,11 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionQuestion < BaseType
8
- description "Quiz Submission Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_questions.html"
8
+ description "Quiz Submission Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_questions.html"
9
9
  field :id, ID, "The ID of the QuizQuestion this answer is for..Example: 1", null: true
10
10
  field :flagged, Boolean, "Whether this question is flagged..Example: true", null: true
11
11
  field :answer, String, "The provided answer (if any) for this question. The format of this parameter depends on the type of the question, see the Appendix for more information..", null: true
12
- field :answers, String, "The possible answers for this question when those possible answers are necessary. The presence of this parameter is dependent on permissions..", null: true
12
+ field :answers, [String], "The possible answers for this question when those possible answers are necessary. The presence of this parameter is dependent on permissions..", null: true
13
13
 
14
14
  end
15
15
  end
@@ -5,11 +5,11 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionQuestionInput < BaseInputObject
8
- description "Quiz Submission Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_questions.html"
8
+ description "Quiz Submission Questions. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_questions.html"
9
9
  argument :id, ID, "The ID of the QuizQuestion this answer is for..Example: 1", required: false
10
10
  argument :flagged, Boolean, "Whether this question is flagged..Example: true", required: false
11
11
  argument :answer, String, "The provided answer (if any) for this question. The format of this parameter depends on the type of the question, see the Appendix for more information..", required: false
12
- argument :answers, String, "The possible answers for this question when those possible answers are necessary. The presence of this parameter is dependent on permissions..", required: false
12
+ argument :answers, [String], "The possible answers for this question when those possible answers are necessary. The presence of this parameter is dependent on permissions..", required: false
13
13
 
14
14
  end
15
15
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionUserList < BaseType
8
- description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
8
+ description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
9
9
 
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionUserListInput < BaseInputObject
8
- description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
8
+ description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
9
9
 
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionUserListMetum < BaseType
8
- description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
8
+ description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
9
9
 
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasQuizSubmissionUserListMetumInput < BaseInputObject
8
- description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
8
+ description "Quiz Submission User List. API Docs: https://canvas.instructure.com/doc/api/quiz_submission_user_list.html"
9
9
 
10
10
  end
11
11
  end
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Types
7
7
  module Canvas
8
8
  class CanvasReport < BaseType
9
- description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
9
+ description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
10
10
  field :id, ID, "The unique identifier for the report..Example: 1", null: true
11
11
  field :report, String, "The type of report..Example: sis_export_csv", null: true
12
12
  field :file_url, String, "The url to the report download..Example: https://example.com/some/path", null: true
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Types
7
7
  module Canvas
8
8
  class CanvasReportInput < BaseInputObject
9
- description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
9
+ description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
10
10
  argument :id, ID, "The unique identifier for the report..Example: 1", required: false
11
11
  argument :report, String, "The type of report..Example: sis_export_csv", required: false
12
12
  argument :file_url, String, "The url to the report download..Example: https://example.com/some/path", required: false
@@ -4,12 +4,12 @@ require_relative "../canvas_base_type"
4
4
  module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
- class ReportParameterOrderEnum < ::GraphQL::Schema::Enum
7
+ class CanvasReportParameter < BaseType
8
+ class ReportParameterOrderEnum < ::GraphQL::Schema::Enum
8
9
  value "users"
9
10
  value "courses"
10
11
  value "outcomes"
11
12
  end
12
- class CanvasReportParameter < BaseType
13
13
  description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
14
14
  field :enrollment_term_id, ID, "The canvas id of the term to get grades from.Example: 2", null: true
15
15
  field :include_deleted, Boolean, "If true, deleted objects will be included. If false, deleted objects will be omitted..", null: true
@@ -26,7 +26,7 @@ module LMSGraphQL
26
26
  field :sis_terms_csv, Int, "Example: 1", null: true
27
27
  field :sis_accounts_csv, Int, "Example: 1", null: true
28
28
  field :include_enrollment_state, Boolean, "If true, enrollment state will be included. If false, enrollment state will be omitted. Defaults to false..", null: true
29
- field :enrollment_state, String, "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", null: true
29
+ field :enrollment_state, [String], "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", null: true
30
30
  field :start_at, LMSGraphQL::Types::DateTimeType, "The beginning date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", null: true
31
31
  field :end_at, LMSGraphQL::Types::DateTimeType, "The end date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", null: true
32
32
 
@@ -4,17 +4,17 @@ require_relative "../canvas_base_input_type"
4
4
  module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
- class ReportParameterOrderEnum < ::GraphQL::Schema::Enum
7
+ class CanvasReportParameterInput < BaseInputObject
8
+ class ReportParameterInputOrderEnum < ::GraphQL::Schema::Enum
8
9
  value "users"
9
10
  value "courses"
10
11
  value "outcomes"
11
12
  end
12
- class CanvasReportParameterInput < BaseInputObject
13
13
  description "Account Reports. API Docs: https://canvas.instructure.com/doc/api/account_reports.html"
14
14
  argument :enrollment_term_id, ID, "The canvas id of the term to get grades from.Example: 2", required: false
15
15
  argument :include_deleted, Boolean, "If true, deleted objects will be included. If false, deleted objects will be omitted..", required: false
16
16
  argument :course_id, ID, "The id of the course to report on.Example: 2", required: false
17
- argument :order, ReportParameterOrderEnum, "The sort order for the csv, Options: 'users', 'courses', 'outcomes'..Example: users", required: false
17
+ argument :order, ReportParameterInputOrderEnum, "The sort order for the csv, Options: 'users', 'courses', 'outcomes'..Example: users", required: false
18
18
  argument :users, Boolean, "If true, user data will be included. If false, user data will be omitted..", required: false
19
19
  argument :accounts, Boolean, "If true, account data will be included. If false, account data will be omitted..", required: false
20
20
  argument :terms, Boolean, "If true, term data will be included. If false, term data will be omitted..", required: false
@@ -26,7 +26,7 @@ module LMSGraphQL
26
26
  argument :sis_terms_csv, Int, "Example: 1", required: false
27
27
  argument :sis_accounts_csv, Int, "Example: 1", required: false
28
28
  argument :include_enrollment_state, Boolean, "If true, enrollment state will be included. If false, enrollment state will be omitted. Defaults to false..", required: false
29
- argument :enrollment_state, String, "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", required: false
29
+ argument :enrollment_state, [String], "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", required: false
30
30
  argument :start_at, LMSGraphQL::Types::DateTimeType, "The beginning date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", required: false
31
31
  argument :end_at, LMSGraphQL::Types::DateTimeType, "The end date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", required: false
32
32
 
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasResult < BaseType
8
- description "Result. API Docs: https://canvas.instructure.com/doc/api/result.html"
8
+ description "Result. API Docs: https://canvas.instructure.com/doc/api/result.html"
9
9
  field :id, ID, "The fully qualified URL for showing the Result.Example: http://institution.canvas.com/api/lti/courses/5/line_items/2/results/1", null: true
10
10
  field :user_id, String, "The lti_user_id or the Canvas user_id.Example: 50 | 'abcasdf'", null: true
11
11
  field :result_score, Float, "The score of the result as defined by Canvas, scaled to the resultMaximum.Example: 50", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasResultInput < BaseInputObject
8
- description "Result. API Docs: https://canvas.instructure.com/doc/api/result.html"
8
+ description "Result. API Docs: https://canvas.instructure.com/doc/api/result.html"
9
9
  argument :id, ID, "The fully qualified URL for showing the Result.Example: http://institution.canvas.com/api/lti/courses/5/line_items/2/results/1", required: false
10
10
  argument :user_id, String, "The lti_user_id or the Canvas user_id.Example: 50 | 'abcasdf'", required: false
11
11
  argument :result_score, Float, "The score of the result as defined by Canvas, scaled to the resultMaximum.Example: 50", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasResultLink < BaseType
8
- description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
8
+ description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
9
9
  field :user, String, "A unique identifier for the user to whom this result applies.Example: 42", null: true
10
10
  field :assessor, String, "A unique identifier for the user who created this result.Example: 23", null: true
11
11
  field :assessment, String, "A unique identifier for the assessment that this result is for.Example: 5", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasResultLinkInput < BaseInputObject
8
- description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
8
+ description "LiveAssessments. API Docs: https://canvas.instructure.com/doc/api/live_assessments.html"
9
9
  argument :user, String, "A unique identifier for the user to whom this result applies.Example: 42", required: false
10
10
  argument :assessor, String, "A unique identifier for the user who created this result.Example: 23", required: false
11
11
  argument :assessment, String, "A unique identifier for the assessment that this result is for.Example: 5", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasRole < BaseType
8
- description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
8
+ description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
9
9
  field :label, String, "The label of the role..Example: New Role", null: true
10
10
  field :role, String, "The label of the role. (Deprecated alias for 'label').Example: New Role", null: true
11
11
  field :base_role_type, String, "The role type that is being used as a base for this role. For account-level roles, this is 'AccountMembership'. For course-level roles, it is an enrollment type..Example: AccountMembership", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasRoleInput < BaseInputObject
8
- description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
8
+ description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
9
9
  argument :label, String, "The label of the role..Example: New Role", required: false
10
10
  argument :role, String, "The label of the role. (Deprecated alias for 'label').Example: New Role", required: false
11
11
  argument :base_role_type, String, "The role type that is being used as a base for this role. For account-level roles, this is 'AccountMembership'. For course-level roles, it is an enrollment type..Example: AccountMembership", required: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasRolePermission < BaseType
8
- description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
8
+ description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
9
9
  field :enabled, Boolean, "Whether the role has the permission.Example: true", null: true
10
10
  field :locked, Boolean, "Whether the permission is locked by this role.", null: true
11
11
  field :applies_to_self, Boolean, "Whether the permission applies to the account this role is in. Only present if enabled is true.Example: true", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasRolePermissionInput < BaseInputObject
8
- description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
8
+ description "Roles. API Docs: https://canvas.instructure.com/doc/api/roles.html"
9
9
  argument :enabled, Boolean, "Whether the role has the permission.Example: true", required: false
10
10
  argument :locked, Boolean, "Whether the permission is locked by this role.", required: false
11
11
  argument :applies_to_self, Boolean, "Whether the permission applies to the account this role is in. Only present if enabled is true.Example: true", required: false
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  module Types
8
8
  module Canvas
9
9
  class CanvasRubric < BaseType
10
- description "Rubrics. API Docs: https://canvas.instructure.com/doc/api/rubrics.html"
10
+ description "Rubrics. API Docs: https://canvas.instructure.com/doc/api/rubrics.html"
11
11
  field :id, ID, "the ID of the rubric.Example: 1", null: true
12
12
  field :title, String, "title of the rubric.Example: some title", null: true
13
13
  field :context_id, ID, "the context owning the rubric.Example: 1", null: true