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
@@ -14,17 +14,17 @@ module LMSGraphQL
14
14
  value "failed"
15
15
  end
16
16
  description "Content Migrations. API Docs: https://canvas.instructure.com/doc/api/content_migrations.html"
17
- argument :id, ID, "the unique identifier for the migration.Example: 370663", required: false
18
- argument :migration_type, String, "the type of content migration.Example: common_cartridge_importer", required: false
19
- argument :migration_type_title, String, "the name of the content migration type.Example: Canvas Cartridge Importer", required: false
20
- argument :migration_issues_url, String, "API url to the content migration's issues.Example: https://example.com/api/v1/courses/1/content_migrations/1/migration_issues", required: false
21
- argument :attachment, String, "attachment api object for the uploaded file may not be present for all migrations.Example: {'url'=>'https://example.com/api/v1/courses/1/content_migrations/1/download_archive'}", required: false
22
- argument :progress_url, String, "The api endpoint for polling the current progress.Example: https://example.com/api/v1/progress/4", required: false
23
- argument :user_id, ID, "The user who started the migration.Example: 4", required: false
24
- argument :workflow_state, ContentMigrationInputWorkflowStateEnum, "Current state of the content migration: pre_processing, pre_processed, running, waiting_for_select, completed, failed.Example: running", required: false
25
- argument :started_at, LMSGraphQL::Types::DateTimeType, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
26
- argument :finished_at, LMSGraphQL::Types::DateTimeType, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
27
- argument :pre_attachment, String, "file uploading data, see {file:file_uploads.html File Upload Documentation} for file upload workflow This works a little differently in that all the file data is in the pre_attachment hash if there is no upload_url then there was an attachment pre-processing error, the error message will be in the message key This data will only be here after a create or update call.Example: {'upload_url'=>'', 'message'=>'file exceeded quota', 'upload_params'=>{}}", required: false
17
+ argument :id, ID, "the unique identifier for the migration.Example: 370663", required: false
18
+ argument :migration_type, String, "the type of content migration.Example: common_cartridge_importer", required: false
19
+ argument :migration_type_title, String, "the name of the content migration type.Example: Canvas Cartridge Importer", required: false
20
+ argument :migration_issues_url, String, "API url to the content migration's issues.Example: https://example.com/api/v1/courses/1/content_migrations/1/migration_issues", required: false
21
+ argument :attachment, String, "attachment api object for the uploaded file may not be present for all migrations.Example: {'url'=>'https://example.com/api/v1/courses/1/content_migrations/1/download_archive'}", required: false
22
+ argument :progress_url, String, "The api endpoint for polling the current progress.Example: https://example.com/api/v1/progress/4", required: false
23
+ argument :user_id, ID, "The user who started the migration.Example: 4", required: false
24
+ argument :workflow_state, ContentMigrationInputWorkflowStateEnum, "Current state of the content migration: pre_processing, pre_processed, running, waiting_for_select, completed, failed.Example: running", required: false
25
+ argument :started_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
26
+ argument :finished_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
27
+ argument :pre_attachment, String, "file uploading data, see {file:file_uploads.html File Upload Documentation} for file upload workflow This works a little differently in that all the file data is in the pre_attachment hash if there is no upload_url then there was an attachment pre-processing error, the error message will be in the message key This data will only be here after a create or update call.Example: {'upload_url'=>'', 'message'=>'file exceeded quota', 'upload_params'=>{}}", required: false
28
28
 
29
29
  end
30
30
  end
@@ -9,8 +9,8 @@ module LMSGraphQL
9
9
  field :id, ID, "The id of the content share for the current user.Example: 1", null: true
10
10
  field :name, String, "The name of the shared content.Example: War of 1812 homework", null: true
11
11
  field :content_type, String, "The type of content that was shared. Can be assignment, discussion_topic, page, quiz, module, or module_item..Example: assignment", null: true
12
- field :created_at, LMSGraphQL::Types::DateTimeType, "The datetime the content was shared with this user..Example: 2017-05-09T10:12:00Z", null: true
13
- field :updated_at, LMSGraphQL::Types::DateTimeType, "The datetime the content was updated..Example: 2017-05-09T10:12:00Z", null: true
12
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The datetime the content was shared with this user..Example: 2017-05-09T10:12:00Z", null: true
13
+ field :updated_at, GraphQL::Types::ISO8601DateTime, "The datetime the content was updated..Example: 2017-05-09T10:12:00Z", null: true
14
14
  field :user_id, ID, "The id of the user who sent or received the content share..Example: 1578941", null: true
15
15
  field :sender, String, "The user who shared the content. This field is provided only to receivers; it is not populated in the sender's list of sent content shares..Example: 1, Matilda Vargas, http://localhost:3000/image_url, http://localhost:3000/users/1", null: true
16
16
  field :receivers, [String], "An Array of users the content is shared with. This field is provided only to senders; an empty array will be returned for the receiving users..Example: {'id'=>1, 'display_name'=>'Jon Snow', 'avatar_image_url'=>'http://localhost:3000/image_url2', 'html_url'=>'http://localhost:3000/users/2'}", null: true
@@ -6,17 +6,17 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasContentShareInput < BaseInputObject
8
8
  description "Content Shares. API Docs: https://canvas.instructure.com/doc/api/content_shares.html"
