lms-graphql-api 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +3 -3
  3. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +3 -3
  4. data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
  5. data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
  6. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
  7. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
  8. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
  9. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
  10. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
  11. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
  12. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
  13. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
  14. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
  15. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
  16. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
  17. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +2 -2
  18. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +8 -2
  19. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
  20. data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
  21. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
  22. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +2 -2
  23. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
  24. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
  25. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +2 -2
  26. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
  27. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
  28. data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
  29. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
  30. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
  31. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
  32. data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
  33. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
  34. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
  35. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
  36. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
  37. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +7 -5
  38. data/lib/lms_graphql/mutations/canvas/edit_group.rb +4 -2
  39. data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
  40. data/lib/lms_graphql/mutations/canvas/edit_user.rb +6 -2
  41. data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
  42. data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
  43. data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
  44. data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
  45. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +4 -2
  46. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
  47. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
  48. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +5 -1
  49. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +5 -1
  50. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
  51. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
  52. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
  53. data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
  54. data/lib/lms_graphql/mutations/canvas/mutations.rb +15 -2
  55. data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
  56. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
  57. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
  58. data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
  59. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
  60. data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
  61. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
  62. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
  63. data/lib/lms_graphql/mutations/canvas/update_account.rb +7 -1
  64. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +3 -3
  65. data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
  66. data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
  67. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
  68. data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
  69. data/lib/lms_graphql/mutations/canvas/update_course.rb +9 -5
  70. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +8 -2
  71. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
  72. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
  73. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
  74. data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
  75. data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
  76. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +2 -2
  77. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
  78. data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
  79. data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
  80. data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
  81. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +4 -2
  82. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
  83. data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
  84. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +2 -2
  85. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
  86. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
  87. data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
  88. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
  89. data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
  90. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
  91. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
  92. data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +2 -2
  93. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +6 -2
  94. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +6 -2
  95. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +6 -2
  96. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +6 -2
  97. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
  98. data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
  99. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +4 -2
  100. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
  101. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
  102. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
  103. data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
  104. data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
  105. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
  106. data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
  107. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +2 -2
  108. data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
  109. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +2 -2
  110. data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
  111. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +2 -2
  112. data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
  113. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
  114. data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
  115. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +8 -4
  116. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +8 -4
  117. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
  118. data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
  119. data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
  120. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +2 -2
  121. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +2 -2
  122. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +2 -2
  123. data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
  124. data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
  125. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +2 -2
  126. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +2 -2
  127. data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
  128. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
  129. data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
  130. data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
  131. data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
  132. data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
  133. data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
  134. data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
  135. data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
  136. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
  137. data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
  138. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
  139. data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
  140. data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
  141. data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
  142. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
  143. data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
  144. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
  145. data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
  146. data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
  147. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +3 -1
  148. data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
  149. data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
  150. data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
  151. data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
  152. data/lib/lms_graphql/types/canvas/account_notification.rb +2 -2
  153. data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
  154. data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
  155. data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
  156. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
  157. data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
  158. data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
  159. data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
  160. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
  161. data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
  162. data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
  163. data/lib/lms_graphql/types/canvas/assignment.rb +10 -6
  164. data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
  165. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
  166. data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -6
  167. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +16 -16
  168. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
  169. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
  170. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
  171. data/lib/lms_graphql/types/canvas/assignment_input.rb +74 -70
  172. data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
  173. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
  174. data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
  175. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
  176. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -20
  177. data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
  178. data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
  179. data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
  180. data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
  181. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
  182. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
  183. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
  184. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  185. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
  186. data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
  187. data/lib/lms_graphql/types/canvas/calendar_event.rb +10 -6
  188. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -33
  189. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  190. data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
  191. data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
  192. data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
  193. data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
  194. data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
  195. data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
  196. data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
  197. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
  198. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +3 -3
  199. data/lib/lms_graphql/types/canvas/conference.rb +2 -2
  200. data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
  201. data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
  202. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
  203. data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
  204. data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
  205. data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
  206. data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
  207. data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
  208. data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
  209. data/lib/lms_graphql/types/canvas/content_share.rb +2 -2
  210. data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
  211. data/lib/lms_graphql/types/canvas/conversation.rb +1 -1
  212. data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
  213. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
  214. data/lib/lms_graphql/types/canvas/course.rb +5 -4
  215. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
  216. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
  217. data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
  218. data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
  219. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
  220. data/lib/lms_graphql/types/canvas/course_input.rb +51 -50
  221. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
  222. data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
  223. data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
  224. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
  225. data/lib/lms_graphql/types/canvas/created_event_datum.rb +2 -2
  226. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  227. data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
  228. data/lib/lms_graphql/types/canvas/day.rb +1 -1
  229. data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
  230. data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
  231. data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
  232. data/lib/lms_graphql/types/canvas/discussion_topic.rb +4 -4
  233. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
  234. data/lib/lms_graphql/types/canvas/e_portfolio.rb +3 -3
  235. data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +9 -9
  236. data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +2 -2
  237. data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +7 -7
  238. data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
  239. data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
  240. data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
  241. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
  242. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
  243. data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
  244. data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
  245. data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
  246. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  247. data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
  248. data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
  249. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
  250. data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
  251. data/lib/lms_graphql/types/canvas/feature.rb +1 -3
  252. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +5 -5
  253. data/lib/lms_graphql/types/canvas/feature_input.rb +8 -10
  254. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
  255. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
  256. data/lib/lms_graphql/types/canvas/file.rb +2 -2
  257. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
  258. data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
  259. data/lib/lms_graphql/types/canvas/folder.rb +4 -4
  260. data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
  261. data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
  262. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
  263. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
  264. data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
  265. data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
  266. data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
  267. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
  268. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
  269. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
  270. data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
  271. data/lib/lms_graphql/types/canvas/group_input.rb +17 -17
  272. data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
  273. data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
  274. data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
  275. data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
  276. data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +1 -1
  277. data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
  278. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  279. data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
  280. data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
  281. data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
  282. data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
  283. data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
  284. data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
  285. data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
  286. data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
  287. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
  288. data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
  289. data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
  290. data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
  291. data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
  292. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
  293. data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
  294. data/lib/lms_graphql/types/canvas/module.rb +2 -2
  295. data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
  296. data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
  297. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  298. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
  299. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
  300. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
  301. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
  302. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
  303. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
  304. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
  305. data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
  306. data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
  307. data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
  308. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
  309. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
  310. data/lib/lms_graphql/types/canvas/outcome_import.rb +3 -3
  311. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  312. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +10 -10
  313. data/lib/lms_graphql/types/canvas/outcome_input.rb +18 -17
  314. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
  315. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
  316. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  317. data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
  318. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
  319. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
  320. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
  321. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
  322. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  323. data/lib/lms_graphql/types/canvas/page.rb +3 -2
  324. data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
  325. data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
  326. data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
  327. data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
  328. data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
  329. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
  330. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
  331. data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
  332. data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
  333. data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
  334. data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
  335. data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
  336. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
  337. data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
  338. data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
  339. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
  340. data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
  341. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
  342. data/lib/lms_graphql/types/canvas/profile_input.rb +15 -15
  343. data/lib/lms_graphql/types/canvas/progress.rb +2 -2
  344. data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
  345. data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
  346. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
  347. data/lib/lms_graphql/types/canvas/query_type.rb +69 -9
  348. data/lib/lms_graphql/types/canvas/quiz.rb +5 -5
  349. data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
  350. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
  351. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  352. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
  353. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
  354. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
  355. data/lib/lms_graphql/types/canvas/quiz_input.rb +39 -39
  356. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
  357. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
  358. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
  359. data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
  360. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +13 -13
  361. data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
  362. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
  363. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
  364. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
  365. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  366. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
  367. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
  368. data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
  369. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
  370. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
  371. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
  372. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
  373. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
  374. data/lib/lms_graphql/types/canvas/report.rb +3 -3
  375. data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
  376. data/lib/lms_graphql/types/canvas/report_parameter.rb +2 -2
  377. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
  378. data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
  379. data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
  380. data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
  381. data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
  382. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
  383. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
  384. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
  385. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
  386. data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
  387. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
  388. data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
  389. data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
  390. data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
  391. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
  392. data/lib/lms_graphql/types/canvas/section.rb +2 -2
  393. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
  394. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
  395. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
  396. data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
  397. data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
  398. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
  399. data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
  400. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
  401. data/lib/lms_graphql/types/canvas/sis_import.rb +5 -3
  402. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
  403. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
  404. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
  405. data/lib/lms_graphql/types/canvas/sis_import_input.rb +24 -22
  406. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
  407. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
  408. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
  409. data/lib/lms_graphql/types/canvas/submission.rb +5 -4
  410. data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
  411. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
  412. data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
  413. data/lib/lms_graphql/types/canvas/submission_input.rb +31 -30
  414. data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
  415. data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
  416. data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
  417. data/lib/lms_graphql/types/canvas/term.rb +2 -2
  418. data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
  419. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
  420. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
  421. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
  422. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +2 -2
  423. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  424. data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
  425. data/lib/lms_graphql/types/canvas/user.rb +1 -0
  426. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
  427. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
  428. data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
  429. data/lib/lms_graphql/types/canvas/user_input.rb +18 -17
  430. data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
  431. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
  432. data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
  433. data/lib/lms_graphql/types/canvas_forward_declarations.rb +4 -0
  434. data/lib/lms_graphql/version.rb +1 -1
  435. metadata +47 -6
  436. data/lib/lms_graphql/types/date_time_type.rb +0 -22
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPairingCodeInput < BaseInputObject
8
8
  description "User Observees. API Docs: https://canvas.instructure.com/doc/api/user_observees.html"
