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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b06d7f106cee5ae58d796e17ce71b420cb738dc941492af21bf92e62a1c6c1cd
4
- data.tar.gz: 58844f06a11ebe3fb5c70e95fac506d380a92d3b2adf755947a6f6718cdc74be
3
+ metadata.gz: 7e66a604576bed32b35d5b8b06205dcf9070a2eb3655e16d55fc808f7c77688e
4
+ data.tar.gz: 1ce55ee65235bff1a0e5fcc5f4436c3e4112dfb7a44a48e150b06977adba3486
5
5
  SHA512:
6
- metadata.gz: 34c7b7d3bfaeee6eb842b14624126192f05697b5aca6963b81affbef08dd4e25c9a49d3197aac653049df0fd863194a07bc4e7d499709bbba0d7ff673a7812ba
7
- data.tar.gz: 360565ea0d9e0f319723cb35c4f6d4491804908188e67df88cfaee60d1887dc421ab86e4473095f5b9d0de0c4dd6f00dbbb1376af436e9c13819380c2431921f
6
+ metadata.gz: 5b0603ec53f78ff7a4b9d0bbddc3bab08e31cae84b888ae33f7896872d17daae57f44f7a410d837cea71b180d7d0c0548f190ba110ae50af8bd3017a159f3fb6
7
+ data.tar.gz: 1b9d6babc384bbc766537d160f52925e0deff320abd6a9358b85925bc464b4d9fa66ccc54fa08e2e5ede4b1e85950c17064ff08768018f7c5c742869284dfe3f
@@ -9,8 +9,8 @@ module LMSGraphQL
9
9
  argument :attachment_ids, [ID], required: false
10
10
  argument :media_comment_id, ID, required: false
11
11
  argument :media_comment_type, String, required: false
12
- argument :recipients, String, required: false
13
- argument :included_messages, String, required: false
12
+ argument :recipients, [String], required: false
13
+ argument :included_messages, [String], required: false
14
14
  argument :user_note, Boolean, required: false
15
15
 
16
16
 
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class AddRecipient < BaseMutation
7
7
  argument :id, ID, required: true
8
- argument :recipients, String, required: true
8
+ argument :recipients, [String], required: true
9
9
 
10
10
 
11
11
  field :return_value, Boolean, null: false
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  class CopyCourseContent < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :source_course, String, required: false
9
- argument :except, String, required: false
10
- argument :only, String, required: false
9
+ argument :except, [String], required: false
10
+ argument :only, [String], required: false
11
11
 
12
12
 
13
13
  field :return_value, Boolean, null: false
@@ -4,8 +4,8 @@ module LMSGraphQL
4
4
  module Mutations
5
5
  module Canvas
6
6
  class CreateAppointmentGroup < BaseMutation
7
- argument :appointment_group_context_codes, String, required: true
8
- argument :appointment_group_sub_context_codes, String, required: false
7
+ argument :appointment_group_context_codes, [String], required: true
8
+ argument :appointment_group_sub_context_codes, [String], required: false
9
9
  argument :appointment_group_title, String, required: true
10
10
  argument :appointment_group_description, String, required: false
11
11
  argument :appointment_group_location_name, String, required: false
@@ -14,7 +14,7 @@ module LMSGraphQL
14
14
  argument :appointment_group_participants_per_appointment, Int, required: false
15
15
  argument :appointment_group_min_appointments_per_participant, Int, required: false
16
16
  argument :appointment_group_max_appointments_per_participant, Int, required: false
17
- argument :appointment_group_new_appointments_X, String, required: false
17
+ argument :appointment_group_new_appointments_X, [String], required: false
18
18
  argument :appointment_group_participant_visibility, String, required: false
19
19
 
20
20
 
@@ -7,8 +7,8 @@ module LMSGraphQL
7
7
  argument :course_id, ID, required: true
8
8
  argument :assignment_name, String, required: true
9
9
  argument :assignment_position, Int, required: false
