lms-graphql-api 1.0.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (707) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +6 -2
  3. data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +6 -2
  4. data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +6 -2
  5. data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +6 -2
  6. data/lib/lms_graphql/mutations/canvas/activate_role.rb +8 -3
  7. data/lib/lms_graphql/mutations/canvas/add_allowed_domain_to_account.rb +27 -0
  8. data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +6 -2
  9. data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +6 -2
  10. data/lib/lms_graphql/mutations/canvas/add_domain_to_account_whitelist.rb +5 -3
  11. data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +6 -2
  12. data/lib/lms_graphql/mutations/canvas/add_message.rb +8 -3
  13. data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +27 -0
  14. data/lib/lms_graphql/mutations/canvas/add_multiple_domains_to_account_whitelist.rb +24 -0
  15. data/lib/lms_graphql/mutations/canvas/add_observee.rb +8 -3
  16. data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +8 -3
  17. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +8 -3
  18. data/lib/lms_graphql/mutations/canvas/add_tool_to_rce_favorites.rb +26 -0
  19. data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +29 -0
  20. data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +6 -2
  21. data/lib/lms_graphql/mutations/canvas/answering_questions.rb +8 -3
  22. data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +8 -3
  23. data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +8 -3
  24. data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +6 -2
  25. data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +8 -3
  26. data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +11 -4
  27. data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +6 -2
  28. data/lib/lms_graphql/mutations/canvas/bulk_update_assignment_dates.rb +24 -0
  29. data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +8 -3
  30. data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +5 -3
  31. data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +6 -2
  32. data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +8 -3
  33. data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +6 -2
  34. data/lib/lms_graphql/mutations/canvas/confirm_image_selection.rb +24 -0
  35. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +8 -3
  36. data/lib/lms_graphql/mutations/canvas/copy_file.rb +8 -3
  37. data/lib/lms_graphql/mutations/canvas/copy_folder.rb +8 -3
  38. data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +8 -3
  39. data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +8 -3
  40. data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +6 -2
  41. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +6 -2
  42. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +21 -6
  43. data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +8 -3
  44. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +8 -3
  45. data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +6 -2
  46. data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +6 -2
  47. data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +8 -3
  48. data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +23 -4
  49. data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +23 -4
  50. data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +23 -4
  51. data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +23 -4
  52. data/lib/lms_graphql/mutations/canvas/create_content_share.rb +31 -0
  53. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +6 -2
  54. data/lib/lms_graphql/mutations/canvas/create_course_section.rb +8 -3
  55. data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +8 -3
  56. data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +8 -3
  57. data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +6 -2
  58. data/lib/lms_graphql/mutations/canvas/create_error_report.rb +6 -2
  59. data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +8 -3
  60. data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +8 -3
  61. data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +14 -5
  62. data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +14 -5
  63. data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +8 -3
  64. data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +8 -3
  65. data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +8 -3
  66. data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +8 -3
  67. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +8 -3
  68. data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +8 -3
  69. data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +8 -3
  70. data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +8 -3
  71. data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +6 -2
  72. data/lib/lms_graphql/mutations/canvas/create_jwt.rb +5 -3
  73. data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +8 -3
  74. data/lib/lms_graphql/mutations/canvas/create_line_item.rb +37 -0
  75. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +8 -3
  76. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +8 -3
  77. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +8 -3
  78. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +8 -3
  79. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +8 -3
  80. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +8 -3
  81. data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +6 -2
  82. data/lib/lms_graphql/mutations/canvas/create_membership.rb +8 -3
  83. data/lib/lms_graphql/mutations/canvas/create_module.rb +12 -4
  84. data/lib/lms_graphql/mutations/canvas/create_module_item.rb +8 -3
  85. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +11 -4
  86. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +8 -3
  87. data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +8 -3
  88. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +8 -3
  89. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +8 -3
  90. data/lib/lms_graphql/mutations/canvas/create_new_role.rb +8 -3
  91. data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +8 -3
  92. data/lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb +24 -0
  93. data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +6 -2
  94. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +11 -4
  95. data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +13 -4
  96. data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +8 -3
  97. data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +8 -3
  98. data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +6 -2
  99. data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +6 -2
  100. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +8 -3
  101. data/lib/lms_graphql/mutations/canvas/create_quiz.rb +8 -3
  102. data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +8 -3
  103. data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +8 -3
  104. data/lib/lms_graphql/mutations/canvas/create_rubricassociation.rb +41 -0
  105. data/lib/lms_graphql/mutations/canvas/create_score.rb +43 -0
  106. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +6 -2
  107. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +8 -3
  108. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +8 -3
  109. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +8 -3
  110. data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +8 -3
  111. data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +8 -3
  112. data/lib/lms_graphql/mutations/canvas/create_single_rubric_assessment.rb +35 -0
  113. data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +8 -3
  114. data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +8 -3
  115. data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +8 -3
  116. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings.rb +5 -3
  117. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +33 -0
  118. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +33 -0
  119. data/lib/lms_graphql/mutations/canvas/create_user.rb +13 -6
  120. data/lib/lms_graphql/mutations/canvas/create_user_login.rb +8 -3
  121. data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +9 -5
  122. data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +6 -2
  123. data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +6 -2
  124. data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +6 -2
  125. data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +6 -2
  126. data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +6 -2
  127. data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +6 -2
  128. data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +6 -2
  129. data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +6 -2
  130. data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +6 -2
  131. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +6 -2
  132. data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +6 -2
  133. data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +6 -2
  134. data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +6 -2
  135. data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +6 -2
  136. data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +6 -2
  137. data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +6 -2
  138. data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +6 -2
  139. data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +6 -2
  140. data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +6 -2
  141. data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +6 -2
  142. data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +6 -2
  143. data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +6 -2
  144. data/lib/lms_graphql/mutations/canvas/delete_file.rb +6 -2
  145. data/lib/lms_graphql/mutations/canvas/delete_folder.rb +6 -2
  146. data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +6 -2
  147. data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +6 -2
  148. data/lib/lms_graphql/mutations/canvas/delete_group.rb +6 -2
  149. data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +6 -2
  150. data/lib/lms_graphql/mutations/canvas/delete_line_item.rb +26 -0
  151. data/lib/lms_graphql/mutations/canvas/delete_message.rb +8 -3
  152. data/lib/lms_graphql/mutations/canvas/delete_module.rb +10 -3
  153. data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +6 -2
  154. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +6 -2
  155. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +6 -2
  156. data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +6 -2
  157. data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +6 -2
  158. data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +6 -2
  159. data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +6 -2
  160. data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +6 -2
  161. data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +6 -2
  162. data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +6 -2
  163. data/lib/lms_graphql/mutations/canvas/delete_poll.rb +6 -2
  164. data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +6 -2
  165. data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +6 -2
  166. data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +5 -3
  167. data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +6 -2
  168. data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +6 -2
  169. data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +6 -2
  170. data/lib/lms_graphql/mutations/canvas/delete_report.rb +6 -2
  171. data/lib/lms_graphql/mutations/canvas/delete_rubricassociation.rb +26 -0
  172. data/lib/lms_graphql/mutations/canvas/delete_section.rb +6 -2
  173. data/lib/lms_graphql/mutations/canvas/delete_single_rubric.rb +26 -0
  174. data/lib/lms_graphql/mutations/canvas/delete_single_rubric_assessment.rb +28 -0
  175. data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +6 -2
  176. data/lib/lms_graphql/mutations/canvas/delete_submission_comment.rb +30 -0
  177. data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +6 -2
  178. data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +6 -2
  179. data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +6 -2
  180. data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +6 -2
  181. data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +6 -2
  182. data/lib/lms_graphql/mutations/canvas/deprecated_self_register_user.rb +43 -0
  183. data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +6 -2
  184. data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +8 -3
  185. data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +6 -2
  186. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +23 -6
  187. data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +6 -2
  188. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +8 -3
  189. data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +6 -2
  190. data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +6 -2
  191. data/lib/lms_graphql/mutations/canvas/edit_group.rb +8 -3
  192. data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +11 -4
  193. data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +11 -4
  194. data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +8 -3
  195. data/lib/lms_graphql/mutations/canvas/edit_section.rb +8 -3
  196. data/lib/lms_graphql/mutations/canvas/edit_submission_comment.rb +33 -0
  197. data/lib/lms_graphql/mutations/canvas/edit_user.rb +15 -4
  198. data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +11 -4
  199. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +8 -3
  200. data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +8 -3
  201. data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +13 -4
  202. data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +13 -4
  203. data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +8 -3
  204. data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +8 -3
  205. data/lib/lms_graphql/mutations/canvas/export_content_users.rb +8 -3
  206. data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +6 -2
  207. data/lib/lms_graphql/mutations/canvas/flagging_question.rb +8 -3
  208. data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +6 -2
  209. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +8 -3
  210. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +8 -3
  211. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +8 -3
  212. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +8 -3
  213. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +8 -3
  214. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +8 -3
  215. data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +8 -3
  216. data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +6 -2
  217. data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +5 -3
  218. data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +6 -2
  219. data/lib/lms_graphql/mutations/canvas/import_category_groups.rb +27 -0
  220. data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +8 -3
  221. data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +8 -3
  222. data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +8 -3
  223. data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +8 -3
  224. data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +8 -3
  225. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +11 -4
  226. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +8 -3
  227. data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +6 -2
  228. data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +6 -2
  229. data/lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb +27 -0
  230. data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +8 -3
  231. data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +5 -3
  232. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +8 -3
  233. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +8 -3
  234. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +6 -2
  235. data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +6 -2
  236. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +8 -3
  237. data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +8 -3
  238. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +6 -2
  239. data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +6 -2
  240. data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +6 -2
  241. data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +6 -2
  242. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +6 -2
  243. data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +6 -2
  244. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +6 -2
  245. data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +6 -2
  246. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +6 -2
  247. data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +6 -2
  248. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +6 -2
  249. data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +6 -2
  250. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +6 -2
  251. data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +6 -2
  252. data/lib/lms_graphql/mutations/canvas/mutations.rb +34 -5
  253. data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +8 -3
  254. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +8 -3
  255. data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +8 -3
  256. data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +8 -3
  257. data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +8 -3
  258. data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +8 -3
  259. data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +8 -3
  260. data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +6 -2
  261. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +8 -3
  262. data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +8 -3
  263. data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +8 -3
  264. data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +8 -3
  265. data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +6 -2
  266. data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +10 -3
  267. data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +6 -2
  268. data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +6 -2
  269. data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +6 -2
  270. data/lib/lms_graphql/mutations/canvas/remove_content_share.rb +26 -0
  271. data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +6 -2
  272. data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +6 -2
  273. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb +26 -0
  274. data/lib/lms_graphql/mutations/canvas/remove_domain_from_account_whitelist.rb +3 -2
  275. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +6 -2
  276. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +6 -2
  277. data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +6 -2
  278. data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +6 -2
  279. data/lib/lms_graphql/mutations/canvas/remove_observee.rb +6 -2
  280. data/lib/lms_graphql/mutations/canvas/remove_tool_from_rce_favorites.rb +26 -0
  281. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +6 -2
  282. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +6 -2
  283. data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +6 -2
  284. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +8 -3
  285. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +8 -3
  286. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +8 -3
  287. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +8 -3
  288. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +8 -3
  289. data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +8 -3
  290. data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +8 -3
  291. data/lib/lms_graphql/mutations/canvas/reset_course.rb +6 -2
  292. data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +5 -3
  293. data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +5 -3
  294. data/lib/lms_graphql/mutations/canvas/reset_link_verifier.rb +24 -0
  295. data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +8 -3
  296. data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +6 -2
  297. data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +6 -2
  298. data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +8 -3
  299. data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +6 -2
  300. data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +8 -3
  301. data/lib/lms_graphql/mutations/canvas/self_register_user.rb +5 -3
  302. data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +8 -3
  303. data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +8 -3
  304. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +8 -3
  305. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +8 -3
  306. data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +8 -3
  307. data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +8 -3
  308. data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +8 -3
  309. data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +8 -3
  310. data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +8 -3
  311. data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +8 -3
  312. data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +8 -3
  313. data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +8 -3
  314. data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +6 -2
  315. data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +5 -3
  316. data/lib/lms_graphql/mutations/canvas/start_report.rb +8 -3
  317. data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +8 -3
  318. data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +6 -2
  319. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +13 -4
  320. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +13 -4
  321. data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +8 -3
  322. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +6 -2
  323. data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +6 -2
  324. data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +6 -2
  325. data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +8 -3
  326. data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +6 -2
  327. data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +6 -2
  328. data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +6 -2
  329. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +6 -2
  330. data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +6 -2
  331. data/lib/lms_graphql/mutations/canvas/update_account.rb +21 -4
  332. data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +6 -2
  333. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +8 -3
  334. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +8 -3
  335. data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +8 -3
  336. data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +6 -2
  337. data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +8 -3
  338. data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +8 -3
  339. data/lib/lms_graphql/mutations/canvas/update_column_data.rb +8 -3
  340. data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +6 -2
  341. data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +6 -2
  342. data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +6 -2
  343. data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +6 -2
  344. data/lib/lms_graphql/mutations/canvas/update_content_share.rb +29 -0
  345. data/lib/lms_graphql/mutations/canvas/update_course.rb +13 -4
  346. data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +17 -4
  347. data/lib/lms_graphql/mutations/canvas/update_courses.rb +8 -3
  348. data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +8 -3
  349. data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +8 -3
  350. data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +8 -3
  351. data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +8 -3
  352. data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +8 -3
  353. data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +6 -2
  354. data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +6 -2
  355. data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -3
  356. data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +8 -3
  357. data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +8 -3
  358. data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +8 -3
  359. data/lib/lms_graphql/mutations/canvas/update_file.rb +8 -3
  360. data/lib/lms_graphql/mutations/canvas/update_folder.rb +8 -3
  361. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +8 -3
  362. data/lib/lms_graphql/mutations/canvas/update_group_category.rb +8 -3
  363. data/lib/lms_graphql/mutations/canvas/update_line_item.rb +35 -0
  364. data/lib/lms_graphql/mutations/canvas/update_media_object.rb +27 -0
  365. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +27 -0
  366. data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +8 -3
  367. data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +8 -3
  368. data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +8 -3
  369. data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +8 -3
  370. data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +8 -3
  371. data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +8 -3
  372. data/lib/lms_graphql/mutations/canvas/update_module.rb +12 -4
  373. data/lib/lms_graphql/mutations/canvas/update_module_item.rb +8 -3
  374. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +8 -3
  375. data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +8 -3
  376. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +8 -3
  377. data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +8 -3
  378. data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +8 -3
  379. data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +8 -3
  380. data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +8 -3
  381. data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +8 -3
  382. data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +8 -3
  383. data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +8 -3
  384. data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +8 -3
  385. data/lib/lms_graphql/mutations/canvas/update_public_jwk.rb +24 -0
  386. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +8 -3
  387. data/lib/lms_graphql/mutations/canvas/update_role.rb +8 -3
  388. data/lib/lms_graphql/mutations/canvas/update_rubricassociation.rb +43 -0
  389. data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +6 -2
  390. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +8 -3
  391. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +8 -3
  392. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +8 -3
  393. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +8 -3
  394. data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +8 -3
  395. data/lib/lms_graphql/mutations/canvas/update_single_rubric_assessment.rb +37 -0
  396. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +8 -3
  397. data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +8 -3
  398. data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +8 -3
  399. data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +8 -3
  400. data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +6 -2
  401. data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +6 -2
  402. data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +6 -2
  403. data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +6 -2
  404. data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +8 -3
  405. data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +33 -0
  406. data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +27 -0
  407. data/lib/lms_graphql/resolvers/canvas/export_groups_in_and_users_in_category.rb +22 -0
  408. data/lib/lms_graphql/resolvers/canvas/find_images.rb +22 -0
  409. data/lib/lms_graphql/resolvers/canvas/get_account.rb +22 -0
  410. data/lib/lms_graphql/resolvers/canvas/get_content_share.rb +24 -0
  411. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_accounts.rb +22 -0
  412. data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_courses.rb +22 -0
  413. data/lib/lms_graphql/resolvers/canvas/get_unread_shares_count.rb +22 -0
  414. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_courses.rb +22 -0
  415. data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_groups.rb +22 -0
  416. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +29 -0
  417. data/lib/lms_graphql/resolvers/canvas/index_of_active_global_notification_for_user.rb +4 -2
  418. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +6 -2
  419. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +3 -1
  420. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +4 -2
  421. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +4 -2
  422. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +22 -0
  423. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +2 -4
  424. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +2 -4
  425. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +22 -0
  426. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +6 -2
  427. data/lib/lms_graphql/resolvers/canvas/list_conferences_for_current_user.rb +23 -0
  428. data/lib/lms_graphql/resolvers/canvas/list_content_shares_received.rb +23 -0
  429. data/lib/lms_graphql/resolvers/canvas/list_content_shares_sent.rb +23 -0
  430. data/lib/lms_graphql/resolvers/canvas/list_course_memberships.rb +28 -0
  431. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -3
  432. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +4 -2
  433. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +4 -2
  434. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +4 -2
  435. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -1
  436. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -1
  437. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -1
  438. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -1
  439. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +4 -2
  440. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_accounts.rb +26 -0
  441. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_courses.rb +26 -0
  442. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_groups.rb +26 -0
  443. data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_users.rb +26 -0
  444. data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +30 -0
  445. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +29 -0
  446. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +29 -0
  447. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +27 -0
  448. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +25 -0
  449. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +25 -0
  450. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +28 -0
  451. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +30 -0
  452. data/lib/lms_graphql/resolvers/canvas/list_recent_history_for_user.rb +23 -0
  453. data/lib/lms_graphql/resolvers/canvas/list_users_in_account.rb +3 -1
  454. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -1
  455. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -1
  456. data/lib/lms_graphql/resolvers/canvas/names_and_role_list_group_memberships.rb +28 -0
  457. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +24 -0
  458. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +24 -0
  459. data/lib/lms_graphql/resolvers/canvas/retrieve_enrollment_term.rb +24 -0
  460. data/lib/lms_graphql/resolvers/canvas/retrieve_reported_csp_violations_for_account.rb +22 -0
  461. data/lib/lms_graphql/resolvers/canvas/return_test_student_for_course.rb +22 -0
  462. data/lib/lms_graphql/resolvers/canvas/search_for_content_share_users.rb +25 -0
  463. data/lib/lms_graphql/resolvers/canvas/show_collection_of_results.rb +24 -0
  464. data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +24 -0
  465. data/lib/lms_graphql/resolvers/canvas/show_observer.rb +24 -0
  466. data/lib/lms_graphql/resolvers/canvas/show_result.rb +26 -0
  467. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +4 -2
  468. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +4 -2
  469. data/lib/lms_graphql/types/canvas/account.rb +1 -9
  470. data/lib/lms_graphql/types/canvas/account_input.rb +7 -15
  471. data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
  472. data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
  473. data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +2 -2
  474. data/lib/lms_graphql/types/canvas/answer.rb +4 -1
  475. data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
  476. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
  477. data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
  478. data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
  479. data/lib/lms_graphql/types/canvas/assignment.rb +6 -3
  480. data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
  481. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +15 -15
  482. data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
  483. data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
  484. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
  485. data/lib/lms_graphql/types/canvas/assignment_input.rb +70 -67
  486. data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
  487. data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
  488. data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
  489. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +19 -19
  490. data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
  491. data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
  492. data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
  493. data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
  494. data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
  495. data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
  496. data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
  497. data/lib/lms_graphql/types/canvas/calendar_event.rb +1 -0
  498. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +32 -31
  499. data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
  500. data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
  501. data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
  502. data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
  503. data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
  504. data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
  505. data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
  506. data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
  507. data/lib/lms_graphql/types/canvas/completion_requirement.rb +2 -1
  508. data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -3
  509. data/lib/lms_graphql/types/canvas/conference.rb +2 -0
  510. data/lib/lms_graphql/types/canvas/conference_input.rb +17 -15
  511. data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
  512. data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
  513. data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
  514. data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
  515. data/lib/lms_graphql/types/canvas/content_share.rb +24 -0
  516. data/lib/lms_graphql/types/canvas/content_share_input.rb +24 -0
  517. data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
  518. data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
  519. data/lib/lms_graphql/types/canvas/course.rb +2 -1
  520. data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
  521. data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
  522. data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
  523. data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
  524. data/lib/lms_graphql/types/canvas/course_input.rb +48 -47
  525. data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
  526. data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
  527. data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
  528. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
  529. data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
  530. data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
  531. data/lib/lms_graphql/types/canvas/developer_key.rb +34 -0
  532. data/lib/lms_graphql/types/canvas/developer_key_input.rb +34 -0
  533. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
  534. data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
  535. data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +8 -8
  536. data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +14 -0
  537. data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +14 -0
  538. data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
  539. data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
  540. data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
  541. data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
  542. data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
  543. data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
  544. data/lib/lms_graphql/types/canvas/feature.rb +1 -1
  545. data/lib/lms_graphql/types/canvas/feature_flag_input.rb +5 -5
  546. data/lib/lms_graphql/types/canvas/feature_input.rb +10 -10
  547. data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
  548. data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
  549. data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
  550. data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
  551. data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
  552. data/lib/lms_graphql/types/canvas/grade.rb +2 -0
  553. data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
  554. data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
  555. data/lib/lms_graphql/types/canvas/grade_input.rb +11 -9
  556. data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
  557. data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
  558. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
  559. data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
  560. data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
  561. data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
  562. data/lib/lms_graphql/types/canvas/group_input.rb +16 -16
  563. data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
  564. data/lib/lms_graphql/types/canvas/help_link.rb +2 -2
  565. data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
  566. data/lib/lms_graphql/types/canvas/history_entry.rb +23 -0
  567. data/lib/lms_graphql/types/canvas/history_entry_input.rb +23 -0
  568. data/lib/lms_graphql/types/canvas/jsonapi_pagination.rb +1 -1
  569. data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
  570. data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
  571. data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
  572. data/lib/lms_graphql/types/canvas/line_item.rb +20 -0
  573. data/lib/lms_graphql/types/canvas/line_item_input.rb +20 -0
  574. data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
  575. data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
  576. data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
  577. data/lib/lms_graphql/types/canvas/media_object.rb +20 -0
  578. data/lib/lms_graphql/types/canvas/media_object_input.rb +20 -0
  579. data/lib/lms_graphql/types/canvas/media_track.rb +22 -0
  580. data/lib/lms_graphql/types/canvas/media_track_input.rb +22 -0
  581. data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
  582. data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
  583. data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
  584. data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
  585. data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
  586. data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +4 -1
  587. data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
  588. data/lib/lms_graphql/types/canvas/names_and_role_context.rb +16 -0
  589. data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +16 -0
  590. data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +20 -0
  591. data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +17 -0
  592. data/lib/lms_graphql/types/canvas/names_and_role_message.rb +18 -0
  593. data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +18 -0
  594. data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
  595. data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
  596. data/lib/lms_graphql/types/canvas/originality_report.rb +4 -1
  597. data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -6
  598. data/lib/lms_graphql/types/canvas/outcome_alignment.rb +2 -1
  599. data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -5
  600. data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
  601. data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
  602. data/lib/lms_graphql/types/canvas/outcome_import_input.rb +9 -9
  603. data/lib/lms_graphql/types/canvas/outcome_input.rb +17 -17
  604. data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
  605. data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
  606. data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
  607. data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
  608. data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
  609. data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
  610. data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
  611. data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
  612. data/lib/lms_graphql/types/canvas/page_input.rb +13 -13
  613. data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
  614. data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
  615. data/lib/lms_graphql/types/canvas/page_view_link.rb +4 -1
  616. data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
  617. data/lib/lms_graphql/types/canvas/pairing_code.rb +17 -0
  618. data/lib/lms_graphql/types/canvas/pairing_code_input.rb +17 -0
  619. data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
  620. data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
  621. data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
  622. data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
  623. data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
  624. data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
  625. data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
  626. data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
  627. data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
  628. data/lib/lms_graphql/types/canvas/profile_input.rb +14 -14
  629. data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
  630. data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
  631. data/lib/lms_graphql/types/canvas/query_type.rb +174 -18
  632. data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
  633. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
  634. data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
  635. data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
  636. data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
  637. data/lib/lms_graphql/types/canvas/quiz_input.rb +39 -39
  638. data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
  639. data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
  640. data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
  641. data/lib/lms_graphql/types/canvas/quiz_report_input.rb +13 -13
  642. data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
  643. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
  644. data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
  645. data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
  646. data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
  647. data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
  648. data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
  649. data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
  650. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
  651. data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +1 -1
  652. data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum.rb +1 -1
  653. data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
  654. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
  655. data/lib/lms_graphql/types/canvas/result.rb +8 -6
  656. data/lib/lms_graphql/types/canvas/result_input.rb +8 -6
  657. data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
  658. data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
  659. data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
  660. data/lib/lms_graphql/types/canvas/rubric.rb +4 -0
  661. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
  662. data/lib/lms_graphql/types/canvas/rubric_association.rb +23 -0
  663. data/lib/lms_graphql/types/canvas/rubric_association_input.rb +23 -0
  664. data/lib/lms_graphql/types/canvas/rubric_criterion.rb +19 -0
  665. data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +19 -0
  666. data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
  667. data/lib/lms_graphql/types/canvas/rubric_input.rb +14 -10
  668. data/lib/lms_graphql/types/canvas/rubric_rating.rb +6 -5
  669. data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +6 -5
  670. data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
  671. data/lib/lms_graphql/types/canvas/score.rb +20 -0
  672. data/lib/lms_graphql/types/canvas/score_input.rb +20 -0
  673. data/lib/lms_graphql/types/canvas/score_statistic.rb +16 -0
  674. data/lib/lms_graphql/types/canvas/score_statistic_input.rb +16 -0
  675. data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
  676. data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
  677. data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
  678. data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
  679. data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
  680. data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
  681. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
  682. data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
  683. data/lib/lms_graphql/types/canvas/sis_import_input.rb +22 -22
  684. data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
  685. data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
  686. data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
  687. data/lib/lms_graphql/types/canvas/submission.rb +7 -3
  688. data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
  689. data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
  690. data/lib/lms_graphql/types/canvas/submission_input.rb +32 -28
  691. data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
  692. data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
  693. data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
  694. data/lib/lms_graphql/types/canvas/terms_of_service.rb +1 -0
  695. data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -5
  696. data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
  697. data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
  698. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  699. data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
  700. data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
  701. data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
  702. data/lib/lms_graphql/types/canvas/user_input.rb +15 -15
  703. data/lib/lms_graphql/types/canvas_forward_declarations.rb +38 -0
  704. data/lib/lms_graphql/types/canvas_hacks.rb +1 -0
  705. data/lib/lms_graphql/types/date_time_type.rb +8 -5
  706. data/lib/lms_graphql/version.rb +1 -1
  707. metadata +113 -7
