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
@@ -9,8 +9,8 @@ module LMSGraphQL
9
9
  value "Course"
10
10
  end
11
11
  description "Favorites. API Docs: https://canvas.instructure.com/doc/api/favorites.html"
12
- argument :context_id, ID, "The ID of the object the Favorite refers to.Example: 1170", required: false
13
- argument :context_type, FavoriteInputContextTypeEnum, "The type of the object the Favorite refers to (currently, only 'Course' is supported).Example: Course", required: false
12
+ argument :context_id, ID, "The ID of the object the Favorite refers to.Example: 1170", required: false
13
+ argument :context_type, FavoriteInputContextTypeEnum, "The type of the object the Favorite refers to (currently, only 'Course' is supported).Example: Course", required: false
14
14
 
15
15
  end
16
16
  end
@@ -19,11 +19,9 @@ module LMSGraphQL
19
19
  * Account features may be controlled by flags on accounts and their parent accounts.
20
20
  * Course features may be controlled by flags on courses and their parent accounts.
21
21
  * User features may be controlled by flags on users and site admin only..Example: Course", null: true
22
- field :enable_at, LMSGraphQL::Types::DateTimeType, "The date this feature will be globally enabled, or null if this is not planned. (This information is subject to change.).Example: 2014-01-01T00:00:00Z", null: true
23
22
  field :feature_flag, LMSGraphQL::Types::Canvas::CanvasFeatureFlag, "The FeatureFlag that applies to the caller.Example: fancy_wickets, allowed", null: true
24
23
  field :root_opt_in, Boolean, "If true, a feature that is 'allowed' globally will be 'off' by default in root accounts. Otherwise, root accounts inherit the global 'allowed' setting, which allows sub-accounts and courses to turn features on with no root account action..Example: true", null: true
25
- field :beta, Boolean, "Whether the feature is a beta feature. If true, the feature may not be fully polished and may be subject to change in the future..Example: true", null: true
26
- field :pending_enforcement, Boolean, "Whether the feature is nearing completion and will be finalized at an upcoming date..Example: true", null: true
24
+ field :beta, Boolean, "Whether the feature is a feature preview. If true, opting in includes ongoing updates outside the regular release schedule..Example: true", null: true
27
25
  field :autoexpand, Boolean, "Whether the details of the feature are autoexpanded on page load vs. the user clicking to expand..Example: true", null: true
28
26
  field :release_notes_url, String, "A URL to the release notes describing the feature.Example: http://canvas.example.com/release_notes#fancy_wickets", null: true
29
27
 
@@ -18,11 +18,11 @@ module LMSGraphQL
18
18
  value "on"
19
19
  end
20
20
  description "Feature Flags. API Docs: https://canvas.instructure.com/doc/api/feature_flags.html"
21
- argument :context_type, FeatureFlagInputContextTypeEnum, "The type of object to which this flag applies (Account, Course, or User). (This field is not present if this FeatureFlag represents the global Canvas default).Example: Account", required: false
22
- argument :context_id, ID, "The id of the object to which this flag applies (This field is not present if this FeatureFlag represents the global Canvas default).Example: 1038", required: false
23
- argument :feature, String, "The feature this flag controls.Example: fancy_wickets", required: false
24
- argument :state, FeatureFlagInputStateEnum, "The policy for the feature at this context. can be 'off', 'allowed', 'allowed_on', or 'on'..Example: allowed", required: false
25
- argument :locked, Boolean, "If set, this feature flag cannot be changed in the caller's context because the flag is set 'off' or 'on' in a higher context.", required: false
21
+ argument :context_type, FeatureFlagInputContextTypeEnum, "The type of object to which this flag applies (Account, Course, or User). (This field is not present if this FeatureFlag represents the global Canvas default).Example: Account", required: false
22
+ argument :context_id, ID, "The id of the object to which this flag applies (This field is not present if this FeatureFlag represents the global Canvas default).Example: 1038", required: false
23
+ argument :feature, String, "The feature this flag controls.Example: fancy_wickets", required: false
24
+ argument :state, FeatureFlagInputStateEnum, "The policy for the feature at this context. can be 'off', 'allowed', 'allowed_on', or 'on'..Example: allowed", required: false
25
+ argument :locked, Boolean, "If set, this feature flag cannot be changed in the caller's context because the flag is set 'off' or 'on' in a higher context.", required: false
26
26
 
27
27
  end
28
28
  end
@@ -12,20 +12,18 @@ module LMSGraphQL
12
12
  value "User"
13
13
  end
14
14
  description "Feature Flags. API Docs: https://canvas.instructure.com/doc/api/feature_flags.html"
15
- argument :feature, String, "The symbolic name of the feature, used in FeatureFlags.Example: fancy_wickets", required: false
16
- argument :display_name, String, "The user-visible name of the feature.Example: Fancy Wickets", required: false
17
- argument :applies_to, FeatureInputAppliesToEnum, "The type of object the feature applies to (RootAccount, Account, Course, or User):
15
+ argument :feature, String, "The symbolic name of the feature, used in FeatureFlags.Example: fancy_wickets", required: false
16
+ argument :display_name, String, "The user-visible name of the feature.Example: Fancy Wickets", required: false
17
+ argument :applies_to, FeatureInputAppliesToEnum, "The type of object the feature applies to (RootAccount, Account, Course, or User):
18
18
  * RootAccount features may only be controlled by flags on root accounts.
19
19
  * Account features may be controlled by flags on accounts and their parent accounts.
20
20
  * Course features may be controlled by flags on courses and their parent accounts.
21
21
  * User features may be controlled by flags on users and site admin only..Example: Course", required: false