10
- argument :assignment_submission_types, String, required: false
11
- argument :assignment_allowed_extensions, String, required: false
10
+ argument :assignment_submission_types, [String], required: false
11
+ argument :assignment_allowed_extensions, [String], required: false
12
12
  argument :assignment_turnitin_enabled, Boolean, required: false
13
13
  argument :assignment_vericite_enabled, Boolean, required: false
14
14
  argument :assignment_turnitin_settings, String, required: false
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  class CreateAssignmentOverride < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :assignment_id, ID, required: true
9
- argument :assignment_override_student_ids, Int, required: false
9
+ argument :assignment_override_student_ids, [Int], required: false
10
10
  argument :assignment_override_title, String, required: false
11
11
  argument :assignment_override_group_id, Int, required: false
12
12
  argument :assignment_override_course_section_id, Int, required: false
@@ -4,7 +4,7 @@ module LMSGraphQL
4
4
  module Mutations
5
5
  module Canvas
6
6
  class CreateConversation < BaseMutation
7
- argument :recipients, String, required: true
7
+ argument :recipients, [String], required: true
8
8
  argument :subject, String, required: false
9
9
  argument :body, String, required: true
10
10
  argument :force_new, Boolean, required: false
@@ -15,7 +15,7 @@ module LMSGraphQL
15
15
  argument :user_note, Boolean, required: false
16
16
  argument :mode, String, required: false
17
17
  argument :scope, String, required: false
18
- argument :filter, String, required: false
18
+ argument :filter, [String], required: false
19
19
  argument :filter_mode, String, required: false
20
20
  argument :context_code, String, required: false
21
21
 
@@ -10,7 +10,7 @@ module LMSGraphQL
10
10
  argument :account_notification_start_at, LMSGraphQL::Types::DateTimeType, required: true
11
11
  argument :account_notification_end_at, LMSGraphQL::Types::DateTimeType, required: true
12
12
  argument :account_notification_icon, String, required: false
13
- argument :account_notification_roles, String, required: false
13
+ argument :account_notification_roles, [String], required: false
14
14
 
15
15
 
16
16
  field :return_value, Boolean, null: false
@@ -0,0 +1,22 @@
1
+ require_relative "../canvas_base_mutation"
2
+ require_relative "../../types/canvas/inst_id"
3
+ module LMSGraphQL
4
+ module Mutations
5
+ module Canvas
6
+ class CreateInstid < BaseMutation
7
+
8
+
9
+
10
+ field :inst_id, LMSGraphQL::Types::Canvas::CanvasInstID, null: false
11
+
12
+ def resolve()
13
+ context[:canvas_api].call("CREATE_INSTID").proxy(
14
+ "CREATE_INSTID",
15
+ {},
16
+ {},
17
+ ).parsed_response
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -13,8 +13,8 @@ module LMSGraphQL
13
13
  argument :description, String, required: false
14
14
  argument :vendor_guid, String, required: false
15
15
  argument :mastery_points, Int, required: false
16
- argument :ratings_description, String, required: false
17
- argument :ratings_points, Int, required: false
16
+ argument :ratings_description, [String], required: false
17
+ argument :ratings_points, [Int], required: false
18
18
  argument :calculation_method, String, required: false
19
19
  argument :calculation_int, Int, required: false
20
20
 
@@ -13,8 +13,8 @@ module LMSGraphQL
13
13
  argument :description, String, required: false
14
14
  argument :vendor_guid, String, required: false
15
15
  argument :mastery_points, Int, required: false
16
- argument :ratings_description, String, required: false
17
- argument :ratings_points, Int, required: false
16
+ argument :ratings_description, [String], required: false
17
+ argument :ratings_points, [Int], required: false
18
18
  argument :calculation_method, String, required: false
19
19
  argument :calculation_int, Int, required: false
20
20
 
@@ -13,8 +13,8 @@ module LMSGraphQL
13
13
  argument :description, String, required: false
14
14
  argument :vendor_guid, String, required: false
15
15
  argument :mastery_points, Int, required: false