@@ -8,13 +8,13 @@ module LMSGraphQL
8
8
  module Canvas
9
9
  class CanvasSectionAttributeInput < BaseInputObject
10
10
  description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
11
- argument :id, ID, "The unique identifier for the section..Example: 1", required: false
12
- argument :name, String, "The name of the section..Example: Section A", required: false
13
- argument :sis_id, ID, "The sis id of the section..Example: s34643", required: false
14
- argument :integration_id, ID, "Optional: The integration ID of the section..Example: 3452342345", required: false
15
- argument :origin_course, LMSGraphQL::Types::Canvas::CanvasCourseAttributeInput, "The course to which the section belongs or the course from which the section was cross-listed.", required: false
16
- argument :xlist_course, LMSGraphQL::Types::Canvas::CanvasCourseAttributeInput, "Optional: Attributes of the xlist course. Only present when the section has been cross-listed. See Courses API for more details.", required: false
17
- argument :override, LMSGraphQL::Types::Canvas::CanvasSectionAssignmentOverrideAttributeInput, "Optional: Attributes of the assignment override that apply to the section. See Assignment API for more details.", required: false
11
+ argument :id, ID, "The unique identifier for the section..Example: 1", required: false
12
+ argument :name, String, "The name of the section..Example: Section A", required: false
13
+ argument :sis_id, ID, "The sis id of the section..Example: s34643", required: false
14
+ argument :integration_id, ID, "Optional: The integration ID of the section..Example: 3452342345", required: false
15
+ argument :origin_course, LMSGraphQL::Types::Canvas::CanvasCourseAttributeInput, "The course to which the section belongs or the course from which the section was cross-listed.", required: false
16
+ argument :xlist_course, LMSGraphQL::Types::Canvas::CanvasCourseAttributeInput, "Optional: Attributes of the xlist course. Only present when the section has been cross-listed. See Courses API for more details.", required: false
17
+ argument :override, LMSGraphQL::Types::Canvas::CanvasSectionAssignmentOverrideAttributeInput, "Optional: Attributes of the assignment override that apply to the section. See Assignment API for more details.", required: false
18
18
 