9
- argument :user_id, ID, "The ID of the user..Example: 2", required: false
10
- argument :code, String, "The actual code to be sent to other APIs.Example: abc123", required: false
11
- argument :expires_at, String, "When the code expires.Example: 2012-05-30T17:45:25Z", required: false
12
- argument :workflow_state, String, "The current status of the code.Example: active", required: false
9
+ argument :user_id, ID, "The ID of the user..Example: 2", required: false
10
+ argument :code, String, "The actual code to be sent to other APIs.Example: abc123", required: false
11
+ argument :expires_at, String, "When the code expires.Example: 2012-05-30T17:45:25Z", required: false
12
+ argument :workflow_state, String, "The current status of the code.Example: active", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,15 +6,15 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPeerReviewInput < BaseInputObject
8
8
  description "Peer Reviews. API Docs: https://canvas.instructure.com/doc/api/peer_reviews.html"
9
- argument :assessor_id, ID, "The assessors user id.Example: 23", required: false
10
- argument :asset_id, ID, "The id for the asset associated with this Peer Review.Example: 13", required: false
11
- argument :asset_type, String, "The type of the asset.Example: Submission", required: false
12
- argument :id, ID, "The id of the Peer Review.Example: 1", required: false
13
- argument :user_id, ID, "The user id for the owner of the asset.Example: 7", required: false
14
- argument :workflow_state, String, "The state of the Peer Review, either 'assigned' or 'completed'.Example: assigned", required: false
15
- argument :user, String, "the User object for the owner of the asset if the user include parameter is provided (see user API) (optional).Example: User", required: false
16
- argument :assessor, String, "The User object for the assessor if the user include parameter is provided (see user API) (optional).Example: User", required: false
17
- argument :submission_comments, String, "The submission comments associated with this Peer Review if the submission_comment include parameter is provided (see submissions API) (optional).Example: SubmissionComment", required: false
9
+ argument :assessor_id, ID, "The assessors user id.Example: 23", required: false
10
+ argument :asset_id, ID, "The id for the asset associated with this Peer Review.Example: 13", required: false
11
+ argument :asset_type, String, "The type of the asset.Example: Submission", required: false
12
+ argument :id, ID, "The id of the Peer Review.Example: 1", required: false
13
+ argument :user_id, ID, "The user id for the owner of the asset.Example: 7", required: false
14
+ argument :workflow_state, String, "The state of the Peer Review, either 'assigned' or 'completed'.Example: assigned", required: false
15
+ argument :user, String, "the User object for the owner of the asset if the user include parameter is provided (see user API) (optional).Example: User", required: false
16
+ argument :assessor, String, "The User object for the assessor if the user include parameter is provided (see user API) (optional).Example: User", required: false
17
+ argument :submission_comments, String, "The submission comments associated with this Peer Review if the submission_comment include parameter is provided (see submissions API) (optional).Example: SubmissionComment", required: false
18
18
 
19
19
  end
20
20
  end
@@ -12,7 +12,7 @@ module LMSGraphQL
12
12
  field :user_id, ID, "The id of the associated user creating the planner note.Example: 1578941", null: true
13
13
  field :workflow_state, String, "The current published state of the planner note.Example: active", null: true
14
14
  field :course_id, ID, "The course that the note is in relation too, if applicable.Example: 1578941", null: true
15
- field :todo_date, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner note should show up on their planner.Example: 2017-05-09T10:12:00Z", null: true
15
+ field :todo_date, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner note should show up on their planner.Example: 2017-05-09T10:12:00Z", null: true
16
16
  field :linked_object_type, String, "the type of the linked learning object.Example: assignment", null: true
17
17
  field :linked_object_id, ID, "the id of the linked learning object.Example: 131072", null: true
18
18
  field :linked_object_html_url, String, "the Canvas web URL of the linked learning object.Example: https://canvas.example.com/courses/1578941/assignments/131072", null: true
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPlannerNoteInput < BaseInputObject
8
8
  description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
