lms-graphql-api 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lms_graphql/mutations/canvas/add_message.rb +2 -2
  3. data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
  4. data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +2 -2
  5. data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -3
  6. data/lib/lms_graphql/mutations/canvas/create_assignment.rb +2 -2
  7. data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +1 -1
  8. data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
  9. data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +1 -1
  10. data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
  11. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
  12. data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
  13. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
  14. data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
  15. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
  16. data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
  17. data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
  18. data/lib/lms_graphql/mutations/canvas/create_new_course.rb +1 -1
  19. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
  20. data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
  21. data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +3 -3
  22. data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
  23. data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
  24. data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
  25. data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
  26. data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
  27. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
  28. data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
  29. data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
  30. data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +2 -2
  31. data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
  32. data/lib/lms_graphql/mutations/canvas/edit_group.rb +1 -1
  33. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +1 -1
  34. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +1 -1
  35. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +1 -1
  36. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +1 -1
  37. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +1 -1
  38. data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +1 -1
  39. data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
  40. data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
  41. data/lib/lms_graphql/mutations/canvas/mutations.rb +1 -0
  42. data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
  43. data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
  44. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
  45. data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
  46. data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
  47. data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
  48. data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
  49. data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
  50. data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
  51. data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
  52. data/lib/lms_graphql/mutations/canvas/update_account.rb +11 -1
  53. data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
  54. data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +1 -1
  55. data/lib/lms_graphql/mutations/canvas/update_course.rb +8 -4
  56. data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +1 -1
  57. data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
  58. data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
  59. data/lib/lms_graphql/mutations/canvas/update_outcome.rb +2 -2
  60. data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
  61. data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +1 -1
  62. data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
  63. data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
  64. data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
  65. data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
  66. data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
  67. data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
  68. data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
  69. data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
  70. data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
  71. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
  72. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
  73. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
  74. data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
  75. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
  76. data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
  77. data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
  78. data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +1 -1
  79. data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +1 -1
  80. data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +1 -1
  81. data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +1 -1
  82. data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +2 -2
  83. data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
  84. data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
  85. data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
  86. data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
  87. data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
  88. data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
  89. data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
  90. data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
  91. data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
  92. data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
  93. data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
  94. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
  95. data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
  96. data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
  97. data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
  98. data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
  99. data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
  100. data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +4 -2
  101. data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
  102. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +3 -3
  103. data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
  104. data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
  105. data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
  106. data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +9 -7
  107. data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +4 -2
  108. data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
  109. data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
  110. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
  111. data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
  112. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
  113. data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
  114. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
  115. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
  116. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
  117. data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
  118. data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +5 -3
  119. data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +5 -3
  120. data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
  121. data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
  122. data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
  123. data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
  124. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
  125. data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
  126. data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
  127. data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
  128. data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
  129. data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
  130. data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
  131. data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
  132. data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
  133. data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
  134. data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
  135. data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
  136. data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
  137. data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
  138. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
  139. data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
  140. data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
  141. data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
  142. data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
  143. data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
  144. data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
  145. data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +2 -2
  146. data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
  147. data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
  148. data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
  149. data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
  150. data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +1 -1
  151. data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +1 -1
  152. data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +1 -1
  153. data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
  154. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +1 -1
  155. data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +1 -1
  156. data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
  157. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
  158. data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
  159. data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
  160. data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
  161. data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
  162. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
  163. data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
  164. data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
  165. data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
  166. data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
  167. data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
  168. data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -2
  169. data/lib/lms_graphql/types/canvas/account_notification.rb +1 -1
  170. data/lib/lms_graphql/types/canvas/account_notification_input.rb +1 -1
  171. data/lib/lms_graphql/types/canvas/appointment_group.rb +2 -2
  172. data/lib/lms_graphql/types/canvas/appointment_group_input.rb +2 -2
  173. data/lib/lms_graphql/types/canvas/assignment.rb +4 -4
  174. data/lib/lms_graphql/types/canvas/assignment_event.rb +1 -0
  175. data/lib/lms_graphql/types/canvas/assignment_event_input.rb +1 -0
  176. data/lib/lms_graphql/types/canvas/assignment_group.rb +1 -1
  177. data/lib/lms_graphql/types/canvas/assignment_group_input.rb +1 -1
  178. data/lib/lms_graphql/types/canvas/assignment_input.rb +4 -4
  179. data/lib/lms_graphql/types/canvas/authentication_provider.rb +1 -0
  180. data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +1 -0
  181. data/lib/lms_graphql/types/canvas/calendar_event.rb +2 -1
  182. data/lib/lms_graphql/types/canvas/calendar_event_input.rb +2 -1
  183. data/lib/lms_graphql/types/canvas/conference.rb +1 -1
  184. data/lib/lms_graphql/types/canvas/conference_input.rb +1 -1
  185. data/lib/lms_graphql/types/canvas/conversation.rb +3 -3
  186. data/lib/lms_graphql/types/canvas/conversation_input.rb +3 -3
  187. data/lib/lms_graphql/types/canvas/created_event_datum.rb +4 -4
  188. data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +4 -4
  189. data/lib/lms_graphql/types/canvas/discussion_topic.rb +1 -1
  190. data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +1 -1
  191. data/lib/lms_graphql/types/canvas/grader.rb +1 -1
  192. data/lib/lms_graphql/types/canvas/grader_input.rb +1 -1
  193. data/lib/lms_graphql/types/canvas/grading_rule.rb +1 -1
  194. data/lib/lms_graphql/types/canvas/grading_rule_input.rb +1 -1
  195. data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
  196. data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
  197. data/lib/lms_graphql/types/canvas/migrator.rb +1 -1
  198. data/lib/lms_graphql/types/canvas/migrator_input.rb +1 -1
  199. data/lib/lms_graphql/types/canvas/profile.rb +1 -0
  200. data/lib/lms_graphql/types/canvas/profile_input.rb +1 -0
  201. data/lib/lms_graphql/types/canvas/query_type.rb +13 -1
  202. data/lib/lms_graphql/types/canvas/quiz.rb +1 -1
  203. data/lib/lms_graphql/types/canvas/quiz_input.rb +1 -1
  204. data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +1 -1
  205. data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +1 -1
  206. data/lib/lms_graphql/types/canvas/report_parameter.rb +1 -1
  207. data/lib/lms_graphql/types/canvas/report_parameter_input.rb +1 -1
  208. data/lib/lms_graphql/types/canvas/rubric_assessment.rb +1 -1
  209. data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +1 -1
  210. data/lib/lms_graphql/types/canvas/sis_import_datum.rb +1 -1
  211. data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +1 -1
  212. data/lib/lms_graphql/types/canvas/submission.rb +6 -0
  213. data/lib/lms_graphql/types/canvas/submission_input.rb +6 -0
  214. data/lib/lms_graphql/types/canvas/updated_event_datum.rb +4 -4
  215. data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
  216. data/lib/lms_graphql/types/canvas_forward_declarations.rb +2 -0
  217. data/lib/lms_graphql/version.rb +1 -1
  218. metadata +8 -2