19
19
  end
20
20
  end
@@ -6,18 +6,18 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSectionInput < BaseInputObject
8
8
  description "Sections. API Docs: https://canvas.instructure.com/doc/api/sections.html"
9
- argument :id, ID, "The unique identifier for the section..Example: 1", required: false
10
- argument :name, String, "The name of the section..Example: Section A", required: false
11
- argument :sis_section_id, ID, "The sis id of the section. This field is only included if the user has permission to view SIS information..Example: s34643", required: false
12
- argument :integration_id, ID, "Optional: The integration ID of the section. This field is only included if the user has permission to view SIS information..Example: 3452342345", required: false
13
- argument :sis_import_id, ID, "The unique identifier for the SIS import if created through SIS. This field is only included if the user has permission to manage SIS information..Example: 47", required: false
14
- argument :course_id, ID, "The unique Canvas identifier for the course in which the section belongs.Example: 7", required: false
15
- argument :sis_course_id, ID, "The unique SIS identifier for the course in which the section belongs. This field is only included if the user has permission to view SIS information..Example: 7", required: false
16
- argument :start_at, LMSGraphQL::Types::DateTimeType, "the start date for the section, if applicable.Example: 2012-06-01T00:00:00-06:00", required: false
17
- argument :end_at, LMSGraphQL::Types::DateTimeType, "the end date for the section, if applicable.", required: false
18
- argument :restrict_enrollments_to_section_dates, Boolean, "Restrict user enrollments to the start and end dates of the section.", required: false
19
- argument :nonxlist_course_id, ID, "The unique identifier of the original course of a cross-listed section.", required: false
20
- argument :total_students, Int, "optional: the total number of active and invited students in the section.Example: 13", required: false
9
+ argument :id, ID, "The unique identifier for the section..Example: 1", required: false
10
+ argument :name, String, "The name of the section..Example: Section A", required: false
11
+ argument :sis_section_id, ID, "The sis id of the section. This field is only included if the user has permission to view SIS information..Example: s34643", required: false
12
+ argument :integration_id, ID, "Optional: The integration ID of the section. This field is only included if the user has permission to view SIS information..Example: 3452342345", required: false
13
+ argument :sis_import_id, ID, "The unique identifier for the SIS import if created through SIS. This field is only included if the user has permission to manage SIS information..Example: 47", required: false
14
+ argument :course_id, ID, "The unique Canvas identifier for the course in which the section belongs.Example: 7", required: false
15
+ argument :sis_course_id, ID, "The unique SIS identifier for the course in which the section belongs. This field is only included if the user has permission to view SIS information..Example: 7", required: false
16
+ argument :start_at, LMSGraphQL::Types::DateTimeType, "the start date for the section, if applicable.Example: 2012-06-01T00:00:00-06:00", required: false
17
+ argument :end_at, LMSGraphQL::Types::DateTimeType, "the end date for the section, if applicable.", required: false
18
+ argument :restrict_enrollments_to_section_dates, Boolean, "Restrict user enrollments to the start and end dates of the section.", required: false
19
+ argument :nonxlist_course_id, ID, "The unique identifier of the original course of a cross-listed section.", required: false
20
+ argument :total_students, Int, "optional: the total number of active and invited students in the section.Example: 13", required: false
21
21
 