9
- argument :id, ID, "The id of the content share for the current user.Example: 1", required: false
10
- argument :name, String, "The name of the shared content.Example: War of 1812 homework", required: false
11
- argument :content_type, String, "The type of content that was shared. Can be assignment, discussion_topic, page, quiz, module, or module_item..Example: assignment", required: false
12
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The datetime the content was shared with this user..Example: 2017-05-09T10:12:00Z", required: false
13
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "The datetime the content was updated..Example: 2017-05-09T10:12:00Z", required: false
14
- argument :user_id, ID, "The id of the user who sent or received the content share..Example: 1578941", required: false
15
- argument :sender, String, "The user who shared the content. This field is provided only to receivers; it is not populated in the sender's list of sent content shares..Example: 1, Matilda Vargas, http://localhost:3000/image_url, http://localhost:3000/users/1", required: false
16
- argument :receivers, [String], "An Array of users the content is shared with. This field is provided only to senders; an empty array will be returned for the receiving users..Example: {'id'=>1, 'display_name'=>'Jon Snow', 'avatar_image_url'=>'http://localhost:3000/image_url2', 'html_url'=>'http://localhost:3000/users/2'}", required: false
17
- argument :source_course, String, "The course the content was originally shared from..Example: 787, History 105", required: false
18
- argument :read_state, String, "Whether the recipient has viewed the content share..Example: read", required: false
19
- argument :content_export, LMSGraphQL::Types::Canvas::CanvasContentExportInput, "The content export record associated with this content share.Example: 42", required: false
9
+ argument :id, ID, "The id of the content share for the current user.Example: 1", required: false
10
+ argument :name, String, "The name of the shared content.Example: War of 1812 homework", required: false
11
+ argument :content_type, String, "The type of content that was shared. Can be assignment, discussion_topic, page, quiz, module, or module_item..Example: assignment", required: false
12
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "The datetime the content was shared with this user..Example: 2017-05-09T10:12:00Z", required: false
13
+ argument :updated_at, GraphQL::Types::ISO8601DateTime, "The datetime the content was updated..Example: 2017-05-09T10:12:00Z", required: false
14
+ argument :user_id, ID, "The id of the user who sent or received the content share..Example: 1578941", required: false
15
+ argument :sender, String, "The user who shared the content. This field is provided only to receivers; it is not populated in the sender's list of sent content shares..Example: 1, Matilda Vargas, http://localhost:3000/image_url, http://localhost:3000/users/1", required: false
16
+ argument :receivers, [String], "An Array of users the content is shared with. This field is provided only to senders; an empty array will be returned for the receiving users..Example: {'id'=>1, 'display_name'=>'Jon Snow', 'avatar_image_url'=>'http://localhost:3000/image_url2', 'html_url'=>'http://localhost:3000/users/2'}", required: false
17
+ argument :source_course, String, "The course the content was originally shared from..Example: 787, History 105", required: false
18
+ argument :read_state, String, "Whether the recipient has viewed the content share..Example: read", required: false
19
+ argument :content_export, LMSGraphQL::Types::Canvas::CanvasContentExportInput, "The content export record associated with this content share.Example: 42", required: false
20
20
 
21
21
  end
22
22
  end
@@ -10,7 +10,7 @@ module LMSGraphQL
10
10
  field :subject, String, "the subject of the conversation..Example: 2", null: true
11
11
  field :workflow_state, String, "The current state of the conversation (read, unread or archived)..Example: unread", null: true
12
12
  field :last_message, String, "A <=100 character preview from the most recent message..Example: sure thing, here's the file", null: true
13
- field :start_at, LMSGraphQL::Types::DateTimeType, "the date and time at which the last message was sent..Example: 2011-09-02T12:00:00Z", null: true
13
+ field :start_at, GraphQL::Types::ISO8601DateTime, "the date and time at which the last message was sent..Example: 2011-09-02T12:00:00Z", null: true
14
14
  field :message_count, Int, "the number of messages in the conversation..Example: 2", null: true
15
15
  field :subscribed, Boolean, "whether the current user is subscribed to the conversation..Example: true", null: true
16
16
  field :private, Boolean, "whether the conversation is private..Example: true", null: true
@@ -6,22 +6,22 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasConversationInput < BaseInputObject
8
8
  description "Conversations. API Docs: https://canvas.instructure.com/doc/api/conversations.html"