16
- argument :ratings_description, String, required: false
17
- argument :ratings_points, Int, required: false
16
+ argument :ratings_description, [String], required: false
17
+ argument :ratings_points, [Int], required: false
18
18
  argument :calculation_method, String, required: false
19
19
  argument :calculation_int, Int, required: false
20
20
 
@@ -13,8 +13,8 @@ module LMSGraphQL
13
13
  argument :description, String, required: false
14
14
  argument :vendor_guid, String, required: false
15
15
  argument :mastery_points, Int, required: false
16
- argument :ratings_description, String, required: false
17
- argument :ratings_points, Int, required: false
16
+ argument :ratings_description, [String], required: false
17
+ argument :ratings_points, [Int], required: false
18
18
  argument :calculation_method, String, required: false
19
19
  argument :calculation_int, Int, required: false
20
20
 
@@ -12,8 +12,8 @@ module LMSGraphQL
12
12
  argument :description, String, required: false
13
13
  argument :vendor_guid, String, required: false
14
14
  argument :mastery_points, Int, required: false
15
- argument :ratings_description, String, required: false
16
- argument :ratings_points, Int, required: false
15
+ argument :ratings_description, [String], required: false
16
+ argument :ratings_points, [Int], required: false
17
17
  argument :calculation_method, String, required: false
18
18
  argument :calculation_int, Int, required: false
19
19
 
@@ -12,8 +12,8 @@ module LMSGraphQL
12
12
  argument :description, String, required: false
13
13
  argument :vendor_guid, String, required: false
14
14
  argument :mastery_points, Int, required: false
15
- argument :ratings_description, String, required: false
16
- argument :ratings_points, Int, required: false
15
+ argument :ratings_description, [String], required: false
16
+ argument :ratings_points, [Int], required: false
17
17
  argument :calculation_method, String, required: false
18
18
  argument :calculation_int, Int, required: false
19
19
 
@@ -9,7 +9,7 @@ module LMSGraphQL
9
9
  argument :module_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
10
10
  argument :module_position, Int, required: false
11
11
  argument :module_require_sequential_progress, Boolean, required: false
12
- argument :module_prerequisite_module_ids, String, required: false
12
+ argument :module_prerequisite_module_ids, [String], required: false
13
13
  argument :module_publish_final_grade, Boolean, required: false
14
14
 
15
15
 
@@ -21,7 +21,7 @@ module LMSGraphQL
21
21
  argument :course_open_enrollment, Boolean, required: false
22
22
  argument :course_self_enrollment, Boolean, required: false
23
23
  argument :course_restrict_enrollments_to_course_dates, Boolean, required: false
24
- argument :course_term_id, Int, required: false
24
+ argument :course_term_id, String, required: false
25
25
  argument :course_sis_course_id, String, required: false
26
26
  argument :course_integration_id, String, required: false
27
27
  argument :course_hide_final_grades, Boolean, required: false
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  class CreateNewGradingStandardAccount < BaseMutation
7
7
  argument :account_id, ID, required: true
8
8
  argument :title, String, required: true
9
- argument :grading_scheme_entry_name, String, required: true
10
- argument :grading_scheme_entry_value, Int, required: true
9
+ argument :grading_scheme_entry_name, [String], required: true
10
+ argument :grading_scheme_entry_value, [Int], required: true
11
11
 
12
12
 
13
13
  field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
@@ -6,8 +6,8 @@ module LMSGraphQL
6
6
  class CreateNewGradingStandardCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :title, String, required: true
9
- argument :grading_scheme_entry_name, String, required: true
10
- argument :grading_scheme_entry_value, Int, required: true
9
+ argument :grading_scheme_entry_name, [String], required: true
10
+ argument :grading_scheme_entry_value, [Int], required: true
11
11
 
12
12
 
13
13
  field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
@@ -9,9 +9,9 @@ module LMSGraphQL
9
9
  argument :events, [String], required: false
10
10
  argument :events_start_at, [LMSGraphQL::Types::DateTimeType], required: false