@@ -26,7 +26,7 @@ module LMSGraphQL
26
26
  field :sis_terms_csv, Int, "Example: 1", null: true
27
27
  field :sis_accounts_csv, Int, "Example: 1", null: true
28
28
  field :include_enrollment_state, Boolean, "If true, enrollment state will be included. If false, enrollment state will be omitted. Defaults to false..", null: true
29
- field :enrollment_state, String, "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", null: true
29
+ field :enrollment_state, [String], "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", null: true
30
30
  field :start_at, LMSGraphQL::Types::DateTimeType, "The beginning date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", null: true
31
31
  field :end_at, LMSGraphQL::Types::DateTimeType, "The end date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", null: true
32
32
 
@@ -26,7 +26,7 @@ module LMSGraphQL
26
26
  argument :sis_terms_csv, Int, "Example: 1", required: false
27
27
  argument :sis_accounts_csv, Int, "Example: 1", required: false
28
28
  argument :include_enrollment_state, Boolean, "If true, enrollment state will be included. If false, enrollment state will be omitted. Defaults to false..", required: false
29
- argument :enrollment_state, String, "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", required: false
29
+ argument :enrollment_state, [String], "Include enrollment state. Defaults to 'all' Options: ['active'| 'invited'| 'creation_pending'| 'deleted'| 'rejected'| 'completed'| 'inactive'| 'all'].Example: all", required: false
30
30
  argument :start_at, LMSGraphQL::Types::DateTimeType, "The beginning date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", required: false
31
31
  argument :end_at, LMSGraphQL::Types::DateTimeType, "The end date for submissions. Max time range is 2 weeks..Example: 2012-07-13T10:55:20-06:00", required: false
32
32
 
@@ -16,7 +16,7 @@ module LMSGraphQL
16
16
  field :assessment_type, String, "the type of assessment. values will be either 'grading', 'peer_review', or 'provisional_grade'.Example: grading", null: true
17
17
  field :assessor_id, ID, "user id of the person who made the assessment.Example: 6", null: true
18
18
  field :data, String, "(Optional) If 'full' is included in the 'style' parameter, returned assessments will have their full details contained in their data hash. If the user does not request a style, this key will be absent..", null: true
19
- field :comments, String, "(Optional) If 'comments_only' is included in the 'style' parameter, returned assessments will include only the comments portion of their data hash. If the user does not request a style, this key will be absent..", null: true
19
+ field :comments, [String], "(Optional) If 'comments_only' is included in the 'style' parameter, returned assessments will include only the comments portion of their data hash. If the user does not request a style, this key will be absent..", null: true
20
20
 