9
- argument :id, ID, "The ID of the planner note.Example: 234", required: false
10
- argument :title, String, "The title for a planner note.Example: Bring books tomorrow", required: false
11
- argument :description, String, "The description of the planner note.Example: I need to bring books tomorrow for my course on biology", required: false
12
- argument :user_id, ID, "The id of the associated user creating the planner note.Example: 1578941", required: false
13
- argument :workflow_state, String, "The current published state of the planner note.Example: active", required: false
14
- argument :course_id, ID, "The course that the note is in relation too, if applicable.Example: 1578941", required: false
15
- argument :todo_date, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner note should show up on their planner.Example: 2017-05-09T10:12:00Z", required: false
16
- argument :linked_object_type, String, "the type of the linked learning object.Example: assignment", required: false
17
- argument :linked_object_id, ID, "the id of the linked learning object.Example: 131072", required: false
18
- argument :linked_object_html_url, String, "the Canvas web URL of the linked learning object.Example: https://canvas.example.com/courses/1578941/assignments/131072", required: false
19
- argument :linked_object_url, String, "the API URL of the linked learning object.Example: https://canvas.example.com/api/v1/courses/1578941/assignments/131072", required: false
9
+ argument :id, ID, "The ID of the planner note.Example: 234", required: false
10
+ argument :title, String, "The title for a planner note.Example: Bring books tomorrow", required: false
11
+ argument :description, String, "The description of the planner note.Example: I need to bring books tomorrow for my course on biology", required: false
12
+ argument :user_id, ID, "The id of the associated user creating the planner note.Example: 1578941", required: false
13
+ argument :workflow_state, String, "The current published state of the planner note.Example: active", required: false
14
+ argument :course_id, ID, "The course that the note is in relation too, if applicable.Example: 1578941", required: false
15
+ argument :todo_date, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner note should show up on their planner.Example: 2017-05-09T10:12:00Z", required: false
16
+ argument :linked_object_type, String, "the type of the linked learning object.Example: assignment", required: false
17
+ argument :linked_object_id, ID, "the id of the linked learning object.Example: 131072", required: false
18
+ argument :linked_object_html_url, String, "the Canvas web URL of the linked learning object.Example: https://canvas.example.com/courses/1578941/assignments/131072", required: false
19
+ argument :linked_object_url, String, "the API URL of the linked learning object.Example: https://canvas.example.com/api/v1/courses/1578941/assignments/131072", required: false
20
20
 
21
21
  end
22
22
  end
@@ -14,9 +14,9 @@ module LMSGraphQL
14
14
  field :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", null: true
15
15
  field :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", null: true
16
16
  field :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", null: true
17
- field :created_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was created.Example: 2017-05-09T10:12:00Z", null: true
18
- field :updated_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was updated.Example: 2017-05-09T10:12:00Z", null: true
19
- field :deleted_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was deleted, if applicable.Example: 2017-05-15T12:12:00Z", null: true
17
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was created.Example: 2017-05-09T10:12:00Z", null: true
18
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was updated.Example: 2017-05-09T10:12:00Z", null: true
19
+ field :deleted_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was deleted, if applicable.Example: 2017-05-15T12:12:00Z", null: true
20
20
 
21
21
  end
22
22
  end
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPlannerOverrideInput < BaseInputObject
8
8
  description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
9
- argument :id, ID, "The ID of the planner override.Example: 234", required: false
10
- argument :plannable_type, String, "The type of the associated object for the planner override.Example: Assignment", required: false
11
- argument :plannable_id, ID, "The id of the associated object for the planner override.Example: 1578941", required: false
12
- argument :user_id, ID, "The id of the associated user for the planner override.Example: 1578941", required: false
13
- argument :assignment_id, ID, "The id of the plannable's associated assignment, if it has one.Example: 1578941", required: false
14
- argument :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", required: false
15
- argument :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", required: false
16
- argument :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", required: false
17
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was created.Example: 2017-05-09T10:12:00Z", required: false
18
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was updated.Example: 2017-05-09T10:12:00Z", required: false
19
- argument :deleted_at, LMSGraphQL::Types::DateTimeType, "The datetime of when the planner override was deleted, if applicable.Example: 2017-05-15T12:12:00Z", required: false
9
+ argument :id, ID, "The ID of the planner override.Example: 234", required: false
10
+ argument :plannable_type, String, "The type of the associated object for the planner override.Example: Assignment", required: false
11
+ argument :plannable_id, ID, "The id of the associated object for the planner override.Example: 1578941", required: false
12
+ argument :user_id, ID, "The id of the associated user for the planner override.Example: 1578941", required: false
13
+ argument :assignment_id, ID, "The id of the plannable's associated assignment, if it has one.Example: 1578941", required: false
14
+ argument :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", required: false
15
+ argument :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", required: false
16
+ argument :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", required: false
17
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was created.Example: 2017-05-09T10:12:00Z", required: false
18
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was updated.Example: 2017-05-09T10:12:00Z", required: false
19
+ argument :deleted_at, GraphQL::Types::ISO8601DateTime, "The datetime of when the planner override was deleted, if applicable.Example: 2017-05-15T12:12:00Z", required: false
20
20
 
21
21
  end
22
22
  end
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPollChoiceInput < BaseInputObject
8
8
  description "PollChoices. API Docs: https://canvas.instructure.com/doc/api/poll_choices.html"
9
- argument :id, ID, "The unique identifier for the poll choice..Example: 1023", required: false
10
- argument :poll_id, ID, "The id of the poll this poll choice belongs to..Example: 1779", required: false
11
- argument :is_correct, Boolean, "Specifies whether or not this poll choice is a 'correct' choice..Example: true", required: false
12
- argument :text, String, "The text of the poll choice..Example: Choice A", required: false
13
- argument :position, Int, "The order of the poll choice in relation to it's sibling poll choices..Example: 1", required: false
9
+ argument :id, ID, "The unique identifier for the poll choice..Example: 1023", required: false
10
+ argument :poll_id, ID, "The id of the poll this poll choice belongs to..Example: 1779", required: false
11
+ argument :is_correct, Boolean, "Specifies whether or not this poll choice is a 'correct' choice..Example: true", required: false
12
+ argument :text, String, "The text of the poll choice..Example: Choice A", required: false
13
+ argument :position, Int, "The order of the poll choice in relation to it's sibling poll choices..Example: 1", required: false
14
14
 
15
15
  end
16
16
  end
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPollInput < BaseInputObject
8
8
  description "Polls. API Docs: https://canvas.instructure.com/doc/api/polls.html"