11
11
  argument :events_end_at, [LMSGraphQL::Types::DateTimeType], required: false
12
- argument :events_location_name, String, required: false
13
- argument :events_code, String, required: false
14
- argument :events_title, String, required: false
12
+ argument :events_location_name, [String], required: false
13
+ argument :events_code, [String], required: false
14
+ argument :events_title, [String], required: false
15
15
 
16
16
 
17
17
  field :return_value, Boolean, null: false
@@ -6,10 +6,10 @@ module LMSGraphQL
6
6
  class CreateQuestionGroup < BaseMutation
7
7
  argument :course_id, ID, required: true
8
8
  argument :quiz_id, ID, required: true
9
- argument :quiz_groups_name, String, required: false
10
- argument :quiz_groups_pick_count, Int, required: false
11
- argument :quiz_groups_question_points, Int, required: false
12
- argument :quiz_groups_assessment_question_bank_id, Int, required: false
9
+ argument :quiz_groups_name, [String], required: false
10
+ argument :quiz_groups_pick_count, [Int], required: false
11
+ argument :quiz_groups_question_points, [Int], required: false
12
+ argument :quiz_groups_assessment_question_bank_id, [Int], required: false
13
13
 
14
14
 
15
15
  field :return_value, Boolean, null: false
@@ -4,8 +4,8 @@ module LMSGraphQL
4
4
  module Mutations
5
5
  module Canvas
6
6
  class CreateSinglePoll < BaseMutation
7
- argument :polls_question, String, required: true
8
- argument :polls_description, String, required: false
7
+ argument :polls_question, [String], required: true
8
+ argument :polls_description, [String], required: false
9
9
 
10
10
 
11
11
  field :return_value, Boolean, null: false
@@ -5,9 +5,9 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class CreateSinglePollChoice < BaseMutation
7
7
  argument :poll_id, ID, required: true
8
- argument :poll_choices_text, String, required: true
9
- argument :poll_choices_is_correct, Boolean, required: false
10
- argument :poll_choices_position, Int, required: false
8
+ argument :poll_choices_text, [String], required: true
9
+ argument :poll_choices_is_correct, [Boolean], required: false
10
+ argument :poll_choices_position, [Int], required: false
11
11
 
12
12
 
13
13
  field :return_value, Boolean, null: false
@@ -5,9 +5,9 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class CreateSinglePollSession < BaseMutation
7
7
  argument :poll_id, ID, required: true
8
- argument :poll_sessions_course_id, Int, required: true
9
- argument :poll_sessions_course_section_id, Int, required: false
10
- argument :poll_sessions_has_public_results, Boolean, required: false
8
+ argument :poll_sessions_course_id, [Int], required: true
9
+ argument :poll_sessions_course_section_id, [Int], required: false
10
+ argument :poll_sessions_has_public_results, [Boolean], required: false
11
11
 
12
12
 
13
13
  field :return_value, Boolean, null: false
@@ -6,7 +6,7 @@ module LMSGraphQL
6
6
  class CreateSinglePollSubmission < BaseMutation
7
7
  argument :poll_id, ID, required: true
8
8
  argument :poll_session_id, ID, required: true
9
- argument :poll_submissions_poll_choice_id, Int, required: true
9
+ argument :poll_submissions_poll_choice_id, [Int], required: true
10
10
 
11
11
 
12
12
  field :return_value, Boolean, null: false
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class CreateUpdateProficiencyRatingsAccount < BaseMutation
7
7
  argument :account_id, ID, required: true
8
- argument :ratings_description, String, required: false
9
- argument :ratings_points, Int, required: false
10
- argument :ratings_mastery, Int, required: false
11
- argument :ratings_color, Int, required: false
8
+ argument :ratings_description, [String], required: false
9
+ argument :ratings_points, [Int], required: false
10
+ argument :ratings_mastery, [Int], required: false
11
+ argument :ratings_color, [Int], required: false
12
12
 
13
13
 
14
14
  field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