21
21
  end
22
22
  end
@@ -16,7 +16,7 @@ module LMSGraphQL
16
16
  argument :assessment_type, String, "the type of assessment. values will be either 'grading', 'peer_review', or 'provisional_grade'.Example: grading", required: false
17
17
  argument :assessor_id, ID, "user id of the person who made the assessment.Example: 6", required: false
18
18
  argument :data, String, "(Optional) If 'full' is included in the 'style' parameter, returned assessments will have their full details contained in their data hash. If the user does not request a style, this key will be absent..", required: false
19
- argument :comments, String, "(Optional) If 'comments_only' is included in the 'style' parameter, returned assessments will include only the comments portion of their data hash. If the user does not request a style, this key will be absent..", required: false
19
+ argument :comments, [String], "(Optional) If 'comments_only' is included in the 'style' parameter, returned assessments will include only the comments portion of their data hash. If the user does not request a style, this key will be absent..", required: false
20
20
 
21
21
  end
22
22
  end
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  class CanvasSisImportDatum < BaseType
8
8
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
9
9
  field :import_type, String, "The type of SIS import.Example: instructure_csv", null: true
10
- field :supplied_batches, String, "Which files were included in the SIS import.Example: term, course, section, user, enrollment", null: true
10
+ field :supplied_batches, [String], "Which files were included in the SIS import.Example: term, course, section, user, enrollment", null: true
11
11
  field :counts, LMSGraphQL::Types::Canvas::CanvasSisImportCount, "The number of rows processed for each type of import.", null: true
12
12
 
13
13
  end
@@ -7,7 +7,7 @@ module LMSGraphQL
7
7
  class CanvasSisImportDatumInput < BaseInputObject
8
8
  description "SIS Imports. API Docs: https://canvas.instructure.com/doc/api/sis_imports.html"
9
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
10
+ argument :supplied_batches, [String], "Which files were included in the SIS import.Example: term, course, section, user, enrollment", required: false
11
11
  argument :counts, LMSGraphQL::Types::Canvas::CanvasSisImportCountInput, "The number of rows processed for each type of import.", required: false
12
12
 
13
13
  end
@@ -22,6 +22,11 @@ module LMSGraphQL
22
22
  value "unsubmitted"
23
23
  value "pending_review"
24
24
  end
25
+
26
+ class SubmissionReadStatusEnum < ::GraphQL::Schema::Enum
27
+ value "read"
28
+ value "unread"
29
+ end
25
30
  description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
26
31
  field :assignment_id, ID, "The submission's assignment id.Example: 23", null: true
27
32
  field :assignment, LMSGraphQL::Types::Canvas::CanvasAssignment, "The submission's assignment (see the assignments API) (optional).", null: true
@@ -52,6 +57,7 @@ module LMSGraphQL
52
57
  field :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", null: true
53
58
  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
54
59
  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
60
+ field :read_status, SubmissionReadStatusEnum, "The read status of this submission for the given user (optional). Including read_status will mark submission(s) as read..Example: read", null: true
55
61
 
56
62
  end
57
63
  end
@@ -22,6 +22,11 @@ module LMSGraphQL
22
22
  value "unsubmitted"
23
23
  value "pending_review"
24
24
  end
25
+
26
+ class SubmissionReadStatusEnum < ::GraphQL::Schema::Enum
27
+ value "read"
28
+ value "unread"
29
+ end
25
30
  description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
26
31
  argument :assignment_id, ID, "The submission's assignment id.Example: 23", required: false
27
32
  argument :assignment, LMSGraphQL::Types::Canvas::CanvasAssignmentInput, "The submission's assignment (see the assignments API) (optional).", required: false
@@ -52,6 +57,7 @@ module LMSGraphQL
52
57
  argument :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", required: false
53
58
  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
54
59
  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
60
+ argument :read_status, SubmissionReadStatusEnum, "The read status of this submission for the given user (optional). Including read_status will mark submission(s) as read..Example: read", required: false
55
61
 
56
62
  end
57
63
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasUpdatedEventDatum < BaseType
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
9
- field :name, String, "Example: Course 1, Course 2", null: true
10
- field :start_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", null: true
11
- field :conclude_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", null: true
12
- field :is_public, Boolean, "Example: true, false", null: true
9
+ field :name, [String], "Example: Course 1, Course 2", null: true
10
+ field :start_at, [LMSGraphQL::Types::DateTimeType], "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", null: true
11
+ field :conclude_at, [LMSGraphQL::Types::DateTimeType], "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", null: true
12
+ field :is_public, [Boolean], "Example: true, false", null: true
13
13
 