22
- argument :enable_at, LMSGraphQL::Types::DateTimeType, "The date this feature will be globally enabled, or null if this is not planned. (This information is subject to change.).Example: 2014-01-01T00:00:00Z", required: false
23
- argument :feature_flag, LMSGraphQL::Types::Canvas::CanvasFeatureFlagInput, "The FeatureFlag that applies to the caller.Example: fancy_wickets, allowed", required: false
24
- argument :root_opt_in, Boolean, "If true, a feature that is 'allowed' globally will be 'off' by default in root accounts. Otherwise, root accounts inherit the global 'allowed' setting, which allows sub-accounts and courses to turn features on with no root account action..Example: true", required: false
25
- argument :beta, Boolean, "Whether the feature is a beta feature. If true, the feature may not be fully polished and may be subject to change in the future..Example: true", required: false
26
- argument :pending_enforcement, Boolean, "Whether the feature is nearing completion and will be finalized at an upcoming date..Example: true", required: false
27
- argument :autoexpand, Boolean, "Whether the details of the feature are autoexpanded on page load vs. the user clicking to expand..Example: true", required: false
28
- argument :release_notes_url, String, "A URL to the release notes describing the feature.Example: http://canvas.example.com/release_notes#fancy_wickets", required: false
22
+ argument :feature_flag, LMSGraphQL::Types::Canvas::CanvasFeatureFlagInput, "The FeatureFlag that applies to the caller.Example: fancy_wickets, allowed", required: false
23
+ argument :root_opt_in, Boolean, "If true, a feature that is 'allowed' globally will be 'off' by default in root accounts. Otherwise, root accounts inherit the global 'allowed' setting, which allows sub-accounts and courses to turn features on with no root account action..Example: true", required: false
24
+ argument :beta, Boolean, "Whether the feature is a feature preview. If true, opting in includes ongoing updates outside the regular release schedule..Example: true", required: false
25
+ argument :autoexpand, Boolean, "Whether the details of the feature are autoexpanded on page load vs. the user clicking to expand..Example: true", required: false
26
+ argument :release_notes_url, String, "A URL to the release notes describing the feature.Example: http://canvas.example.com/release_notes#fancy_wickets", required: false
29
27
 
30
28
  end
31
29
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasFederatedAttributeConfigInput < BaseInputObject
8
8
  description "Authentication Providers. API Docs: https://canvas.instructure.com/doc/api/authentication_providers.html"
9
- argument :attribute, String, "The name of the attribute as it will be sent from the authentication provider.Example: mail", required: false
10
- argument :provisioning_only, Boolean, "If the attribute should be applied only when provisioning a new user, rather than all logins.", required: false
9
+ argument :attribute, String, "The name of the attribute as it will be sent from the authentication provider.Example: mail", required: false
10
+ argument :provisioning_only, Boolean, "If the attribute should be applied only when provisioning a new user, rather than all logins.", required: false
11
11
 
12
12
  end
13
13
  end
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasFederatedAttributesConfigInput < BaseInputObject
8
8
  description "Authentication Providers. API Docs: https://canvas.instructure.com/doc/api/authentication_providers.html"
9
- argument :admin_roles, String, "A comma separated list of role names to grant to the user. Note that these only apply at the root account level, and not sub-accounts. If the attribute is not marked for provisioning only, the user will also be removed from any other roles they currently hold that are not still specified by the IdP..", required: false
10
- argument :display_name, String, "The full display name of the user.", required: false
11
- argument :email, String, "The user's e-mail address.", required: false
12
- argument :given_name, String, "The first, or given, name of the user.", required: false
13
- argument :integration_id, ID, "The secondary unique identifier for SIS purposes.", required: false
14
- argument :locale, String, "The user's preferred locale/language.", required: false
15
- argument :name, String, "The full name of the user.", required: false
16
- argument :sis_user_id, ID, "The unique SIS identifier.", required: false
17
- argument :sortable_name, String, "The full name of the user for sorting purposes.", required: false
18
- argument :surname, String, "The surname, or last name, of the user.", required: false
19
- argument :timezone, String, "The user's preferred time zone.", required: false
9
+ argument :admin_roles, String, "A comma separated list of role names to grant to the user. Note that these only apply at the root account level, and not sub-accounts. If the attribute is not marked for provisioning only, the user will also be removed from any other roles they currently hold that are not still specified by the IdP..", required: false
10
+ argument :display_name, String, "The full display name of the user.", required: false
11
+ argument :email, String, "The user's e-mail address.", required: false
12
+ argument :given_name, String, "The first, or given, name of the user.", required: false
13
+ argument :integration_id, ID, "The secondary unique identifier for SIS purposes.", required: false
14
+ argument :locale, String, "The user's preferred locale/language.", required: false
15
+ argument :name, String, "The full name of the user.", required: false
16
+ argument :sis_user_id, ID, "The unique SIS identifier.", required: false
17
+ argument :sortable_name, String, "The full name of the user for sorting purposes.", required: false
18
+ argument :surname, String, "The surname, or last name, of the user.", required: false
19
+ argument :timezone, String, "The user's preferred time zone.", required: false
20
20
 
21
21
  end
22
22
  end
@@ -11,8 +11,8 @@ module LMSGraphQL
11
11
  field :url, String, "Example: http://www.example.com/files/569/download?download_frd=1&verifier=c6HdZmxOZa0Fiin2cbvZeI8I5ry7yqD7RChQzb6P", null: true
12
12
  field :id, ID, "Example: 569", null: true
13
13
  field :display_name, String, "Example: file.txt", null: true
14
- field :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", null: true
15
- field :updated_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", null: true
14
+ field :created_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", null: true
15
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", null: true
16
16
 
17
17
  end
18
18
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasFileAttachmentInput < BaseInputObject
8
8
  description "Discussion Topics. API Docs: https://canvas.instructure.com/doc/api/discussion_topics.html"