22
22
  end
23
23
  end
@@ -6,12 +6,12 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSharedBrandConfigInput < BaseInputObject
8
8
  description "Shared Brand Configs. API Docs: https://canvas.instructure.com/doc/api/shared_brand_configs.html"
9
- argument :id, ID, "The shared_brand_config identifier..Example: 987", required: false
10
- argument :account_id, ID, "The id of the account it should be shared within..", required: false
11
- argument :brand_config_md5, String, "The md5 (since BrandConfigs are identified by MD5 and not numeric id) of the BrandConfig to share..Example: 1d31002c95842f8fe16da7dfcc0d1f39", required: false
12
- argument :name, String, "The name to share this theme as.Example: Crimson and Gold Verson 1", required: false
13
- argument :created_at, LMSGraphQL::Types::DateTimeType, "When this was created.Example: 2012-07-13T10:55:20-06:00", required: false
14
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "When this was last updated.Example: 2012-07-13T10:55:20-06:00", required: false
9
+ argument :id, ID, "The shared_brand_config identifier..Example: 987", required: false
10
+ argument :account_id, ID, "The id of the account it should be shared within..", required: false
11
+ argument :brand_config_md5, String, "The md5 (since BrandConfigs are identified by MD5 and not numeric id) of the BrandConfig to share..Example: 1d31002c95842f8fe16da7dfcc0d1f39", required: false
12
+ argument :name, String, "The name to share this theme as.Example: Crimson and Gold Verson 1", required: false
13
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "When this was created.Example: 2012-07-13T10:55:20-06:00", required: false
14
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "When this was last updated.Example: 2012-07-13T10:55:20-06:00", required: false
15
15
 
16
16
  end
17
17
  end
@@ -20,21 +20,21 @@ module LMSGraphQL
20
20
  end
21
21
  class CanvasSisAssignmentInput < BaseInputObject
22
22
  description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
23
- argument :id, ID, "The unique identifier for the assignment..Example: 4", required: false
24
- argument :course_id, ID, "The unique identifier for the course..Example: 6", required: false
25
- argument :name, String, "the name of the assignment.Example: some assignment", required: false
26
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The time at which this assignment was originally created.Example: 2012-07-01T23:59:00-06:00", required: false
27
- argument :due_at, LMSGraphQL::Types::DateTimeType, "the due date for the assignment. returns null if not present. NOTE: If this assignment has assignment overrides, this field will be the due date as it applies to the user requesting information from the API..Example: 2012-07-01T23:59:00-06:00", required: false
28
- argument :unlock_at, LMSGraphQL::Types::DateTimeType, "(Optional) Time at which this was/will be unlocked..Example: 2013-01-01T00:00:00-06:00", required: false
29
- argument :lock_at, LMSGraphQL::Types::DateTimeType, "(Optional) Time at which this was/will be locked..Example: 2013-02-01T00:00:00-06:00", required: false
30
- argument :points_possible, Int, "The maximum points possible for the assignment.Example: 12", required: false
31
- argument :submission_types, SisAssignmentSubmissionTypeEnum, "the types of submissions allowed for this assignment list containing one or more of the following: 'discussion_topic', 'online_quiz', 'on_paper', 'none', 'external_tool', 'online_text_entry', 'online_url', 'online_upload' 'media_recording'.Example: online_text_entry", required: false
32
- argument :integration_id, ID, "Third Party integration id for assignment.Example: 12341234", required: false
33
- argument :integration_data, String, "(optional, Third Party integration data for assignment).Example: other_data", required: false
34
- argument :include_in_final_grade, Boolean, "If false, the assignment will be omitted from the student's final grade.Example: true", required: false
35
- argument :assignment_group, [LMSGraphQL::Types::Canvas::CanvasAssignmentGroupAttributeInput], "Includes attributes of a assignment_group for convenience. For more details see Assignments API..", required: false
36
- argument :sections, [LMSGraphQL::Types::Canvas::CanvasSectionAttributeInput], "Includes attributes of a section for convenience. For more details see Sections API..", required: false
37
- argument :user_overrides, [LMSGraphQL::Types::Canvas::CanvasUserAssignmentOverrideAttributeInput], "Includes attributes of a user assignment overrides. For more details see Assignments API..", required: false
23
+ argument :id, ID, "The unique identifier for the assignment..Example: 4", required: false
24
+ argument :course_id, ID, "The unique identifier for the course..Example: 6", required: false
25
+ argument :name, String, "the name of the assignment.Example: some assignment", required: false
26
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "The time at which this assignment was originally created.Example: 2012-07-01T23:59:00-06:00", required: false
27
+ argument :due_at, LMSGraphQL::Types::DateTimeType, "the due date for the assignment. returns null if not present. NOTE: If this assignment has assignment overrides, this field will be the due date as it applies to the user requesting information from the API..Example: 2012-07-01T23:59:00-06:00", required: false
28
+ argument :unlock_at, LMSGraphQL::Types::DateTimeType, "(Optional) Time at which this was/will be unlocked..Example: 2013-01-01T00:00:00-06:00", required: false
29
+ argument :lock_at, LMSGraphQL::Types::DateTimeType, "(Optional) Time at which this was/will be locked..Example: 2013-02-01T00:00:00-06:00", required: false
30
+ argument :points_possible, Int, "The maximum points possible for the assignment.Example: 12", required: false
31
+ argument :submission_types, SisAssignmentSubmissionTypeEnum, "the types of submissions allowed for this assignment list containing one or more of the following: 'discussion_topic', 'online_quiz', 'on_paper', 'none', 'external_tool', 'online_text_entry', 'online_url', 'online_upload' 'media_recording'.Example: online_text_entry", required: false
32
+ argument :integration_id, ID, "Third Party integration id for assignment.Example: 12341234", required: false
33
+ argument :integration_data, String, "(optional, Third Party integration data for assignment).Example: other_data", required: false
34
+ argument :include_in_final_grade, Boolean, "If false, the assignment will be omitted from the student's final grade.Example: true", required: false
35
+ argument :assignment_group, [LMSGraphQL::Types::Canvas::CanvasAssignmentGroupAttributeInput], "Includes attributes of a assignment_group for convenience. For more details see Assignments API..", required: false
36
+ argument :sections, [LMSGraphQL::Types::Canvas::CanvasSectionAttributeInput], "Includes attributes of a section for convenience. For more details see Sections API..", required: false
37
+ argument :user_overrides, [LMSGraphQL::Types::Canvas::CanvasUserAssignmentOverrideAttributeInput], "Includes attributes of a user assignment overrides. For more details see Assignments API..", required: false
38
38
 