14
14
  end
15
15
  end
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  module Canvas
7
7
  class CanvasUpdatedEventDatumInput < BaseInputObject
8
8
  description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
9
- argument :name, String, "Example: Course 1, Course 2", required: false
10
- argument :start_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", required: false
11
- argument :conclude_at, LMSGraphQL::Types::DateTimeType, "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", required: false
12
- argument :is_public, Boolean, "Example: true, false", required: false
9
+ argument :name, [String], "Example: Course 1, Course 2", required: false
10
+ argument :start_at, [LMSGraphQL::Types::DateTimeType], "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", required: false
11
+ argument :conclude_at, [LMSGraphQL::Types::DateTimeType], "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", required: false
12
+ argument :is_public, [Boolean], "Example: true, false", required: false
13
13
 
14
14
  end
15
15
  end
@@ -190,6 +190,8 @@ module LMSGraphQL
190
190
  class CanvasGroupMembership < BaseType;end
191
191
  class CanvasHistoryEntryInput < BaseInputObject;end
192
192
  class CanvasHistoryEntry < BaseType;end
193
+ class CanvasInstIDInput < BaseInputObject;end
194
+ class CanvasInstID < BaseType;end
193
195
  class CanvasJWTInput < BaseInputObject;end
194
196
  class CanvasJWT < BaseType;end
195
197
  class CanvasLatePolicyInput < BaseInputObject;end
@@ -1,3 +1,3 @@
1
1
  module LMSGraphQL
2
- VERSION = "1.8.0".freeze
2
+ VERSION = "1.9.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lms-graphql-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atomic Jolt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-05 00:00:00.000000000 Z
12
+ date: 2021-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphql
@@ -164,6 +164,7 @@ files:
164
164
  - lib/lms_graphql/mutations/canvas/create_group_category_courses.rb
165
165
  - lib/lms_graphql/mutations/canvas/create_group_group_categories.rb
166
166
  - lib/lms_graphql/mutations/canvas/create_group_groups.rb
167
+ - lib/lms_graphql/mutations/canvas/create_instid.rb
167
168
  - lib/lms_graphql/mutations/canvas/create_jwt.rb
168
169
  - lib/lms_graphql/mutations/canvas/create_late_policy.rb
169
170
  - lib/lms_graphql/mutations/canvas/create_line_item.rb
@@ -523,6 +524,7 @@ files:
523
524
  - lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb
524
525
  - lib/lms_graphql/resolvers/canvas/find_recipients_search.rb
525
526
  - lib/lms_graphql/resolvers/canvas/get_account.rb
527
+ - lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb
526
528
  - lib/lms_graphql/resolvers/canvas/get_aligned_assignments_for_outcome_in_course_for_particular_student.rb
527
529
  - lib/lms_graphql/resolvers/canvas/get_all_outcome_groups_for_context_accounts.rb
528
530
  - lib/lms_graphql/resolvers/canvas/get_all_outcome_groups_for_context_courses.rb
@@ -670,6 +672,7 @@ files:
670
672
  - lib/lms_graphql/resolvers/canvas/get_user_progress.rb
671
673
  - lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb
672
674
  - lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb
675
+ - lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb
673
676
  - lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb
674
677
  - lib/lms_graphql/resolvers/canvas/group_activity_stream.rb
675
678
  - lib/lms_graphql/resolvers/canvas/group_activity_stream_summary.rb
@@ -896,6 +899,7 @@ files:
896
899
  - lib/lms_graphql/resolvers/canvas/returns_terms_of_service_for_that_account.rb
897
900
  - lib/lms_graphql/resolvers/canvas/search_account_domains.rb
898
901
  - lib/lms_graphql/resolvers/canvas/search_for_content_share_users.rb
902
+ - lib/lms_graphql/resolvers/canvas/settings.rb
899
903
  - lib/lms_graphql/resolvers/canvas/show_account_auth_settings.rb
900
904
  - lib/lms_graphql/resolvers/canvas/show_blueprint_import.rb
901
905
  - lib/lms_graphql/resolvers/canvas/show_blueprint_migration.rb
@@ -1101,6 +1105,8 @@ files:
1101
1105
  - lib/lms_graphql/types/canvas/help_link_input.rb
1102
1106
  - lib/lms_graphql/types/canvas/history_entry.rb
1103
1107
  - lib/lms_graphql/types/canvas/history_entry_input.rb
1108
+ - lib/lms_graphql/types/canvas/inst_id.rb
1109
+ - lib/lms_graphql/types/canvas/inst_id_input.rb
1104
1110
  - lib/lms_graphql/types/canvas/jsonapi_pagination.rb
1105
1111
  - lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb
1106
1112
  - lib/lms_graphql/types/canvas/jwt.rb