9
- argument :content_type, String, "Example: unknown/unknown", required: false
10
- argument :url, String, "Example: http://www.example.com/courses/1/files/1/download", required: false
11
- argument :filename, String, "Example: content.txt", required: false
12
- argument :display_name, String, "Example: content.txt", required: false
9
+ argument :content_type, String, "Example: unknown/unknown", required: false
10
+ argument :url, String, "Example: http://www.example.com/courses/1/files/1/download", required: false
11
+ argument :filename, String, "Example: content.txt", required: false
12
+ argument :display_name, String, "Example: content.txt", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,13 +6,13 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasFileInput < BaseInputObject
8
8
  description "Plagiarism Detection Submissions. API Docs: https://canvas.instructure.com/doc/api/plagiarism_detection_submissions.html"
9
- argument :size, Int, "Example: 4", required: false
10
- argument :content_type, String, "Example: text/plain", required: false
11
- argument :url, String, "Example: http://www.example.com/files/569/download?download_frd=1&verifier=c6HdZmxOZa0Fiin2cbvZeI8I5ry7yqD7RChQzb6P", required: false
12
- argument :id, ID, "Example: 569", required: false
13
- argument :display_name, String, "Example: file.txt", required: false
14
- argument :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", required: false
15
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", required: false
9
+ argument :size, Int, "Example: 4", required: false
10
+ argument :content_type, String, "Example: text/plain", required: false
11
+ argument :url, String, "Example: http://www.example.com/files/569/download?download_frd=1&verifier=c6HdZmxOZa0Fiin2cbvZeI8I5ry7yqD7RChQzb6P", required: false
12
+ argument :id, ID, "Example: 569", required: false
13
+ argument :display_name, String, "Example: file.txt", required: false
14
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", required: false
15
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", required: false
16
16
 
17
17
  end
18
18
  end
@@ -10,17 +10,17 @@ module LMSGraphQL
10
10
  field :context_id, ID, "Example: 1401", null: true
11
11
  field :files_count, Int, "Example: 0", null: true
12
12
  field :position, Int, "Example: 3", null: true
13
- field :updated_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", null: true
13
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", null: true
14
14
  field :folders_url, String, "Example: https://www.example.com/api/v1/folders/2937/folders", null: true
15
15
  field :files_url, String, "Example: https://www.example.com/api/v1/folders/2937/files", null: true
16
16
  field :full_name, String, "Example: course files/11folder", null: true
17
- field :lock_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", null: true
17
+ field :lock_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", null: true
18
18
  field :id, ID, "Example: 2937", null: true
19
19
  field :folders_count, Int, "Example: 0", null: true
20
20
  field :name, String, "Example: 11folder", null: true
21
21
  field :parent_folder_id, ID, "Example: 2934", null: true
22
- field :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", null: true
23
- field :unlock_at, LMSGraphQL::Types::DateTimeType, "", null: true
22
+ field :created_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", null: true
23
+ field :unlock_at, GraphQL::Types::ISO8601DateTime, "", null: true
24
24
  field :hidden, Boolean, "", null: true
25
25
  field :hidden_for_user, Boolean, "", null: true
26
26
  field :locked, Boolean, "Example: true", null: true
@@ -6,26 +6,26 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasFolderInput < BaseInputObject
8
8
  description "Files. API Docs: https://canvas.instructure.com/doc/api/files.html"
9
- argument :context_type, String, "Example: Course", required: false
10
- argument :context_id, ID, "Example: 1401", required: false
11
- argument :files_count, Int, "Example: 0", required: false
12
- argument :position, Int, "Example: 3", required: false
13
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", required: false
14
- argument :folders_url, String, "Example: https://www.example.com/api/v1/folders/2937/folders", required: false
15
- argument :files_url, String, "Example: https://www.example.com/api/v1/folders/2937/files", required: false
16
- argument :full_name, String, "Example: course files/11folder", required: false
17
- argument :lock_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", required: false
18
- argument :id, ID, "Example: 2937", required: false
19
- argument :folders_count, Int, "Example: 0", required: false
20
- argument :name, String, "Example: 11folder", required: false
21
- argument :parent_folder_id, ID, "Example: 2934", required: false
22
- argument :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-07-06T14:58:50Z", required: false
23
- argument :unlock_at, LMSGraphQL::Types::DateTimeType, "", required: false
24
- argument :hidden, Boolean, "", required: false
25
- argument :hidden_for_user, Boolean, "", required: false
26
- argument :locked, Boolean, "Example: true", required: false
27
- argument :locked_for_user, Boolean, "", required: false
28
- argument :for_submissions, Boolean, "If true, indicates this is a read-only folder containing files submitted to assignments.", required: false
9
+ argument :context_type, String, "Example: Course", required: false
10
+ argument :context_id, ID, "Example: 1401", required: false
11
+ argument :files_count, Int, "Example: 0", required: false
12
+ argument :position, Int, "Example: 3", required: false
13
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", required: false
14
+ argument :folders_url, String, "Example: https://www.example.com/api/v1/folders/2937/folders", required: false
15
+ argument :files_url, String, "Example: https://www.example.com/api/v1/folders/2937/files", required: false
16
+ argument :full_name, String, "Example: course files/11folder", required: false
17
+ argument :lock_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", required: false
18
+ argument :id, ID, "Example: 2937", required: false
19
+ argument :folders_count, Int, "Example: 0", required: false
20
+ argument :name, String, "Example: 11folder", required: false
21
+ argument :parent_folder_id, ID, "Example: 2934", required: false
22
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-07-06T14:58:50Z", required: false
23
+ argument :unlock_at, GraphQL::Types::ISO8601DateTime, "", required: false
24
+ argument :hidden, Boolean, "", required: false
25
+ argument :hidden_for_user, Boolean, "", required: false
26
+ argument :locked, Boolean, "Example: true", required: false
27
+ argument :locked_for_user, Boolean, "", required: false
28
+ argument :for_submissions, Boolean, "If true, indicates this is a read-only folder containing files submitted to assignments.", required: false
29
29
 
30
30
  end
31
31
  end
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  class CanvasGradeChangeEvent < BaseType
8
8
  description "Grade Change Log. API Docs: https://canvas.instructure.com/doc/api/grade_change_log.html"