39
39
  end
40
40
  end
@@ -6,22 +6,22 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSisImportCountInput < BaseInputObject
8
8
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
9
- argument :accounts, Int, "Example: 0", required: false
10
- argument :terms, Int, "Example: 3", required: false
11
- argument :abstract_courses, Int, "Example: 0", required: false
12
- argument :courses, Int, "Example: 121", required: false
13
- argument :sections, Int, "Example: 278", required: false
14
- argument :xlists, Int, "Example: 0", required: false
15
- argument :users, Int, "Example: 346", required: false
16
- argument :enrollments, Int, "Example: 1542", required: false
17
- argument :groups, Int, "Example: 0", required: false
18
- argument :group_memberships, Int, "Example: 0", required: false
19
- argument :grade_publishing_results, Int, "Example: 0", required: false
20
- argument :batch_courses_deleted, Int, "the number of courses that were removed because they were not included in the batch for batch_mode imports. Only included if courses were deleted.Example: 11", required: false
21
- argument :batch_sections_deleted, Int, "the number of sections that were removed because they were not included in the batch for batch_mode imports. Only included if sections were deleted.Example: 0", required: false
22
- argument :batch_enrollments_deleted, Int, "the number of enrollments that were removed because they were not included in the batch for batch_mode imports. Only included if enrollments were deleted.Example: 150", required: false
23
- argument :error_count, Int, "Example: 0", required: false
24
- argument :warning_count, Int, "Example: 0", required: false
9
+ argument :accounts, Int, "Example: 0", required: false
10
+ argument :terms, Int, "Example: 3", required: false
11
+ argument :abstract_courses, Int, "Example: 0", required: false
12
+ argument :courses, Int, "Example: 121", required: false
13
+ argument :sections, Int, "Example: 278", required: false
14
+ argument :xlists, Int, "Example: 0", required: false
15
+ argument :users, Int, "Example: 346", required: false
16
+ argument :enrollments, Int, "Example: 1542", required: false
17
+ argument :groups, Int, "Example: 0", required: false
18
+ argument :group_memberships, Int, "Example: 0", required: false
19
+ argument :grade_publishing_results, Int, "Example: 0", required: false
20
+ argument :batch_courses_deleted, Int, "the number of courses that were removed because they were not included in the batch for batch_mode imports. Only included if courses were deleted.Example: 11", required: false
21
+ argument :batch_sections_deleted, Int, "the number of sections that were removed because they were not included in the batch for batch_mode imports. Only included if sections were deleted.Example: 0", required: false
22
+ argument :batch_enrollments_deleted, Int, "the number of enrollments that were removed because they were not included in the batch for batch_mode imports. Only included if enrollments were deleted.Example: 150", required: false
23
+ argument :error_count, Int, "Example: 0", required: false
24
+ argument :warning_count, Int, "Example: 0", required: false
25
25
 
26
26
  end
27
27
  end
@@ -6,9 +6,9 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSisImportDatumInput < BaseInputObject
8
8
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
9
- argument :import_type, String, "The type of SIS import.Example: instructure_csv", required: false
10
- argument :supplied_batches, String, "Which files were included in the SIS import.Example: term, course, section, user, enrollment", required: false
11
- argument :counts, LMSGraphQL::Types::Canvas::CanvasSisImportCountInput, "The number of rows processed for each type of import.", required: false
9
+ argument :import_type, String, "The type of SIS import.Example: instructure_csv", required: false
10
+ argument :supplied_batches, String, "Which files were included in the SIS import.Example: term, course, section, user, enrollment", required: false
11
+ argument :counts, LMSGraphQL::Types::Canvas::CanvasSisImportCountInput, "The number of rows processed for each type of import.", required: false
12
12
 
13
13
  end
14
14
  end
@@ -6,11 +6,11 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSisImportErrorInput < BaseInputObject
8
8
  description "SIS Import Errors. API Docs: https://canvas.instructure.com/doc/api/sis_import_errors.html"
9
- argument :sis_import_id, ID, "The unique identifier for the SIS import..Example: 1", required: false
10
- argument :file, String, "The file where the error message occurred..Example: courses.csv", required: false
11
- argument :message, String, "The error message that from the record..Example: No short_name given for course C001", required: false
12
- argument :row_info, String, "The contents of the line that had the error..Example: account_1, Sub account 1,, active ", required: false
13
- argument :row, Int, "The line number where the error occurred. Some Importers do not yet support this. This is a 1 based index starting with the header row..Example: 34", required: false
9
+ argument :sis_import_id, ID, "The unique identifier for the SIS import..Example: 1", required: false
10
+ argument :file, String, "The file where the error message occurred..Example: courses.csv", required: false
11
+ argument :message, String, "The error message that from the record..Example: No short_name given for course C001", required: false
12
+ argument :row_info, String, "The contents of the line that had the error..Example: account_1, Sub account 1,, active ", required: false
13
+ argument :row, Int, "The line number where the error occurred. Some Importers do not yet support this. This is a 1 based index starting with the header row..Example: 34", required: false
14
14
 
15
15
  end
16
16
  end
@@ -23,11 +23,11 @@ module LMSGraphQL
23
23
  end
24
24
  class CanvasSisImportInput < BaseInputObject
25
25
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
26
- argument :id, ID, "The unique identifier for the SIS import..Example: 1", required: false
27
- argument :created_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import was created..Example: 2013-12-01T23:59:00-06:00", required: false
28
- argument :ended_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import finished. Returns null if not finished..Example: 2013-12-02T00:03:21-06:00", required: false
29
- argument :updated_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import was last updated..Example: 2013-12-02T00:03:21-06:00", required: false
30
- argument :workflow_state, SisImportWorkflowStateEnum, "The current state of the SIS import.
26
+ argument :id, ID, "The unique identifier for the SIS import..Example: 1", required: false
27
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import was created..Example: 2013-12-01T23:59:00-06:00", required: false
28
+ argument :ended_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import finished. Returns null if not finished..Example: 2013-12-02T00:03:21-06:00", required: false
29
+ argument :updated_at, LMSGraphQL::Types::DateTimeType, "The date the SIS import was last updated..Example: 2013-12-02T00:03:21-06:00", required: false
30
+ argument :workflow_state, SisImportWorkflowStateEnum, "The current state of the SIS import.
31
31
  - 'initializing': The SIS import is being created, if this gets stuck in initializing, it will not import and will continue on to next import.
32
32
  - 'created': The SIS import has been created.
33
33
  - 'importing': The SIS import is currently processing.
@@ -40,23 +40,23 @@ module LMSGraphQL
40
40
  - 'restoring': The SIS import is restoring states of imported items.
41
41
  - 'partially_restored': The SIS import is restored some of the states of imported items. This is generally due to passing a param like undelete only.
42
42
  - 'restored': The SIS import is restored all of the states of imported items..Example: imported", required: false