9
- argument :id, ID, "The unique identifier for the poll..Example: 1023", required: false
10
- argument :question, String, "The question/title of the poll..Example: What do you consider most important to your learning in this course?", required: false
11
- argument :description, String, "A short description of the poll..Example: This poll is to determine what priorities the students in the course have.", required: false
12
- argument :created_at, String, "The time at which the poll was created..Example: 2014-01-07T15:16:18Z", required: false
13
- argument :user_id, ID, "The unique identifier for the user that created the poll..Example: 105", required: false
14
- argument :total_results, String, "An aggregate of the results of all associated poll sessions, with the poll choice id as the key, and the aggregated submission count as the value..Example: 20, 5, 17", required: false
9
+ argument :id, ID, "The unique identifier for the poll..Example: 1023", required: false
10
+ argument :question, String, "The question/title of the poll..Example: What do you consider most important to your learning in this course?", required: false
11
+ argument :description, String, "A short description of the poll..Example: This poll is to determine what priorities the students in the course have.", required: false
12
+ argument :created_at, String, "The time at which the poll was created..Example: 2014-01-07T15:16:18Z", required: false
13
+ argument :user_id, ID, "The unique identifier for the user that created the poll..Example: 105", required: false
14
+ argument :total_results, String, "An aggregate of the results of all associated poll sessions, with the poll choice id as the key, and the aggregated submission count as the value..Example: 20, 5, 17", required: false
15
15
 
16
16
  end
17
17
  end
@@ -6,15 +6,15 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPollSessionInput < BaseInputObject
8
8
  description "Poll Sessions. API Docs: https://canvas.instructure.com/doc/api/poll_sessions.html"
9
- argument :id, ID, "The unique identifier for the poll session..Example: 1023", required: false
10
- argument :poll_id, ID, "The id of the Poll this poll session is associated with.Example: 55", required: false
11
- argument :course_id, ID, "The id of the Course this poll session is associated with.Example: 1111", required: false
12
- argument :course_section_id, ID, "The id of the Course Section this poll session is associated with.Example: 444", required: false
13
- argument :is_published, Boolean, "Specifies whether or not this poll session has been published for students to participate in..Example: true", required: false
14
- argument :has_public_results, Boolean, "Specifies whether the results are viewable by students..Example: true", required: false
15
- argument :created_at, String, "The time at which the poll session was created..Example: 2014-01-07T15:16:18Z", required: false
16
- argument :results, String, "The results of the submissions of the poll. Each key is the poll choice id, and the value is the count of submissions..Example: 10, 3, 27, 8", required: false
17
- argument :poll_submissions, LMSGraphQL::Types::Canvas::CanvasPollSubmissionInput, "If the poll session has public results, this will return an array of all submissions, viewable by both students and teachers. If the results are not public, for students it will return their submission only..", required: false
9
+ argument :id, ID, "The unique identifier for the poll session..Example: 1023", required: false
10
+ argument :poll_id, ID, "The id of the Poll this poll session is associated with.Example: 55", required: false
11
+ argument :course_id, ID, "The id of the Course this poll session is associated with.Example: 1111", required: false
12
+ argument :course_section_id, ID, "The id of the Course Section this poll session is associated with.Example: 444", required: false
13
+ argument :is_published, Boolean, "Specifies whether or not this poll session has been published for students to participate in..Example: true", required: false
14
+ argument :has_public_results, Boolean, "Specifies whether the results are viewable by students..Example: true", required: false
15
+ argument :created_at, String, "The time at which the poll session was created..Example: 2014-01-07T15:16:18Z", required: false
16
+ argument :results, String, "The results of the submissions of the poll. Each key is the poll choice id, and the value is the count of submissions..Example: 10, 3, 27, 8", required: false
17
+ argument :poll_submissions, LMSGraphQL::Types::Canvas::CanvasPollSubmissionInput, "If the poll session has public results, this will return an array of all submissions, viewable by both students and teachers. If the results are not public, for students it will return their submission only..", required: false
18
18
 
19
19
  end
20
20
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasPollSubmissionInput < BaseInputObject
8
8
  description "PollSubmissions. API Docs: https://canvas.instructure.com/doc/api/poll_submissions.html"
9
- argument :id, ID, "The unique identifier for the poll submission..Example: 1023", required: false
10
- argument :poll_choice_id, ID, "The unique identifier of the poll choice chosen for this submission..Example: 155", required: false
11
- argument :user_id, ID, "the unique identifier of the user who submitted this poll submission..Example: 4555", required: false
12
- argument :created_at, String, "The date and time the poll submission was submitted..Example: 2013-11-07T13:16:18Z", required: false
9
+ argument :id, ID, "The unique identifier for the poll submission..Example: 1023", required: false
10
+ argument :poll_choice_id, ID, "The unique identifier of the poll choice chosen for this submission..Example: 155", required: false
11
+ argument :user_id, ID, "the unique identifier of the user who submitted this poll submission..Example: 4555", required: false
12
+ argument :created_at, String, "The date and time the poll submission was submitted..Example: 2013-11-07T13:16:18Z", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasProficiencyInput < BaseInputObject
8
8
  description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
9
- argument :ratings, [String], "An array of proficiency ratings. See the ProficiencyRating specification above..", required: false
9
+ argument :ratings, [String], "An array of proficiency ratings. See the ProficiencyRating specification above..", required: false
10
10
 
11
11
  end
12
12
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasProficiencyRatingInput < BaseInputObject
8
8
  description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
9
- argument :description, String, "The description of the rating.Example: Exceeds Mastery", required: false
10
- argument :points, Float, "A non-negative number of points for the rating.Example: 4", required: false
11
- argument :mastery, Boolean, "Indicates the rating where mastery is first achieved.", required: false
12
- argument :color, String, "The hex color code of the rating.Example: 127A1B", required: false
9
+ argument :description, String, "The description of the rating.Example: Exceeds Mastery", required: false
10
+ argument :points, Float, "A non-negative number of points for the rating.Example: 4", required: false
11
+ argument :mastery, Boolean, "Indicates the rating where mastery is first achieved.", required: false
12
+ argument :color, String, "The hex color code of the rating.Example: 127A1B", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,21 +6,21 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasProfileInput < BaseInputObject
8
8
  description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