9
9
  field :id, ID, "ID of the event..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", null: true
10
- field :created_at, LMSGraphQL::Types::DateTimeType, "timestamp of the event.Example: 2012-07-19T15:00:00-06:00", null: true
10
+ field :created_at, GraphQL::Types::ISO8601DateTime, "timestamp of the event.Example: 2012-07-19T15:00:00-06:00", null: true
11
11
  field :event_type, String, "GradeChange event type.Example: grade_change", null: true
12
12
  field :excused_after, Boolean, "Boolean indicating whether the submission was excused after the change..Example: true", null: true
13
13
  field :excused_before, Boolean, "Boolean indicating whether the submission was excused before the change..", null: true
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradeChangeEventInput < BaseInputObject
8
8
  description "Grade Change Log. API Docs: https://canvas.instructure.com/doc/api/grade_change_log.html"
9
- argument :id, ID, "ID of the event..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
10
- argument :created_at, LMSGraphQL::Types::DateTimeType, "timestamp of the event.Example: 2012-07-19T15:00:00-06:00", required: false
11
- argument :event_type, String, "GradeChange event type.Example: grade_change", required: false
12
- argument :excused_after, Boolean, "Boolean indicating whether the submission was excused after the change..Example: true", required: false
13
- argument :excused_before, Boolean, "Boolean indicating whether the submission was excused before the change..", required: false
14
- argument :grade_after, String, "The grade after the change..Example: 8", required: false
15
- argument :grade_before, String, "The grade before the change..Example: 8", required: false
16
- argument :graded_anonymously, Boolean, "Boolean indicating whether the student name was visible when the grade was given. Could be null if the grade change record was created before this feature existed..Example: true", required: false
17
- argument :version_number, String, "Version Number of the grade change submission..Example: 1", required: false
18
- argument :request_id, ID, "The unique request id of the request during the grade change..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
19
- argument :links, LMSGraphQL::Types::Canvas::CanvasGradeChangeEventLinkInput, "", required: false
9
+ argument :id, ID, "ID of the event..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
10
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "timestamp of the event.Example: 2012-07-19T15:00:00-06:00", required: false
11
+ argument :event_type, String, "GradeChange event type.Example: grade_change", required: false
12
+ argument :excused_after, Boolean, "Boolean indicating whether the submission was excused after the change..Example: true", required: false
13
+ argument :excused_before, Boolean, "Boolean indicating whether the submission was excused before the change..", required: false
14
+ argument :grade_after, String, "The grade after the change..Example: 8", required: false
15
+ argument :grade_before, String, "The grade before the change..Example: 8", required: false
16
+ argument :graded_anonymously, Boolean, "Boolean indicating whether the student name was visible when the grade was given. Could be null if the grade change record was created before this feature existed..Example: true", required: false
17
+ argument :version_number, String, "Version Number of the grade change submission..Example: 1", required: false
18
+ argument :request_id, ID, "The unique request id of the request during the grade change..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
19
+ argument :links, LMSGraphQL::Types::Canvas::CanvasGradeChangeEventLinkInput, "", required: false
20
20
 
21
21
  end
22
22
  end
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradeChangeEventLinkInput < BaseInputObject
8
8
  description "Grade Change Log. API Docs: https://canvas.instructure.com/doc/api/grade_change_log.html"
9
- argument :assignment, Int, "ID of the assignment associated with the event.Example: 2319", required: false
10
- argument :course, Int, "ID of the course associated with the event. will match the context_id in the associated assignment if the context type for the assignment is a course.Example: 2319", required: false
11
- argument :student, Int, "ID of the student associated with the event. will match the user_id in the associated submission..Example: 2319", required: false
12
- argument :grader, Int, "ID of the grader associated with the event. will match the grader_id in the associated submission..Example: 2319", required: false
13
- argument :page_view, String, "ID of the page view during the event if it exists..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
9
+ argument :assignment, Int, "ID of the assignment associated with the event.Example: 2319", required: false
10
+ argument :course, Int, "ID of the course associated with the event. will match the context_id in the associated assignment if the context type for the assignment is a course.Example: 2319", required: false
11
+ argument :student, Int, "ID of the student associated with the event. will match the user_id in the associated submission..Example: 2319", required: false
12
+ argument :grader, Int, "ID of the grader associated with the event. will match the grader_id in the associated submission..Example: 2319", required: false
13
+ argument :page_view, String, "ID of the page view during the event if it exists..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
14
14
 
15
15
  end
16
16
  end
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradeInput < BaseInputObject
8
8
  description "Enrollments. API Docs: https://canvas.instructure.com/doc/api/enrollments.html"
9
- argument :html_url, String, "The URL to the Canvas web UI page for the user's grades, if this is a student enrollment..", required: false
10
- argument :current_grade, String, "The user's current grade in the class. Only included if user has permissions to view this grade..", required: false
11
- argument :final_grade, String, "The user's final grade for the class. Only included if user has permissions to view this grade..", required: false
12
- argument :current_score, String, "The user's current score in the class. Only included if user has permissions to view this score..", required: false
13
- argument :final_score, String, "The user's final score for the class. Only included if user has permissions to view this score..", required: false
14
- argument :current_points, Int, "The total points the user has earned in the class. Only included if user has permissions to view this score and 'current_points' is passed in the request's 'include' parameter..Example: 150", required: false
15
- 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
16
- 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
17
- 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
18
- 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
19
- argument :unposted_current_points, Int, "The total points the user has earned in the class, including muted/unposted assignments. Only included if user has permissions to view this score (typically teachers, TAs, and admins) and 'current_points' is passed in the request's 'include' parameter..Example: 150", required: false
9
+ argument :html_url, String, "The URL to the Canvas web UI page for the user's grades, if this is a student enrollment..", required: false
10
+ argument :current_grade, String, "The user's current grade in the class. Only included if user has permissions to view this grade..", required: false
11
+ argument :final_grade, String, "The user's final grade for the class. Only included if user has permissions to view this grade..", required: false
12
+ argument :current_score, String, "The user's current score in the class. Only included if user has permissions to view this score..", required: false
13
+ argument :final_score, String, "The user's final score for the class. Only included if user has permissions to view this score..", required: false
14
+ argument :current_points, Int, "The total points the user has earned in the class. Only included if user has permissions to view this score and 'current_points' is passed in the request's 'include' parameter..Example: 150", required: false
15
+ 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
16
+ 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
17
+ 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
18
+ 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
19
+ argument :unposted_current_points, Int, "The total points the user has earned in the class, including muted/unposted assignments. Only included if user has permissions to view this score (typically teachers, TAs, and admins) and 'current_points' is passed in the request's 'include' parameter..Example: 150", required: false
20
20
 
