lms-graphql-api 1.8.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (614) 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 +5 -5
  9. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +4 -4
  10. data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
  11. data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
  12. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
  13. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
  14. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
  15. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
  16. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
  17. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +1 -1
  18. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
  19. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
  20. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
  21. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
  22. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
  23. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
  24. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
  25. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +3 -3
  26. data/lib/lms_graphql/mutations/canvas/create_instaccess_token.rb +22 -0
  27. data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
  28. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +11 -3
  29. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
  30. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
  31. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
  32. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
  33. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
  34. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
  35. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
  36. data/lib/lms_graphql/mutations/canvas/create_module.rb +2 -2
  37. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
  38. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +3 -3
  39. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
  40. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
  41. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
  42. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
  43. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +5 -5
  44. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
  45. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
  46. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
  47. data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
  48. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
  49. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
  50. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
  51. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
  52. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
  53. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
  54. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +4 -2
  55. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +1 -1
  56. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
  57. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
  58. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
  59. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
  60. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
  61. data/lib/lms_graphql/mutations/canvas/delete_eportfolio.rb +24 -0
  62. data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
  63. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
  64. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
  65. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
  66. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +9 -7
  67. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
  68. data/lib/lms_graphql/mutations/canvas/edit_group.rb +5 -3
  69. data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
  70. data/lib/lms_graphql/mutations/canvas/edit_user.rb +8 -2
  71. data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
  72. data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
  73. data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
  74. data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
  75. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +8 -2
  76. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
  77. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
  78. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +4 -4
  79. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +4 -4
  80. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +4 -4
  81. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +4 -4
  82. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_courses.rb +51 -0
  83. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_sections.rb +51 -0
  84. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +6 -2
  85. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +6 -2
  86. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
  87. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
  88. data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_courses.rb +28 -0
  89. data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_sections.rb +28 -0
  90. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
  91. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
  92. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
  93. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
  94. data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_courses.rb +28 -0
  95. data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_sections.rb +28 -0
  96. data/lib/lms_graphql/mutations/canvas/moderate_all_eportfolios_for_user.rb +27 -0
  97. data/lib/lms_graphql/mutations/canvas/moderate_eportfolio.rb +27 -0
  98. data/lib/lms_graphql/mutations/canvas/mutations.rb +32 -7
  99. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
  100. data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
  101. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
  102. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
  103. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
  104. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
  105. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
  106. data/lib/lms_graphql/mutations/canvas/restore_deleted_eportfolio.rb +24 -0
  107. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
  108. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
  109. data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
  110. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
  111. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
  112. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
  113. data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
  114. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +2 -2
  115. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +2 -2
  116. data/lib/lms_graphql/mutations/canvas/terminate_all_user_sessions.rb +24 -0
  117. data/lib/lms_graphql/mutations/canvas/update_account.rb +17 -1
  118. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
  119. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +4 -4
  120. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +2 -2
  121. data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
  122. data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
  123. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
  124. data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
  125. data/lib/lms_graphql/mutations/canvas/update_course.rb +21 -7
  126. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +10 -2
  127. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
  128. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
  129. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
  130. data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
  131. data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
  132. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +3 -3
  133. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
  134. data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
  135. data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
  136. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
  137. data/lib/lms_graphql/mutations/canvas/update_module.rb +2 -2
  138. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +6 -4
  139. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
  140. data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
  141. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
  142. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +3 -3
  143. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
  144. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
  145. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
  146. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
  147. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
  148. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
  149. data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
  150. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
  151. data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
  152. data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
  153. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
  154. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
  155. data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
  156. data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
  157. data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
  158. data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
  159. data/lib/lms_graphql/resolvers/canvas/get_all_eportfolios_for_user.rb +25 -0
  160. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
  161. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
  162. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
  163. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
  164. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
  165. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
  166. data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
  167. data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +22 -0
  168. data/lib/lms_graphql/resolvers/canvas/get_custom_colors.rb +1 -1
  169. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_completed.rb +22 -0
  170. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_current.rb +22 -0
  171. data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_terms.rb +24 -0
  172. data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_courses.rb +26 -0
  173. data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_sections.rb +26 -0
  174. data/lib/lms_graphql/resolvers/canvas/get_eportfolio.rb +22 -0
  175. data/lib/lms_graphql/resolvers/canvas/get_eportfolio_pages.rb +23 -0
  176. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +7 -3
  177. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +7 -3
  178. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +7 -3
  179. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +7 -3
  180. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
  181. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
  182. data/lib/lms_graphql/resolvers/canvas/get_manually_created_courses_sub_account_for_domain_root_account.rb +22 -0
  183. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +6 -4
  184. data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
  185. data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
  186. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
  187. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
  188. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
  189. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
  190. data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_courses.rb +26 -0
  191. data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_sections.rb +26 -0
  192. data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
  193. data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
  194. data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
  195. data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
  196. data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
  197. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
  198. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
  199. data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
  200. data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
  201. data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
  202. data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
  203. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
  204. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
  205. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
  206. data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_courses.rb +28 -0
  207. data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_sections.rb +28 -0
  208. data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
  209. data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
  210. data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
  211. data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
  212. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +5 -3
  213. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
  214. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +3 -3
  215. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
  216. data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
  217. data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
  218. data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
  219. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +11 -9
  220. data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
  221. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +7 -5
  222. data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
  223. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
  224. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
  225. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
  226. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
  227. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
  228. data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
  229. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
  230. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
  231. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
  232. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
  233. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
  234. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
  235. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +11 -5
  236. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +11 -5
  237. data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
  238. data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
  239. data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
  240. data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
  241. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
  242. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
  243. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
  244. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
  245. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
  246. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
  247. data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
  248. data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
  249. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
  250. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
  251. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
  252. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
  253. data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
  254. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
  255. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
  256. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
  257. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
  258. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
  259. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
  260. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
  261. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
  262. data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
  263. data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +5 -3
  264. data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
  265. data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
  266. data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
  267. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
  268. data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
  269. data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
  270. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +6 -4
  271. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +6 -4
  272. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +3 -3
  273. data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
  274. data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
  275. data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
  276. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +3 -3
  277. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +3 -3
  278. data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
  279. data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
  280. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
  281. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
  282. data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
  283. data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
  284. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
  285. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
  286. data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
  287. data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
  288. data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
  289. data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
  290. data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
  291. data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
  292. data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
  293. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
  294. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
  295. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
  296. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
  297. data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
  298. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
  299. data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
  300. data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
  301. data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
  302. data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
  303. data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
  304. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
  305. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
  306. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
  307. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
  308. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
  309. data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
  310. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +10 -2
  311. data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
  312. data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
  313. data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
  314. data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
  315. data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
  316. data/lib/lms_graphql/types/canvas/account_notification_input.rb +8 -8
  317. data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
  318. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
  319. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
  320. data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
  321. data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
  322. data/lib/lms_graphql/types/canvas/appointment_group.rb +6 -6
  323. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +28 -28
  324. data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
  325. data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
  326. data/lib/lms_graphql/types/canvas/assignment.rb +15 -10
  327. data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
  328. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
  329. data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -5
  330. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +17 -16
  331. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
  332. data/lib/lms_graphql/types/canvas/assignment_group.rb +1 -1
  333. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
  334. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
  335. data/lib/lms_graphql/types/canvas/assignment_input.rb +76 -71
  336. data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
  337. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
  338. data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
  339. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +6 -6
  340. data/lib/lms_graphql/types/canvas/authentication_provider.rb +1 -0
  341. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -19
  342. data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
  343. data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
  344. data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
  345. data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
  346. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
  347. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
  348. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
  349. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  350. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
  351. data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
  352. data/lib/lms_graphql/types/canvas/calendar_event.rb +11 -6
  353. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -32
  354. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  355. data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
  356. data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
  357. data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
  358. data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
  359. data/lib/lms_graphql/types/canvas/collaborator_input.rb +4 -4
  360. data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
  361. data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
  362. data/lib/lms_graphql/types/canvas/comm_message_input.rb +12 -12
  363. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +8 -8
  364. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -4
  365. data/lib/lms_graphql/types/canvas/conference.rb +3 -3
  366. data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
  367. data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
  368. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
  369. data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
  370. data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
  371. data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
  372. data/lib/lms_graphql/types/canvas/content_export_input.rb +9 -9
  373. data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
  374. data/lib/lms_graphql/types/canvas/content_migration_input.rb +12 -12
  375. data/lib/lms_graphql/types/canvas/content_share.rb +3 -3
  376. data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
  377. data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
  378. data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
  379. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
  380. data/lib/lms_graphql/types/canvas/course.rb +5 -4
  381. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
  382. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
  383. data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
  384. data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
  385. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
  386. data/lib/lms_graphql/types/canvas/course_input.rb +53 -52
  387. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
  388. data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
  389. data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
  390. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
  391. data/lib/lms_graphql/types/canvas/created_event_datum.rb +4 -4
  392. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  393. data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
  394. data/lib/lms_graphql/types/canvas/day.rb +1 -1
  395. data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
  396. data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
  397. data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
  398. data/lib/lms_graphql/types/canvas/discussion_topic.rb +6 -6
  399. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +37 -37
  400. data/lib/lms_graphql/types/canvas/e_portfolio.rb +24 -0
  401. data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +24 -0
  402. data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +20 -0
  403. data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +20 -0
  404. data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
  405. data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
  406. data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
  407. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
  408. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
  409. data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
  410. data/lib/lms_graphql/types/canvas/epub_export_input.rb +7 -7
  411. data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
  412. data/lib/lms_graphql/types/canvas/exception_record.rb +1 -1
  413. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  414. data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
  415. data/lib/lms_graphql/types/canvas/external_feed_input.rb +7 -7
  416. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
  417. data/lib/lms_graphql/types/canvas/favorite_input.rb +3 -3
  418. data/lib/lms_graphql/types/canvas/feature.rb +1 -3
  419. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +7 -7
  420. data/lib/lms_graphql/types/canvas/feature_input.rb +9 -11
  421. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
  422. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
  423. data/lib/lms_graphql/types/canvas/file.rb +2 -2
  424. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
  425. data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
  426. data/lib/lms_graphql/types/canvas/folder.rb +4 -4
  427. data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
  428. data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
  429. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
  430. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
  431. data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
  432. data/lib/lms_graphql/types/canvas/grader.rb +1 -1
  433. data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
  434. data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
  435. data/lib/lms_graphql/types/canvas/grading_rule.rb +1 -1
  436. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
  437. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
  438. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
  439. data/lib/lms_graphql/types/canvas/group_category_input.rb +13 -13
  440. data/lib/lms_graphql/types/canvas/group_input.rb +19 -19
  441. data/lib/lms_graphql/types/canvas/group_membership_input.rb +8 -8
  442. data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
  443. data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
  444. data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
  445. data/lib/lms_graphql/types/canvas/inst_access_token.rb +14 -0
  446. data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +14 -0
  447. data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
  448. data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
  449. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
  450. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  451. data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
  452. data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
  453. data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
  454. data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
  455. data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
  456. data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
  457. data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
  458. data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
  459. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
  460. data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
  461. data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
  462. data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
  463. data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
  464. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +12 -12
  465. data/lib/lms_graphql/types/canvas/migrator.rb +1 -1
  466. data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
  467. data/lib/lms_graphql/types/canvas/module.rb +2 -2
  468. data/lib/lms_graphql/types/canvas/module_input.rb +16 -16
  469. data/lib/lms_graphql/types/canvas/module_item_input.rb +16 -16
  470. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  471. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
  472. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
  473. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
  474. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
  475. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
  476. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
  477. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +5 -5
  478. data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
  479. data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
  480. data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
  481. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
  482. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
  483. data/lib/lms_graphql/types/canvas/outcome_import.rb +5 -4
  484. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  485. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +11 -10
  486. data/lib/lms_graphql/types/canvas/outcome_input.rb +19 -18
  487. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
  488. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
  489. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  490. data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
  491. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
  492. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
  493. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
  494. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
  495. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  496. data/lib/lms_graphql/types/canvas/page.rb +3 -2
  497. data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
  498. data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
  499. data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
  500. data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
  501. data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
  502. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
  503. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
  504. data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
  505. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  506. data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
  507. data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
  508. data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
  509. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
  510. data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
  511. data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
  512. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
  513. data/lib/lms_graphql/types/canvas/proficiency.rb +1 -1
  514. data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
  515. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
  516. data/lib/lms_graphql/types/canvas/profile.rb +1 -0
  517. data/lib/lms_graphql/types/canvas/profile_input.rb +15 -14
  518. data/lib/lms_graphql/types/canvas/progress.rb +2 -2
  519. data/lib/lms_graphql/types/canvas/progress_input.rb +13 -13
  520. data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
  521. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
  522. data/lib/lms_graphql/types/canvas/query_type.rb +181 -53
  523. data/lib/lms_graphql/types/canvas/quiz.rb +6 -6
  524. data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
  525. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
  526. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  527. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
  528. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
  529. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
  530. data/lib/lms_graphql/types/canvas/quiz_input.rb +42 -42
  531. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
  532. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
  533. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
  534. data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
  535. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +14 -14
  536. data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
  537. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
  538. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
  539. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
  540. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  541. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
  542. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
  543. data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
  544. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
  545. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
  546. data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +1 -1
  547. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
  548. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
  549. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
  550. data/lib/lms_graphql/types/canvas/report.rb +3 -3
  551. data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
  552. data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
  553. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +19 -19
  554. data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
  555. data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
  556. data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
  557. data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
  558. data/lib/lms_graphql/types/canvas/rubric_assessment.rb +2 -2
  559. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
  560. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
  561. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
  562. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
  563. data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
  564. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
  565. data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
  566. data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
  567. data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
  568. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
  569. data/lib/lms_graphql/types/canvas/section.rb +2 -2
  570. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
  571. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
  572. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
  573. data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
  574. data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
  575. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
  576. data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
  577. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +16 -16
  578. data/lib/lms_graphql/types/canvas/sis_import.rb +8 -6
  579. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
  580. data/lib/lms_graphql/types/canvas/sis_import_datum.rb +1 -1
  581. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
  582. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
  583. data/lib/lms_graphql/types/canvas/sis_import_input.rb +25 -23
  584. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
  585. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
  586. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
  587. data/lib/lms_graphql/types/canvas/submission.rb +11 -4
  588. data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
  589. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
  590. data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
  591. data/lib/lms_graphql/types/canvas/submission_input.rb +38 -31
  592. data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
  593. data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
  594. data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
  595. data/lib/lms_graphql/types/canvas/term.rb +2 -2
  596. data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
  597. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
  598. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
  599. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
  600. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +4 -4
  601. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  602. data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
  603. data/lib/lms_graphql/types/canvas/user.rb +3 -0
  604. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
  605. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
  606. data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
  607. data/lib/lms_graphql/types/canvas/user_input.rb +18 -15
  608. data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
  609. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
  610. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
  611. data/lib/lms_graphql/types/canvas_forward_declarations.rb +24 -14
  612. data/lib/lms_graphql/version.rb +1 -1
  613. metadata +83 -4
  614. data/lib/lms_graphql/types/date_time_type.rb +0 -18
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasDay < BaseType
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- field :date, LMSGraphQL::Types::DateTimeType, "the date represented by this entry.Example: 1986-08-09", null: true
9
+ field :date, GraphQL::Types::ISO8601DateTime, "the date represented by this entry.Example: 1986-08-09", null: true
10
10
  field :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", null: true