9
- argument :id, ID, "the unique identifier for the conversation..Example: 2", required: false
10
- argument :subject, String, "the subject of the conversation..Example: 2", required: false
11
- argument :workflow_state, String, "The current state of the conversation (read, unread or archived)..Example: unread", required: false
12
- argument :last_message, String, "A <=100 character preview from the most recent message..Example: sure thing, here's the file", required: false
13
- argument :start_at, LMSGraphQL::Types::DateTimeType, "the date and time at which the last message was sent..Example: 2011-09-02T12:00:00Z", required: false
14
- argument :message_count, Int, "the number of messages in the conversation..Example: 2", required: false
15
- argument :subscribed, Boolean, "whether the current user is subscribed to the conversation..Example: true", required: false
16
- argument :private, Boolean, "whether the conversation is private..Example: true", required: false
17
- argument :starred, Boolean, "whether the conversation is starred..Example: true", required: false
18
- argument :properties, [String], "Additional conversation flags (last_author, attachments, media_objects). Each listed property means the flag is set to true (i.e. the current user is the most recent author, there are attachments, or there are media objects).", required: false
19
- argument :audience, [Int], "Array of user ids who are involved in the conversation, ordered by participation level, then alphabetical. Excludes current user, unless this is a monologue..", required: false
20
- argument :audience_contexts, [String], "Most relevant shared contexts (courses and groups) between current user and other participants. If there is only one participant, it will also include that user's enrollment(s)/ membership type(s) in each course/group..", required: false
21
- argument :avatar_url, String, "URL to appropriate icon for this conversation (custom, individual or group avatar, depending on audience)..Example: https://canvas.instructure.com/images/messages/avatar-group-50.png", required: false
22
- argument :participants, [LMSGraphQL::Types::Canvas::CanvasConversationParticipantInput], "Array of users participating in the conversation. Includes current user..", required: false
23
- argument :visible, Boolean, "indicates whether the conversation is visible under the current scope and filter. This attribute is always true in the index API response, and is primarily useful in create/update responses so that you can know if the record should be displayed in the UI. The default scope is assumed, unless a scope or filter is passed to the create/update API call..Example: true", required: false
24
- argument :context_name, String, "Name of the course or group in which the conversation is occurring..Example: Canvas 101", required: false
9
+ argument :id, ID, "the unique identifier for the conversation..Example: 2", required: false
10
+ argument :subject, String, "the subject of the conversation..Example: 2", required: false
11
+ argument :workflow_state, String, "The current state of the conversation (read, unread or archived)..Example: unread", required: false
12
+ argument :last_message, String, "A <=100 character preview from the most recent message..Example: sure thing, here's the file", required: false
13
+ argument :start_at, GraphQL::Types::ISO8601DateTime, "the date and time at which the last message was sent..Example: 2011-09-02T12:00:00Z", required: false
14
+ argument :message_count, Int, "the number of messages in the conversation..Example: 2", required: false
15
+ argument :subscribed, Boolean, "whether the current user is subscribed to the conversation..Example: true", required: false
16
+ argument :private, Boolean, "whether the conversation is private..Example: true", required: false
17
+ argument :starred, Boolean, "whether the conversation is starred..Example: true", required: false
18
+ argument :properties, [String], "Additional conversation flags (last_author, attachments, media_objects). Each listed property means the flag is set to true (i.e. the current user is the most recent author, there are attachments, or there are media objects).", required: false
19
+ argument :audience, [Int], "Array of user ids who are involved in the conversation, ordered by participation level, then alphabetical. Excludes current user, unless this is a monologue..", required: false
20
+ argument :audience_contexts, [String], "Most relevant shared contexts (courses and groups) between current user and other participants. If there is only one participant, it will also include that user's enrollment(s)/ membership type(s) in each course/group..", required: false
21
+ argument :avatar_url, String, "URL to appropriate icon for this conversation (custom, individual or group avatar, depending on audience)..Example: https://canvas.instructure.com/images/messages/avatar-group-50.png", required: false
22
+ argument :participants, [LMSGraphQL::Types::Canvas::CanvasConversationParticipantInput], "Array of users participating in the conversation. Includes current user..", required: false
23
+ argument :visible, Boolean, "indicates whether the conversation is visible under the current scope and filter. This attribute is always true in the index API response, and is primarily useful in create/update responses so that you can know if the record should be displayed in the UI. The default scope is assumed, unless a scope or filter is passed to the create/update API call..Example: true", required: false
24
+ argument :context_name, String, "Name of the course or group in which the conversation is occurring..Example: Canvas 101", required: false
25
25
 
26
26
  end
27
27
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasConversationParticipantInput < BaseInputObject
8
8
  description "Conversations. API Docs: https://canvas.instructure.com/doc/api/conversations.html"
9
- argument :id, ID, "The user ID for the participant..Example: 2", required: false
10
- argument :name, String, "A short name the user has selected, for use in conversations or other less formal places through the site..Example: Shelly", required: false
11
- argument :full_name, String, "The full name of the user..Example: Sheldon Cooper", required: false
12
- argument :avatar_url, String, "If requested, this field will be included and contain a url to retrieve the user's avatar..Example: https://canvas.instructure.com/images/messages/avatar-50.png", required: false
9
+ argument :id, ID, "The user ID for the participant..Example: 2", required: false
10
+ argument :name, String, "A short name the user has selected, for use in conversations or other less formal places through the site..Example: Shelly", required: false
11
+ argument :full_name, String, "The full name of the user..Example: Sheldon Cooper", required: false
12
+ argument :avatar_url, String, "If requested, this field will be included and contain a url to retrieve the user's avatar..Example: https://canvas.instructure.com/images/messages/avatar-50.png", required: false
13
13
 
14
14
  end
15
15
  end
@@ -29,8 +29,9 @@ module LMSGraphQL
29
29
  field :uuid, String, "the UUID of the course.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", null: true
30
30
  field :integration_id, ID, "the integration identifier for the course, if defined. This field is only included if the user has permission to view SIS information..", null: true
31
31
  field :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", null: true
32
- field :name, String, "the full name of the course.Example: InstructureCon 2012", null: true
32
+ field :name, String, "the full name of the course. If the requesting user has set a nickname for the course, the nickname will be shown here..Example: InstructureCon 2012", null: true
33
33
  field :course_code, String, "the course code.Example: INSTCON12", null: true
34
+ field :original_name, String, "the actual course name. This field is returned only if the requesting user has set a nickname for the course..Example: InstructureCon-2012-01", null: true
34
35
  field :workflow_state, CourseWorkflowStateEnum, "the current state of the course one of 'unpublished', 'available', 'completed', or 'deleted'.Example: available", null: true
35
36
  field :account_id, ID, "the account associated with the course.Example: 81259", null: true
36
37
  field :root_account_id, ID, "the root account associated with the course.Example: 81259", null: true
@@ -38,9 +39,9 @@ module LMSGraphQL
38
39
  field :grading_periods, [LMSGraphQL::Types::Canvas::CanvasGradingPeriod], "A list of grading periods associated with the course.", null: true
39
40
  field :grading_standard_id, ID, "the grading standard associated with the course.Example: 25", null: true
40
41
  field :grade_passback_setting, String, "the grade_passback_setting set on the course.Example: nightly_sync", null: true