21
21
  end
22
22
  end
@@ -6,9 +6,9 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGraderInput < BaseInputObject
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- argument :id, ID, "the user_id of the user who graded the contained submissions.Example: 27", required: false
10
- argument :name, String, "the name of the user who graded the contained submissions.Example: Some User", required: false
11
- argument :assignments, [Int], "the assignment groups for all submissions in this response that were graded by this user. The details are not nested inside here, but the fact that an assignment is present here means that the grader did grade submissions for this assignment on the contextual date. You can use the id of a grader and of an assignment to make another API call to find all submissions for a grader/assignment combination on a given date..Example: 1, 2, 3", required: false
9
+ argument :id, ID, "the user_id of the user who graded the contained submissions.Example: 27", required: false
10
+ argument :name, String, "the name of the user who graded the contained submissions.Example: Some User", required: false
11
+ argument :assignments, [Int], "the assignment groups for all submissions in this response that were graded by this user. The details are not nested inside here, but the fact that an assignment is present here means that the grader did grade submissions for this assignment on the contextual date. You can use the id of a grader and of an assignment to make another API call to find all submissions for a grader/assignment combination on a given date..Example: 1, 2, 3", required: false
12
12
 
13
13
  end
14
14
  end
@@ -6,13 +6,13 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradingPeriodInput < BaseInputObject
8
8
  description "Grading Periods. API Docs: https://canvas.instructure.com/doc/api/grading_periods.html"
9
- argument :id, ID, "The unique identifier for the grading period..Example: 1023", required: false
10
- argument :title, String, "The title for the grading period..Example: First Block", required: false
11
- argument :start_date, String, "The start date of the grading period..Example: 2014-01-07T15:04:00Z", required: false
12
- argument :end_date, String, "The end date of the grading period..Example: 2014-05-07T17:07:00Z", required: false
13
- argument :close_date, String, "Grades can only be changed before the close date of the grading period..Example: 2014-06-07T17:07:00Z", required: false
14
- argument :weight, Int, "A weight value that contributes to the overall weight of a grading period set which is used to calculate how much assignments in this period contribute to the total grade.Example: 33.33", required: false
15
- argument :is_closed, Boolean, "If true, the grading period's close_date has passed..Example: true", required: false
9
+ argument :id, ID, "The unique identifier for the grading period..Example: 1023", required: false
10
+ argument :title, String, "The title for the grading period..Example: First Block", required: false
11
+ argument :start_date, String, "The start date of the grading period..Example: 2014-01-07T15:04:00Z", required: false
12
+ argument :end_date, String, "The end date of the grading period..Example: 2014-05-07T17:07:00Z", required: false
13
+ argument :close_date, String, "Grades can only be changed before the close date of the grading period..Example: 2014-06-07T17:07:00Z", required: false
14
+ argument :weight, Int, "A weight value that contributes to the overall weight of a grading period set which is used to calculate how much assignments in this period contribute to the total grade.Example: 33.33", required: false
15
+ argument :is_closed, Boolean, "If true, the grading period's close_date has passed..Example: true", required: false
16
16
 
17
17
  end
18
18
  end
@@ -6,9 +6,9 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradingRuleInput < BaseInputObject
8
8
  description "Assignment Groups. API Docs: https://canvas.instructure.com/doc/api/assignment_groups.html"
9
- argument :drop_lowest, Int, "Number of lowest scores to be dropped for each user..Example: 1", required: false
10
- argument :drop_highest, Int, "Number of highest scores to be dropped for each user..Example: 1", required: false
11
- argument :never_drop, [Int], "Assignment IDs that should never be dropped..Example: 33, 17, 24", required: false
9
+ argument :drop_lowest, Int, "Number of lowest scores to be dropped for each user..Example: 1", required: false
10
+ argument :drop_highest, Int, "Number of highest scores to be dropped for each user..Example: 1", required: false
11
+ argument :never_drop, [Int], "Assignment IDs that should never be dropped..Example: 33, 17, 24", required: false
12
12
 
13
13
  end
14
14
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradingSchemeEntryInput < BaseInputObject
8
8
  description "Grading Standards. API Docs: https://canvas.instructure.com/doc/api/grading_standards.html"
9
- argument :name, String, "The name for an entry value within a GradingStandard that describes the range of the value.Example: A", required: false
10
- argument :value, Int, "The value for the name of the entry within a GradingStandard. The entry represents the lower bound of the range for the entry. This range includes the value up to the next entry in the GradingStandard, or 100 if there is no upper bound. The lowest value will have a lower bound range of 0..Example: 0.9", required: false
9
+ argument :name, String, "The name for an entry value within a GradingStandard that describes the range of the value.Example: A", required: false
10
+ argument :value, Int, "The value for the name of the entry within a GradingStandard. The entry represents the lower bound of the range for the entry. This range includes the value up to the next entry in the GradingStandard, or 100 if there is no upper bound. The lowest value will have a lower bound range of 0..Example: 0.9", required: false
11
11
 
12
12
  end