11
11
 
12
12
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasDayInput < BaseInputObject
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- argument :date, LMSGraphQL::Types::DateTimeType, "the date represented by this entry.Example: 1986-08-09", required: false
10
- argument :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", required: false
9
+ argument :date, GraphQL::Types::ISO8601DateTime, "the date represented by this entry.Example: 1986-08-09", required: false
10
+ argument :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", required: false
11
11
 
12
12
  end
13
13
  end
@@ -12,7 +12,7 @@ module LMSGraphQL
12
12
  field :account_name, String, "The name of the account associated with the tool.Example: The Academy", null: true
13
13
  field :public_jwk, String, "The public key in jwk format.Example: { 'kty':'RSA', 'e':'AQAB', 'n':'ufmgt156hs168mgdhy168jrsydt168ju816rtahesuvdbmnrtd87t7h8ser', 'alg':'RS256', 'use':'sig', 'kid':'Se68gr16s6tj_87sdr98g489dsfjy-547a6eht1', }", null: true
14
14
  field :vendor_code, String, "The code of the vendor managing the tool.Example: fi5689s9avewr68", null: true
15
- field :last_used_at, LMSGraphQL::Types::DateTimeType, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", null: true
15
+ field :last_used_at, GraphQL::Types::ISO8601DateTime, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", null: true
16
16
  field :access_token_count, Float, "The number of active access tokens associated with the tool.Example: 0", null: true