- argument :id, ID, "The ID of the user..Example: 1234", required: false
10
- argument :name, String, "Sample User.Example: Sample User", required: false
11
- argument :short_name, String, "Sample User.Example: Sample User", required: false
12
- argument :sortable_name, String, "user, sample.Example: user, sample", required: false
13
- argument :title, String, "", required: false
14
- argument :bio, String, "", required: false
15
- argument :primary_email, String, "sample_user@example.com.Example: sample_user@example.com", required: false
16
- argument :login_id, ID, "sample_user@example.com.Example: sample_user@example.com", required: false
17
- argument :sis_user_id, ID, "sis1.Example: sis1", required: false
18
- argument :lti_user_id, ID, "", required: false
19
- argument :avatar_url, String, "The avatar_url can change over time, so we recommend not caching it for more than a few hours.Example: url", required: false
20
- argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLinkInput, "", required: false
21
- argument :time_zone, String, "Optional: This field is only returned in certain API calls, and will return the IANA time zone name of the user's preferred timezone..Example: America/Denver", required: false
22
- argument :locale, String, "The users locale..", required: false
23
- argument :k5_user, Boolean, "Optional: Whether or not the user is a K5 user. This field is nil if the user settings are not for the user making the request..Example: true", required: false
9
+ argument :id, ID, "The ID of the user..Example: 1234", required: false
10
+ argument :name, String, "Sample User.Example: Sample User", required: false
11
+ argument :short_name, String, "Sample User.Example: Sample User", required: false
12
+ argument :sortable_name, String, "user, sample.Example: user, sample", required: false
13
+ argument :title, String, "", required: false
14
+ argument :bio, String, "", required: false
15
+ argument :primary_email, String, "sample_user@example.com.Example: sample_user@example.com", required: false
16
+ argument :login_id, ID, "sample_user@example.com.Example: sample_user@example.com", required: false
17
+ argument :sis_user_id, ID, "sis1.Example: sis1", required: false
18
+ argument :lti_user_id, ID, "", required: false
19
+ argument :avatar_url, String, "The avatar_url can change over time, so we recommend not caching it for more than a few hours.Example: url", required: false
20
+ argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLinkInput, "", required: false
21
+ argument :time_zone, String, "Optional: This field is only returned in certain API calls, and will return the IANA time zone name of the user's preferred timezone..Example: America/Denver", required: false
22
+ argument :locale, String, "The users locale..", required: false
23
+ argument :k5_user, Boolean, "Optional: Whether or not the user is a K5 user. This field is nil if the user settings are not for the user making the request..Example: true", required: false
24
24
 
25
25
  end
26
26
  end
@@ -19,8 +19,8 @@ module LMSGraphQL
19
19
  field :tag, String, "the type of operation.Example: course_batch_update", null: true
20
20
  field :completion, Int, "percent completed.Example: 100", null: true
21
21
  field :workflow_state, ProgressWorkflowStateEnum, "the state of the job one of 'queued', 'running', 'completed', 'failed'.Example: completed", null: true
22
- field :created_at, LMSGraphQL::Types::DateTimeType, "the time the job was created.Example: 2013-01-15T15:00:00Z", null: true
23
- field :updated_at, LMSGraphQL::Types::DateTimeType, "the time the job was last updated.Example: 2013-01-15T15:04:00Z", null: true
22
+ field :created_at, GraphQL::Types::ISO8601DateTime, "the time the job was created.Example: 2013-01-15T15:00:00Z", null: true
23
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "the time the job was last updated.Example: 2013-01-15T15:04:00Z", null: true
24
24
  field :message, String, "optional details about the job.Example: 17 courses processed", null: true
25
25
  field :results, String, "optional results of the job. omitted when job is still pending.Example: 123", null: true
26
26
  field :url, String, "url where a progress update can be retrieved with an LTI access token.Example: https://canvas.example.edu/api/lti/courses/1/progress/1", null: true
@@ -12,18 +12,18 @@ module LMSGraphQL
12
12
  value "failed"
13
13
  end
14
14
  description "Progress. API Docs: https://canvas.instructure.com/doc/api/progress.html"
15
- argument :id, ID, "the ID of the Progress object.Example: 1", required: false
16
- argument :context_id, ID, "the context owning the job..Example: 1", required: false
17
- argument :context_type, String, "Example: Account", required: false
18
- argument :user_id, ID, "the id of the user who started the job.Example: 123", required: false
19
- argument :tag, String, "the type of operation.Example: course_batch_update", required: false
20
- argument :completion, Int, "percent completed.Example: 100", required: false
21
- argument :workflow_state, ProgressInputWorkflowStateEnum, "the state of the job one of 'queued', 'running', 'completed', 'failed'.Example: completed", required: false
22
- argument :created_at, LMSGraphQL::Types::DateTimeType, "the time the job was created.Example: 2013-01-15T15:00:00Z", required: false
23
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "the time the job was last updated.Example: 2013-01-15T15:04:00Z", required: false
24
- argument :message, String, "optional details about the job.Example: 17 courses processed", required: false
25
- argument :results, String, "optional results of the job. omitted when job is still pending.Example: 123", required: false
26
- argument :url, String, "url where a progress update can be retrieved with an LTI access token.Example: https://canvas.example.edu/api/lti/courses/1/progress/1", required: false
15
+ argument :id, ID, "the ID of the Progress object.Example: 1", required: false
16
+ argument :context_id, ID, "the context owning the job..Example: 1", required: false
17
+ argument :context_type, String, "Example: Account", required: false
18
+ argument :user_id, ID, "the id of the user who started the job.Example: 123", required: false
19
+ argument :tag, String, "the type of operation.Example: course_batch_update", required: false
20
+ argument :completion, Int, "percent completed.Example: 100", required: false
21
+ argument :workflow_state, ProgressInputWorkflowStateEnum, "the state of the job one of 'queued', 'running', 'completed', 'failed'.Example: completed", required: false
22
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "the time the job was created.Example: 2013-01-15T15:00:00Z", required: false
23
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "the time the job was last updated.Example: 2013-01-15T15:04:00Z", required: false
24
+ argument :message, String, "optional details about the job.Example: 17 courses processed", required: false
25
+ argument :results, String, "optional results of the job. omitted when job is still pending.Example: 123", required: false
26
+ argument :url, String, "url where a progress update can be retrieved with an LTI access token.Example: https://canvas.example.edu/api/lti/courses/1/progress/1", required: false
27
27
 
28
28
  end
29
29
  end
@@ -10,7 +10,7 @@ module LMSGraphQL
10
10
  field :score, Int, "The numeric score.Example: 90", null: true
11
11
  field :grade, String, "The grade.Example: A-", null: true
12
12
  field :grade_matches_current_submission, Boolean, "Whether the grade was applied to the most current submission (false if the student resubmitted after grading).Example: true", null: true
13
- field :graded_at, LMSGraphQL::Types::DateTimeType, "When the grade was given.Example: 2015-11-01T00:03:21-06:00", null: true
13
+ field :graded_at, GraphQL::Types::ISO8601DateTime, "When the grade was given.Example: 2015-11-01T00:03:21-06:00", null: true
14
14
  field :final, Boolean, "Whether this is the 'final' provisional grade created by the moderator.", null: true
15
15
  field :speedgrader_url, String, "A link to view this provisional grade in SpeedGrader™.Example: http://www.example.com/courses/123/gradebook/speed_grader?.", null: true
16
16
 
@@ -6,13 +6,13 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasProvisionalGradeInput < BaseInputObject
8
8
  description "Moderated Grading. API Docs: https://canvas.instructure.com/doc/api/moderated_grading.html"