13
13
  end
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasGradingStandardInput < BaseInputObject
8
8
  description "Grading Standards. API Docs: https://canvas.instructure.com/doc/api/grading_standards.html"
9
- argument :title, String, "the title of the grading standard.Example: Account Standard", required: false
10
- argument :id, ID, "the id of the grading standard.Example: 1", required: false
11
- argument :context_type, String, "the context this standard is associated with, either 'Account' or 'Course'.Example: Account", required: false
12
- argument :context_id, ID, "the id for the context either the Account or Course id.Example: 1", required: false
13
- argument :grading_scheme, [LMSGraphQL::Types::Canvas::CanvasGradingSchemeEntryInput], "A list of GradingSchemeEntry that make up the Grading Standard as an array of values with the scheme name and value.Example: {'name'=>'A', 'value'=>0.9}, {'name'=>'B', 'value'=>0.8}, {'name'=>'C', 'value'=>0.7}, {'name'=>'D', 'value'=>0.6}", required: false
9
+ argument :title, String, "the title of the grading standard.Example: Account Standard", required: false
10
+ argument :id, ID, "the id of the grading standard.Example: 1", required: false
11
+ argument :context_type, String, "the context this standard is associated with, either 'Account' or 'Course'.Example: Account", required: false
12
+ argument :context_id, ID, "the id for the context either the Account or Course id.Example: 1", required: false
13
+ argument :grading_scheme, [LMSGraphQL::Types::Canvas::CanvasGradingSchemeEntryInput], "A list of GradingSchemeEntry that make up the Grading Standard as an array of values with the scheme name and value.Example: {'name'=>'A', 'value'=>0.9}, {'name'=>'B', 'value'=>0.8}, {'name'=>'C', 'value'=>0.7}, {'name'=>'D', 'value'=>0.6}", required: false
14
14
 
15
15
  end
16
16
  end
@@ -15,17 +15,17 @@ module LMSGraphQL
15
15
  value "random"
16
16
  end
17
17
  description "Group Categories. API Docs: https://canvas.instructure.com/doc/api/group_categories.html"
18
- argument :id, ID, "The ID of the group category..Example: 17", required: false
19
- argument :name, String, "The display name of the group category..Example: Math Groups", required: false
20
- argument :role, String, "Certain types of group categories have special role designations. Currently, these include: 'communities', 'student_organized', and 'imported'. Regular course/account group categories have a role of null..Example: communities", required: false
21
- argument :self_signup, GroupCategoryInputSelfSignupEnum, "If the group category allows users to join a group themselves, thought they may only be a member of one group per group category at a time. Values include 'restricted', 'enabled', and null 'enabled' allows students to assign themselves to a group 'restricted' restricts them to only joining a group in their section null disallows students from joining groups.", required: false
22
- argument :auto_leader, GroupCategoryInputAutoLeaderEnum, "Gives instructors the ability to automatically have group leaders assigned. Values include 'random', 'first', and null; 'random' picks a student from the group at random as the leader, 'first' sets the first student to be assigned to the group as the leader.", required: false
23
- argument :context_type, String, "The course or account that the category group belongs to. The pattern here is that whatever the context_type is, there will be an _id field named after that type. So if instead context_type was 'Course', the course_id field would be replaced by an course_id field..Example: Account", required: false
24
- argument :account_id, ID, "Example: 3", required: false
25
- argument :group_limit, Int, "If self-signup is enabled, group_limit can be set to cap the number of users in each group. If null, there is no limit..", required: false
26
- argument :sis_group_category_id, ID, "The SIS identifier for the group category. This field is only included if the user has permission to manage or view SIS information..", required: false
27
- 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..", required: false
28
- argument :progress, LMSGraphQL::Types::Canvas::CanvasProgressInput, "If the group category has not yet finished a randomly student assignment request, a progress object will be attached, which will contain information related to the progress of the assignment request. Refer to the Progress API for more information.", required: false
18
+ argument :id, ID, "The ID of the group category..Example: 17", required: false
19
+ argument :name, String, "The display name of the group category..Example: Math Groups", required: false
20
+ argument :role, String, "Certain types of group categories have special role designations. Currently, these include: 'communities', 'student_organized', and 'imported'. Regular course/account group categories have a role of null..Example: communities", required: false
21
+ argument :self_signup, GroupCategoryInputSelfSignupEnum, "If the group category allows users to join a group themselves, thought they may only be a member of one group per group category at a time. Values include 'restricted', 'enabled', and null 'enabled' allows students to assign themselves to a group 'restricted' restricts them to only joining a group in their section null disallows students from joining groups.", required: false
22
+ argument :auto_leader, GroupCategoryInputAutoLeaderEnum, "Gives instructors the ability to automatically have group leaders assigned. Values include 'random', 'first', and null; 'random' picks a student from the group at random as the leader, 'first' sets the first student to be assigned to the group as the leader.", required: false
23
+ argument :context_type, String, "The course or account that the category group belongs to. The pattern here is that whatever the context_type is, there will be an _id field named after that type. So if instead context_type was 'Course', the course_id field would be replaced by an course_id field..Example: Account", required: false
24
+ argument :account_id, ID, "Example: 3", required: false
25
+ argument :group_limit, Int, "If self-signup is enabled, group_limit can be set to cap the number of users in each group. If null, there is no limit..", required: false
26
+ argument :sis_group_category_id, ID, "The SIS identifier for the group category. This field is only included if the user has permission to manage or view SIS information..", required: false
27
+ 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..", required: false
28
+ argument :progress, LMSGraphQL::Types::Canvas::CanvasProgressInput, "If the group category has not yet finished a randomly student assignment request, a progress object will be attached, which will contain information related to the progress of the assignment request. Refer to the Progress API for more information.", required: false
29
29
 
30
30
  end
31
31
  end
@@ -17,23 +17,23 @@ module LMSGraphQL
17
17
  value "imported"
18
18
  end