17
17
  field :redirect_uris, String, "redirect uris description.Example: https://redirect.to.here.com", null: true
18
18
  field :redirect_uri, String, "redirect uri description.Example: https://redirect.to.here.com", null: true
@@ -20,7 +20,7 @@ module LMSGraphQL
20
20
  field :notes, String, "Notes for use specifications for the tool.Example: Used for sorting graded assignments", null: true
21
21
  field :name, String, "Display name of the tool.Example: Tool 1", null: true
22
22
  field :user_id, ID, "ID of the user associated with the tool.Example: tu816dnrs6zdsg148918dmu", null: true
23
- field :created_at, LMSGraphQL::Types::DateTimeType, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", null: true
23
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", null: true
24
24
  field :user_name, String, "The user name of the tool creator.Example: johnsmith", null: true
25
25
  field :email, String, "Email associated with the tool owner.Example: johnsmith@instructure.com", null: true
26
26
  field :require_scopes, Boolean, "True if the tool has required permissions, null if there are no needed permissions.Example: true", null: true
@@ -6,27 +6,27 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasDeveloperKeyInput < BaseInputObject
8
8
  description "Public JWK. API Docs: https://canvas.instructure.com/doc/api/public_jwk.html"
9
- argument :id, ID, "The ID should match the Developer Key ID in canvas.Example: 1000000000040", required: false
10
- argument :is_lti_key, Boolean, "true the tool is a lti key, null is not a lti key.Example: true", required: false
11
- argument :visible, Boolean, "Controls if the tool is visable.Example: true", required: false
12
- argument :account_name, String, "The name of the account associated with the tool.Example: The Academy", required: false
13
- argument :public_jwk, String, "The public key in jwk format.Example: { 'kty':'RSA', 'e':'AQAB', 'n':'ufmgt156hs168mgdhy168jrsydt168ju816rtahesuvdbmnrtd87t7h8ser', 'alg':'RS256', 'use':'sig', 'kid':'Se68gr16s6tj_87sdr98g489dsfjy-547a6eht1', }", required: false
14
- argument :vendor_code, String, "The code of the vendor managing the tool.Example: fi5689s9avewr68", required: false
15
- argument :last_used_at, LMSGraphQL::Types::DateTimeType, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", required: false
16
- argument :access_token_count, Float, "The number of active access tokens associated with the tool.Example: 0", required: false
17
- argument :redirect_uris, String, "redirect uris description.Example: https://redirect.to.here.com", required: false
18
- argument :redirect_uri, String, "redirect uri description.Example: https://redirect.to.here.com", required: false
19
- argument :api_key, String, "Api key for api access for the tool.Example: sd45fg648sr546tgh15S15df5se56r4xdf45asef456", required: false
20
- argument :notes, String, "Notes for use specifications for the tool.Example: Used for sorting graded assignments", required: false
21
- argument :name, String, "Display name of the tool.Example: Tool 1", required: false
22
- argument :user_id, ID, "ID of the user associated with the tool.Example: tu816dnrs6zdsg148918dmu", required: false
23
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", required: false
24
- argument :user_name, String, "The user name of the tool creator.Example: johnsmith", required: false
25
- argument :email, String, "Email associated with the tool owner.Example: johnsmith@instructure.com", required: false
26
- argument :require_scopes, Boolean, "True if the tool has required permissions, null if there are no needed permissions.Example: true", required: false
27
- argument :icon_url, String, "Icon to be displayed with the name of the tool.Example: null", required: false
28
- argument :scopes, String, "Specified permissions for the tool.Example: https://canvas.instructure.com/lti/public_jwk/scope/update", required: false
29
- argument :workflow_state, String, "The current state of the tool.Example: active", required: false
9
+ argument :id, ID, "The ID should match the Developer Key ID in canvas.Example: 1000000000040", required: false
10
+ argument :is_lti_key, Boolean, "true the tool is a lti key, null is not a lti key.Example: true", required: false
11
+ argument :visible, Boolean, "Controls if the tool is visable.Example: true", required: false
12
+ argument :account_name, String, "The name of the account associated with the tool.Example: The Academy", required: false
13
+ argument :public_jwk, String, "The public key in jwk format.Example: { 'kty':'RSA', 'e':'AQAB', 'n':'ufmgt156hs168mgdhy168jrsydt168ju816rtahesuvdbmnrtd87t7h8ser', 'alg':'RS256', 'use':'sig', 'kid':'Se68gr16s6tj_87sdr98g489dsfjy-547a6eht1', }", required: false
14
+ argument :vendor_code, String, "The code of the vendor managing the tool.Example: fi5689s9avewr68", required: false
15
+ argument :last_used_at, GraphQL::Types::ISO8601DateTime, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", required: false
16
+ argument :access_token_count, Float, "The number of active access tokens associated with the tool.Example: 0", required: false
17
+ argument :redirect_uris, String, "redirect uris description.Example: https://redirect.to.here.com", required: false
18
+ argument :redirect_uri, String, "redirect uri description.Example: https://redirect.to.here.com", required: false
19
+ argument :api_key, String, "Api key for api access for the tool.Example: sd45fg648sr546tgh15S15df5se56r4xdf45asef456", required: false
20
+ argument :notes, String, "Notes for use specifications for the tool.Example: Used for sorting graded assignments", required: false
21
+ argument :name, String, "Display name of the tool.Example: Tool 1", required: false
22
+ argument :user_id, ID, "ID of the user associated with the tool.Example: tu816dnrs6zdsg148918dmu", required: false
23
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", required: false
24
+ argument :user_name, String, "The user name of the tool creator.Example: johnsmith", required: false
25
+ argument :email, String, "Email associated with the tool owner.Example: johnsmith@instructure.com", required: false
26
+ argument :require_scopes, Boolean, "True if the tool has required permissions, null if there are no needed permissions.Example: true", required: false
27
+ argument :icon_url, String, "Icon to be displayed with the name of the tool.Example: null", required: false
28
+ argument :scopes, String, "Specified permissions for the tool.Example: https://canvas.instructure.com/lti/public_jwk/scope/update", required: false
29
+ argument :workflow_state, String, "The current state of the tool.Example: active", required: false
30
30
 
31
31
  end
32
32
  end
@@ -27,8 +27,8 @@ module LMSGraphQL
27
27
  field :title, String, "The topic title..Example: Topic 1", null: true
28
28
  field :message, String, "The HTML content of the message body..Example: <p>content here</p>", null: true
29
29
  field :html_url, String, "The URL to the discussion topic in canvas..Example: https://<canvas>/courses/1/discussion_topics/2", null: true
30
- field :posted_at, LMSGraphQL::Types::DateTimeType, "The datetime the topic was posted. If it is null it hasn't been posted yet. (see delayed_post_at).Example: 2037-07-21T13:29:31Z", null: true
31
- field :last_reply_at, LMSGraphQL::Types::DateTimeType, "The datetime for when the last reply was in the topic..Example: 2037-07-28T19:38:31Z", null: true
30
+ field :posted_at, GraphQL::Types::ISO8601DateTime, "The datetime the topic was posted. If it is null it hasn't been posted yet. (see delayed_post_at).Example: 2037-07-21T13:29:31Z", null: true
31
+ field :last_reply_at, GraphQL::Types::ISO8601DateTime, "The datetime for when the last reply was in the topic..Example: 2037-07-28T19:38:31Z", null: true
32
32
  field :require_initial_post, Boolean, "If true then a user may not respond to other replies until that user has made an initial reply. Defaults to false..", null: true