41
- field :created_at, LMSGraphQL::Types::DateTimeType, "the date the course was created..Example: 2012-05-01T00:00:00-06:00", null: true
42
- field :start_at, LMSGraphQL::Types::DateTimeType, "the start date for the course, if applicable.Example: 2012-06-01T00:00:00-06:00", null: true
43
- field :end_at, LMSGraphQL::Types::DateTimeType, "the end date for the course, if applicable.Example: 2012-09-01T00:00:00-06:00", null: true
42
+ field :created_at, GraphQL::Types::ISO8601DateTime, "the date the course was created..Example: 2012-05-01T00:00:00-06:00", null: true
43
+ field :start_at, GraphQL::Types::ISO8601DateTime, "the start date for the course, if applicable.Example: 2012-06-01T00:00:00-06:00", null: true
44
+ field :end_at, GraphQL::Types::ISO8601DateTime, "the end date for the course, if applicable.Example: 2012-09-01T00:00:00-06:00", null: true
44
45
  field :locale, String, "the course-set locale, if applicable.Example: en", null: true
45
46
  field :enrollments, [LMSGraphQL::Types::Canvas::CanvasEnrollment], "A list of enrollments linking the current user to the course. for student enrollments, grading information may be included if include[]=total_scores.", null: true
46
47
  field :total_students, Int, "optional: the total number of active and invited students in the course.Example: 32", null: true
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseAttributeInput < BaseInputObject
8
8
  description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
9
- argument :id, ID, "The unique Canvas identifier for the origin course.Example: 7", required: false
10
- argument :name, String, "The name of the origin course..Example: Section A", required: false
11
- argument :sis_id, ID, "The sis id of the origin_course..Example: c34643", required: false
12
- argument :integration_id, ID, "The integration ID of the origin_course..Example: I-2", required: false
9
+ argument :id, ID, "The unique Canvas identifier for the origin course.Example: 7", required: false
10
+ argument :name, String, "The name of the origin course..Example: Section A", required: false
11
+ argument :sis_id, ID, "The sis id of the origin_course..Example: c34643", required: false
12
+ argument :integration_id, ID, "The integration ID of the origin_course..Example: I-2", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,9 +6,9 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseEpubExportInput < BaseInputObject
8
8
  description "ePub Exports. API Docs: https://canvas.instructure.com/doc/api/e_pub_exports.html"
9
- argument :id, ID, "the unique identifier for the course.Example: 101", required: false
10
- argument :name, String, "the name for the course.Example: Maths 101", required: false
11
- argument :epub_export, LMSGraphQL::Types::Canvas::CanvasEpubExportInput, "ePub export API object.", required: false
9
+ argument :id, ID, "the unique identifier for the course.Example: 101", required: false
10
+ argument :name, String, "the name for the course.Example: Maths 101", required: false
11
+ argument :epub_export, LMSGraphQL::Types::Canvas::CanvasEpubExportInput, "ePub export API object.", required: false
12
12
 
13
13
  end
14
14
  end
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  class CanvasCourseEvent < BaseType
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_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, "Course event type The event type defines the type and schema of the event_data object..Example: updated", null: true
12
12
  field :event_data, String, "Course event data depending on the event type. This will return an object containing the relevant event data. An updated event type will return an UpdatedEventData object..Example: {}", null: true
13
13
  field :event_source, String, "Course event source depending on the event type. This will return a string containing the source of the event..Example: manual|sis|api", null: true
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseEventInput < BaseInputObject
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_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, "Course event type The event type defines the type and schema of the event_data object..Example: updated", required: false
12
- argument :event_data, String, "Course event data depending on the event type. This will return an object containing the relevant event data. An updated event type will return an UpdatedEventData object..Example: {}", required: false
13
- argument :event_source, String, "Course event source depending on the event type. This will return a string containing the source of the event..Example: manual|sis|api", required: false
14
- argument :links, LMSGraphQL::Types::Canvas::CanvasCourseEventLinkInput, "Jsonapi.org links.Example: 12345, 12345, e2b76430-27a5-0131-3ca1-48e0eb13f29b", 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, "Course event type The event type defines the type and schema of the event_data object..Example: updated", required: false
12
+ argument :event_data, String, "Course event data depending on the event type. This will return an object containing the relevant event data. An updated event type will return an UpdatedEventData object..Example: {}", required: false
13
+ argument :event_source, String, "Course event source depending on the event type. This will return a string containing the source of the event..Example: manual|sis|api", required: false
14
+ argument :links, LMSGraphQL::Types::Canvas::CanvasCourseEventLinkInput, "Jsonapi.org links.Example: 12345, 12345, e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
15
15
 
16
16
  end
17
17
  end
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseEventLinkInput < BaseInputObject
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
9
- argument :course, Int, "ID of the course for the event..Example: 12345", required: false
10
- argument :user, Int, "ID of the user for the event (who made the change)..Example: 12345", required: false
11
- argument :page_view, String, "ID of the page view during the event if it exists..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
12
- argument :copied_from, Int, "ID of the course that this course was copied from. This is only included if the event_type is copied_from..Example: 12345", required: false
13
- argument :copied_to, Int, "ID of the course that this course was copied to. This is only included if the event_type is copied_to..Example: 12345", required: false
14
- argument :sis_batch, Int, "ID of the SIS batch that triggered the event..Example: 12345", required: false
9
+ argument :course, Int, "ID of the course for the event..Example: 12345", required: false
10
+ argument :user, Int, "ID of the user for the event (who made the change)..Example: 12345", required: false
11
+ argument :page_view, String, "ID of the page view during the event if it exists..Example: e2b76430-27a5-0131-3ca1-48e0eb13f29b", required: false
12
+ argument :copied_from, Int, "ID of the course that this course was copied from. This is only included if the event_type is copied_from..Example: 12345", required: false
13
+ argument :copied_to, Int, "ID of the course that this course was copied to. This is only included if the event_type is copied_to..Example: 12345", required: false
14
+ argument :sis_batch, Int, "ID of the SIS batch that triggered the event..Example: 12345", required: false
15
15
 
16
16
  end
17
17
  end
@@ -24,56 +24,57 @@ module LMSGraphQL
24
24
  value "assignments"