9
- argument :provisional_grade_id, ID, "The identifier for the provisional grade.Example: 23", required: false
10
- argument :score, Int, "The numeric score.Example: 90", required: false
11
- argument :grade, String, "The grade.Example: A-", required: false
12
- argument :grade_matches_current_submission, Boolean, "Whether the grade was applied to the most current submission (false if the student resubmitted after grading).Example: true", required: false
13
- argument :graded_at, LMSGraphQL::Types::DateTimeType, "When the grade was given.Example: 2015-11-01T00:03:21-06:00", required: false
14
- argument :final, Boolean, "Whether this is the 'final' provisional grade created by the moderator.", required: false
15
- argument :speedgrader_url, String, "A link to view this provisional grade in SpeedGrader™.Example: http://www.example.com/courses/123/gradebook/speed_grader?.", required: false
9
+ argument :provisional_grade_id, ID, "The identifier for the provisional grade.Example: 23", required: false
10
+ argument :score, Int, "The numeric score.Example: 90", required: false
11
+ argument :grade, String, "The grade.Example: A-", required: false
12
+ argument :grade_matches_current_submission, Boolean, "Whether the grade was applied to the most current submission (false if the student resubmitted after grading).Example: true", required: false
13
+ argument :graded_at, GraphQL::Types::ISO8601DateTime, "When the grade was given.Example: 2015-11-01T00:03:21-06:00", required: false
14
+ argument :final, Boolean, "Whether this is the 'final' provisional grade created by the moderator.", required: false
15
+ argument :speedgrader_url, String, "A link to view this provisional grade in SpeedGrader™.Example: http://www.example.com/courses/123/gradebook/speed_grader?.", required: false
16
16
 
17
17
  end
18
18
  end
@@ -7,6 +7,22 @@ module LMSGraphQL
7
7
  module Canvas
8
8
  class QueryType < BaseType
9
9
  description "The root query of Canvas schema"
10
+ field :list_available_account_calendars,
11
+ resolver: LMSGraphQL::Resolvers::Canvas::ListAvailableAccountCalendar,
12
+ description: "List available account calendars. Returns a paginated list of account calendars available to the current user. Includes visible account calendars where the user has an account association."
13
+
14
+ field :get_single_account_calendar,
15
+ resolver: LMSGraphQL::Resolvers::Canvas::GetSingleAccountCalendar,
16
+ description: "Get a single account calendar. Get details about a specific account calendar."
17
+
18
+ field :list_all_account_calendars,
19
+ resolver: LMSGraphQL::Resolvers::Canvas::ListAllAccountCalendar,
20
+ description: "List all account calendars. Returns a paginated list of account calendars for the provided account and its first level of sub-accounts. Includes hidden calendars in the response. Requires the `manage_account_calendar_visibility` permission."
21
+
22
+ field :count_of_all_visible_account_calendars,
23
+ resolver: LMSGraphQL::Resolvers::Canvas::CountOfAllVisibleAccountCalendar,
24
+ description: "Count of all visible account calendars. Returns the number of visible account calendars."
25
+
10
26
  field :search_account_domains,
11
27
  resolver: LMSGraphQL::Resolvers::Canvas::SearchAccountDomain,
12
28
  description: "Search account domains. Returns a list of up to 5 matching account domains Partial match on name / domain are supported"
@@ -49,7 +65,7 @@ module LMSGraphQL
49
65
 
50
66
  field :settings,
51
67
  resolver: LMSGraphQL::Resolvers::Canvas::Setting,
52
- description: "Settings. Returns all of the settings for the specified account as a JSON object. The caller must be an Account admin with the manage_account_settings permission."
68
+ description: "Settings. Returns settings for the specified account as a JSON object. The caller must be an Account admin with the manage_account_settings permission."
53
69
 
54
70
  field :permissions,
55
71
  resolver: LMSGraphQL::Resolvers::Canvas::Permission,
@@ -259,6 +275,30 @@ module LMSGraphQL
259
275
  resolver: LMSGraphQL::Resolvers::Canvas::QueryByUser,
260
276
  description: "Query by user.. List authentication events for a given user."
261
277
 
278
+ field :list_blackout_dates_courses,
279
+ resolver: LMSGraphQL::Resolvers::Canvas::ListBlackoutDatesCourse,
280
+ description: "List blackout dates. Returns the list of blackout dates for the current context."
281
+
282
+ field :list_blackout_dates_accounts,
283
+ resolver: LMSGraphQL::Resolvers::Canvas::ListBlackoutDatesAccount,
284
+ description: "List blackout dates. Returns the list of blackout dates for the current context."
285
+
286
+ field :get_single_blackout_date_courses,
287
+ resolver: LMSGraphQL::Resolvers::Canvas::GetSingleBlackoutDateCourse,
288
+ description: "Get a single blackout date. Returns the blackout date with the given id."
289
+
290
+ field :get_single_blackout_date_accounts,
291
+ resolver: LMSGraphQL::Resolvers::Canvas::GetSingleBlackoutDateAccount,
292
+ description: "Get a single blackout date. Returns the blackout date with the given id."
293
+
294
+ field :new_blackout_date_courses,
295
+ resolver: LMSGraphQL::Resolvers::Canvas::NewBlackoutDateCourse,
296
+ description: "New Blackout Date. Initialize an unsaved Blackout Date for the given context."
297
+
298
+ field :new_blackout_date_accounts,
299
+ resolver: LMSGraphQL::Resolvers::Canvas::NewBlackoutDateAccount,
300
+ description: "New Blackout Date. Initialize an unsaved Blackout Date for the given context."
301
+
262
302
  field :get_blueprint_information,
263
303
  resolver: LMSGraphQL::Resolvers::Canvas::GetBlueprintInformation,
264
304
  description: "Get blueprint information. Using 'default' as the template_id should suffice for the current implmentation (as there should be only one template per course). However, using specific template ids may become necessary in the future"
@@ -793,7 +833,7 @@ module LMSGraphQL
793
833
 
794
834
  field :list_environment_features,
795
835
  resolver: LMSGraphQL::Resolvers::Canvas::ListEnvironmentFeature,
796
- description: "List environment features. Return a hash of global feature settings that pertain to the Canvas user interface. This is the same information supplied to the web interface as +ENV.FEATURES+."
836
+ description: "List environment features. Return a hash of global feature options that pertain to the Canvas user interface. This is the same information supplied to the web interface as +ENV.FEATURES+."
797
837
 
798
838
  field :get_feature_flag_courses,
799
839
  resolver: LMSGraphQL::Resolvers::Canvas::GetFeatureFlagCourse,
@@ -855,6 +895,10 @@ module LMSGraphQL
855
895
  resolver: LMSGraphQL::Resolvers::Canvas::GetFileUser,