33
33
  field :user_can_see_posts, Boolean, "Whether or not posts in this topic are visible to the user..Example: true", null: true
34
34
  field :discussion_subentry_count, Int, "The count of entries in the topic..Example: 0", null: true
@@ -37,17 +37,17 @@ module LMSGraphQL
37
37
  field :subscribed, Boolean, "Whether or not the current user is subscribed to this topic..Example: true", null: true
38
38
  field :subscription_hold, DiscussionTopicSubscriptionHoldEnum, "(Optional) Why the user cannot subscribe to this topic. Only one reason will be returned even if multiple apply. Can be one of: 'initial_post_required': The user must post a reply first; 'not_in_group_set': The user is not in the group set for this graded group discussion; 'not_in_group': The user is not in this topic's group; 'topic_is_announcement': This topic is an announcement.Example: not_in_group_set", null: true
39
39
  field :assignment_id, ID, "The unique identifier of the assignment if the topic is for grading, otherwise null..", null: true
40
- field :delayed_post_at, LMSGraphQL::Types::DateTimeType, "The datetime to publish the topic (if not right away)..", null: true
40
+ field :delayed_post_at, GraphQL::Types::ISO8601DateTime, "The datetime to publish the topic (if not right away)..", null: true
41
41
  field :published, Boolean, "Whether this discussion topic is published (true) or draft state (false).Example: true", null: true
42
- field :lock_at, LMSGraphQL::Types::DateTimeType, "The datetime to lock the topic (if ever)..", null: true
42
+ field :lock_at, GraphQL::Types::ISO8601DateTime, "The datetime to lock the topic (if ever)..", null: true
43
43
  field :locked, Boolean, "Whether or not the discussion is 'closed for comments'..", null: true
44
44
  field :pinned, Boolean, "Whether or not the discussion has been 'pinned' by an instructor.", null: true
45
45
  field :locked_for_user, Boolean, "Whether or not this is locked for the user..Example: true", null: true
46
46
  field :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfo, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", null: true
47
47
  field :lock_explanation, String, "(Optional) An explanation of why this is locked for the user. Present when locked_for_user is true..Example: This discussion is locked until September 1 at 12:00am", null: true
48
48
  field :user_name, String, "The username of the topic creator..Example: User Name", null: true
49
- field :topic_children, Int, "DEPRECATED An array of topic_ids for the group discussions the user is a part of..Example: 5, 7, 10", null: true
50
- field :group_topic_children, String, "An array of group discussions the user is a part of. Fields include: id, group_id.Example: {'id'=>5, 'group_id'=>1}, {'id'=>7, 'group_id'=>5}, {'id'=>10, 'group_id'=>4}", null: true
49
+ field :topic_children, [Int], "DEPRECATED An array of topic_ids for the group discussions the user is a part of..Example: 5, 7, 10", null: true
50
+ field :group_topic_children, [String], "An array of group discussions the user is a part of. Fields include: id, group_id.Example: {'id'=>5, 'group_id'=>1}, {'id'=>7, 'group_id'=>5}, {'id'=>10, 'group_id'=>4}", null: true
51
51
  field :root_topic_id, ID, "If the topic is for grading and a group assignment this will point to the original topic in the course..", null: true
52
52
  field :podcast_url, String, "If the topic is a podcast topic this is the feed url for the current user..Example: /feeds/topics/1/enrollment_1XAcepje4u228rt4mi7Z1oFbRpn3RAkTzuXIGOPe.rss", null: true
53
53
  field :discussion_type, DiscussionTopicDiscussionTypeEnum, "The type of discussion. Values are 'side_comment', for discussions that only allow one level of nested comments, and 'threaded' for fully threaded discussions..Example: side_comment", null: true
@@ -6,57 +6,57 @@ module LMSGraphQL
6
6
  module Types
7
7
  module Canvas
8
8
  class CanvasDiscussionTopicInput < BaseInputObject
9
- class DiscussionTopicReadStateEnum < ::GraphQL::Schema::Enum
9
+ class DiscussionTopicInputReadStateEnum < ::GraphQL::Schema::Enum
10
10
  value "read"
11
11
  value "unread"
12
12
  end
13
13
 
14
- class DiscussionTopicSubscriptionHoldEnum < ::GraphQL::Schema::Enum
14
+ class DiscussionTopicInputSubscriptionHoldEnum < ::GraphQL::Schema::Enum
15
15
  value "initial_post_required"
16
16
  value "not_in_group_set"
17
17
  value "not_in_group"
18
18
  value "topic_is_announcement"
19
19
  end
20
20
 
21
- class DiscussionTopicDiscussionTypeEnum < ::GraphQL::Schema::Enum
21
+ class DiscussionTopicInputDiscussionTypeEnum < ::GraphQL::Schema::Enum
22
22
  value "side_comment"
23
23
  value "threaded"
24
24
  end
25
25
  description "Discussion Topics. API Docs: https://canvas.instructure.com/doc/api/discussion_topics.html"