19
19
  description "Groups. API Docs: https://canvas.instructure.com/doc/api/groups.html"
20
- argument :id, ID, "The ID of the group..Example: 17", required: false
21
- argument :name, String, "The display name of the group..Example: Math Group 1", required: false
22
- argument :description, String, "A description of the group. This is plain text..", required: false
23
- argument :is_public, Boolean, "Whether or not the group is public. Currently only community groups can be made public. Also, once a group has been set to public, it cannot be changed back to private..", required: false
24
- argument :followed_by_user, Boolean, "Whether or not the current user is following this group..", required: false
25
- argument :join_level, GroupInputJoinLevelEnum, "How people are allowed to join the group. For all groups except for community groups, the user must share the group's parent course or account. For student organized or community groups, where a user can be a member of as many or few as they want, the applicable levels are 'parent_context_auto_join', 'parent_context_request', and 'invitation_only'. For class groups, where students are divided up and should only be part of one group of the category, this value will always be 'invitation_only', and is not relevant. * If 'parent_context_auto_join', anyone can join and will be automatically accepted. * If 'parent_context_request', anyone can request to join, which must be approved by a group moderator. * If 'invitation_only', only those how have received an invitation my join the group, by accepting that invitation..Example: invitation_only", required: false
26
- argument :members_count, Int, "The number of members currently in the group.Example: 0", required: false
27
- argument :avatar_url, String, "The url of the group's avatar.Example: https://<canvas>/files/avatar_image.png", required: false
28
- argument :context_type, String, "The course or account that the group belongs to. The pattern here is that whatever the context_type is, there will be an _id field named after that type. So if instead context_type was 'account', the course_id field would be replaced by an account_id field..Example: Course", required: false
29
- argument :course_id, ID, "Example: 3", required: false
30
- argument :role, GroupInputRoleEnum, "Certain types of groups have special role designations. Currently, these include: 'communities', 'student_organized', and 'imported'. Regular course/account groups have a role of null..", required: false
31
- argument :group_category_id, ID, "The ID of the group's category..Example: 4", required: false
32
- argument :sis_group_id, ID, "The SIS ID of the group. Only included if the user has permission to view SIS information..Example: group4a", required: false
33
- argument :sis_import_id, ID, "The id of the SIS import if created through SIS. Only included if the user has permission to manage SIS information..Example: 14", required: false
34
- argument :storage_quota_mb, Int, "the storage quota for the group, in megabytes.Example: 50", required: false
35
- argument :permissions, String, "optional: the permissions the user has for the group. returned only for a single group and include[]=permissions.Example: true, true", required: false
36
- argument :users, [LMSGraphQL::Types::Canvas::CanvasUserInput], "optional: A list of users that are members in the group. Returned only if include[]=users. WARNING: this collection's size is capped (if there are an extremely large number of users in the group (thousands) not all of them will be returned). If you need to capture all the users in a group with certainty consider using the paginated /api/v1/groups/<group_id>/memberships endpoint..", required: false
20
+ argument :id, ID, "The ID of the group..Example: 17", required: false
21
+ argument :name, String, "The display name of the group..Example: Math Group 1", required: false
22
+ argument :description, String, "A description of the group. This is plain text..", required: false
23
+ argument :is_public, Boolean, "Whether or not the group is public. Currently only community groups can be made public. Also, once a group has been set to public, it cannot be changed back to private..", required: false
24
+ argument :followed_by_user, Boolean, "Whether or not the current user is following this group..", required: false
25
+ argument :join_level, GroupInputJoinLevelEnum, "How people are allowed to join the group. For all groups except for community groups, the user must share the group's parent course or account. For student organized or community groups, where a user can be a member of as many or few as they want, the applicable levels are 'parent_context_auto_join', 'parent_context_request', and 'invitation_only'. For class groups, where students are divided up and should only be part of one group of the category, this value will always be 'invitation_only', and is not relevant. * If 'parent_context_auto_join', anyone can join and will be automatically accepted. * If 'parent_context_request', anyone can request to join, which must be approved by a group moderator. * If 'invitation_only', only those how have received an invitation my join the group, by accepting that invitation..Example: invitation_only", required: false
26
+ argument :members_count, Int, "The number of members currently in the group.Example: 0", required: false
27
+ argument :avatar_url, String, "The url of the group's avatar.Example: https://<canvas>/files/avatar_image.png", required: false
28
+ argument :context_type, String, "The course or account that the group belongs to. The pattern here is that whatever the context_type is, there will be an _id field named after that type. So if instead context_type was 'account', the course_id field would be replaced by an account_id field..Example: Course", required: false
29
+ argument :course_id, ID, "Example: 3", required: false
30
+ argument :role, GroupInputRoleEnum, "Certain types of groups have special role designations. Currently, these include: 'communities', 'student_organized', and 'imported'. Regular course/account groups have a role of null..", required: false
31
+ argument :group_category_id, ID, "The ID of the group's category..Example: 4", required: false
32
+ argument :sis_group_id, ID, "The SIS ID of the group. Only included if the user has permission to view SIS information..Example: group4a", required: false
33
+ argument :sis_import_id, ID, "The id of the SIS import if created through SIS. Only included if the user has permission to manage SIS information..Example: 14", required: false
34
+ argument :storage_quota_mb, Int, "the storage quota for the group, in megabytes.Example: 50", required: false
35
+ argument :permissions, String, "optional: the permissions the user has for the group. returned only for a single group and include[]=permissions.Example: true, true", required: false
36
+ argument :users, [LMSGraphQL::Types::Canvas::CanvasUserInput], "optional: A list of users that are members in the group. Returned only if include[]=users. WARNING: this collection's size is capped (if there are an extremely large number of users in the group (thousands) not all of them will be returned). If you need to capture all the users in a group with certainty consider using the paginated /api/v1/groups/<group_id>/memberships endpoint..", required: false
37
37
 
38
38
  end
39
39
  end