43
- argument :data, LMSGraphQL::Types::Canvas::CanvasSisImportDatumInput, "data.", required: false
44
- argument :statistics, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "statistics.", required: false
45
- argument :progress, String, "The progress of the SIS import. The progress will reset when using batch_mode and have a different progress for the cleanup stage.Example: 100", required: false
46
- argument :errors_attachment, LMSGraphQL::Types::Canvas::CanvasFileInput, "The errors_attachment api object of the SIS import. Only available if there are errors or warning and import has completed..", required: false
47
- argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The user that initiated the sis_batch. See the Users API for details..", required: false
48
- argument :processing_warnings, String, "Only imports that are complete will get this data. An array of CSV_file/warning_message pairs..Example: students.csv, user John Doe has already claimed john_doe's requested login information, skipping", required: false
49
- argument :processing_errors, String, "An array of CSV_file/error_message pairs..Example: students.csv, Error while importing CSV. Please contact support.", required: false
50
- argument :batch_mode, Boolean, "Whether the import was run in batch mode..Example: true", required: false
51
- argument :batch_mode_term_id, ID, "The term the batch was limited to..Example: 1234", required: false
52
- argument :multi_term_batch_mode, Boolean, "Enables batch mode against all terms in term file. Requires change_threshold to be set..Example: false", required: false
53
- argument :skip_deletes, Boolean, "When set the import will skip any deletes..Example: false", required: false
54
- argument :override_sis_stickiness, Boolean, "Whether UI changes were overridden..Example: false", required: false
55
- argument :add_sis_stickiness, Boolean, "Whether stickiness was added to the batch changes..Example: false", required: false
56
- argument :clear_sis_stickiness, Boolean, "Whether stickiness was cleared..Example: false", required: false
57
- argument :diffing_data_set_identifier, String, "The identifier of the data set that this SIS batch diffs against.Example: account-5-enrollments", required: false
58
- argument :diffed_against_import_id, ID, "The ID of the SIS Import that this import was diffed against.Example: 1", required: false
59
- argument :csv_attachments, String, "An array of CSV files for processing.", required: false
43
+ argument :data, LMSGraphQL::Types::Canvas::CanvasSisImportDatumInput, "data.", required: false
44
+ argument :statistics, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "statistics.", required: false
45
+ argument :progress, String, "The progress of the SIS import. The progress will reset when using batch_mode and have a different progress for the cleanup stage.Example: 100", required: false
46
+ argument :errors_attachment, LMSGraphQL::Types::Canvas::CanvasFileInput, "The errors_attachment api object of the SIS import. Only available if there are errors or warning and import has completed..", required: false
47
+ argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The user that initiated the sis_batch. See the Users API for details..", required: false
48
+ argument :processing_warnings, String, "Only imports that are complete will get this data. An array of CSV_file/warning_message pairs..Example: students.csv, user John Doe has already claimed john_doe's requested login information, skipping", required: false
49
+ argument :processing_errors, String, "An array of CSV_file/error_message pairs..Example: students.csv, Error while importing CSV. Please contact support.", required: false
50
+ argument :batch_mode, Boolean, "Whether the import was run in batch mode..Example: true", required: false
51
+ argument :batch_mode_term_id, ID, "The term the batch was limited to..Example: 1234", required: false
52
+ argument :multi_term_batch_mode, Boolean, "Enables batch mode against all terms in term file. Requires change_threshold to be set..Example: false", required: false
53
+ argument :skip_deletes, Boolean, "When set the import will skip any deletes..Example: false", required: false
54
+ argument :override_sis_stickiness, Boolean, "Whether UI changes were overridden..Example: false", required: false
55
+ argument :add_sis_stickiness, Boolean, "Whether stickiness was added to the batch changes..Example: false", required: false
56
+ argument :clear_sis_stickiness, Boolean, "Whether stickiness was cleared..Example: false", required: false
57
+ argument :diffing_data_set_identifier, String, "The identifier of the data set that this SIS batch diffs against.Example: account-5-enrollments", required: false
58
+ argument :diffed_against_import_id, ID, "The ID of the SIS Import that this import was diffed against.Example: 1", required: false
59
+ argument :csv_attachments, String, "An array of CSV files for processing.", required: false
60
60
 
61
61
  end
62
62
  end
@@ -18,20 +18,20 @@ module LMSGraphQL
18
18
  module Canvas
19
19
  class CanvasSisImportStatisticInput < BaseInputObject
20
20
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
21
- argument :total_state_changes, Int, "This is the total number of items that were changed in the sis import. There are a few caveats that can cause this number to not add up to the individual counts. There are some state changes that happen that have no impact to the object. An example would be changing a course from 'created' to 'claimed'. Both of these would be considered an active course, but would increment this counter. In this example the course would not increment the created or restored counters for course statistic..Example: 382", required: false
22
- argument :account, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for accounts..", required: false
23
- argument :enrollment_term, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for terms..", required: false
24
- argument :communication_channel, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for communication channels. This is an indirect effect from creating or deleting a user..", required: false
25
- argument :abstract_course, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for abstract courses..", required: false
26
- argument :course, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for courses..", required: false
27
- argument :course_section, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for course sections..", required: false
28
- argument :enrollment, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for enrollments..", required: false
29
- argument :group_category, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for group categories..", required: false
30
- argument :group, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for groups..", required: false
31
- argument :group_membership, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for group memberships. This can be a direct impact from the import or indirect from an enrollment being deleted..", required: false
32
- argument :pseudonym, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for pseudonyms. Pseudonyms are logins for users, and are the object that ties an enrollment to a user. This would be impacted from the user importer. .", required: false
33
- argument :user_observer, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for user observers..", required: false
34
- argument :account_user, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for account users..", required: false
21
+ argument :total_state_changes, Int, "This is the total number of items that were changed in the sis import. There are a few caveats that can cause this number to not add up to the individual counts. There are some state changes that happen that have no impact to the object. An example would be changing a course from 'created' to 'claimed'. Both of these would be considered an active course, but would increment this counter. In this example the course would not increment the created or restored counters for course statistic..Example: 382", required: false
22
+ argument :account, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for accounts..", required: false
23
+ argument :enrollment_term, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for terms..", required: false
24
+ argument :communication_channel, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for communication channels. This is an indirect effect from creating or deleting a user..", required: false
25
+ argument :abstract_course, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for abstract courses..", required: false
26
+ argument :course, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for courses..", required: false
27
+ argument :course_section, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for course sections..", required: false
28
+ argument :enrollment, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for enrollments..", required: false
29
+ argument :group_category, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for group categories..", required: false
30
+ argument :group, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for groups..", required: false
31
+ argument :group_membership, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for group memberships. This can be a direct impact from the import or indirect from an enrollment being deleted..", required: false
32
+ argument :pseudonym, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for pseudonyms. Pseudonyms are logins for users, and are the object that ties an enrollment to a user. This would be impacted from the user importer. .", required: false
33
+ argument :user_observer, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for user observers..", required: false
34
+ argument :account_user, LMSGraphQL::Types::Canvas::CanvasSisImportStatisticInput, "This contains that statistics for account users..", required: false
35
35
 
36
36
  end
37
37
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSSOSettingInput < BaseInputObject
8
8
  description "Authentication Providers. API Docs: https://canvas.instructure.com/doc/api/authentication_providers.html"
9
- argument :login_handle_name, String, "The label used for unique login identifiers..Example: Username", required: false
10
- argument :change_password_url, String, "The url to redirect users to for password resets. Leave blank for default Canvas behavior.Example: https://example.com/reset_password", required: false
11
- argument :auth_discovery_url, String, "If a discovery url is set, canvas will forward all users to that URL when they need to be authenticated. That page will need to then help the user figure out where they need to go to log in. If no discovery url is configured, the first configuration will be used to attempt to authenticate the user..Example: https://example.com/which_account", required: false
12
- argument :unknown_user_url, String, "If an unknown user url is set, Canvas will forward to that url when a service authenticates a user, but that user does not exist in Canvas. The default behavior is to present an error..Example: https://example.com/register_for_canvas", required: false
9
+ argument :login_handle_name, String, "The label used for unique login identifiers..Example: Username", required: false
10
+ argument :change_password_url, String, "The url to redirect users to for password resets. Leave blank for default Canvas behavior.Example: https://example.com/reset_password", required: false
11
+ argument :auth_discovery_url, String, "If a discovery url is set, canvas will forward all users to that URL when they need to be authenticated. That page will need to then help the user figure out where they need to go to log in. If no discovery url is configured, the first configuration will be used to attempt to authenticate the user..Example: https://example.com/which_account", required: false
12
+ argument :unknown_user_url, String, "If an unknown user url is set, Canvas will forward to that url when a service authenticates a user, but that user does not exist in Canvas. The default behavior is to present an error..Example: https://example.com/register_for_canvas", required: false
13
13
 
14
14
  end
15
15
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasStudentAttributeInput < BaseInputObject
8
8
  description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
9
- argument :user_id, ID, "The unique Canvas identifier for the user.Example: 511", required: false
10
- argument :sis_user_id, ID, "The SIS ID associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: SHEL93921", required: false
9
+ argument :user_id, ID, "The unique Canvas identifier for the user.Example: 511", required: false
10
+ argument :sis_user_id, ID, "The SIS ID associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: SHEL93921", required: false
11
11
 
12
12
  end
13
13
  end