26
- argument :id, ID, "The ID of this topic..Example: 1", required: false
27
- argument :title, String, "The topic title..Example: Topic 1", required: false
28
- argument :message, String, "The HTML content of the message body..Example: <p>content here</p>", required: false
29
- argument :html_url, String, "The URL to the discussion topic in canvas..Example: https://<canvas>/courses/1/discussion_topics/2", required: false
30
- argument :posted_at, LMSGraphQL::Types::DateTimeType, "The datetime the topic was posted. If it is null it hasn't been posted yet. (see delayed_post_at).Example: 2037-07-21T13:29:31Z", required: false
31
- argument :last_reply_at, LMSGraphQL::Types::DateTimeType, "The datetime for when the last reply was in the topic..Example: 2037-07-28T19:38:31Z", required: false
32
- argument :require_initial_post, Boolean, "If true then a user may not respond to other replies until that user has made an initial reply. Defaults to false..", required: false
33
- argument :user_can_see_posts, Boolean, "Whether or not posts in this topic are visible to the user..Example: true", required: false
34
- argument :discussion_subentry_count, Int, "The count of entries in the topic..Example: 0", required: false
35
- argument :read_state, DiscussionTopicReadStateEnum, "The read_state of the topic for the current user, 'read' or 'unread'..Example: read", required: false
36
- argument :unread_count, Int, "The count of unread entries of this topic for the current user..Example: 0", required: false
37
- argument :subscribed, Boolean, "Whether or not the current user is subscribed to this topic..Example: true", required: false
38
- argument :subscription_hold, DiscussionTopicSubscriptionHoldEnum, "(Optional) Why the user cannot subscribe to this topic. Only one reason will be returned even if multiple apply. Can be one of: 'initial_post_required': The user must post a reply first; 'not_in_group_set': The user is not in the group set for this graded group discussion; 'not_in_group': The user is not in this topic's group; 'topic_is_announcement': This topic is an announcement.Example: not_in_group_set", required: false
39
- argument :assignment_id, ID, "The unique identifier of the assignment if the topic is for grading, otherwise null..", required: false
40
- argument :delayed_post_at, LMSGraphQL::Types::DateTimeType, "The datetime to publish the topic (if not right away)..", required: false
41
- argument :published, Boolean, "Whether this discussion topic is published (true) or draft state (false).Example: true", required: false
42
- argument :lock_at, LMSGraphQL::Types::DateTimeType, "The datetime to lock the topic (if ever)..", required: false
43
- argument :locked, Boolean, "Whether or not the discussion is 'closed for comments'..", required: false
44
- argument :pinned, Boolean, "Whether or not the discussion has been 'pinned' by an instructor.", required: false
45
- argument :locked_for_user, Boolean, "Whether or not this is locked for the user..Example: true", required: false
46
- argument :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfoInput, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", required: false
47
- argument :lock_explanation, String, "(Optional) An explanation of why this is locked for the user. Present when locked_for_user is true..Example: This discussion is locked until September 1 at 12:00am", required: false
48
- argument :user_name, String, "The username of the topic creator..Example: User Name", required: false
49
- argument :topic_children, Int, "DEPRECATED An array of topic_ids for the group discussions the user is a part of..Example: 5, 7, 10", required: false
50
- argument :group_topic_children, String, "An array of group discussions the user is a part of. Fields include: id, group_id.Example: {'id'=>5, 'group_id'=>1}, {'id'=>7, 'group_id'=>5}, {'id'=>10, 'group_id'=>4}", required: false
51
- argument :root_topic_id, ID, "If the topic is for grading and a group assignment this will point to the original topic in the course..", required: false
52
- argument :podcast_url, String, "If the topic is a podcast topic this is the feed url for the current user..Example: /feeds/topics/1/enrollment_1XAcepje4u228rt4mi7Z1oFbRpn3RAkTzuXIGOPe.rss", required: false
53
- argument :discussion_type, DiscussionTopicDiscussionTypeEnum, "The type of discussion. Values are 'side_comment', for discussions that only allow one level of nested comments, and 'threaded' for fully threaded discussions..Example: side_comment", required: false
54
- argument :group_category_id, ID, "The unique identifier of the group category if the topic is a group discussion, otherwise null..", required: false
55
- argument :attachments, [LMSGraphQL::Types::Canvas::CanvasFileAttachmentInput], "Array of file attachments..", required: false
56
- argument :permissions, String, "The current user's permissions on this topic..Example: true", required: false
57
- argument :allow_rating, Boolean, "Whether or not users can rate entries in this topic..Example: true", required: false
58
- argument :only_graders_can_rate, Boolean, "Whether or not grade permissions are required to rate entries..Example: true", required: false
59
- argument :sort_by_rating, Boolean, "Whether or not entries should be sorted by rating..Example: true", required: false
26
+ argument :id, ID, "The ID of this topic..Example: 1", required: false
27
+ argument :title, String, "The topic title..Example: Topic 1", required: false
28
+ argument :message, String, "The HTML content of the message body..Example: <p>content here</p>", required: false
29
+ argument :html_url, String, "The URL to the discussion topic in canvas..Example: https://<canvas>/courses/1/discussion_topics/2", required: false
30
+ argument :posted_at, GraphQL::Types::ISO8601DateTime, "The datetime the topic was posted. If it is null it hasn't been posted yet. (see delayed_post_at).Example: 2037-07-21T13:29:31Z", required: false
31
+ argument :last_reply_at, GraphQL::Types::ISO8601DateTime, "The datetime for when the last reply was in the topic..Example: 2037-07-28T19:38:31Z", required: false
32
+ argument :require_initial_post, Boolean, "If true then a user may not respond to other replies until that user has made an initial reply. Defaults to false..", required: false
33
+ argument :user_can_see_posts, Boolean, "Whether or not posts in this topic are visible to the user..Example: true", required: false
34
+ argument :discussion_subentry_count, Int, "The count of entries in the topic..Example: 0", required: false
35
+ argument :read_state, DiscussionTopicInputReadStateEnum, "The read_state of the topic for the current user, 'read' or 'unread'..Example: read", required: false
36
+ argument :unread_count, Int, "The count of unread entries of this topic for the current user..Example: 0", required: false
37
+ argument :subscribed, Boolean, "Whether or not the current user is subscribed to this topic..Example: true", required: false
38
+ argument :subscription_hold, DiscussionTopicInputSubscriptionHoldEnum, "(Optional) Why the user cannot subscribe to this topic. Only one reason will be returned even if multiple apply. Can be one of: 'initial_post_required': The user must post a reply first; 'not_in_group_set': The user is not in the group set for this graded group discussion; 'not_in_group': The user is not in this topic's group; 'topic_is_announcement': This topic is an announcement.Example: not_in_group_set", required: false
39
+ argument :assignment_id, ID, "The unique identifier of the assignment if the topic is for grading, otherwise null..", required: false
40
+ argument :delayed_post_at, GraphQL::Types::ISO8601DateTime, "The datetime to publish the topic (if not right away)..", required: false
41
+ argument :published, Boolean, "Whether this discussion topic is published (true) or draft state (false).Example: true", required: false
42
+ argument :lock_at, GraphQL::Types::ISO8601DateTime, "The datetime to lock the topic (if ever)..", required: false
43
+ argument :locked, Boolean, "Whether or not the discussion is 'closed for comments'..", required: false
44
+ argument :pinned, Boolean, "Whether or not the discussion has been 'pinned' by an instructor.", required: false
45
+ argument :locked_for_user, Boolean, "Whether or not this is locked for the user..Example: true", required: false
46
+ argument :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfoInput, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", required: false
47
+ argument :lock_explanation, String, "(Optional) An explanation of why this is locked for the user. Present when locked_for_user is true..Example: This discussion is locked until September 1 at 12:00am", required: false
48
+ argument :user_name, String, "The username of the topic creator..Example: User Name", required: false
49
+ argument :topic_children, [Int], "DEPRECATED An array of topic_ids for the group discussions the user is a part of..Example: 5, 7, 10", required: false
50
+ argument :group_topic_children, [String], "An array of group discussions the user is a part of. Fields include: id, group_id.Example: {'id'=>5, 'group_id'=>1}, {'id'=>7, 'group_id'=>5}, {'id'=>10, 'group_id'=>4}", required: false
51
+ argument :root_topic_id, ID, "If the topic is for grading and a group assignment this will point to the original topic in the course..", required: false
52
+ argument :podcast_url, String, "If the topic is a podcast topic this is the feed url for the current user..Example: /feeds/topics/1/enrollment_1XAcepje4u228rt4mi7Z1oFbRpn3RAkTzuXIGOPe.rss", required: false
53
+ argument :discussion_type, DiscussionTopicInputDiscussionTypeEnum, "The type of discussion. Values are 'side_comment', for discussions that only allow one level of nested comments, and 'threaded' for fully threaded discussions..Example: side_comment", required: false
54
+ argument :group_category_id, ID, "The unique identifier of the group category if the topic is a group discussion, otherwise null..", required: false
55
+ argument :attachments, [LMSGraphQL::Types::Canvas::CanvasFileAttachmentInput], "Array of file attachments..", required: false
56
+ argument :permissions, String, "The current user's permissions on this topic..Example: true", required: false
57
+ argument :allow_rating, Boolean, "Whether or not users can rate entries in this topic..Example: true", required: false
58
+ argument :only_graders_can_rate, Boolean, "Whether or not grade permissions are required to rate entries..Example: true", required: false
59
+ argument :sort_by_rating, Boolean, "Whether or not entries should be sorted by rating..Example: true", required: false
60
60
 
61
61
  end
62
62
  end