25
25
  end
26
26
  description "Courses. API Docs: https://canvas.instructure.com/doc/api/courses.html"
27
- argument :id, ID, "the unique identifier for the course.Example: 370663", required: false
28
- argument :sis_course_id, ID, "the SIS identifier for the course, if defined. This field is only included if the user has permission to view SIS information..", required: false
29
- argument :uuid, String, "the UUID of the course.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", required: false
30
- argument :integration_id, ID, "the integration identifier for the course, if defined. This field is only included if the user has permission to view SIS information..", required: false
31
- argument :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", required: false
32
- argument :name, String, "the full name of the course.Example: InstructureCon 2012", required: false
33
- argument :course_code, String, "the course code.Example: INSTCON12", required: false
34
- argument :workflow_state, CourseInputWorkflowStateEnum, "the current state of the course one of 'unpublished', 'available', 'completed', or 'deleted'.Example: available", required: false
35
- argument :account_id, ID, "the account associated with the course.Example: 81259", required: false
36
- argument :root_account_id, ID, "the root account associated with the course.Example: 81259", required: false
37
- argument :enrollment_term_id, ID, "the enrollment term associated with the course.Example: 34", required: false
38
- argument :grading_periods, [LMSGraphQL::Types::Canvas::CanvasGradingPeriodInput], "A list of grading periods associated with the course.", required: false
39
- argument :grading_standard_id, ID, "the grading standard associated with the course.Example: 25", required: false
40
- argument :grade_passback_setting, String, "the grade_passback_setting set on the course.Example: nightly_sync", required: false
41
- argument :created_at, LMSGraphQL::Types::DateTimeType, "the date the course was created..Example: 2012-05-01T00:00:00-06:00", required: false
42
- argument :start_at, LMSGraphQL::Types::DateTimeType, "the start date for the course, if applicable.Example: 2012-06-01T00:00:00-06:00", required: false
43
- argument :end_at, LMSGraphQL::Types::DateTimeType, "the end date for the course, if applicable.Example: 2012-09-01T00:00:00-06:00", required: false
44
- argument :locale, String, "the course-set locale, if applicable.Example: en", required: false
45
- argument :enrollments, [LMSGraphQL::Types::Canvas::CanvasEnrollmentInput], "A list of enrollments linking the current user to the course. for student enrollments, grading information may be included if include[]=total_scores.", required: false
46
- argument :total_students, Int, "optional: the total number of active and invited students in the course.Example: 32", required: false
47
- argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLinkInput, "course calendar.", required: false
48
- argument :default_view, CourseInputDefaultViewEnum, "the type of page that users will see when they first visit the course - 'feed': Recent Activity Dashboard - 'wiki': Wiki Front Page - 'modules': Course Modules/Sections Page - 'assignments': Course Assignments List - 'syllabus': Course Syllabus Page other types may be added in the future.Example: feed", required: false
49
- argument :syllabus_body, String, "optional: user-generated HTML for the course syllabus.Example: <p>syllabus html goes here</p>", required: false
50
- argument :needs_grading_count, Int, "optional: the number of submissions needing grading returned only if the current user has grading rights and include[]=needs_grading_count.Example: 17", required: false
51
- argument :term, LMSGraphQL::Types::Canvas::CanvasTermInput, "optional: the enrollment term object for the course returned only if include[]=term.", required: false
52
- argument :course_progress, LMSGraphQL::Types::Canvas::CanvasCourseProgressInput, "optional: information on progress through the course returned only if include[]=course_progress.", required: false
53
- argument :apply_assignment_group_weights, Boolean, "weight final grade based on assignment group percentages.Example: true", required: false
54
- argument :permissions, String, "optional: the permissions the user has for the course. returned only for a single course and include[]=permissions.Example: true, true", required: false
55
- argument :is_public, Boolean, "Example: true", required: false
56
- argument :is_public_to_auth_users, Boolean, "Example: true", required: false
57
- argument :public_syllabus, Boolean, "Example: true", required: false
58
- argument :public_syllabus_to_auth, Boolean, "Example: true", required: false
59
- argument :public_description, String, "optional: the public description of the course.Example: Come one, come all to InstructureCon 2012!", required: false
60
- argument :storage_quota_mb, Int, "Example: 5", required: false
61
- argument :storage_quota_used_mb, Float, "Example: 5", required: false
62
- argument :hide_final_grades, Boolean, "", required: false
63
- argument :license, String, "Example: Creative Commons", required: false
64
- argument :allow_student_assignment_edits, Boolean, "", required: false
65
- argument :allow_wiki_comments, Boolean, "", required: false
66
- argument :allow_student_forum_attachments, Boolean, "", required: false
67
- argument :open_enrollment, Boolean, "Example: true", required: false
68
- argument :self_enrollment, Boolean, "", required: false
69
- argument :restrict_enrollments_to_course_dates, Boolean, "", required: false
70
- argument :course_format, String, "Example: online", required: false
71
- argument :access_restricted_by_date, Boolean, "optional: this will be true if this user is currently prevented from viewing the course because of date restriction settings.", required: false
72
- argument :time_zone, String, "The course's IANA time zone name..Example: America/Denver", required: false
73
- argument :blueprint, Boolean, "optional: whether the course is set as a Blueprint Course (blueprint fields require the Blueprint Courses feature).Example: true", required: false
74
- argument :blueprint_restrictions, String, "optional: Set of restrictions applied to all locked course objects.Example: true, true, false, false", required: false
75
- argument :blueprint_restrictions_by_object_type, String, "optional: Sets of restrictions differentiated by object type applied to locked course objects.Example: {'content'=>true, 'points'=>true}, {'content'=>true}", required: false
76
- argument :template, Boolean, "optional: whether the course is set as a template (requires the Course Templates feature).Example: true", required: false
27
+ argument :id, ID, "the unique identifier for the course.Example: 370663", required: false
28
+ argument :sis_course_id, ID, "the SIS identifier for the course, if defined. This field is only included if the user has permission to view SIS information..", required: false
29
+ argument :uuid, String, "the UUID of the course.Example: WvAHhY5FINzq5IyRIJybGeiXyFkG3SqHUPb7jZY5", required: false
30
+ argument :integration_id, ID, "the integration identifier for the course, if defined. This field is only included if the user has permission to view SIS information..", required: false
31
+ argument :sis_import_id, ID, "the unique identifier for the SIS import. This field is only included if the user has permission to manage SIS information..Example: 34", required: false
32
+ argument :name, String, "the full name of the course. If the requesting user has set a nickname for the course, the nickname will be shown here..Example: InstructureCon 2012", required: false
33
+ argument :course_code, String, "the course code.Example: INSTCON12", required: false
34
+ argument :original_name, String, "the actual course name. This field is returned only if the requesting user has set a nickname for the course..Example: InstructureCon-2012-01", required: false
35
+ argument :workflow_state, CourseInputWorkflowStateEnum, "the current state of the course one of 'unpublished', 'available', 'completed', or 'deleted'.Example: available", required: false
36
+ argument :account_id, ID, "the account associated with the course.Example: 81259", required: false
37
+ argument :root_account_id, ID, "the root account associated with the course.Example: 81259", required: false
38
+ argument :enrollment_term_id, ID, "the enrollment term associated with the course.Example: 34", required: false
39
+ argument :grading_periods, [LMSGraphQL::Types::Canvas::CanvasGradingPeriodInput], "A list of grading periods associated with the course.", required: false
40
+ argument :grading_standard_id, ID, "the grading standard associated with the course.Example: 25", required: false
41
+ argument :grade_passback_setting, String, "the grade_passback_setting set on the course.Example: nightly_sync", required: false
42
+ argument :created_at, GraphQL::Types::ISO8601DateTime, "the date the course was created..Example: 2012-05-01T00:00:00-06:00", required: false
43
+ argument :start_at, GraphQL::Types::ISO8601DateTime, "the start date for the course, if applicable.Example: 2012-06-01T00:00:00-06:00", required: false
44
+ argument :end_at, GraphQL::Types::ISO8601DateTime, "the end date for the course, if applicable.Example: 2012-09-01T00:00:00-06:00", required: false
45
+ argument :locale, String, "the course-set locale, if applicable.Example: en", required: false
46
+ argument :enrollments, [LMSGraphQL::Types::Canvas::CanvasEnrollmentInput], "A list of enrollments linking the current user to the course. for student enrollments, grading information may be included if include[]=total_scores.", required: false
47
+ argument :total_students, Int, "optional: the total number of active and invited students in the course.Example: 32", required: false
48
+ argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLinkInput, "course calendar.", required: false
49
+ argument :default_view, CourseInputDefaultViewEnum, "the type of page that users will see when they first visit the course - 'feed': Recent Activity Dashboard - 'wiki': Wiki Front Page - 'modules': Course Modules/Sections Page - 'assignments': Course Assignments List - 'syllabus': Course Syllabus Page other types may be added in the future.Example: feed", required: false
50
+ argument :syllabus_body, String, "optional: user-generated HTML for the course syllabus.Example: <p>syllabus html goes here</p>", required: false
51
+ argument :needs_grading_count, Int, "optional: the number of submissions needing grading returned only if the current user has grading rights and include[]=needs_grading_count.Example: 17", required: false
52
+ argument :term, LMSGraphQL::Types::Canvas::CanvasTermInput, "optional: the enrollment term object for the course returned only if include[]=term.", required: false
53
+ argument :course_progress, LMSGraphQL::Types::Canvas::CanvasCourseProgressInput, "optional: information on progress through the course returned only if include[]=course_progress.", required: false
54
+ argument :apply_assignment_group_weights, Boolean, "weight final grade based on assignment group percentages.Example: true", required: false
55
+ argument :permissions, String, "optional: the permissions the user has for the course. returned only for a single course and include[]=permissions.Example: true, true", required: false
56
+ argument :is_public, Boolean, "Example: true", required: false
57
+ argument :is_public_to_auth_users, Boolean, "Example: true", required: false
58
+ argument :public_syllabus, Boolean, "Example: true", required: false
59
+ argument :public_syllabus_to_auth, Boolean, "Example: true", required: false
60
+ argument :public_description, String, "optional: the public description of the course.Example: Come one, come all to InstructureCon 2012!", required: false
61
+ argument :storage_quota_mb, Int, "Example: 5", required: false
62
+ argument :storage_quota_used_mb, Float, "Example: 5", required: false
63
+ argument :hide_final_grades, Boolean, "", required: false
64
+ argument :license, String, "Example: Creative Commons", required: false
65
+ argument :allow_student_assignment_edits, Boolean, "", required: false
66
+ argument :allow_wiki_comments, Boolean, "", required: false
67
+ argument :allow_student_forum_attachments, Boolean, "", required: false
68
+ argument :open_enrollment, Boolean, "Example: true", required: false
69
+ argument :self_enrollment, Boolean, "", required: false
70
+ argument :restrict_enrollments_to_course_dates, Boolean, "", required: false
71
+ argument :course_format, String, "Example: online", required: false
72
+ argument :access_restricted_by_date, Boolean, "optional: this will be true if this user is currently prevented from viewing the course because of date restriction settings.", required: false
73
+ argument :time_zone, String, "The course's IANA time zone name..Example: America/Denver", required: false
74
+ argument :blueprint, Boolean, "optional: whether the course is set as a Blueprint Course (blueprint fields require the Blueprint Courses feature).Example: true", required: false
75
+ argument :blueprint_restrictions, String, "optional: Set of restrictions applied to all locked course objects.Example: true, true, false, false", required: false
76
+ argument :blueprint_restrictions_by_object_type, String, "optional: Sets of restrictions differentiated by object type applied to locked course objects.Example: {'content'=>true, 'points'=>true}, {'content'=>true}", required: false
77
+ argument :template, Boolean, "optional: whether the course is set as a template (requires the Course Templates feature).Example: true", required: false
77
78
 