856
896
  description: "Get file. Returns the standard attachment json object"
857
897
 
898
+ field :translate_file_reference,
899
+ resolver: LMSGraphQL::Resolvers::Canvas::TranslateFileReference,
900
+ description: "Translate file reference. Get information about a file from a course copy file reference"
901
+
858
902
  field :list_folders,
859
903
  resolver: LMSGraphQL::Resolvers::Canvas::ListFolder,
860
904
  description: "List folders. Returns the paginated list of folders in the folder."
@@ -1081,7 +1125,7 @@ module LMSGraphQL
1081
1125
 
1082
1126
  field :list_line_items,
1083
1127
  resolver: LMSGraphQL::Resolvers::Canvas::ListLineItem,
1084
- description: "List line Items. "
1128
+ description: "List line Items. List all Line Items for a course"
1085
1129
 
1086
1130
  field :list_live_assessment_results,
1087
1131
  resolver: LMSGraphQL::Resolvers::Canvas::ListLiveAssessmentResult,
@@ -1255,6 +1299,14 @@ module LMSGraphQL
1255
1299
  resolver: LMSGraphQL::Resolvers::Canvas::GetOutcomeImportStatusCourse,
1256
1300
  description: "Get Outcome import status. Get the status of an already created Outcome import. Pass 'latest' for the outcome import id for the latest import. Examples: curl 'https: <canvas>/api/v1/accounts/<account_id>/outcome_imports/<outcome_import_id>' \ -H 'Authorization: Bearer <token>' curl 'https: <canvas>/api/v1/courses/<course_id>/outcome_imports/<outcome_import_id>' \ -H 'Authorization: Bearer <token>'"
1257
1301
 
1302
+ field :get_ids_of_outcome_groups_created_after_successful_import_accounts,
1303
+ resolver: LMSGraphQL::Resolvers::Canvas::GetIdsOfOutcomeGroupsCreatedAfterSuccessfulImportAccount,
1304
+ description: "Get IDs of outcome groups created after successful import. Get the IDs of the outcome groups created after a successful import. Pass 'latest' for the outcome import id for the latest import. Examples: curl 'https: <canvas>/api/v1/accounts/<account_id>/outcome_imports/outcomes_group_ids/<outcome_import_id>' \ -H 'Authorization: Bearer <token>' curl 'https: <canvas>/api/v1/courses/<course_id>/outcome_imports/outcome_group_ids/<outcome_import_id>' \ -H 'Authorization: Bearer <token>'"
1305
+
1306
+ field :get_ids_of_outcome_groups_created_after_successful_import_courses,
1307
+ resolver: LMSGraphQL::Resolvers::Canvas::GetIdsOfOutcomeGroupsCreatedAfterSuccessfulImportCourse,
1308
+ description: "Get IDs of outcome groups created after successful import. Get the IDs of the outcome groups created after a successful import. Pass 'latest' for the outcome import id for the latest import. Examples: curl 'https: <canvas>/api/v1/accounts/<account_id>/outcome_imports/outcomes_group_ids/<outcome_import_id>' \ -H 'Authorization: Bearer <token>' curl 'https: <canvas>/api/v1/courses/<course_id>/outcome_imports/outcome_group_ids/<outcome_import_id>' \ -H 'Authorization: Bearer <token>'"
1309
+
1258
1310
  field :get_outcome_results,
1259
1311
  resolver: LMSGraphQL::Resolvers::Canvas::GetOutcomeResult,
1260
1312
  description: "Get outcome results. Gets the outcome results for users and outcomes in the specified context."
@@ -1639,13 +1691,21 @@ module LMSGraphQL
1639
1691
  resolver: LMSGraphQL::Resolvers::Canvas::ListMultipleAssignmentsGradeableStudent,
1640
1692
  description: "List multiple assignments gradeable students. A paginated list of students eligible to submit a list of assignments. The caller must have permission to view grades for the requested course. Section-limited instructors will only see students in their own sections."
1641
1693
 
1642
- field :get_rubric_comments_read_state_courses,
1643
- resolver: LMSGraphQL::Resolvers::Canvas::GetRubricCommentsReadStateCourse,
1644
- description: "Get rubric comments read state. Return whether new rubric comments made on a submission have been seen by the student being assessed."
1694
+ field :get_rubric_assessments_read_state_courses_rubric_comments,
1695
+ resolver: LMSGraphQL::Resolvers::Canvas::GetRubricAssessmentsReadStateCoursesRubricComment,
1696
+ description: "Get rubric assessments read state. Return whether new rubric comments/grading made on a submission have been seen by the student being assessed."
1697
+
1698
+ field :get_rubric_assessments_read_state_courses_rubric_assessments,
1699
+ resolver: LMSGraphQL::Resolvers::Canvas::GetRubricAssessmentsReadStateCoursesRubricAssessment,
1700
+ description: "Get rubric assessments read state. Return whether new rubric comments/grading made on a submission have been seen by the student being assessed."
1701
+
1702
+ field :get_rubric_assessments_read_state_sections_rubric_comments,
1703
+ resolver: LMSGraphQL::Resolvers::Canvas::GetRubricAssessmentsReadStateSectionsRubricComment,
1704
+ description: "Get rubric assessments read state. Return whether new rubric comments/grading made on a submission have been seen by the student being assessed."
1645
1705
 
1646
- field :get_rubric_comments_read_state_sections,
1647
- resolver: LMSGraphQL::Resolvers::Canvas::GetRubricCommentsReadStateSection,
1648
- description: "Get rubric comments read state. Return whether new rubric comments made on a submission have been seen by the student being assessed."
1706
+ field :get_rubric_assessments_read_state_sections_rubric_assessments,
1707
+ resolver: LMSGraphQL::Resolvers::Canvas::GetRubricAssessmentsReadStateSectionsRubricAssessment,
1708
+ description: "Get rubric assessments read state. Return whether new rubric comments/grading made on a submission have been seen by the student being assessed."
1649
1709
 
1650
1710
  field :get_document_annotations_read_state_courses,
1651
1711
  resolver: LMSGraphQL::Resolvers::Canvas::GetDocumentAnnotationsReadStateCourse,
@@ -37,8 +37,8 @@ module LMSGraphQL
37
37
  field :hide_results, QuizHideResultEnum, "let students see their quiz responses? possible values: null, 'always', 'until_after_last_attempt'.Example: always", null: true
38
38
  field :show_correct_answers, Boolean, "show which answers were correct when results are shown? only valid if hide_results=null.Example: true", null: true
39
39
  field :show_correct_answers_last_attempt, Boolean, "restrict the show_correct_answers option above to apply only to the last submitted attempt of a quiz that allows multiple attempts. only valid if show_correct_answers=true and allowed_attempts > 1.Example: true", null: true