@@ -0,0 +1,24 @@
1
+ require_relative "../canvas_base_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasePortfolio < BaseType
8
+ description "ePortfolios. API Docs: https://canvas.instructure.com/doc/api/e_portfolios.html"
9
+ field :id, ID, "The database ID of the ePortfolio.Example: 1", null: true
10
+ field :user_id, ID, "The user ID to which the ePortfolio belongs.Example: 1", null: true
11
+ field :name, String, "The name of the ePortfolio.Example: My Academic Journey", null: true
12
+ field :public, Boolean, "Whether or not the ePortfolio is visible without authentication.Example: true", null: true
13
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The creation timestamp for the ePortfolio.Example: 2021-09-20T18:59:37Z", null: true
14
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "The timestamp of the last time any of the ePortfolio attributes changed.Example: 2021-09-20T18:59:37Z", null: true
15
+ field :workflow_state, String, "The state of the ePortfolio. Either 'active' or 'deleted'.Example: active", null: true
16
+ field :deleted_at, GraphQL::Types::ISO8601DateTime, "The timestamp when the ePortfolio was deleted, or else null.Example: 2021-09-20T18:59:37Z", null: true
17
+ field :spam_status, String, "A flag indicating whether the ePortfolio has been
18
+ flagged or moderated as spam. One of 'flagged_as_possible_spam',
19
+ 'marked_as_safe', 'marked_as_spam', or null.", null: true
20
+
21
+ end
22
+ end
23
+ end
24
+ 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 CanvasePortfolioInput < BaseInputObject
8
+ description "ePortfolios. API Docs: https://canvas.instructure.com/doc/api/e_portfolios.html"
9
+ argument :id, ID, "The database ID of the ePortfolio.Example: 1", required: false
10
+ argument :user_id, ID, "The user ID to which the ePortfolio belongs.Example: 1", required: false
11
+ argument :name, String, "The name of the ePortfolio.Example: My Academic Journey", required: false
12
+ argument :public, Boolean, "Whether or not the ePortfolio is visible without authentication.Example: true", required: false
13
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The creation timestamp for the ePortfolio.Example: 2021-09-20T18:59:37Z", required: false
14
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "The timestamp of the last time any of the ePortfolio attributes changed.Example: 2021-09-20T18:59:37Z", required: false
15
+ argument :workflow_state, String, "The state of the ePortfolio. Either 'active' or 'deleted'.Example: active", required: false
16
+ argument :deleted_at, GraphQL::Types::ISO8601DateTime, "The timestamp when the ePortfolio was deleted, or else null.Example: 2021-09-20T18:59:37Z", required: false
17
+ argument :spam_status, String, "A flag indicating whether the ePortfolio has been
18
+ flagged or moderated as spam. One of 'flagged_as_possible_spam',
19
+ 'marked_as_safe', 'marked_as_spam', or null.", required: false
20
+
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,20 @@
1
+ require_relative "../canvas_base_type"
2
+
3
+
4
+ module LMSGraphQL
5
+ module Types
6
+ module Canvas
7
+ class CanvasePortfolioPage < BaseType
8
+ description "ePortfolios. API Docs: https://canvas.instructure.com/doc/api/e_portfolios.html"
9
+ field :id, ID, "The database ID of the ePortfolio.Example: 1", null: true
10
+ field :eportfolio_id, ID, "The ePortfolio ID to which the entry belongs.Example: 1", null: true
11
+ field :position, Int, "The positional order of the entry in the list.Example: 1", null: true
12
+ field :name, String, "The name of the ePortfolio.Example: My Academic Journey", null: true
13
+ field :content, String, "The user entered content of the entry.Example: A long time ago.", null: true
14
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The creation timestamp for the ePortfolio.Example: 2021-09-20T18:59:37Z", null: true
15
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "The timestamp of the last time any of the ePortfolio attributes changed.Example: 2021-09-20T18:59:37Z", null: true
16
+
17
+ end
18
+ end
19
+ end
20
+ 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 CanvasePortfolioPageInput < BaseInputObject
8
+ description "ePortfolios. API Docs: https://canvas.instructure.com/doc/api/e_portfolios.html"
9
+ argument :id, ID, "The database ID of the ePortfolio.Example: 1", required: false
10
+ argument :eportfolio_id, ID, "The ePortfolio ID to which the entry belongs.Example: 1", required: false
11
+ argument :position, Int, "The positional order of the entry in the list.Example: 1", required: false
12
+ argument :name, String, "The name of the ePortfolio.Example: My Academic Journey", required: false
13
+ argument :content, String, "The user entered content of the entry.Example: A long time ago.", required: false
14
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The creation timestamp for the ePortfolio.Example: 2021-09-20T18:59:37Z", required: false
15
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "The timestamp of the last time any of the ePortfolio attributes changed.Example: 2021-09-20T18:59:37Z", required: false
16
+
17
+ end
18
+ end
19
+ end
20
+ end
@@ -25,12 +25,12 @@ module LMSGraphQL
25
25
  field :associated_user_id, ID, "The unique id of the associated user. Will be null unless type is ObserverEnrollment..", null: true
26
26
  field :role, String, "The enrollment role, for course-level permissions. This field will match `type` if the enrollment role has not been customized..Example: StudentEnrollment", null: true
27
27
  field :role_id, ID, "The id of the enrollment role..Example: 1", null: true
28
- field :created_at, LMSGraphQL::Types::DateTimeType, "The created time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
29
- field :updated_at, LMSGraphQL::Types::DateTimeType, "The updated time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
30
- field :start_at, LMSGraphQL::Types::DateTimeType, "The start time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
31
- field :end_at, LMSGraphQL::Types::DateTimeType, "The end time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
32
- field :last_activity_at, LMSGraphQL::Types::DateTimeType, "The last activity time of the user for the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
33
- field :last_attended_at, LMSGraphQL::Types::DateTimeType, "The last attended date of the user for the enrollment in a course, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
28
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The created time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
29
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "The updated time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
30
+ field :start_at, GraphQL::Types::ISO8601DateTime, "The start time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
31
+ field :end_at, GraphQL::Types::ISO8601DateTime, "The end time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
32
+ field :last_activity_at, GraphQL::Types::ISO8601DateTime, "The last activity time of the user for the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
33
+ field :last_attended_at, GraphQL::Types::ISO8601DateTime, "The last attended date of the user for the enrollment in a course, in ISO8601 format..Example: 2012-04-18T23:08:51Z", null: true
34
34
  field :total_activity_time, Int, "The total activity time of the user for the enrollment, in seconds..Example: 260", null: true
35
35
  field :html_url, String, "The URL to the Canvas web UI page for this course enrollment..Example: https://.", null: true
36
36
  field :grades, LMSGraphQL::Types::Canvas::CanvasGrade, "The URL to the Canvas web UI page containing the grades associated with this enrollment..Example: https://., 35, , 6.67, ", null: true
@@ -7,50 +7,50 @@ module LMSGraphQL
7
7
  module Canvas
8
8
  class CanvasEnrollmentInput < BaseInputObject
9
9
  description "Enrollments. API Docs: https://canvas.instructure.com/doc/api/enrollments.html"