78
79
  end
79
80
  end
@@ -6,9 +6,9 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseNicknameInput < BaseInputObject
8
8
  description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
9
- argument :course_id, ID, "the ID of the course.Example: 88", required: false
10
- argument :name, String, "the actual name of the course.Example: S1048576 DPMS1200 Intro to Newtonian Mechanics", required: false
11
- argument :nickname, String, "the calling user's nickname for the course.Example: Physics", required: false
9
+ argument :course_id, ID, "the ID of the course.Example: 88", required: false
10
+ argument :name, String, "the actual name of the course.Example: S1048576 DPMS1200 Intro to Newtonian Mechanics", required: false
11
+ argument :nickname, String, "the calling user's nickname for the course.Example: Physics", required: false
12
12
 
13
13
  end
14
14
  end
@@ -9,7 +9,7 @@ module LMSGraphQL
9
9
  field :requirement_count, Int, "total number of requirements from all modules.Example: 10", null: true
10
10
  field :requirement_completed_count, Int, "total number of requirements the user has completed from all modules.Example: 1", null: true
11
11
  field :next_requirement_url, String, "url to next module item that has an unmet requirement. null if the user has completed the course or the current module does not require sequential progress.Example: http://localhost/courses/1/modules/items/2", null: true
12
- field :completed_at, LMSGraphQL::Types::DateTimeType, "date the course was completed. null if the course has not been completed by this user.Example: 2013-06-01T00:00:00-06:00", null: true
12
+ field :completed_at, GraphQL::Types::ISO8601DateTime, "date the course was completed. null if the course has not been completed by this user.Example: 2013-06-01T00:00:00-06:00", null: true
13
13
 