@@ -1,5 +1,8 @@
1
1
  require_relative "../canvas_base_type"
2
+ require_relative "assignment"
3
+ require_relative "course"
2
4
  require_relative "submission_comment"
5
+ require_relative "user"
3
6
 
4
7
  module LMSGraphQL
5
8
  module Types
@@ -20,8 +23,8 @@ module LMSGraphQL
20
23
  class CanvasSubmission < BaseType
21
24
  description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
22
25
  field :assignment_id, ID, "The submission's assignment id.Example: 23", null: true
23
- field :assignment, String, "The submission's assignment (see the assignments API) (optional).Example: Assignment", null: true
24
- field :course, String, "The submission's course (see the course API) (optional).Example: Course", null: true
26
+ field :assignment, LMSGraphQL::Types::Canvas::CanvasAssignment, "The submission's assignment (see the assignments API) (optional).", null: true
27
+ field :course, LMSGraphQL::Types::Canvas::CanvasCourse, "The submission's course (see the course API) (optional).", null: true
25
28
  field :attempt, Int, "This is the submission attempt number..Example: 1", null: true
26
29
  field :body, String, "The content of the submission, if it was submitted directly in a text field..Example: There are three factors too.", null: true
27
30
  field :grade, String, "The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)..Example: A-", null: true
@@ -36,7 +39,7 @@ module LMSGraphQL
36
39
  field :user_id, ID, "The id of the user who created the submission.Example: 134", null: true
37
40
  field :grader_id, ID, "The id of the user who graded the submission. This will be null for submissions that haven't been graded yet. It will be a positive number if a real user has graded the submission and a negative number if the submission was graded by a process (e.g. Quiz autograder and autograding LTI tools). Specifically autograded quizzes set grader_id to the negative of the quiz id. Submissions autograded by LTI tools set grader_id to the negative of the tool id..Example: 86", null: true
38
41
  field :graded_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-02T03:05:34Z", null: true
39
- field :user, String, "The submissions user (see user API) (optional).Example: User", null: true
42
+ field :user, LMSGraphQL::Types::Canvas::CanvasUser, "The submissions user (see user API) (optional).", null: true
40
43
  field :late, Boolean, "Whether the submission was made after the applicable due date.", null: true
41
44
  field :assignment_visible, Boolean, "Whether the assignment is visible to the user who submitted the assignment. Submissions where `assignment_visible` is false no longer count towards the student's grade and the assignment can no longer be accessed by the student. `assignment_visible` becomes false for submissions that do not have a grade and whose assignment is no longer assigned to the student's section..Example: true", null: true
42
45
  field :excused, Boolean, "Whether the assignment is excused. Excused assignments have no impact on a user's grade..Example: true", null: true
@@ -47,6 +50,7 @@ module LMSGraphQL
47
50
  field :workflow_state, SubmissionWorkflowStateEnum, "The current state of the submission.Example: submitted", null: true
48
51
  field :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", null: true
49
52
  field :anonymous_id, ID, "A unique short ID identifying this submission without reference to the owning user. Only included if the caller has administrator access for the current account..Example: acJ4Q", null: true
53
+ field :posted_at, LMSGraphQL::Types::DateTimeType, "The date this submission was posted to the student, or nil if it has not been posted..Example: 2020-01-02T11:10:30Z", null: true
50
54
 
51
55
  end
52
56
  end
@@ -6,14 +6,14 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSubmissionCommentInput < BaseInputObject
8
8
  description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
9
- argument :id, ID, "Example: 37", required: false
10
- argument :author_id, ID, "Example: 134", required: false
11
- argument :author_name, String, "Example: Toph Beifong", required: false
12
- argument :author, String, "Abbreviated user object UserDisplay (see users API)..Example: {}", required: false
13
- argument :comment, String, "Example: Well here's the thing.", required: false
14
- argument :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-01T01:00:00Z", required: false
15
- argument :edited_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-02T01:00:00Z", required: false
16
- argument :media_comment, LMSGraphQL::Types::Canvas::CanvasMediaCommentInput, "", required: false
9
+ argument :id, ID, "Example: 37", required: false
10
+ argument :author_id, ID, "Example: 134", required: false
11
+ argument :author_name, String, "Example: Toph Beifong", required: false
12
+ argument :author, String, "Abbreviated user object UserDisplay (see users API)..Example: {}", required: false
13
+ argument :comment, String, "Example: Well here's the thing.", required: false
14
+ argument :created_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-01T01:00:00Z", required: false
15
+ argument :edited_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-02T01:00:00Z", required: false
16
+ argument :media_comment, LMSGraphQL::Types::Canvas::CanvasMediaCommentInput, "", required: false
17
17
 
18
18
  end
19
19
  end
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSubmissionHistoryInput < BaseInputObject
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- argument :submission_id, ID, "the id of the submission.Example: 4", required: false
10
- argument :versions, [LMSGraphQL::Types::Canvas::CanvasSubmissionVersionInput], "an array of all the versions of this submission.", required: false
9
+ argument :submission_id, ID, "the id of the submission.Example: 4", required: false
10
+ argument :versions, [LMSGraphQL::Types::Canvas::CanvasSubmissionVersionInput], "an array of all the versions of this submission.", required: false
11
11
 
12
12
  end
13
13
  end
@@ -1,5 +1,8 @@
1
1
  require_relative "../canvas_base_input_type"
2
+ require_relative "assignment"
3
+ require_relative "course"
2
4
  require_relative "submission_comment"
5
+ require_relative "user"
3
6
 
4
7
  module LMSGraphQL
5
8
  module Types
@@ -19,34 +22,35 @@ module LMSGraphQL
19
22
  end
20
23
  class CanvasSubmissionInput < BaseInputObject
21
24
  description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