10
- argument :id, ID, "The ID of the enrollment..Example: 1", required: false
11
- argument :course_id, ID, "The unique id of the course..Example: 1", required: false
12
- argument :sis_course_id, ID, "The SIS Course ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
13
- argument :course_integration_id, ID, "The Course Integration ID in which the enrollment is associated. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
14
- argument :course_section_id, ID, "The unique id of the user's section..Example: 1", required: false
15
- argument :section_integration_id, ID, "The Section Integration ID in which the enrollment is associated. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
16
- argument :sis_account_id, ID, "The SIS Account ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
17
- argument :sis_section_id, ID, "The SIS Section ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
18
- argument :sis_user_id, ID, "The SIS User ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
19
- argument :enrollment_state, String, "The state of the user's enrollment in the course..Example: active", required: false
20
- argument :limit_privileges_to_course_section, Boolean, "User can only access his or her own course section..Example: true", required: false
21
- argument :sis_import_id, ID, "The unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 83", required: false
22
- argument :root_account_id, ID, "The unique id of the user's account..Example: 1", required: false
23
- argument :type, String, "The enrollment type. One of 'StudentEnrollment', 'TeacherEnrollment', 'TaEnrollment', 'DesignerEnrollment', 'ObserverEnrollment'..Example: StudentEnrollment", required: false
24
- argument :user_id, ID, "The unique id of the user..Example: 1", required: false
25
- argument :associated_user_id, ID, "The unique id of the associated user. Will be null unless type is ObserverEnrollment..", required: false
26
- argument :role, String, "The enrollment role, for course-level permissions. This field will match `type` if the enrollment role has not been customized..Example: StudentEnrollment", required: false
27
- argument :role_id, ID, "The id of the enrollment role..Example: 1", required: false
28
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The created time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
29
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "The updated time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
30
- argument :start_at, LMSGraphQL::Types::DateTimeType, "The start time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
31
- argument :end_at, LMSGraphQL::Types::DateTimeType, "The end time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
32
- argument :last_activity_at, LMSGraphQL::Types::DateTimeType, "The last activity time of the user for the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
33
- argument :last_attended_at, LMSGraphQL::Types::DateTimeType, "The last attended date of the user for the enrollment in a course, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
34
- argument :total_activity_time, Int, "The total activity time of the user for the enrollment, in seconds..Example: 260", required: false
35
- argument :html_url, String, "The URL to the Canvas web UI page for this course enrollment..Example: https://.", required: false
36
- argument :grades, LMSGraphQL::Types::Canvas::CanvasGradeInput, "The URL to the Canvas web UI page containing the grades associated with this enrollment..Example: https://., 35, , 6.67, ", required: false
37
- argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "A description of the user..Example: 3, Student 1, 1, Student, Stud 1", required: false
38
- argument :override_grade, String, "The user's override grade for the course..Example: A", required: false
39
- argument :override_score, Float, "The user's override score for the course..Example: 99.99", required: false
40
- argument :unposted_current_grade, String, "The user's current grade in the class including muted/unposted assignments. Only included if user has permissions to view this grade, typically teachers, TAs, and admins..", required: false
41
- argument :unposted_final_grade, String, "The user's final grade for the class including muted/unposted assignments. Only included if user has permissions to view this grade, typically teachers, TAs, and admins...", required: false
42
- argument :unposted_current_score, String, "The user's current score in the class including muted/unposted assignments. Only included if user has permissions to view this score, typically teachers, TAs, and admins...", required: false
43
- argument :unposted_final_score, String, "The user's final score for the class including muted/unposted assignments. Only included if user has permissions to view this score, typically teachers, TAs, and admins...", required: false
44
- argument :has_grading_periods, Boolean, "optional: Indicates whether the course the enrollment belongs to has grading periods set up. (applies only to student enrollments, and only available in course endpoints).Example: true", required: false
45
- argument :totals_for_all_grading_periods_option, Boolean, "optional: Indicates whether the course the enrollment belongs to has the Display Totals for 'All Grading Periods' feature enabled. (applies only to student enrollments, and only available in course endpoints).Example: true", required: false
46
- argument :current_grading_period_title, String, "optional: The name of the currently active grading period, if one exists. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: Fall Grading Period", required: false
47
- argument :current_grading_period_id, ID, "optional: The id of the currently active grading period, if one exists. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 5", required: false
48
- argument :current_period_override_grade, String, "The user's override grade for the current grading period..Example: A", required: false
49
- argument :current_period_override_score, Float, "The user's override score for the current grading period..Example: 99.99", required: false
50
- argument :current_period_unposted_current_score, Float, "optional: The student's score in the course for the current grading period, including muted/unposted assignments. Only included if user has permission to view this score, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 95.8", required: false
51
- argument :current_period_unposted_final_score, Float, "optional: The student's score in the course for the current grading period, including muted/unposted assignments and including ungraded assignments with a score of 0. Only included if user has permission to view this score, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 85.25", required: false
52
- argument :current_period_unposted_current_grade, String, "optional: The letter grade equivalent of current_period_unposted_current_score, if available. Only included if user has permission to view this grade, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: A", required: false
53
- argument :current_period_unposted_final_grade, String, "optional: The letter grade equivalent of current_period_unposted_final_score, if available. Only included if user has permission to view this grade, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: B", required: false
10
+ argument :id, ID, "The ID of the enrollment..Example: 1", required: false
11
+ argument :course_id, ID, "The unique id of the course..Example: 1", required: false
12
+ argument :sis_course_id, ID, "The SIS Course ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
13
+ argument :course_integration_id, ID, "The Course Integration ID in which the enrollment is associated. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
14
+ argument :course_section_id, ID, "The unique id of the user's section..Example: 1", required: false
15
+ argument :section_integration_id, ID, "The Section Integration ID in which the enrollment is associated. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
16
+ argument :sis_account_id, ID, "The SIS Account ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
17
+ argument :sis_section_id, ID, "The SIS Section ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
18
+ argument :sis_user_id, ID, "The SIS User ID in which the enrollment is associated. Only displayed if present. This field is only included if the user has permission to view SIS information..Example: SHEL93921", required: false
19
+ argument :enrollment_state, String, "The state of the user's enrollment in the course..Example: active", required: false
20
+ argument :limit_privileges_to_course_section, Boolean, "User can only access his or her own course section..Example: true", required: false
21
+ argument :sis_import_id, ID, "The unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 83", required: false
22
+ argument :root_account_id, ID, "The unique id of the user's account..Example: 1", required: false
23
+ argument :type, String, "The enrollment type. One of 'StudentEnrollment', 'TeacherEnrollment', 'TaEnrollment', 'DesignerEnrollment', 'ObserverEnrollment'..Example: StudentEnrollment", required: false
24
+ argument :user_id, ID, "The unique id of the user..Example: 1", required: false
25
+ argument :associated_user_id, ID, "The unique id of the associated user. Will be null unless type is ObserverEnrollment..", required: false
26
+ argument :role, String, "The enrollment role, for course-level permissions. This field will match `type` if the enrollment role has not been customized..Example: StudentEnrollment", required: false
27
+ argument :role_id, ID, "The id of the enrollment role..Example: 1", required: false
28
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The created time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
29
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "The updated time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
30
+ argument :start_at, GraphQL::Types::ISO8601DateTime, "The start time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
31
+ argument :end_at, GraphQL::Types::ISO8601DateTime, "The end time of the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
32
+ argument :last_activity_at, GraphQL::Types::ISO8601DateTime, "The last activity time of the user for the enrollment, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
33
+ argument :last_attended_at, GraphQL::Types::ISO8601DateTime, "The last attended date of the user for the enrollment in a course, in ISO8601 format..Example: 2012-04-18T23:08:51Z", required: false
34
+ argument :total_activity_time, Int, "The total activity time of the user for the enrollment, in seconds..Example: 260", required: false
35
+ argument :html_url, String, "The URL to the Canvas web UI page for this course enrollment..Example: https://.", required: false
36
+ argument :grades, LMSGraphQL::Types::Canvas::CanvasGradeInput, "The URL to the Canvas web UI page containing the grades associated with this enrollment..Example: https://., 35, , 6.67, ", required: false
37
+ argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "A description of the user..Example: 3, Student 1, 1, Student, Stud 1", required: false
38
+ argument :override_grade, String, "The user's override grade for the course..Example: A", required: false
39
+ argument :override_score, Float, "The user's override score for the course..Example: 99.99", required: false
40
+ argument :unposted_current_grade, String, "The user's current grade in the class including muted/unposted assignments. Only included if user has permissions to view this grade, typically teachers, TAs, and admins..", required: false
41
+ argument :unposted_final_grade, String, "The user's final grade for the class including muted/unposted assignments. Only included if user has permissions to view this grade, typically teachers, TAs, and admins...", required: false
42
+ argument :unposted_current_score, String, "The user's current score in the class including muted/unposted assignments. Only included if user has permissions to view this score, typically teachers, TAs, and admins...", required: false
43
+ argument :unposted_final_score, String, "The user's final score for the class including muted/unposted assignments. Only included if user has permissions to view this score, typically teachers, TAs, and admins...", required: false
44
+ argument :has_grading_periods, Boolean, "optional: Indicates whether the course the enrollment belongs to has grading periods set up. (applies only to student enrollments, and only available in course endpoints).Example: true", required: false
45
+ argument :totals_for_all_grading_periods_option, Boolean, "optional: Indicates whether the course the enrollment belongs to has the Display Totals for 'All Grading Periods' feature enabled. (applies only to student enrollments, and only available in course endpoints).Example: true", required: false
46
+ argument :current_grading_period_title, String, "optional: The name of the currently active grading period, if one exists. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: Fall Grading Period", required: false
47
+ argument :current_grading_period_id, ID, "optional: The id of the currently active grading period, if one exists. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 5", required: false
48
+ argument :current_period_override_grade, String, "The user's override grade for the current grading period..Example: A", required: false
49
+ argument :current_period_override_score, Float, "The user's override score for the current grading period..Example: 99.99", required: false
50
+ argument :current_period_unposted_current_score, Float, "optional: The student's score in the course for the current grading period, including muted/unposted assignments. Only included if user has permission to view this score, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 95.8", required: false
51
+ argument :current_period_unposted_final_score, Float, "optional: The student's score in the course for the current grading period, including muted/unposted assignments and including ungraded assignments with a score of 0. Only included if user has permission to view this score, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: 85.25", required: false
52
+ argument :current_period_unposted_current_grade, String, "optional: The letter grade equivalent of current_period_unposted_current_score, if available. Only included if user has permission to view this grade, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: A", required: false
53
+ argument :current_period_unposted_final_grade, String, "optional: The letter grade equivalent of current_period_unposted_final_score, if available. Only included if user has permission to view this grade, typically teachers, TAs, and admins. If the course the enrollment belongs to does not have grading periods, or if no currently active grading period exists, the value will be null. (applies only to student enrollments, and only available in course endpoints).Example: B", required: false
54
54
 