@@ -11,13 +11,13 @@ module LMSGraphQL
11
11
  value "requested"
12
12
  end
13
13
  description "Groups. API Docs: https://canvas.instructure.com/doc/api/groups.html"
14
- argument :id, ID, "The id of the membership object.Example: 92", required: false
15
- argument :group_id, ID, "The id of the group object to which the membership belongs.Example: 17", required: false
16
- argument :user_id, ID, "The id of the user object to which the membership belongs.Example: 3", required: false
17
- argument :workflow_state, GroupMembershipInputWorkflowStateEnum, "The current state of the membership. Current possible values are 'accepted', 'invited', and 'requested'.Example: accepted", required: false
18
- argument :moderator, Boolean, "Whether or not the user is a moderator of the group (the must also be an active member of the group to moderate).Example: true", required: false
19
- argument :just_created, Boolean, "optional: whether or not the record was just created on a create call (POST), i.e. was the user just added to the group, or was the user already a member.Example: true", required: false
20
- argument :sis_import_id, ID, "The id of the SIS import if created through SIS. Only included if the user has permission to manage SIS information..Example: 4", required: false
14
+ argument :id, ID, "The id of the membership object.Example: 92", required: false
15
+ argument :group_id, ID, "The id of the group object to which the membership belongs.Example: 17", required: false
16
+ argument :user_id, ID, "The id of the user object to which the membership belongs.Example: 3", required: false
17
+ argument :workflow_state, GroupMembershipInputWorkflowStateEnum, "The current state of the membership. Current possible values are 'accepted', 'invited', and 'requested'.Example: accepted", required: false
18
+ argument :moderator, Boolean, "Whether or not the user is a moderator of the group (the must also be an active member of the group to moderate).Example: true", required: false
19
+ argument :just_created, Boolean, "optional: whether or not the record was just created on a create call (POST), i.e. was the user just added to the group, or was the user already a member.Example: true", required: false
20
+ argument :sis_import_id, ID, "The id of the SIS import if created through SIS. Only included if the user has permission to manage SIS information..Example: 4", required: false
21
21
 
22
22
  end
23
23
  end
@@ -7,10 +7,10 @@ module LMSGraphQL
7
7
  module Canvas
8
8
  class CanvasHelpLinkInput < BaseInputObject
9
9
  description "Accounts. API Docs: https://canvas.instructure.com/doc/api/accounts.html"
10
- argument :help_link_name, String, "Help link button title.Example: Help And Policies", required: false
11
- argument :help_link_icon, String, "Help link button icon.Example: help", required: false
12
- argument :custom_help_links, [LMSGraphQL::Types::Canvas::CanvasHelpLinkInput], "Help links defined by the account. Could include default help links..Example: {'id'=>'link1', 'text'=>'Custom Link!', 'subtext'=>'Something something.', 'url'=>'https://google.com', 'type'=>'custom', 'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'is_featured'=>true, 'is_new'=>false, 'feature_headline'=>'Check this out!'}", required: false
13
- argument :default_help_links, [LMSGraphQL::Types::Canvas::CanvasHelpLinkInput], "Default help links provided when account has not set help links of their own..Example: {'available_to'=>['student'], 'text'=>'Ask Your Instructor a Question', 'subtext'=>'Questions are submitted to your instructor', 'url'=>'#teacher_feedback', 'type'=>'default', 'id'=>'instructor_question', 'is_featured'=>false, 'is_new'=>true, 'feature_headline'=>''}, {'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'text'=>'Search the Canvas Guides', 'subtext'=>'Find answers to common questions', 'url'=>'https://community.canvaslms.com/t5/Guides/ct-p/guides', 'type'=>'default', 'id'=>'search_the_canvas_guides', 'is_featured'=>false, 'is_new'=>false, 'feature_headline'=>''}, {'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'text'=>'Report a Problem', 'subtext'=>'If Canvas misbehaves, tell us about it', 'url'=>'#create_ticket', 'type'=>'default', 'id'=>'report_a_problem', 'is_featured'=>false, 'is_new'=>false, 'feature_headline'=>''}", required: false
10
+ argument :help_link_name, String, "Help link button title.Example: Help And Policies", required: false
11
+ argument :help_link_icon, String, "Help link button icon.Example: help", required: false
12
+ argument :custom_help_links, [LMSGraphQL::Types::Canvas::CanvasHelpLinkInput], "Help links defined by the account. Could include default help links..Example: {'id'=>'link1', 'text'=>'Custom Link!', 'subtext'=>'Something something.', 'url'=>'https://google.com', 'type'=>'custom', 'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'is_featured'=>true, 'is_new'=>false, 'feature_headline'=>'Check this out!'}", required: false
13
+ argument :default_help_links, [LMSGraphQL::Types::Canvas::CanvasHelpLinkInput], "Default help links provided when account has not set help links of their own..Example: {'available_to'=>['student'], 'text'=>'Ask Your Instructor a Question', 'subtext'=>'Questions are submitted to your instructor', 'url'=>'#teacher_feedback', 'type'=>'default', 'id'=>'instructor_question', 'is_featured'=>false, 'is_new'=>true, 'feature_headline'=>''}, {'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'text'=>'Search the Canvas Guides', 'subtext'=>'Find answers to common questions', 'url'=>'https://community.canvaslms.com/t5/Guides/ct-p/guides', 'type'=>'default', 'id'=>'search_the_canvas_guides', 'is_featured'=>false, 'is_new'=>false, 'feature_headline'=>''}, {'available_to'=>['user', 'student', 'teacher', 'admin', 'observer', 'unenrolled'], 'text'=>'Report a Problem', 'subtext'=>'If Canvas misbehaves, tell us about it', 'url'=>'#create_ticket', 'type'=>'default', 'id'=>'report_a_problem', 'is_featured'=>false, 'is_new'=>false, 'feature_headline'=>''}", required: false
14
14
 
15
15
  end
16
16
  end