14
14
  end
15
15
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseProgressInput < BaseInputObject
8
8
  description "Courses. API Docs: https://canvas.instructure.com/doc/api/courses.html"
9
- argument :requirement_count, Int, "total number of requirements from all modules.Example: 10", required: false
10
- argument :requirement_completed_count, Int, "total number of requirements the user has completed from all modules.Example: 1", required: false
11
- argument :next_requirement_url, String, "url to next module item that has an unmet requirement. null if the user has completed the course or the current module does not require sequential progress.Example: http://localhost/courses/1/modules/items/2", required: false
12
- argument :completed_at, LMSGraphQL::Types::DateTimeType, "date the course was completed. null if the course has not been completed by this user.Example: 2013-06-01T00:00:00-06:00", required: false
9
+ argument :requirement_count, Int, "total number of requirements from all modules.Example: 10", required: false
10
+ argument :requirement_completed_count, Int, "total number of requirements the user has completed from all modules.Example: 1", required: false
11
+ argument :next_requirement_url, String, "url to next module item that has an unmet requirement. null if the user has completed the course or the current module does not require sequential progress.Example: http://localhost/courses/1/modules/items/2", required: false
12
+ argument :completed_at, GraphQL::Types::ISO8601DateTime, "date the course was completed. null if the course has not been completed by this user.Example: 2013-06-01T00:00:00-06:00", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCourseQuizExtensionInput < BaseInputObject
8
8
  description "Course Quiz Extensions. API Docs: https://canvas.instructure.com/doc/api/course_quiz_extensions.html"
9
- argument :user_id, ID, "The ID of the Student that needs the quiz extension..Example: 3", required: false
10
- argument :extra_attempts, Int, "Number of times the student is allowed to re-take the quiz over the multiple-attempt limit..Example: 1", required: false
11
- argument :extra_time, Int, "Amount of extra time allowed for the quiz submission, in minutes..Example: 60", required: false
12
- argument :manually_unlocked, Boolean, "The student can take the quiz even if it's locked for everyone else.Example: true", required: false
13
- argument :end_at, String, "The time at which the quiz submission will be overdue, and be flagged as a late submission..Example: 2013-11-07T13:16:18Z", required: false
9
+ argument :user_id, ID, "The ID of the Student that needs the quiz extension..Example: 3", required: false
10
+ argument :extra_attempts, Int, "Number of times the student is allowed to re-take the quiz over the multiple-attempt limit..Example: 1", required: false
11
+ argument :extra_time, Int, "Amount of extra time allowed for the quiz submission, in minutes..Example: 60", required: false
12
+ argument :manually_unlocked, Boolean, "The student can take the quiz even if it's locked for everyone else.Example: true", required: false
13
+ argument :end_at, String, "The time at which the quiz submission will be overdue, and be flagged as a late submission..Example: 2013-11-07T13:16:18Z", required: false
14
14
 
15
15
  end
16
16
  end
@@ -7,8 +7,8 @@ module LMSGraphQL
7
7
  class CanvasCreatedEventDatum < BaseType
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
9
9
  field :name, [String], "Example: , Course 1", null: true
10
- field :start_at, [LMSGraphQL::Types::DateTimeType], "Example: , 2012-01-19T15:00:00-06:00", null: true
11
- field :conclude_at, [LMSGraphQL::Types::DateTimeType], "Example: , 2012-01-19T15:00:00-08:00", null: true
10
+ field :start_at, [GraphQL::Types::ISO8601DateTime], "Example: , 2012-01-19T15:00:00-06:00", null: true
11
+ field :conclude_at, [GraphQL::Types::ISO8601DateTime], "Example: , 2012-01-19T15:00:00-08:00", null: true
12
12
  field :is_public, [Boolean], "Example: , false", null: true
