lms-graphql-api 1.8.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lms_graphql/mutations/canvas/add_message.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_assignment.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
- data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_share.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_instaccess_token.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_jwt.rb +11 -3
- data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_module.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_user_login.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
- data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_eportfolio.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +9 -7
- data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +5 -3
- data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/edit_user.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_courses.rb +51 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_sections.rb +51 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
- data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_courses.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_sections.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_courses.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_sections.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/moderate_all_eportfolios_for_user.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/moderate_eportfolio.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/mutations.rb +32 -7
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
- data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/restore_deleted_eportfolio.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
- data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/terminate_all_user_sessions.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_account.rb +17 -1
- data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
- data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_course.rb +21 -7
- data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +10 -2
- data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
- data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_module.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
- data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/get_all_eportfolios_for_user.rb +25 -0
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_custom_colors.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_completed.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_current.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_terms.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_courses.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_sections.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_eportfolio.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_eportfolio_pages.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_manually_created_courses_sub_account_for_domain_root_account.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_courses.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_sections.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_courses.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_sections.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +11 -9
- data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
- data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +7 -5
- data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +11 -5
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +11 -5
- data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +10 -2
- data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
- data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
- data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
- data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment_group.rb +6 -6
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +28 -28
- data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment.rb +15 -10
- data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -5
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +17 -16
- data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_group.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/assignment_input.rb +76 -71
- data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
- data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/authentication_event_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/authentication_provider.rb +1 -0
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -19
- data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
- data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/calendar_event.rb +11 -6
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -32
- data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
- data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/collaborator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/communication_channel_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/conference.rb +3 -3
- data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_export_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_migration_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/content_share.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
- data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course.rb +5 -4
- data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_input.rb +53 -52
- data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/created_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/day.rb +1 -1
- data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
- data/lib/lms_graphql/types/canvas/discussion_topic.rb +6 -6
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +37 -37
- data/lib/lms_graphql/types/canvas/e_portfolio.rb +24 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +24 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +20 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +20 -0
- data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
- data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
- data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
- data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/exception_record.rb +1 -1
- data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
- data/lib/lms_graphql/types/canvas/external_feed_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/favorite_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/feature.rb +1 -3
- data/lib/lms_graphql/types/canvas/feature_flag_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/feature_input.rb +9 -11
- data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/file.rb +2 -2
- data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/folder.rb +4 -4
- data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
- data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grader.rb +1 -1
- data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/grading_rule.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/group_category_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/group_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/group_membership_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
- data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/inst_access_token.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
- data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
- data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
- data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
- data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
- data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
- data/lib/lms_graphql/types/canvas/migration_issue_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/migrator.rb +1 -1
- data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/module_item_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/notification_preference_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/outcome_import.rb +5 -4
- data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +11 -10
- data/lib/lms_graphql/types/canvas/outcome_input.rb +19 -18
- data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page.rb +3 -2
- data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
- data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/proficiency.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/profile.rb +1 -0
- data/lib/lms_graphql/types/canvas/profile_input.rb +15 -14
- data/lib/lms_graphql/types/canvas/progress.rb +2 -2
- data/lib/lms_graphql/types/canvas/progress_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
- data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/query_type.rb +181 -53
- data/lib/lms_graphql/types/canvas/quiz.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_input.rb +42 -42
- data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_report_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/report.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/rubric_assessment.rb +2 -2
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
- data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
- data/lib/lms_graphql/types/canvas/section.rb +2 -2
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
- data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/sis_import.rb +8 -6
- data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/sis_import_datum.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/sis_import_input.rb +25 -23
- data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission.rb +11 -4
- data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_input.rb +38 -31
- data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
- data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
- data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/term.rb +2 -2
- data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/updated_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user.rb +3 -0
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/user_input.rb +18 -15
- data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +24 -14
- data/lib/lms_graphql/version.rb +1 -1
- metadata +83 -4
- data/lib/lms_graphql/types/date_time_type.rb +0 -18
data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_sections.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class GradeOrCommentOnSubmissionByAnonymousIdSection < BaseMutation
|
7
|
+
argument :section_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :anonymous_id, ID, required: true
|
10
|
+
argument :comment_text_comment, String, required: false
|
11
|
+
argument :comment_group_comment, Boolean, required: false
|
12
|
+
argument :comment_media_comment_id, String, required: false
|
13
|
+
argument :comment_media_comment_type, String, required: false
|
14
|
+
argument :comment_file_ids, [Int], required: false
|
15
|
+
argument :include_visibility, String, required: false
|
16
|
+
argument :submission_posted_grade, String, required: false
|
17
|
+
argument :submission_excuse, Boolean, required: false
|
18
|
+
argument :submission_late_policy_status, String, required: false
|
19
|
+
argument :submission_seconds_late_override, Int, required: false
|
20
|
+
argument :rubric_assessment, String, required: false
|
21
|
+
|
22
|
+
|
23
|
+
field :return_value, Boolean, null: false
|
24
|
+
|
25
|
+
def resolve(section_id:, assignment_id:, anonymous_id:, comment_text_comment: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
|
26
|
+
context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_BY_ANONYMOUS_ID_SECTIONS").proxy(
|
27
|
+
"GRADE_OR_COMMENT_ON_SUBMISSION_BY_ANONYMOUS_ID_SECTIONS",
|
28
|
+
{
|
29
|
+
"section_id": section_id,
|
30
|
+
"assignment_id": assignment_id,
|
31
|
+
"anonymous_id": anonymous_id
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"comment[text_comment]": comment_text_comment,
|
35
|
+
"comment[group_comment]": comment_group_comment,
|
36
|
+
"comment[media_comment_id]": comment_media_comment_id,
|
37
|
+
"comment[media_comment_type]": comment_media_comment_type,
|
38
|
+
"comment[file_ids]": comment_file_ids,
|
39
|
+
"include[visibility]": include_visibility,
|
40
|
+
"submission[posted_grade]": submission_posted_grade,
|
41
|
+
"submission[excuse]": submission_excuse,
|
42
|
+
"submission[late_policy_status]": submission_late_policy_status,
|
43
|
+
"submission[seconds_late_override]": submission_seconds_late_override,
|
44
|
+
"rubric_assessment": rubric_assessment
|
45
|
+
},
|
46
|
+
).parsed_response
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -8,11 +8,13 @@ module LMSGraphQL
|
|
8
8
|
argument :assignment_id, ID, required: true
|
9
9
|
argument :user_id, ID, required: true
|
10
10
|
argument :comment_text_comment, String, required: false
|
11
|
+
argument :comment_attempt, Int, required: false
|
11
12
|
argument :comment_group_comment, Boolean, required: false
|
12
13
|
argument :comment_media_comment_id, String, required: false
|
13
14
|
argument :comment_media_comment_type, String, required: false
|
14
|
-
argument :comment_file_ids, Int, required: false
|
15
|
+
argument :comment_file_ids, [Int], required: false
|
15
16
|
argument :include_visibility, String, required: false
|
17
|
+
argument :prefer_points_over_scheme, Boolean, required: false
|
16
18
|
argument :submission_posted_grade, String, required: false
|
17
19
|
argument :submission_excuse, Boolean, required: false
|
18
20
|
argument :submission_late_policy_status, String, required: false
|
@@ -22,7 +24,7 @@ module LMSGraphQL
|
|
22
24
|
|
23
25
|
field :return_value, Boolean, null: false
|
24
26
|
|
25
|
-
def resolve(course_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
|
27
|
+
def resolve(course_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_attempt: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, prefer_points_over_scheme: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
|
26
28
|
context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_COURSES").proxy(
|
27
29
|
"GRADE_OR_COMMENT_ON_SUBMISSION_COURSES",
|
28
30
|
{
|
@@ -32,11 +34,13 @@ module LMSGraphQL
|
|
32
34
|
},
|
33
35
|
{
|
34
36
|
"comment[text_comment]": comment_text_comment,
|
37
|
+
"comment[attempt]": comment_attempt,
|
35
38
|
"comment[group_comment]": comment_group_comment,
|
36
39
|
"comment[media_comment_id]": comment_media_comment_id,
|
37
40
|
"comment[media_comment_type]": comment_media_comment_type,
|
38
41
|
"comment[file_ids]": comment_file_ids,
|
39
42
|
"include[visibility]": include_visibility,
|
43
|
+
"prefer_points_over_scheme": prefer_points_over_scheme,
|
40
44
|
"submission[posted_grade]": submission_posted_grade,
|
41
45
|
"submission[excuse]": submission_excuse,
|
42
46
|
"submission[late_policy_status]": submission_late_policy_status,
|
@@ -8,11 +8,13 @@ module LMSGraphQL
|
|
8
8
|
argument :assignment_id, ID, required: true
|
9
9
|
argument :user_id, ID, required: true
|
10
10
|
argument :comment_text_comment, String, required: false
|
11
|
+
argument :comment_attempt, Int, required: false
|
11
12
|
argument :comment_group_comment, Boolean, required: false
|
12
13
|
argument :comment_media_comment_id, String, required: false
|
13
14
|
argument :comment_media_comment_type, String, required: false
|
14
|
-
argument :comment_file_ids, Int, required: false
|
15
|
+
argument :comment_file_ids, [Int], required: false
|
15
16
|
argument :include_visibility, String, required: false
|
17
|
+
argument :prefer_points_over_scheme, Boolean, required: false
|
16
18
|
argument :submission_posted_grade, String, required: false
|
17
19
|
argument :submission_excuse, Boolean, required: false
|
18
20
|
argument :submission_late_policy_status, String, required: false
|
@@ -22,7 +24,7 @@ module LMSGraphQL
|
|
22
24
|
|
23
25
|
field :return_value, Boolean, null: false
|
24
26
|
|
25
|
-
def resolve(section_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
|
27
|
+
def resolve(section_id:, assignment_id:, user_id:, comment_text_comment: nil, comment_attempt: nil, comment_group_comment: nil, comment_media_comment_id: nil, comment_media_comment_type: nil, comment_file_ids: nil, include_visibility: nil, prefer_points_over_scheme: nil, submission_posted_grade: nil, submission_excuse: nil, submission_late_policy_status: nil, submission_seconds_late_override: nil, rubric_assessment: nil)
|
26
28
|
context[:canvas_api].call("GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS").proxy(
|
27
29
|
"GRADE_OR_COMMENT_ON_SUBMISSION_SECTIONS",
|
28
30
|
{
|
@@ -32,11 +34,13 @@ module LMSGraphQL
|
|
32
34
|
},
|
33
35
|
{
|
34
36
|
"comment[text_comment]": comment_text_comment,
|
37
|
+
"comment[attempt]": comment_attempt,
|
35
38
|
"comment[group_comment]": comment_group_comment,
|
36
39
|
"comment[media_comment_id]": comment_media_comment_id,
|
37
40
|
"comment[media_comment_type]": comment_media_comment_type,
|
38
41
|
"comment[file_ids]": comment_file_ids,
|
39
42
|
"include[visibility]": include_visibility,
|
43
|
+
"prefer_points_over_scheme": prefer_points_over_scheme,
|
40
44
|
"submission[posted_grade]": submission_posted_grade,
|
41
45
|
"submission[excuse]": submission_excuse,
|
42
46
|
"submission[late_policy_status]": submission_late_policy_status,
|
@@ -15,16 +15,18 @@ module LMSGraphQL
|
|
15
15
|
argument :override_sis_stickiness, Boolean, required: false
|
16
16
|
argument :add_sis_stickiness, Boolean, required: false
|
17
17
|
argument :clear_sis_stickiness, Boolean, required: false
|
18
|
+
argument :update_sis_id_if_login_claimed, Boolean, required: false
|
18
19
|
argument :diffing_data_set_identifier, String, required: false
|
19
20
|
argument :diffing_remaster_data_set, Boolean, required: false
|
20
21
|
argument :diffing_drop_status, String, required: false
|
22
|
+
argument :batch_mode_enrollment_drop_status, String, required: false
|
21
23
|
argument :change_threshold, Int, required: false
|
22
24
|
argument :diff_row_count_threshold, Int, required: false
|
23
25
|
|
24
26
|
|
25
27
|
field :sis_import, LMSGraphQL::Types::Canvas::CanvasSisImport, null: false
|
26
28
|
|
27
|
-
def resolve(account_id:, import_type: nil, attachment: nil, extension: nil, batch_mode: nil, batch_mode_term_id: nil, multi_term_batch_mode: nil, skip_deletes: nil, override_sis_stickiness: nil, add_sis_stickiness: nil, clear_sis_stickiness: nil, diffing_data_set_identifier: nil, diffing_remaster_data_set: nil, diffing_drop_status: nil, change_threshold: nil, diff_row_count_threshold: nil)
|
29
|
+
def resolve(account_id:, import_type: nil, attachment: nil, extension: nil, batch_mode: nil, batch_mode_term_id: nil, multi_term_batch_mode: nil, skip_deletes: nil, override_sis_stickiness: nil, add_sis_stickiness: nil, clear_sis_stickiness: nil, update_sis_id_if_login_claimed: nil, diffing_data_set_identifier: nil, diffing_remaster_data_set: nil, diffing_drop_status: nil, batch_mode_enrollment_drop_status: nil, change_threshold: nil, diff_row_count_threshold: nil)
|
28
30
|
context[:canvas_api].call("IMPORT_SIS_DATA").proxy(
|
29
31
|
"IMPORT_SIS_DATA",
|
30
32
|
{
|
@@ -41,9 +43,11 @@ module LMSGraphQL
|
|
41
43
|
"override_sis_stickiness": override_sis_stickiness,
|
42
44
|
"add_sis_stickiness": add_sis_stickiness,
|
43
45
|
"clear_sis_stickiness": clear_sis_stickiness,
|
46
|
+
"update_sis_id_if_login_claimed": update_sis_id_if_login_claimed,
|
44
47
|
"diffing_data_set_identifier": diffing_data_set_identifier,
|
45
48
|
"diffing_remaster_data_set": diffing_remaster_data_set,
|
46
49
|
"diffing_drop_status": diffing_drop_status,
|
50
|
+
"batch_mode_enrollment_drop_status": batch_mode_enrollment_drop_status,
|
47
51
|
"change_threshold": change_threshold,
|
48
52
|
"diff_row_count_threshold": diff_row_count_threshold
|
49
53
|
},
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkDocumentAnnotationsAsReadCourse < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(course_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_DOCUMENT_ANNOTATIONS_AS_READ_COURSES").proxy(
|
16
|
+
"MARK_DOCUMENT_ANNOTATIONS_AS_READ_COURSES",
|
17
|
+
{
|
18
|
+
"course_id": course_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkDocumentAnnotationsAsReadSection < BaseMutation
|
7
|
+
argument :section_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(section_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_DOCUMENT_ANNOTATIONS_AS_READ_SECTIONS").proxy(
|
16
|
+
"MARK_DOCUMENT_ANNOTATIONS_AS_READ_SECTIONS",
|
17
|
+
{
|
18
|
+
"section_id": section_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricAssessmentsAsReadCoursesRubricAssessment < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(course_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_ASSESSMENTS_AS_READ_COURSES_RUBRIC_ASSESSMENTS").proxy(
|
16
|
+
"MARK_RUBRIC_ASSESSMENTS_AS_READ_COURSES_RUBRIC_ASSESSMENTS",
|
17
|
+
{
|
18
|
+
"course_id": course_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricAssessmentsAsReadCoursesRubricComment < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(course_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_ASSESSMENTS_AS_READ_COURSES_RUBRIC_COMMENTS").proxy(
|
16
|
+
"MARK_RUBRIC_ASSESSMENTS_AS_READ_COURSES_RUBRIC_COMMENTS",
|
17
|
+
{
|
18
|
+
"course_id": course_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricAssessmentsAsReadSectionsRubricAssessment < BaseMutation
|
7
|
+
argument :section_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(section_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_ASSESSMENTS_AS_READ_SECTIONS_RUBRIC_ASSESSMENTS").proxy(
|
16
|
+
"MARK_RUBRIC_ASSESSMENTS_AS_READ_SECTIONS_RUBRIC_ASSESSMENTS",
|
17
|
+
{
|
18
|
+
"section_id": section_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricAssessmentsAsReadSectionsRubricComment < BaseMutation
|
7
|
+
argument :section_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(section_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_ASSESSMENTS_AS_READ_SECTIONS_RUBRIC_COMMENTS").proxy(
|
16
|
+
"MARK_RUBRIC_ASSESSMENTS_AS_READ_SECTIONS_RUBRIC_COMMENTS",
|
17
|
+
{
|
18
|
+
"section_id": section_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricCommentsAsReadCourse < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(course_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_COMMENTS_AS_READ_COURSES").proxy(
|
16
|
+
"MARK_RUBRIC_COMMENTS_AS_READ_COURSES",
|
17
|
+
{
|
18
|
+
"course_id": course_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class MarkRubricCommentsAsReadSection < BaseMutation
|
7
|
+
argument :section_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :user_id, ID, required: true
|
10
|
+
|
11
|
+
|
12
|
+
field :return_value, Boolean, null: false
|
13
|
+
|
14
|
+
def resolve(section_id:, assignment_id:, user_id:)
|
15
|
+
context[:canvas_api].call("MARK_RUBRIC_COMMENTS_AS_READ_SECTIONS").proxy(
|
16
|
+
"MARK_RUBRIC_COMMENTS_AS_READ_SECTIONS",
|
17
|
+
{
|
18
|
+
"section_id": section_id,
|
19
|
+
"assignment_id": assignment_id,
|
20
|
+
"user_id": user_id
|
21
|
+
},
|
22
|
+
{},
|
23
|
+
).parsed_response
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class ModerateAllEportfoliosForUser < BaseMutation
|
7
|
+
argument :user_id, ID, required: true
|
8
|
+
argument :spam_status, String, required: false
|
9
|
+
|
10
|
+
|
11
|
+
field :return_value, Boolean, null: false
|
12
|
+
|
13
|
+
def resolve(user_id:, spam_status: nil)
|
14
|
+
context[:canvas_api].call("MODERATE_ALL_EPORTFOLIOS_FOR_USER").proxy(
|
15
|
+
"MODERATE_ALL_EPORTFOLIOS_FOR_USER",
|
16
|
+
{
|
17
|
+
"user_id": user_id
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"spam_status": spam_status
|
21
|
+
},
|
22
|
+
).parsed_response
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/e_portfolio"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class ModerateEportfolio < BaseMutation
|
7
|
+
argument :eportfolio_id, ID, required: true
|
8
|
+
argument :spam_status, String, required: false
|
9
|
+
|
10
|
+
|
11
|
+
field :e_portfolio, LMSGraphQL::Types::Canvas::CanvasePortfolio, null: false
|
12
|
+
|
13
|
+
def resolve(eportfolio_id:, spam_status: nil)
|
14
|
+
context[:canvas_api].call("MODERATE_EPORTFOLIO").proxy(
|
15
|
+
"MODERATE_EPORTFOLIO",
|
16
|
+
{
|
17
|
+
"eportfolio_id": eportfolio_id
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"spam_status": spam_status
|
21
|
+
},
|
22
|
+
).parsed_response
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -8,6 +8,8 @@ module LMSGraphQL
|
|
8
8
|
class MutationType < LMSGraphQL::Types::Canvas::BaseType
|
9
9
|
description "Canvas API mutations"
|
10
10
|
|
11
|
+
field :update_calendar_s_visibility, mutation: LMSGraphQL::Mutations::Canvas::UpdateCalendarSVisibility
|
12
|
+
field :update_many_calendars_visibility, mutation: LMSGraphQL::Mutations::Canvas::UpdateManyCalendarsVisibility
|
11
13
|
field :close_notification_for_user, mutation: LMSGraphQL::Mutations::Canvas::CloseNotificationForUser
|
12
14
|
field :create_global_notification, mutation: LMSGraphQL::Mutations::Canvas::CreateGlobalNotification
|
13
15
|
field :update_global_notification, mutation: LMSGraphQL::Mutations::Canvas::UpdateGlobalNotification
|
@@ -44,6 +46,13 @@ module LMSGraphQL
|
|
44
46
|
field :update_authentication_provider, mutation: LMSGraphQL::Mutations::Canvas::UpdateAuthenticationProvider
|
45
47
|
field :delete_authentication_provider, mutation: LMSGraphQL::Mutations::Canvas::DeleteAuthenticationProvider
|
46
48
|
field :update_account_auth_settings, mutation: LMSGraphQL::Mutations::Canvas::UpdateAccountAuthSetting
|
49
|
+
field :create_blackout_date_courses, mutation: LMSGraphQL::Mutations::Canvas::CreateBlackoutDateCourse
|
50
|
+
field :create_blackout_date_accounts, mutation: LMSGraphQL::Mutations::Canvas::CreateBlackoutDateAccount
|
51
|
+
field :update_blackout_date_courses, mutation: LMSGraphQL::Mutations::Canvas::UpdateBlackoutDateCourse
|
52
|
+
field :update_blackout_date_accounts, mutation: LMSGraphQL::Mutations::Canvas::UpdateBlackoutDateAccount
|
53
|
+
field :delete_blackout_date_courses, mutation: LMSGraphQL::Mutations::Canvas::DeleteBlackoutDateCourse
|
54
|
+
field :delete_blackout_date_accounts, mutation: LMSGraphQL::Mutations::Canvas::DeleteBlackoutDateAccount
|
55
|
+
field :update_list_of_blackout_dates, mutation: LMSGraphQL::Mutations::Canvas::UpdateListOfBlackoutDate
|
47
56
|
field :update_associated_courses, mutation: LMSGraphQL::Mutations::Canvas::UpdateAssociatedCourse
|
48
57
|
field :begin_migration_to_push_to_associated_courses, mutation: LMSGraphQL::Mutations::Canvas::BeginMigrationToPushToAssociatedCourse
|
49
58
|
field :set_or_remove_restrictions_on_blueprint_course_object, mutation: LMSGraphQL::Mutations::Canvas::SetOrRemoveRestrictionsOnBlueprintCourseObject
|
@@ -55,6 +64,7 @@ module LMSGraphQL
|
|
55
64
|
field :reserve_time_slot_participant_id, mutation: LMSGraphQL::Mutations::Canvas::ReserveTimeSlotParticipantId
|
56
65
|
field :update_calendar_event, mutation: LMSGraphQL::Mutations::Canvas::UpdateCalendarEvent
|
57
66
|
field :delete_calendar_event, mutation: LMSGraphQL::Mutations::Canvas::DeleteCalendarEvent
|
67
|
+
field :save_enabled_account_calendars, mutation: LMSGraphQL::Mutations::Canvas::SaveEnabledAccountCalendar
|
58
68
|
field :set_course_timetable, mutation: LMSGraphQL::Mutations::Canvas::SetCourseTimetable
|
59
69
|
field :create_or_update_events_directly_for_course_timetable, mutation: LMSGraphQL::Mutations::Canvas::CreateOrUpdateEventsDirectlyForCourseTimetable
|
60
70
|
field :create_communication_channel, mutation: LMSGraphQL::Mutations::Canvas::CreateCommunicationChannel
|
@@ -103,6 +113,7 @@ module LMSGraphQL
|
|
103
113
|
field :update_course, mutation: LMSGraphQL::Mutations::Canvas::UpdateCourse
|
104
114
|
field :update_courses, mutation: LMSGraphQL::Mutations::Canvas::UpdateCourse
|
105
115
|
field :reset_course, mutation: LMSGraphQL::Mutations::Canvas::ResetCourse
|
116
|
+
field :remove_quiz_migration_alert, mutation: LMSGraphQL::Mutations::Canvas::RemoveQuizMigrationAlert
|
106
117
|
field :copy_course_content, mutation: LMSGraphQL::Mutations::Canvas::CopyCourseContent
|
107
118
|
field :create_custom_gradebook_column, mutation: LMSGraphQL::Mutations::Canvas::CreateCustomGradebookColumn
|
108
119
|
field :update_custom_gradebook_column, mutation: LMSGraphQL::Mutations::Canvas::UpdateCustomGradebookColumn
|
@@ -156,6 +167,11 @@ module LMSGraphQL
|
|
156
167
|
field :reject_course_invitation, mutation: LMSGraphQL::Mutations::Canvas::RejectCourseInvitation
|
157
168
|
field :re_activate_enrollment, mutation: LMSGraphQL::Mutations::Canvas::ReActivateEnrollment
|
158
169
|
field :adds_last_attended_date_to_student_enrollment_in_course, mutation: LMSGraphQL::Mutations::Canvas::AddsLastAttendedDateToStudentEnrollmentInCourse
|
170
|
+
field :delete_eportfolio, mutation: LMSGraphQL::Mutations::Canvas::DeleteEportfolio
|
171
|
+
field :moderate_eportfolio, mutation: LMSGraphQL::Mutations::Canvas::ModerateEportfolio
|
172
|
+
field :moderate_all_eportfolios_for_user, mutation: LMSGraphQL::Mutations::Canvas::ModerateAllEportfoliosForUser
|
173
|
+
field :restore_deleted_eportfolio, mutation: LMSGraphQL::Mutations::Canvas::RestoreDeletedEportfolio
|
174
|
+
field :create_epub_export, mutation: LMSGraphQL::Mutations::Canvas::CreateEpubExport
|
159
175
|
field :create_error_report, mutation: LMSGraphQL::Mutations::Canvas::CreateErrorReport
|
160
176
|
field :create_external_tool_courses, mutation: LMSGraphQL::Mutations::Canvas::CreateExternalToolCourse
|
161
177
|
field :create_external_tool_accounts, mutation: LMSGraphQL::Mutations::Canvas::CreateExternalToolAccount
|
@@ -219,6 +235,7 @@ module LMSGraphQL
|
|
219
235
|
field :leave_group_memberships, mutation: LMSGraphQL::Mutations::Canvas::LeaveGroupMembership
|
220
236
|
field :leave_group_users, mutation: LMSGraphQL::Mutations::Canvas::LeaveGroupUser
|
221
237
|
field :confirm_image_selection, mutation: LMSGraphQL::Mutations::Canvas::ConfirmImageSelection
|
238
|
+
field :create_instaccess_token, mutation: LMSGraphQL::Mutations::Canvas::CreateInstaccessToken
|
222
239
|
field :create_jwt, mutation: LMSGraphQL::Mutations::Canvas::CreateJwt
|
223
240
|
field :refresh_jwt, mutation: LMSGraphQL::Mutations::Canvas::RefreshJwt
|
224
241
|
field :create_late_policy, mutation: LMSGraphQL::Mutations::Canvas::CreateLatePolicy
|
@@ -306,10 +323,10 @@ module LMSGraphQL
|
|
306
323
|
field :create_single_poll_choice, mutation: LMSGraphQL::Mutations::Canvas::CreateSinglePollChoice
|
307
324
|
field :update_single_poll_choice, mutation: LMSGraphQL::Mutations::Canvas::UpdateSinglePollChoice
|
308
325
|
field :delete_poll_choice, mutation: LMSGraphQL::Mutations::Canvas::DeletePollChoice
|
309
|
-
field :create_single_poll_submission, mutation: LMSGraphQL::Mutations::Canvas::CreateSinglePollSubmission
|
310
326
|
field :create_single_poll, mutation: LMSGraphQL::Mutations::Canvas::CreateSinglePoll
|
311
327
|
field :update_single_poll, mutation: LMSGraphQL::Mutations::Canvas::UpdateSinglePoll
|
312
328
|
field :delete_poll, mutation: LMSGraphQL::Mutations::Canvas::DeletePoll
|
329
|
+
field :create_single_poll_submission, mutation: LMSGraphQL::Mutations::Canvas::CreateSinglePollSubmission
|
313
330
|
field :create_update_proficiency_ratings_accounts, mutation: LMSGraphQL::Mutations::Canvas::CreateUpdateProficiencyRatingsAccount
|
314
331
|
field :create_update_proficiency_ratings_courses, mutation: LMSGraphQL::Mutations::Canvas::CreateUpdateProficiencyRatingsCourse
|
315
332
|
field :update_public_jwk, mutation: LMSGraphQL::Mutations::Canvas::UpdatePublicJwk
|
@@ -350,11 +367,6 @@ module LMSGraphQL
|
|
350
367
|
field :create_rubricassociation, mutation: LMSGraphQL::Mutations::Canvas::CreateRubricassociation
|
351
368
|
field :update_rubricassociation, mutation: LMSGraphQL::Mutations::Canvas::UpdateRubricassociation
|
352
369
|
field :delete_rubricassociation, mutation: LMSGraphQL::Mutations::Canvas::DeleteRubricassociation
|
353
|
-
field :import_sis_data, mutation: LMSGraphQL::Mutations::Canvas::ImportSisDatum
|
354
|
-
field :restore_workflow_states_of_sis_imported_items, mutation: LMSGraphQL::Mutations::Canvas::RestoreWorkflowStatesOfSisImportedItem
|
355
|
-
field :abort_sis_import, mutation: LMSGraphQL::Mutations::Canvas::AbortSisImport
|
356
|
-
field :abort_all_pending_sis_imports, mutation: LMSGraphQL::Mutations::Canvas::AbortAllPendingSisImport
|
357
|
-
field :disable_assignments_currently_enabled_for_grade_export_to_sis, mutation: LMSGraphQL::Mutations::Canvas::DisableAssignmentsCurrentlyEnabledForGradeExportToSi
|
358
370
|
field :create_score, mutation: LMSGraphQL::Mutations::Canvas::CreateScore
|
359
371
|
field :create_course_section, mutation: LMSGraphQL::Mutations::Canvas::CreateCourseSection
|
360
372
|
field :cross_list_section, mutation: LMSGraphQL::Mutations::Canvas::CrossListSection
|
@@ -365,6 +377,11 @@ module LMSGraphQL
|
|
365
377
|
field :share_brandconfig_theme, mutation: LMSGraphQL::Mutations::Canvas::ShareBrandconfigTheme
|
366
378
|
field :update_shared_theme, mutation: LMSGraphQL::Mutations::Canvas::UpdateSharedTheme
|
367
379
|
field :un_share_brandconfig_theme, mutation: LMSGraphQL::Mutations::Canvas::UnShareBrandconfigTheme
|
380
|
+
field :import_sis_data, mutation: LMSGraphQL::Mutations::Canvas::ImportSisDatum
|
381
|
+
field :restore_workflow_states_of_sis_imported_items, mutation: LMSGraphQL::Mutations::Canvas::RestoreWorkflowStatesOfSisImportedItem
|
382
|
+
field :abort_sis_import, mutation: LMSGraphQL::Mutations::Canvas::AbortSisImport
|
383
|
+
field :abort_all_pending_sis_imports, mutation: LMSGraphQL::Mutations::Canvas::AbortAllPendingSisImport
|
384
|
+
field :disable_assignments_currently_enabled_for_grade_export_to_sis, mutation: LMSGraphQL::Mutations::Canvas::DisableAssignmentsCurrentlyEnabledForGradeExportToSi
|
368
385
|
field :edit_submission_comment, mutation: LMSGraphQL::Mutations::Canvas::EditSubmissionComment
|
369
386
|
field :delete_submission_comment, mutation: LMSGraphQL::Mutations::Canvas::DeleteSubmissionComment
|
370
387
|
field :submission_comments_upload_file, mutation: LMSGraphQL::Mutations::Canvas::SubmissionCommentsUploadFile
|
@@ -374,6 +391,8 @@ module LMSGraphQL
|
|
374
391
|
field :upload_file_sections, mutation: LMSGraphQL::Mutations::Canvas::UploadFileSection
|
375
392
|
field :grade_or_comment_on_submission_courses, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnSubmissionCourse
|
376
393
|
field :grade_or_comment_on_submission_sections, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnSubmissionSection
|
394
|
+
field :grade_or_comment_on_submission_by_anonymous_id_courses, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnSubmissionByAnonymousIdCourse
|
395
|
+
field :grade_or_comment_on_submission_by_anonymous_id_sections, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnSubmissionByAnonymousIdSection
|
377
396
|
field :grade_or_comment_on_multiple_submissions_courses_submissions, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnMultipleSubmissionsCoursesSubmission
|
378
397
|
field :grade_or_comment_on_multiple_submissions_courses_assignments, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnMultipleSubmissionsCoursesAssignment
|
379
398
|
field :grade_or_comment_on_multiple_submissions_sections_submissions, mutation: LMSGraphQL::Mutations::Canvas::GradeOrCommentOnMultipleSubmissionsSectionsSubmission
|
@@ -382,6 +401,12 @@ module LMSGraphQL
|
|
382
401
|
field :mark_submission_as_read_sections, mutation: LMSGraphQL::Mutations::Canvas::MarkSubmissionAsReadSection
|
383
402
|
field :mark_submission_as_unread_courses, mutation: LMSGraphQL::Mutations::Canvas::MarkSubmissionAsUnreadCourse
|
384
403
|
field :mark_submission_as_unread_sections, mutation: LMSGraphQL::Mutations::Canvas::MarkSubmissionAsUnreadSection
|
404
|
+
field :mark_rubric_assessments_as_read_courses_rubric_comments, mutation: LMSGraphQL::Mutations::Canvas::MarkRubricAssessmentsAsReadCoursesRubricComment
|
405
|
+
field :mark_rubric_assessments_as_read_courses_rubric_assessments, mutation: LMSGraphQL::Mutations::Canvas::MarkRubricAssessmentsAsReadCoursesRubricAssessment
|
406
|
+
field :mark_rubric_assessments_as_read_sections_rubric_comments, mutation: LMSGraphQL::Mutations::Canvas::MarkRubricAssessmentsAsReadSectionsRubricComment
|
407
|
+
field :mark_rubric_assessments_as_read_sections_rubric_assessments, mutation: LMSGraphQL::Mutations::Canvas::MarkRubricAssessmentsAsReadSectionsRubricAssessment
|
408
|
+
field :mark_document_annotations_as_read_courses, mutation: LMSGraphQL::Mutations::Canvas::MarkDocumentAnnotationsAsReadCourse
|
409
|
+
field :mark_document_annotations_as_read_sections, mutation: LMSGraphQL::Mutations::Canvas::MarkDocumentAnnotationsAsReadSection
|
385
410
|
field :update_tab_for_course, mutation: LMSGraphQL::Mutations::Canvas::UpdateTabForCourse
|
386
411
|
field :add_observee_with_credentials, mutation: LMSGraphQL::Mutations::Canvas::AddObserveeWithCredential
|
387
412
|
field :add_observee, mutation: LMSGraphQL::Mutations::Canvas::AddObservee
|
@@ -395,6 +420,7 @@ module LMSGraphQL
|
|
395
420
|
field :update_custom_color, mutation: LMSGraphQL::Mutations::Canvas::UpdateCustomColor
|
396
421
|
field :update_dashboard_positions, mutation: LMSGraphQL::Mutations::Canvas::UpdateDashboardPosition
|
397
422
|
field :edit_user, mutation: LMSGraphQL::Mutations::Canvas::EditUser
|
423
|
+
field :terminate_all_user_sessions, mutation: LMSGraphQL::Mutations::Canvas::TerminateAllUserSession
|
398
424
|
field :merge_user_into_another_user_destination_user_id, mutation: LMSGraphQL::Mutations::Canvas::MergeUserIntoAnotherUserDestinationUserId
|
399
425
|
field :merge_user_into_another_user_accounts, mutation: LMSGraphQL::Mutations::Canvas::MergeUserIntoAnotherUserAccount
|
400
426
|
field :split_merged_users_into_separate_users, mutation: LMSGraphQL::Mutations::Canvas::SplitMergedUsersIntoSeparateUser
|
@@ -407,7 +433,6 @@ module LMSGraphQL
|
|
407
433
|
field :create_webhook_subscription, mutation: LMSGraphQL::Mutations::Canvas::CreateWebhookSubscription
|
408
434
|
field :delete_webhook_subscription, mutation: LMSGraphQL::Mutations::Canvas::DeleteWebhookSubscription
|
409
435
|
field :update_webhook_subscription, mutation: LMSGraphQL::Mutations::Canvas::UpdateWebhookSubscription
|
410
|
-
field :create_epub_export, mutation: LMSGraphQL::Mutations::Canvas::CreateEpubExport
|
411
436
|
end
|
412
437
|
end
|
413
438
|
end
|
data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb
CHANGED
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
class QuizExtensionsSetExtensionsForStudentQuizSubmission < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
|
-
argument :quiz_extensions_user_id, Int, required: true
|
10
|
-
argument :quiz_extensions_extra_attempts, Int, required: false
|
11
|
-
argument :quiz_extensions_extra_time, Int, required: false
|
12
|
-
argument :quiz_extensions_manually_unlocked, Boolean, required: false
|
13
|
-
argument :quiz_extensions_extend_from_now, Int, required: false
|
14
|
-
argument :quiz_extensions_extend_from_end_at, Int, required: false
|
9
|
+
argument :quiz_extensions_user_id, [Int], required: true
|
10
|
+
argument :quiz_extensions_extra_attempts, [Int], required: false
|
11
|
+
argument :quiz_extensions_extra_time, [Int], required: false
|
12
|
+
argument :quiz_extensions_manually_unlocked, [Boolean], required: false
|
13
|
+
argument :quiz_extensions_extend_from_now, [Int], required: false
|
14
|
+
argument :quiz_extensions_extend_from_end_at, [Int], required: false
|
15
15
|
|
16
16
|
|
17
17
|
field :return_value, Boolean, null: false
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class RemoveQuizMigrationAlert < BaseMutation
|
7
|
+
argument :id, ID, required: true
|
8
|
+
|
9
|
+
|
10
|
+
field :return_value, Boolean, null: false
|
11
|
+
|
12
|
+
def resolve(id:)
|
13
|
+
context[:canvas_api].call("REMOVE_QUIZ_MIGRATION_ALERT").proxy(
|
14
|
+
"REMOVE_QUIZ_MIGRATION_ALERT",
|
15
|
+
{
|
16
|
+
"id": id
|
17
|
+
},
|
18
|
+
{},
|
19
|
+
).parsed_response
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|