@@ -5,10 +5,10 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class CreateUpdateProficiencyRatingsCourse < BaseMutation
7
7
  argument :course_id, ID, required: true
8
- argument :ratings_description, String, required: false
9
- argument :ratings_points, Int, required: false
10
- argument :ratings_mastery, Int, required: false
11
- argument :ratings_color, Int, required: false
8
+ argument :ratings_description, [String], required: false
9
+ argument :ratings_points, [Int], required: false
10
+ argument :ratings_mastery, [Int], required: false
11
+ argument :ratings_color, [Int], required: false
12
12
 
13
13
 
14
14
  field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
@@ -5,7 +5,7 @@ module LMSGraphQL
5
5
  module Canvas
6
6
  class DeleteMessage < BaseMutation
7
7
  argument :id, ID, required: true
8
- argument :remove, String, required: true
8
+ argument :remove, [String], required: true
9
9
 
10
10
 
11
11
  field :return_value, Boolean, null: false
@@ -8,8 +8,8 @@ module LMSGraphQL
8
8
  argument :id, ID, required: true
9
9
  argument :assignment_name, String, required: false
10
10
  argument :assignment_position, Int, required: false
11
- argument :assignment_submission_types, String, required: false
12
- argument :assignment_allowed_extensions, String, required: false
11
+ argument :assignment_submission_types, [String], required: false
12
+ argument :assignment_allowed_extensions, [String], required: false
13
13
  argument :assignment_turnitin_enabled, Boolean, required: false
14
14
  argument :assignment_vericite_enabled, Boolean, required: false
15
15
  argument :assignment_turnitin_settings, String, required: false
@@ -9,7 +9,7 @@ module LMSGraphQL
9
9
  argument :conversation_subscribed, Boolean, required: false
10
10
  argument :conversation_starred, Boolean, required: false
11
11
  argument :scope, String, required: false
12
- argument :filter, String, required: false
12
+ argument :filter, [String], required: false
13
13
  argument :filter_mode, String, required: false
14
14
 
15
15
 
@@ -11,7 +11,7 @@ module LMSGraphQL
11
11
  argument :join_level, String, required: false
12
12
  argument :avatar_id, ID, required: false
13
13
  argument :storage_quota_mb, Int, required: false
14
- argument :members, String, required: false
14
+ argument :members, [String], required: false
15
15
  argument :sis_group_id, ID, required: false
16
16
 
17
17
 
@@ -13,7 +13,7 @@ module LMSGraphQL
13
13
  argument :grade_data__student_id__group_comment, Boolean, required: false
14
14
  argument :grade_data__student_id__media_comment_id, String, required: false
15
15
  argument :grade_data__student_id__media_comment_type, String, required: false
16
- argument :grade_data__student_id__file_ids, Int, required: false
16
+ argument :grade_data__student_id__file_ids, [Int], required: false
17
17
  argument :grade_data__student_id__assignment_id, Int, required: false
18
18
 
19
19
 
@@ -12,7 +12,7 @@ module LMSGraphQL
12
12
  argument :grade_data__student_id__group_comment, Boolean, required: false
13
13
  argument :grade_data__student_id__media_comment_id, String, required: false
14
14
  argument :grade_data__student_id__media_comment_type, String, required: false
15
- argument :grade_data__student_id__file_ids, Int, required: false
15
+ argument :grade_data__student_id__file_ids, [Int], required: false
16
16
  argument :grade_data__student_id__assignment_id, Int, required: false
17
17
 
18
18
 
@@ -13,7 +13,7 @@ module LMSGraphQL
13
13
  argument :grade_data__student_id__group_comment, Boolean, required: false
14
14
  argument :grade_data__student_id__media_comment_id, String, required: false
15
15
  argument :grade_data__student_id__media_comment_type, String, required: false
16
- argument :grade_data__student_id__file_ids, Int, required: false
16
+ argument :grade_data__student_id__file_ids, [Int], required: false
17
17
  argument :grade_data__student_id__assignment_id, Int, required: false
18
18
 
19
19