13
13
  field :created_source, String, "The type of action that triggered the creation of the course..Example: manual|sis|api", null: true
14
14
 
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCreatedEventDatumInput < BaseInputObject
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
9
- argument :name, [String], "Example: , Course 1", required: false
10
- argument :start_at, [LMSGraphQL::Types::DateTimeType], "Example: , 2012-01-19T15:00:00-06:00", required: false
11
- argument :conclude_at, [LMSGraphQL::Types::DateTimeType], "Example: , 2012-01-19T15:00:00-08:00", required: false
12
- argument :is_public, [Boolean], "Example: , false", required: false
13
- argument :created_source, String, "The type of action that triggered the creation of the course..Example: manual|sis|api", required: false
9
+ argument :name, [String], "Example: , Course 1", required: false
10
+ argument :start_at, [GraphQL::Types::ISO8601DateTime], "Example: , 2012-01-19T15:00:00-06:00", required: false
11
+ argument :conclude_at, [GraphQL::Types::ISO8601DateTime], "Example: , 2012-01-19T15:00:00-08:00", required: false
12
+ argument :is_public, [Boolean], "Example: , false", required: false
13
+ argument :created_source, String, "The type of action that triggered the creation of the course..Example: manual|sis|api", required: false
14
14
 
15
15
  end
16
16
  end
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasCustomColumnInput < BaseInputObject
8
8
  description "Custom Gradebook Columns. API Docs: https://canvas.instructure.com/doc/api/custom_gradebook_columns.html"
9
- argument :id, ID, "The ID of the custom gradebook column.Example: 2", required: false
10
- argument :teacher_notes, Boolean, "When true, this column's visibility will be toggled in the Gradebook when a user selects to show or hide notes.", required: false
11
- argument :title, String, "header text.Example: Stuff", required: false
12
- argument :position, Int, "column order.Example: 1", required: false
13
- argument :hidden, Boolean, "won't be displayed if hidden is true.", required: false
14
- argument :read_only, Boolean, "won't be editable in the gradebook UI.Example: true", required: false
9
+ argument :id, ID, "The ID of the custom gradebook column.Example: 2", required: false
10
+ argument :teacher_notes, Boolean, "When true, this column's visibility will be toggled in the Gradebook when a user selects to show or hide notes.", required: false
11
+ argument :title, String, "header text.Example: Stuff", required: false
12
+ argument :position, Int, "column order.Example: 1", required: false
13
+ argument :hidden, Boolean, "won't be displayed if hidden is true.", required: false
14
+ argument :read_only, Boolean, "won't be editable in the gradebook UI.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 CanvasDay < BaseType
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- field :date, LMSGraphQL::Types::DateTimeType, "the date represented by this entry.Example: 1986-08-09", null: true
9
+ field :date, GraphQL::Types::ISO8601DateTime, "the date represented by this entry.Example: 1986-08-09", null: true
10
10
  field :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", null: true
11
11
 
12
12
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasDayInput < BaseInputObject
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- argument :date, LMSGraphQL::Types::DateTimeType, "the date represented by this entry.Example: 1986-08-09", required: false
10
- argument :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", required: false
9
+ argument :date, GraphQL::Types::ISO8601DateTime, "the date represented by this entry.Example: 1986-08-09", required: false
10
+ argument :graders, Int, "an array of the graders who were responsible for the submissions in this response. the submissions are grouped according to the person who graded them and the assignment they were submitted for..Example: []", required: false
11
11
 
12
12
  end
13
13
  end
@@ -12,7 +12,7 @@ module LMSGraphQL
12
12
  field :account_name, String, "The name of the account associated with the tool.Example: The Academy", null: true
13
13
  field :public_jwk, String, "The public key in jwk format.Example: { 'kty':'RSA', 'e':'AQAB', 'n':'ufmgt156hs168mgdhy168jrsydt168ju816rtahesuvdbmnrtd87t7h8ser', 'alg':'RS256', 'use':'sig', 'kid':'Se68gr16s6tj_87sdr98g489dsfjy-547a6eht1', }", null: true
14
14
  field :vendor_code, String, "The code of the vendor managing the tool.Example: fi5689s9avewr68", null: true
15
- field :last_used_at, LMSGraphQL::Types::DateTimeType, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", null: true
15
+ field :last_used_at, GraphQL::Types::ISO8601DateTime, "The date and time the tool was last used.Example: 2019-06-07T20:34:33Z", null: true
16
16
  field :access_token_count, Float, "The number of active access tokens associated with the tool.Example: 0", null: true
17
17
  field :redirect_uris, String, "redirect uris description.Example: https://redirect.to.here.com", null: true
18
18
  field :redirect_uri, String, "redirect uri description.Example: https://redirect.to.here.com", null: true
@@ -20,7 +20,7 @@ module LMSGraphQL
20
20
  field :notes, String, "Notes for use specifications for the tool.Example: Used for sorting graded assignments", null: true
21
21
  field :name, String, "Display name of the tool.Example: Tool 1", null: true
22
22
  field :user_id, ID, "ID of the user associated with the tool.Example: tu816dnrs6zdsg148918dmu", null: true
23
- field :created_at, LMSGraphQL::Types::DateTimeType, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", null: true
23
+ field :created_at, GraphQL::Types::ISO8601DateTime, "The time the jwk was created.Example: 2019-06-07T20:34:33Z", null: true
24
24
  field :user_name, String, "The user name of the tool creator.Example: johnsmith", null: true
25
25
  field :email, String, "Email associated with the tool owner.Example: johnsmith@instructure.com", null: true
26
26
  field :require_scopes, Boolean, "True if the tool has required permissions, null if there are no needed permissions.Example: true", null: true