55
55
  end
56
56
  end
@@ -10,10 +10,11 @@ module LMSGraphQL
10
10
  field :sis_term_id, ID, "The SIS id of the term. Only included if the user has permission to view SIS information..Example: Sp2014", null: true
11
11
  field :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", null: true
12
12
  field :name, String, "The name of the term..Example: Spring 2014", null: true
13
- field :start_at, LMSGraphQL::Types::DateTimeType, "The datetime of the start of the term..Example: 2014-01-06T08:00:00-05:00", null: true
14
- field :end_at, LMSGraphQL::Types::DateTimeType, "The datetime of the end of the term..Example: 2014-05-16T05:00:00-04:00", null: true
13
+ field :start_at, GraphQL::Types::ISO8601DateTime, "The datetime of the start of the term..Example: 2014-01-06T08:00:00-05:00", null: true
14
+ field :end_at, GraphQL::Types::ISO8601DateTime, "The datetime of the end of the term..Example: 2014-05-16T05:00:00-04:00", null: true
15
15
  field :workflow_state, String, "The state of the term. Can be 'active' or 'deleted'..Example: active", null: true
16
16
  field :overrides, String, "Term date overrides for specific enrollment types.Example: {'start_at'=>'2014-01-07T08:00:00-05:00', 'end_at'=>'2014-05-14T05:00:00-04:0'}", null: true
17
+ field :course_count, Int, "The number of courses in the term (available via include).Example: 80", null: true
17
18
 
18
19
  end
19
20
  end
@@ -6,14 +6,15 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasEnrollmentTermInput < BaseInputObject
8
8
  description "Enrollment Terms. API Docs: https://canvas.instructure.com/doc/api/enrollment_terms.html"
9
- argument :id, ID, "The unique identifier for the enrollment term..Example: 1", required: false
10
- argument :sis_term_id, ID, "The SIS id of the term. Only included if the user has permission to view SIS information..Example: Sp2014", required: false
11
- argument :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", required: false
12
- argument :name, String, "The name of the term..Example: Spring 2014", required: false
13
- argument :start_at, LMSGraphQL::Types::DateTimeType, "The datetime of the start of the term..Example: 2014-01-06T08:00:00-05:00", required: false
14
- argument :end_at, LMSGraphQL::Types::DateTimeType, "The datetime of the end of the term..Example: 2014-05-16T05:00:00-04:00", required: false
15
- argument :workflow_state, String, "The state of the term. Can be 'active' or 'deleted'..Example: active", required: false
16
- argument :overrides, String, "Term date overrides for specific enrollment types.Example: {'start_at'=>'2014-01-07T08:00:00-05:00', 'end_at'=>'2014-05-14T05:00:00-04:0'}", required: false
9
+ argument :id, ID, "The unique identifier for the enrollment term..Example: 1", required: false
10
+ argument :sis_term_id, ID, "The SIS id of the term. Only included if the user has permission to view SIS information..Example: Sp2014", required: false
11
+ argument :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", required: false
12
+ argument :name, String, "The name of the term..Example: Spring 2014", required: false
13
+ argument :start_at, GraphQL::Types::ISO8601DateTime, "The datetime of the start of the term..Example: 2014-01-06T08:00:00-05:00", required: false
14
+ argument :end_at, GraphQL::Types::ISO8601DateTime, "The datetime of the end of the term..Example: 2014-05-16T05:00:00-04:00", required: false
15
+ argument :workflow_state, String, "The state of the term. Can be 'active' or 'deleted'..Example: active", required: false
16
+ argument :overrides, String, "Term date overrides for specific enrollment types.Example: {'start_at'=>'2014-01-07T08:00:00-05:00', 'end_at'=>'2014-05-14T05:00:00-04:0'}", required: false
17
+ argument :course_count, Int, "The number of courses in the term (available via include).Example: 80", required: false
17
18
 
18
19
  end
19
20
  end
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasEnrollmentTermsListInput < BaseInputObject
8
8
  description "Enrollment Terms. API Docs: https://canvas.instructure.com/doc/api/enrollment_terms.html"
9
- argument :enrollment_terms, [LMSGraphQL::Types::Canvas::CanvasEnrollmentTermInput], "a paginated list of all terms in the account.", required: false
9
+ argument :enrollment_terms, [LMSGraphQL::Types::Canvas::CanvasEnrollmentTermInput], "a paginated list of all terms in the account.", required: false
10
10
 
11
11
  end
12
12
  end
@@ -15,7 +15,7 @@ module LMSGraphQL
15
15
  end
16
16
  description "ePub Exports. API Docs: https://canvas.instructure.com/doc/api/e_pub_exports.html"
17
17
  field :id, ID, "the unique identifier for the export.Example: 101", null: true
18
- field :created_at, LMSGraphQL::Types::DateTimeType, "the date and time this export was requested.Example: 2014-01-01T00:00:00Z", null: true
18
+ field :created_at, GraphQL::Types::ISO8601DateTime, "the date and time this export was requested.Example: 2014-01-01T00:00:00Z", null: true
19
19
  field :attachment, LMSGraphQL::Types::Canvas::CanvasFile, "attachment api object for the export ePub (not present until the export completes).Example: https://example.com/api/v1/attachments/789?download_frd=1&verifier=bG9sY2F0cyEh", null: true
20
20
  field :progress_url, String, "The api endpoint for polling the current progress.Example: https://example.com/api/v1/progress/4", null: true
21
21
  field :user_id, ID, "The ID of the user who started the export.Example: 4", null: true
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Types
6
6
  module Canvas
7
7
  class CanvasEpubExportInput < BaseInputObject
8
- class EpubExportWorkflowStateEnum < ::GraphQL::Schema::Enum
8
+ class EpubExportInputWorkflowStateEnum < ::GraphQL::Schema::Enum
9
9
  value "created"
10
10
  value "exporting"
11
11
  value "exported"
@@ -14,12 +14,12 @@ module LMSGraphQL
14
14
  value "failed"
15
15
  end
16
16
  description "ePub Exports. API Docs: https://canvas.instructure.com/doc/api/e_pub_exports.html"
17
- argument :id, ID, "the unique identifier for the export.Example: 101", required: false
18
- argument :created_at, LMSGraphQL::Types::DateTimeType, "the date and time this export was requested.Example: 2014-01-01T00:00:00Z", required: false
19
- argument :attachment, LMSGraphQL::Types::Canvas::CanvasFileInput, "attachment api object for the export ePub (not present until the export completes).Example: https://example.com/api/v1/attachments/789?download_frd=1&verifier=bG9sY2F0cyEh", required: false
20
- argument :progress_url, String, "The api endpoint for polling the current progress.Example: https://example.com/api/v1/progress/4", required: false
21
- argument :user_id, ID, "The ID of the user who started the export.Example: 4", required: false
22
- argument :workflow_state, EpubExportWorkflowStateEnum, "Current state of the ePub export: created exporting exported generating generated failed.Example: exported", required: false
17
+ argument :id, ID, "the unique identifier for the export.Example: 101", required: false
18
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "the date and time this export was requested.Example: 2014-01-01T00:00:00Z", required: false
19
+ argument :attachment, LMSGraphQL::Types::Canvas::CanvasFileInput, "attachment api object for the export ePub (not present until the export completes).Example: https://example.com/api/v1/attachments/789?download_frd=1&verifier=bG9sY2F0cyEh", required: false
20
+ argument :progress_url, String, "The api endpoint for polling the current progress.Example: https://example.com/api/v1/progress/4", required: false
21
+ argument :user_id, ID, "The ID of the user who started the export.Example: 4", required: false
22
+ argument :workflow_state, EpubExportInputWorkflowStateEnum, "Current state of the ePub export: created exporting exported generating generated failed.Example: exported", required: false
23
23
 
24
24
  end
25
25
  end