40
- field :show_correct_answers_at, LMSGraphQL::Types::DateTimeType, "when should the correct answers be visible by students? only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", null: true
41
- field :hide_correct_answers_at, LMSGraphQL::Types::DateTimeType, "prevent the students from seeing correct answers after the specified date has passed. only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", null: true
40
+ field :show_correct_answers_at, GraphQL::Types::ISO8601DateTime, "when should the correct answers be visible by students? only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", null: true
41
+ field :hide_correct_answers_at, GraphQL::Types::ISO8601DateTime, "prevent the students from seeing correct answers after the specified date has passed. only valid if show_correct_answers=true.Example: 2013-01-23T23:59:00-07:00", null: true
42
42
  field :one_time_results, Boolean, "prevent the students from seeing their results more than once (right after they submit the quiz).Example: true", null: true
43
43
  field :scoring_policy, QuizScoringPolicyEnum, "which quiz score to keep (only if allowed_attempts != 1) possible values: 'keep_highest', 'keep_latest'.Example: keep_highest", null: true
44
44
  field :allowed_attempts, Int, "how many times a student can take the quiz -1 = unlimited attempts.Example: 3", null: true
@@ -48,9 +48,9 @@ module LMSGraphQL
48
48
  field :cant_go_back, Boolean, "lock questions after answering? only valid if one_question_at_a_time=true.", null: true
49
49
  field :access_code, String, "access code to restrict quiz access.Example: 2beornot2be", null: true
50
50
  field :ip_filter, String, "IP address or range that quiz access is limited to.Example: 123.123.123.123", null: true
51
- field :due_at, LMSGraphQL::Types::DateTimeType, "when the quiz is due.Example: 2013-01-23T23:59:00-07:00", null: true
52
- field :lock_at, LMSGraphQL::Types::DateTimeType, "when to lock the quiz.", null: true
53
- field :unlock_at, LMSGraphQL::Types::DateTimeType, "when to unlock the quiz.Example: 2013-01-21T23:59:00-07:00", null: true
51
+ field :due_at, GraphQL::Types::ISO8601DateTime, "when the quiz is due.Example: 2013-01-23T23:59:00-07:00", null: true
52
+ field :lock_at, GraphQL::Types::ISO8601DateTime, "when to lock the quiz.", null: true
53
+ field :unlock_at, GraphQL::Types::ISO8601DateTime, "when to unlock the quiz.Example: 2013-01-21T23:59:00-07:00", null: true
54
54
  field :published, Boolean, "whether the quiz has a published or unpublished draft state..Example: true", null: true
55
55
  field :unpublishable, Boolean, "Whether the assignment's 'published' state can be changed to false. Will be false if there are student submissions for the quiz..Example: true", null: true
56
56
  field :locked_for_user, Boolean, "Whether or not this is locked for the user..", null: true
@@ -7,9 +7,9 @@ module LMSGraphQL
7
7
  class CanvasQuizAssignmentOverride < BaseType
8
8
  description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
9
9
  field :id, ID, "ID of the assignment override, unless this is the base construct, in which case the 'id' field is omitted..Example: 1", null: true
10
- field :due_at, LMSGraphQL::Types::DateTimeType, "The date after which any quiz submission is considered late..Example: 2014-02-21T06:59:59Z", null: true
11
- field :unlock_at, LMSGraphQL::Types::DateTimeType, "Date when the quiz becomes available for taking..", null: true
12
- field :lock_at, LMSGraphQL::Types::DateTimeType, "When the quiz will stop being available for taking. A value of null means it can always be taken..Example: 2014-02-21T06:59:59Z", null: true
10
+ field :due_at, GraphQL::Types::ISO8601DateTime, "The date after which any quiz submission is considered late..Example: 2014-02-21T06:59:59Z", null: true
11
+ field :unlock_at, GraphQL::Types::ISO8601DateTime, "Date when the quiz becomes available for taking..", null: true
12
+ field :lock_at, GraphQL::Types::ISO8601DateTime, "When the quiz will stop being available for taking. A value of null means it can always be taken..Example: 2014-02-21T06:59:59Z", null: true
13
13
  field :title, String, "Title of the section this assignment override is for, if any..Example: Project X", null: true
14
14
  field :base, Boolean, "If this property is present, it means that dates in this structure are not based on an assignment override, but are instead for all students..Example: true", null: true
15
15
 
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasQuizAssignmentOverrideInput < BaseInputObject
8
8
  description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
9
- argument :id, ID, "ID of the assignment override, unless this is the base construct, in which case the 'id' field is omitted..Example: 1", required: false
10
- argument :due_at, LMSGraphQL::Types::DateTimeType, "The date after which any quiz submission is considered late..Example: 2014-02-21T06:59:59Z", required: false
11
- argument :unlock_at, LMSGraphQL::Types::DateTimeType, "Date when the quiz becomes available for taking..", required: false
12
- argument :lock_at, LMSGraphQL::Types::DateTimeType, "When the quiz will stop being available for taking. A value of null means it can always be taken..Example: 2014-02-21T06:59:59Z", required: false
13
- argument :title, String, "Title of the section this assignment override is for, if any..Example: Project X", required: false
14
- argument :base, Boolean, "If this property is present, it means that dates in this structure are not based on an assignment override, but are instead for all students..Example: true", required: false
9
+ argument :id, ID, "ID of the assignment override, unless this is the base construct, in which case the 'id' field is omitted..Example: 1", required: false
10
+ argument :due_at, GraphQL::Types::ISO8601DateTime, "The date after which any quiz submission is considered late..Example: 2014-02-21T06:59:59Z", required: false
11
+ argument :unlock_at, GraphQL::Types::ISO8601DateTime, "Date when the quiz becomes available for taking..", required: false
12
+ argument :lock_at, GraphQL::Types::ISO8601DateTime, "When the quiz will stop being available for taking. A value of null means it can always be taken..Example: 2014-02-21T06:59:59Z", required: false
13
+ argument :title, String, "Title of the section this assignment override is for, if any..Example: Project X", required: false
14
+ argument :base, Boolean, "If this property is present, it means that dates in this structure are not based on an assignment override, but are instead for all students..Example: true", required: false
15
15
 
16
16
  end
17
17
  end
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasQuizAssignmentOverrideSetContainerInput < BaseInputObject
8
8
  description "Quiz Assignment Overrides. API Docs: https://canvas.instructure.com/doc/api/quiz_assignment_overrides.html"
9
- argument :quiz_assignment_overrides, [LMSGraphQL::Types::Canvas::CanvasQuizAssignmentOverrideSetInput], "The QuizAssignmentOverrideSet.", required: false
9
+ argument :quiz_assignment_overrides, [LMSGraphQL::Types::Canvas::CanvasQuizAssignmentOverrideSetInput], "The QuizAssignmentOverrideSet.", required: false
10
10
 
11
11
  end
12
12
  end