22
- argument :assignment_id, ID, "The submission's assignment id.Example: 23", required: false
23
- argument :assignment, String, "The submission's assignment (see the assignments API) (optional).Example: Assignment", required: false
24
- argument :course, String, "The submission's course (see the course API) (optional).Example: Course", required: false
25
- argument :attempt, Int, "This is the submission attempt number..Example: 1", required: false
26
- argument :body, String, "The content of the submission, if it was submitted directly in a text field..Example: There are three factors too.", required: false
27
- argument :grade, String, "The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)..Example: A-", required: false
28
- argument :grade_matches_current_submission, Boolean, "A boolean flag which is false if the student has re-submitted since the submission was last graded..Example: true", required: false
29
- argument :html_url, String, "URL to the submission. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134", required: false
30
- argument :preview_url, String, "URL to the submission preview. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134?preview=1", required: false
31
- argument :score, Float, "The raw score.Example: 13.5", required: false
32
- argument :submission_comments, [LMSGraphQL::Types::Canvas::CanvasSubmissionCommentInput], "Associated comments for a submission (optional).", required: false
33
- argument :submission_type, SubmissionSubmissionTypeEnum, "The types of submission ex: ('online_text_entry'|'online_url'|'online_upload'|'media_recording').Example: online_text_entry", required: false
34
- argument :submitted_at, LMSGraphQL::Types::DateTimeType, "The timestamp when the assignment was submitted.Example: 2012-01-01T01:00:00Z", required: false
35
- argument :url, String, "The URL of the submission (for 'online_url' submissions)..", required: false
36
- argument :user_id, ID, "The id of the user who created the submission.Example: 134", required: false
37
- argument :grader_id, ID, "The id of the user who graded the submission. This will be null for submissions that haven't been graded yet. It will be a positive number if a real user has graded the submission and a negative number if the submission was graded by a process (e.g. Quiz autograder and autograding LTI tools). Specifically autograded quizzes set grader_id to the negative of the quiz id. Submissions autograded by LTI tools set grader_id to the negative of the tool id..Example: 86", required: false
38
- argument :graded_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-02T03:05:34Z", required: false
39
- argument :user, String, "The submissions user (see user API) (optional).Example: User", required: false
40
- argument :late, Boolean, "Whether the submission was made after the applicable due date.", required: false
41
- argument :assignment_visible, Boolean, "Whether the assignment is visible to the user who submitted the assignment. Submissions where `assignment_visible` is false no longer count towards the student's grade and the assignment can no longer be accessed by the student. `assignment_visible` becomes false for submissions that do not have a grade and whose assignment is no longer assigned to the student's section..Example: true", required: false
42
- argument :excused, Boolean, "Whether the assignment is excused. Excused assignments have no impact on a user's grade..Example: true", required: false
43
- argument :missing, Boolean, "Whether the assignment is missing..Example: true", required: false
44
- argument :late_policy_status, String, "The status of the submission in relation to the late policy. Can be late, missing, none, or null..Example: missing", required: false
45
- argument :points_deducted, Float, "The amount of points automatically deducted from the score by the missing/late policy for a late or missing assignment..Example: 12.3", required: false
46
- argument :seconds_late, Float, "The amount of time, in seconds, that an submission is late by..Example: 300", required: false
47
- argument :workflow_state, SubmissionWorkflowStateEnum, "The current state of the submission.Example: submitted", required: false
48
- argument :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", required: false
49
- argument :anonymous_id, ID, "A unique short ID identifying this submission without reference to the owning user. Only included if the caller has administrator access for the current account..Example: acJ4Q", required: false
25
+ argument :assignment_id, ID, "The submission's assignment id.Example: 23", required: false
26
+ argument :assignment, LMSGraphQL::Types::Canvas::CanvasAssignmentInput, "The submission's assignment (see the assignments API) (optional).", required: false
27
+ argument :course, LMSGraphQL::Types::Canvas::CanvasCourseInput, "The submission's course (see the course API) (optional).", required: false
28
+ argument :attempt, Int, "This is the submission attempt number..Example: 1", required: false
29
+ argument :body, String, "The content of the submission, if it was submitted directly in a text field..Example: There are three factors too.", required: false
30
+ argument :grade, String, "The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)..Example: A-", required: false
31
+ argument :grade_matches_current_submission, Boolean, "A boolean flag which is false if the student has re-submitted since the submission was last graded..Example: true", required: false
32
+ argument :html_url, String, "URL to the submission. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134", required: false
33
+ argument :preview_url, String, "URL to the submission preview. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134?preview=1", required: false
34
+ argument :score, Float, "The raw score.Example: 13.5", required: false
35
+ argument :submission_comments, [LMSGraphQL::Types::Canvas::CanvasSubmissionCommentInput], "Associated comments for a submission (optional).", required: false
36
+ argument :submission_type, SubmissionSubmissionTypeEnum, "The types of submission ex: ('online_text_entry'|'online_url'|'online_upload'|'media_recording').Example: online_text_entry", required: false
37
+ argument :submitted_at, LMSGraphQL::Types::DateTimeType, "The timestamp when the assignment was submitted.Example: 2012-01-01T01:00:00Z", required: false
38
+ argument :url, String, "The URL of the submission (for 'online_url' submissions)..", required: false
39
+ argument :user_id, ID, "The id of the user who created the submission.Example: 134", required: false
40
+ argument :grader_id, ID, "The id of the user who graded the submission. This will be null for submissions that haven't been graded yet. It will be a positive number if a real user has graded the submission and a negative number if the submission was graded by a process (e.g. Quiz autograder and autograding LTI tools). Specifically autograded quizzes set grader_id to the negative of the quiz id. Submissions autograded by LTI tools set grader_id to the negative of the tool id..Example: 86", required: false
41
+ argument :graded_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-02T03:05:34Z", required: false
42
+ argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The submissions user (see user API) (optional).", required: false
43
+ argument :late, Boolean, "Whether the submission was made after the applicable due date.", required: false
44
+ argument :assignment_visible, Boolean, "Whether the assignment is visible to the user who submitted the assignment. Submissions where `assignment_visible` is false no longer count towards the student's grade and the assignment can no longer be accessed by the student. `assignment_visible` becomes false for submissions that do not have a grade and whose assignment is no longer assigned to the student's section..Example: true", required: false
45
+ argument :excused, Boolean, "Whether the assignment is excused. Excused assignments have no impact on a user's grade..Example: true", required: false
46
+ argument :missing, Boolean, "Whether the assignment is missing..Example: true", required: false
47
+ argument :late_policy_status, String, "The status of the submission in relation to the late policy. Can be late, missing, none, or null..Example: missing", required: false
48
+ argument :points_deducted, Float, "The amount of points automatically deducted from the score by the missing/late policy for a late or missing assignment..Example: 12.3", required: false
49
+ argument :seconds_late, Float, "The amount of time, in seconds, that an submission is late by..Example: 300", required: false
50
+ argument :workflow_state, SubmissionWorkflowStateEnum, "The current state of the submission.Example: submitted", required: false
51
+ argument :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", required: false
52
+ argument :anonymous_id, ID, "A unique short ID identifying this submission without reference to the owning user. Only included if the caller has administrator access for the current account..Example: acJ4Q", required: false
53
+ argument :posted_at, LMSGraphQL::Types::DateTimeType, "The date this submission was posted to the student, or nil if it has not been posted..Example: 2020-01-02T11:10:30Z", required: false
50
54
 
51
55
  end
52
56
  end
@@ -6,29 +6,29 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasSubmissionVersionInput < BaseInputObject
8
8
  description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
9
- argument :assignment_id, ID, "the id of the assignment this submissions is for.Example: 22604", required: false
10
- argument :assignment_name, String, "the name of the assignment this submission is for.Example: some assignment", required: false
11
- argument :body, String, "the body text of the submission.Example: text from the submission", required: false
12
- argument :current_grade, String, "the most up to date grade for the current version of this submission.Example: 100", required: false
13
- argument :current_graded_at, LMSGraphQL::Types::DateTimeType, "the latest time stamp for the grading of this submission.Example: 2013-01-31T18:16:31Z", required: false
14
- argument :current_grader, String, "the name of the most recent grader for this submission.Example: Grader Name", required: false
15
- argument :grade_matches_current_submission, Boolean, "boolean indicating whether the grade is equal to the current submission grade.Example: true", required: false
16
- argument :graded_at, LMSGraphQL::Types::DateTimeType, "time stamp for the grading of this version of the submission.Example: 2013-01-31T18:16:31Z", required: false
17
- argument :grader, String, "the name of the user who graded this version of the submission.Example: Grader Name", required: false
18
- argument :grader_id, ID, "the user id of the user who graded this version of the submission.Example: 67379", required: false
19
- argument :id, ID, "the id of the submission of which this is a version.Example: 11607", required: false
20
- argument :new_grade, String, "the updated grade provided in this version of the submission.Example: 100", required: false
21
- argument :new_graded_at, LMSGraphQL::Types::DateTimeType, "the timestamp for the grading of this version of the submission (alias for graded_at).Example: 2013-01-31T18:16:31Z", required: false
22
- argument :new_grader, String, "alias for 'grader'.Example: Grader Name", required: false
23
- argument :previous_grade, String, "the grade for the submission version immediately preceding this one.Example: 90", required: false
24
- argument :previous_graded_at, LMSGraphQL::Types::DateTimeType, "the timestamp for the grading of the submission version immediately preceding this one.Example: 2013-01-29T12:12:12Z", required: false
25
- argument :previous_grader, String, "the name of the grader who graded the version of this submission immediately preceding this one.Example: Graded on submission", required: false
26
- argument :score, Int, "the score for this version of the submission.Example: 100", required: false
27
- argument :user_name, String, "the name of the student who created this submission.Example: student@example.com", required: false
28
- argument :submission_type, String, "the type of submission.Example: online", required: false
29
- argument :url, String, "the url of the submission, if there is one.", required: false
30
- argument :user_id, ID, "the user ID of the student who created this submission.Example: 67376", required: false
31
- argument :workflow_state, String, "the state of the submission at this version.Example: unsubmitted", required: false
9
+ argument :assignment_id, ID, "the id of the assignment this submissions is for.Example: 22604", required: false
10
+ argument :assignment_name, String, "the name of the assignment this submission is for.Example: some assignment", required: false
11
+ argument :body, String, "the body text of the submission.Example: text from the submission", required: false
12
+ argument :current_grade, String, "the most up to date grade for the current version of this submission.Example: 100", required: false
13
+ argument :current_graded_at, LMSGraphQL::Types::DateTimeType, "the latest time stamp for the grading of this submission.Example: 2013-01-31T18:16:31Z", required: false
14
+ argument :current_grader, String, "the name of the most recent grader for this submission.Example: Grader Name", required: false
15
+ argument :grade_matches_current_submission, Boolean, "boolean indicating whether the grade is equal to the current submission grade.Example: true", required: false
16
+ argument :graded_at, LMSGraphQL::Types::DateTimeType, "time stamp for the grading of this version of the submission.Example: 2013-01-31T18:16:31Z", required: false
17
+ argument :grader, String, "the name of the user who graded this version of the submission.Example: Grader Name", required: false
18
+ argument :grader_id, ID, "the user id of the user who graded this version of the submission.Example: 67379", required: false
19
+ argument :id, ID, "the id of the submission of which this is a version.Example: 11607", required: false
20
+ argument :new_grade, String, "the updated grade provided in this version of the submission.Example: 100", required: false
21
+ argument :new_graded_at, LMSGraphQL::Types::DateTimeType, "the timestamp for the grading of this version of the submission (alias for graded_at).Example: 2013-01-31T18:16:31Z", required: false
22
+ argument :new_grader, String, "alias for 'grader'.Example: Grader Name", required: false
23
+ argument :previous_grade, String, "the grade for the submission version immediately preceding this one.Example: 90", required: false
24
+ argument :previous_graded_at, LMSGraphQL::Types::DateTimeType, "the timestamp for the grading of the submission version immediately preceding this one.Example: 2013-01-29T12:12:12Z", required: false
25
+ argument :previous_grader, String, "the name of the grader who graded the version of this submission immediately preceding this one.Example: Graded on submission", required: false
26
+ argument :score, Int, "the score for this version of the submission.Example: 100", required: false
27
+ argument :user_name, String, "the name of the student who created this submission.Example: student@example.com", required: false
28
+ argument :submission_type, String, "the type of submission.Example: online", required: false
29
+ argument :url, String, "the url of the submission, if there is one.", required: false
30
+ argument :user_id, ID, "the user ID of the student who created this submission.Example: 67376", required: false
31
+ argument :workflow_state, String, "the state of the submission at this version.Example: unsubmitted", required: false
32
32
 
33
33
  end
34
34
  end