lms-graphql-api 1.1.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/lms_graphql/mutations/canvas/abort_all_pending_sis_imports.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/abort_generation_of_report_or_remove_previously_generated_one.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/abort_sis_import.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/accept_course_invitation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/activate_role.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_allowed_domain_to_account.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/add_authentication_provider.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_course_to_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_group_to_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_message.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/add_observee.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_observee_with_credentials.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_recipients.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/add_tool_to_rce_favorites.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +29 -0
- data/lib/lms_graphql/mutations/canvas/adds_last_attended_date_to_student_enrollment_in_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/answering_questions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/assign_unassigned_members.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/batch_create_overrides_in_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/batch_update_conversations.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/batch_update_overrides_in_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/bulk_update_assignment_dates.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/clear_course_nicknames.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/close_notification_for_user.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/complete_quiz_submission_turn_it_in.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/conclude_deactivate_or_delete_enrollment.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/confirm_image_selection.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/copy_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/copy_folder.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/courses_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_assignment.rb +16 -3
- data/lib/lms_graphql/mutations/canvas/create_assignment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_bookmark.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_communication_channel.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +19 -2
- data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +19 -2
- data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +19 -2
- data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +19 -2
- data/lib/lms_graphql/mutations/canvas/create_content_share.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_conversation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_course_section.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_custom_gradebook_column.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_epub_export.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_error_report.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_external_feed_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_external_feed_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_external_tool_accounts.rb +9 -2
- data/lib/lms_graphql/mutations/canvas/create_external_tool_courses.rb +9 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_group_category_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_group_category_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_group_group_categories.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_group_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_jwt.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_late_policy.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_line_item.rb +37 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_live_assessment_results.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_membership.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_module.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/create_module_item.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +6 -1
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_role.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_new_sub_account.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/create_or_find_live_assessment.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/create_originality_report.rb +9 -2
- data/lib/lms_graphql/mutations/canvas/create_page_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_page_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_planner_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_question_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_quiz.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_quiz_report.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_quiz_submission_start_quiz_taking_session.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_rubricassociation.rb +41 -0
- data/lib/lms_graphql/mutations/canvas/create_score.rb +43 -0
- data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_quiz_question.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_single_rubric_assessment.rb +35 -0
- data/lib/lms_graphql/mutations/canvas/create_subgroup_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_subgroup_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_subgroup_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/create_user.rb +9 -4
- data/lib/lms_graphql/mutations/canvas/create_user_login.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +6 -3
- data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/deactivate_role.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_appointment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_assignment.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_assignment_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_authentication_provider.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_bookmark.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_communication_channel_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_conclude_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_conversation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_custom_data.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_custom_gradebook_column.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_enrollment_term.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_entry_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_entry_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_external_feed_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_external_feed_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_external_tool_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_external_tool_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_folder.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_grading_period_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_grading_period_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_group_category.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_line_item.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_message.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_module.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/delete_module_item.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_outcome_group_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_outcome_group_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_outcome_group_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_peer_review_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_peer_review_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_planner_note.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_planner_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_poll.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_poll_choice.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_poll_session.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_push_notification_endpoint.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_question_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_quiz.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_quiz_question.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_report.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_rubricassociation.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_section.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_single_rubric.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_single_rubric_assessment.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/delete_sub_account.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_submission_comment.rb +30 -0
- data/lib/lms_graphql/mutations/canvas/delete_topic_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_topic_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_user_login.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/delete_webhook_subscription.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/deprecated_self_register_user.rb +43 -0
- data/lib/lms_graphql/mutations/canvas/destroy_assignment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/duplicate_assignnment.rb +29 -0
- data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_courses.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/duplicate_discussion_topic_groups.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +18 -3
- data/lib/lms_graphql/mutations/canvas/edit_assignment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_external_tool_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_external_tool_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_originality_report_files.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/edit_originality_report_submissions.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/edit_quiz.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_section.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/edit_submission_comment.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/edit_user.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/enable_disable_or_clear_explicit_csp_setting_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +8 -1
- data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +8 -1
- data/lib/lms_graphql/mutations/canvas/export_content_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/export_content_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/export_content_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/files_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/flagging_question.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/groups_preview_processed_html.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/groups_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/hide_all_stream_items.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/hide_stream_item.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_category_groups.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_outcomes_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +7 -2
- data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/leave_group_memberships.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/leave_group_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/lock_or_unlock_current_csp_settings_for_sub_accounts_and_courses.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/make_account_admin.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_all_as_read.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_read_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_all_entries_as_unread_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_entry_as_read_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_entry_as_unread_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_module_item_as_done_not_done.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_module_item_read.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_submission_as_read_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_submission_as_unread_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_topic_as_read_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mark_topic_as_unread_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/mutations.rb +37 -5
- data/lib/lms_graphql/mutations/canvas/patch_late_policy.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/peer_reviews_create_peer_review_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/post_entry_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/post_entry_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/post_reply_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/post_reply_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/publish_provisional_grades_for_assignment.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/quiz_submission_files_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/rate_entry_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/rate_entry_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/re_activate_enrollment.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/re_lock_module_progressions.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/refresh_jwt.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reject_course_invitation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_account_admin.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_content_share.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/remove_course_from_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_course_nickname.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/remove_feature_flag_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_feature_flag_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_group_from_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_observee.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_tool_from_rce_favorites.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/remove_usage_rights_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_usage_rights_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/remove_usage_rights_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reserve_time_slot.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reset_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reset_course_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reset_group_favorites.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/reset_link_verifier.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/select_mastery_path.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/select_provisional_grade.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/select_students_for_moderation.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/send_message_to_unsubmitted_or_submitted_users_for_quiz.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_course_nickname.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_feature_flag_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_feature_flag_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_feature_flag_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_usage_rights_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_usage_rights_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/set_usage_rights_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/split_merged_users_into_separate_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/start_kaltura_session.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/store_custom_data.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/submission_comments_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +9 -2
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +9 -2
- data/lib/lms_graphql/mutations/canvas/submit_captured_events.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/subscribe_to_topic_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/un_share_brandconfig_theme.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unflagging_question.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unlink_outcome_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/unsubscribe_from_topic_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_account.rb +16 -1
- data/lib/lms_graphql/mutations/canvas/update_account_auth_settings.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_authentication_provider.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_bookmark.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_column_data.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_content_migration_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_content_migration_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_content_migration_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_content_share.rb +29 -0
- data/lib/lms_graphql/mutations/canvas/update_course.rb +11 -2
- data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +13 -2
- data/lib/lms_graphql/mutations/canvas/update_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_create_front_page_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_create_front_page_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_custom_color.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_custom_gradebook_column.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_dashboard_positions.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_entry_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_entry_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_existing_quiz_question.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_folder.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_group_category.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_line_item.rb +35 -0
- data/lib/lms_graphql/mutations/canvas/update_media_object.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_membership_memberships.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_membership_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_migration_issue_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_migration_issue_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_migration_issue_users.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_module.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/update_module_item.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_outcome_group_accounts.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_outcome_group_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_planner_override.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_preference_communication_channel_id.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_preference_type.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_preferences_by_category.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_public_jwk.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_role.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_rubricassociation.rb +43 -0
- data/lib/lms_graphql/mutations/canvas/update_shared_theme.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_single_rubric_assessment.rb +37 -0
- data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_tab_for_course.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/update_webhook_subscription.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/upload_file_courses.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/upload_file_sections.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/users_upload_file.rb +3 -0
- data/lib/lms_graphql/mutations/canvas/validate_quiz_access_code.rb +3 -0
- data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +33 -0
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +27 -0
- data/lib/lms_graphql/resolvers/canvas/export_groups_in_and_users_in_category.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/find_images.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_account.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_content_share.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_accounts.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings_courses.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_unread_shares_count.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_courses.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_uploaded_media_folder_for_user_groups.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_user_progress.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +29 -0
- data/lib/lms_graphql/resolvers/canvas/index_of_active_global_notification_for_user.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +2 -4
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +2 -4
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/list_conferences_for_current_user.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_content_shares_received.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_content_shares_sent.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_course_memberships.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -3
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_environment_features.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_accounts.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_courses.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_groups.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_users.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +30 -0
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +29 -0
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +29 -0
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +27 -0
- data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +25 -0
- data/lib/lms_graphql/resolvers/canvas/list_observers.rb +25 -0
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +30 -0
- data/lib/lms_graphql/resolvers/canvas/list_recent_history_for_user.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_users_in_account.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/names_and_role_list_group_memberships.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/retrieve_enrollment_term.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/retrieve_reported_csp_violations_for_account.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/return_test_student_for_course.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/search_for_content_share_users.rb +25 -0
- data/lib/lms_graphql/resolvers/canvas/show_collection_of_results.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/show_observer.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/show_result.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +4 -2
- data/lib/lms_graphql/types/canvas/account.rb +1 -9
- data/lib/lms_graphql/types/canvas/account_input.rb +7 -15
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/answer.rb +4 -1
- data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
- 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 +6 -3
- data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
- 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 +70 -67
- data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
- 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 +1 -0
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +32 -31
- data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/completion_requirement.rb +2 -1
- data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -3
- data/lib/lms_graphql/types/canvas/conference.rb +2 -0
- data/lib/lms_graphql/types/canvas/conference_input.rb +17 -15
- data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/content_share.rb +24 -0
- data/lib/lms_graphql/types/canvas/content_share_input.rb +24 -0
- 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 +2 -1
- 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_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 +48 -47
- data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
- 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_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key.rb +34 -0
- data/lib/lms_graphql/types/canvas/developer_key_input.rb +34 -0
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
- data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +14 -0
- data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/feature.rb +1 -1
- data/lib/lms_graphql/types/canvas/feature_flag.rb +2 -1
- data/lib/lms_graphql/types/canvas/feature_flag_input.rb +6 -5
- data/lib/lms_graphql/types/canvas/feature_input.rb +10 -10
- 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_attachment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
- data/lib/lms_graphql/types/canvas/grade.rb +2 -0
- 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 -9
- 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_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.rb +2 -1
- data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/group_input.rb +18 -17
- data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/help_link.rb +2 -2
- data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/history_entry.rb +23 -0
- data/lib/lms_graphql/types/canvas/history_entry_input.rb +23 -0
- data/lib/lms_graphql/types/canvas/jsonapi_pagination.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
- 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 +20 -0
- data/lib/lms_graphql/types/canvas/line_item_input.rb +20 -0
- data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
- 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.rb +20 -0
- data/lib/lms_graphql/types/canvas/media_object_input.rb +20 -0
- data/lib/lms_graphql/types/canvas/media_track.rb +22 -0
- data/lib/lms_graphql/types/canvas/media_track_input.rb +22 -0
- data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +4 -1
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/names_and_role_context.rb +16 -0
- data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +16 -0
- data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +20 -0
- data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +17 -0
- data/lib/lms_graphql/types/canvas/names_and_role_message.rb +18 -0
- data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +18 -0
- data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/originality_report.rb +4 -1
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -6
- data/lib/lms_graphql/types/canvas/outcome_alignment.rb +2 -1
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -5
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/outcome_input.rb +17 -17
- 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_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_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/page_view_link.rb +4 -1
- data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/pairing_code.rb +17 -0
- data/lib/lms_graphql/types/canvas/pairing_code_input.rb +17 -0
- data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
- 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_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/profile_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/query_type.rb +182 -18
- 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 +39 -39
- 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_input.rb +13 -13
- 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_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_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum.rb +1 -1
- data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
- data/lib/lms_graphql/types/canvas/result.rb +8 -6
- data/lib/lms_graphql/types/canvas/result_input.rb +8 -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.rb +4 -0
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/rubric_association.rb +23 -0
- data/lib/lms_graphql/types/canvas/rubric_association_input.rb +23 -0
- data/lib/lms_graphql/types/canvas/rubric_criterion.rb +19 -0
- data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/rubric_input.rb +14 -10
- data/lib/lms_graphql/types/canvas/rubric_rating.rb +6 -5
- data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +6 -5
- data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/score.rb +20 -0
- data/lib/lms_graphql/types/canvas/score_input.rb +20 -0
- data/lib/lms_graphql/types/canvas/score_statistic.rb +16 -0
- data/lib/lms_graphql/types/canvas/score_statistic_input.rb +16 -0
- 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_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
- 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 +22 -22
- 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 +7 -3
- 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 +32 -28
- 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_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/terms_of_service.rb +1 -0
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -5
- 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_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
- 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 +15 -15
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +38 -0
- data/lib/lms_graphql/types/canvas_hacks.rb +1 -0
- data/lib/lms_graphql/types/date_time_type.rb +8 -5
- data/lib/lms_graphql/version.rb +1 -1
- metadata +117 -7
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/content_share"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class UpdateContentShare < BaseMutation
|
7
|
+
argument :user_id, ID, required: true
|
8
|
+
argument :id, ID, required: true
|
9
|
+
argument :read_state, String, required: false
|
10
|
+
|
11
|
+
|
12
|
+
field :content_share, LMSGraphQL::Types::Canvas::CanvasContentShare, null: false
|
13
|
+
|
14
|
+
def resolve(user_id:, id:, read_state: nil)
|
15
|
+
context[:canvas_api].call("UPDATE_CONTENT_SHARE").proxy(
|
16
|
+
"UPDATE_CONTENT_SHARE",
|
17
|
+
{
|
18
|
+
"user_id": user_id,
|
19
|
+
"id": id
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"read_state": read_state
|
23
|
+
},
|
24
|
+
).parsed_response
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -33,7 +33,9 @@ module LMSGraphQL
|
|
33
33
|
argument :course_event, String, required: false
|
34
34
|
argument :course_default_view, String, required: false
|
35
35
|
argument :course_syllabus_body, String, required: false
|
36
|
+
argument :course_syllabus_course_summary, Boolean, required: false
|
36
37
|
argument :course_grading_standard_id, Int, required: false
|
38
|
+
argument :course_grade_passback_setting, String, required: false
|
37
39
|
argument :course_course_format, String, required: false
|
38
40
|
argument :course_image_id, Int, required: false
|
39
41
|
argument :course_image_url, String, required: false
|
@@ -42,8 +44,12 @@ module LMSGraphQL
|
|
42
44
|
argument :course_blueprint_restrictions, String, required: false
|
43
45
|
argument :course_use_blueprint_restrictions_by_object_type, Boolean, required: false
|
44
46
|
argument :course_blueprint_restrictions_by_object_type, String, required: false
|
47
|
+
argument :course_homeroom_course, Boolean, required: false
|
48
|
+
|
49
|
+
|
45
50
|
field :return_value, Boolean, null: false
|
46
|
-
|
51
|
+
|
52
|
+
def resolve(id:, course_account_id: nil, course_name: nil, course_course_code: nil, course_start_at: nil, course_end_at: nil, course_license: nil, course_is_public: nil, course_is_public_to_auth_users: nil, course_public_syllabus: nil, course_public_syllabus_to_auth: nil, course_public_description: nil, course_allow_student_wiki_edits: nil, course_allow_wiki_comments: nil, course_allow_student_forum_attachments: nil, course_open_enrollment: nil, course_self_enrollment: nil, course_restrict_enrollments_to_course_dates: nil, course_term_id: nil, course_sis_course_id: nil, course_integration_id: nil, course_hide_final_grades: nil, course_time_zone: nil, course_apply_assignment_group_weights: nil, course_storage_quota_mb: nil, offer: nil, course_event: nil, course_default_view: nil, course_syllabus_body: nil, course_syllabus_course_summary: nil, course_grading_standard_id: nil, course_grade_passback_setting: nil, course_course_format: nil, course_image_id: nil, course_image_url: nil, course_remove_image: nil, course_blueprint: nil, course_blueprint_restrictions: nil, course_use_blueprint_restrictions_by_object_type: nil, course_blueprint_restrictions_by_object_type: nil, course_homeroom_course: nil)
|
47
53
|
context[:canvas_api].call("UPDATE_COURSE").proxy(
|
48
54
|
"UPDATE_COURSE",
|
49
55
|
{
|
@@ -78,7 +84,9 @@ module LMSGraphQL
|
|
78
84
|
"course[event]": course_event,
|
79
85
|
"course[default_view]": course_default_view,
|
80
86
|
"course[syllabus_body]": course_syllabus_body,
|
87
|
+
"course[syllabus_course_summary]": course_syllabus_course_summary,
|
81
88
|
"course[grading_standard_id]": course_grading_standard_id,
|
89
|
+
"course[grade_passback_setting]": course_grade_passback_setting,
|
82
90
|
"course[course_format]": course_course_format,
|
83
91
|
"course[image_id]": course_image_id,
|
84
92
|
"course[image_url]": course_image_url,
|
@@ -86,7 +94,8 @@ module LMSGraphQL
|
|
86
94
|
"course[blueprint]": course_blueprint,
|
87
95
|
"course[blueprint_restrictions]": course_blueprint_restrictions,
|
88
96
|
"course[use_blueprint_restrictions_by_object_type]": course_use_blueprint_restrictions_by_object_type,
|
89
|
-
"course[blueprint_restrictions_by_object_type]": course_blueprint_restrictions_by_object_type
|
97
|
+
"course[blueprint_restrictions_by_object_type]": course_blueprint_restrictions_by_object_type,
|
98
|
+
"course[homeroom_course]": course_homeroom_course
|
90
99
|
},
|
91
100
|
).parsed_response
|
92
101
|
end
|
@@ -9,15 +9,22 @@ module LMSGraphQL
|
|
9
9
|
argument :allow_student_forum_attachments, Boolean, required: false
|
10
10
|
argument :allow_student_discussion_editing, Boolean, required: false
|
11
11
|
argument :allow_student_organized_groups, Boolean, required: false
|
12
|
+
argument :filter_speed_grader_by_student_group, Boolean, required: false
|
12
13
|
argument :hide_final_grades, Boolean, required: false
|
13
14
|
argument :hide_distribution_graphs, Boolean, required: false
|
15
|
+
argument :hide_sections_on_course_users_page, Boolean, required: false
|
14
16
|
argument :lock_all_announcements, Boolean, required: false
|
17
|
+
argument :usage_rights_required, Boolean, required: false
|
15
18
|
argument :restrict_student_past_view, Boolean, required: false
|
16
19
|
argument :restrict_student_future_view, Boolean, required: false
|
17
20
|
argument :show_announcements_on_home_page, Boolean, required: false
|
18
21
|
argument :home_page_announcement_limit, Int, required: false
|
22
|
+
argument :syllabus_course_summary, Boolean, required: false
|
23
|
+
|
24
|
+
|
19
25
|
field :return_value, Boolean, null: false
|
20
|
-
|
26
|
+
|
27
|
+
def resolve(course_id:, allow_student_discussion_topics: nil, allow_student_forum_attachments: nil, allow_student_discussion_editing: nil, allow_student_organized_groups: nil, filter_speed_grader_by_student_group: nil, hide_final_grades: nil, hide_distribution_graphs: nil, hide_sections_on_course_users_page: nil, lock_all_announcements: nil, usage_rights_required: nil, restrict_student_past_view: nil, restrict_student_future_view: nil, show_announcements_on_home_page: nil, home_page_announcement_limit: nil, syllabus_course_summary: nil)
|
21
28
|
context[:canvas_api].call("UPDATE_COURSE_SETTINGS").proxy(
|
22
29
|
"UPDATE_COURSE_SETTINGS",
|
23
30
|
{
|
@@ -28,13 +35,17 @@ module LMSGraphQL
|
|
28
35
|
"allow_student_forum_attachments": allow_student_forum_attachments,
|
29
36
|
"allow_student_discussion_editing": allow_student_discussion_editing,
|
30
37
|
"allow_student_organized_groups": allow_student_organized_groups,
|
38
|
+
"filter_speed_grader_by_student_group": filter_speed_grader_by_student_group,
|
31
39
|
"hide_final_grades": hide_final_grades,
|
32
40
|
"hide_distribution_graphs": hide_distribution_graphs,
|
41
|
+
"hide_sections_on_course_users_page": hide_sections_on_course_users_page,
|
33
42
|
"lock_all_announcements": lock_all_announcements,
|
43
|
+
"usage_rights_required": usage_rights_required,
|
34
44
|
"restrict_student_past_view": restrict_student_past_view,
|
35
45
|
"restrict_student_future_view": restrict_student_future_view,
|
36
46
|
"show_announcements_on_home_page": show_announcements_on_home_page,
|
37
|
-
"home_page_announcement_limit": home_page_announcement_limit
|
47
|
+
"home_page_announcement_limit": home_page_announcement_limit,
|
48
|
+
"syllabus_course_summary": syllabus_course_summary
|
38
49
|
},
|
39
50
|
).parsed_response
|
40
51
|
end
|
@@ -7,7 +7,10 @@ module LMSGraphQL
|
|
7
7
|
argument :account_id, ID, required: true
|
8
8
|
argument :course_ids, [ID], required: true
|
9
9
|
argument :event, String, required: true
|
10
|
+
|
11
|
+
|
10
12
|
field :progress, LMSGraphQL::Types::Canvas::CanvasProgress, null: false
|
13
|
+
|
11
14
|
def resolve(account_id:, course_ids:, event:)
|
12
15
|
context[:canvas_api].call("UPDATE_COURSES").proxy(
|
13
16
|
"UPDATE_COURSES",
|
@@ -10,7 +10,10 @@ module LMSGraphQL
|
|
10
10
|
argument :wiki_page_editing_roles, String, required: false
|
11
11
|
argument :wiki_page_notify_of_update, Boolean, required: false
|
12
12
|
argument :wiki_page_published, Boolean, required: false
|
13
|
+
|
14
|
+
|
13
15
|
field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
|
16
|
+
|
14
17
|
def resolve(course_id:, wiki_page_title: nil, wiki_page_body: nil, wiki_page_editing_roles: nil, wiki_page_notify_of_update: nil, wiki_page_published: nil)
|
15
18
|
context[:canvas_api].call("UPDATE_CREATE_FRONT_PAGE_COURSES").proxy(
|
16
19
|
"UPDATE_CREATE_FRONT_PAGE_COURSES",
|
@@ -10,7 +10,10 @@ module LMSGraphQL
|
|
10
10
|
argument :wiki_page_editing_roles, String, required: false
|
11
11
|
argument :wiki_page_notify_of_update, Boolean, required: false
|
12
12
|
argument :wiki_page_published, Boolean, required: false
|
13
|
+
|
14
|
+
|
13
15
|
field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
|
16
|
+
|
14
17
|
def resolve(group_id:, wiki_page_title: nil, wiki_page_body: nil, wiki_page_editing_roles: nil, wiki_page_notify_of_update: nil, wiki_page_published: nil)
|
15
18
|
context[:canvas_api].call("UPDATE_CREATE_FRONT_PAGE_GROUPS").proxy(
|
16
19
|
"UPDATE_CREATE_FRONT_PAGE_GROUPS",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :wiki_page_notify_of_update, Boolean, required: false
|
13
13
|
argument :wiki_page_published, Boolean, required: false
|
14
14
|
argument :wiki_page_front_page, Boolean, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
|
18
|
+
|
16
19
|
def resolve(course_id:, url:, wiki_page_title: nil, wiki_page_body: nil, wiki_page_editing_roles: nil, wiki_page_notify_of_update: nil, wiki_page_published: nil, wiki_page_front_page: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_CREATE_PAGE_COURSES").proxy(
|
18
21
|
"UPDATE_CREATE_PAGE_COURSES",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :wiki_page_notify_of_update, Boolean, required: false
|
13
13
|
argument :wiki_page_published, Boolean, required: false
|
14
14
|
argument :wiki_page_front_page, Boolean, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :page, LMSGraphQL::Types::Canvas::CanvasPage, null: false
|
18
|
+
|
16
19
|
def resolve(group_id:, url:, wiki_page_title: nil, wiki_page_body: nil, wiki_page_editing_roles: nil, wiki_page_notify_of_update: nil, wiki_page_published: nil, wiki_page_front_page: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_CREATE_PAGE_GROUPS").proxy(
|
18
21
|
"UPDATE_CREATE_PAGE_GROUPS",
|
@@ -7,7 +7,10 @@ module LMSGraphQL
|
|
7
7
|
argument :id, ID, required: true
|
8
8
|
argument :asset_string, String, required: true
|
9
9
|
argument :hexcode, String, required: false
|
10
|
+
|
11
|
+
|
10
12
|
field :return_value, Boolean, null: false
|
13
|
+
|
11
14
|
def resolve(id:, asset_string:, hexcode: nil)
|
12
15
|
context[:canvas_api].call("UPDATE_CUSTOM_COLOR").proxy(
|
13
16
|
"UPDATE_CUSTOM_COLOR",
|
@@ -6,7 +6,10 @@ module LMSGraphQL
|
|
6
6
|
class UpdateCustomGradebookColumn < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :id, ID, required: true
|
9
|
+
|
10
|
+
|
9
11
|
field :custom_column, LMSGraphQL::Types::Canvas::CanvasCustomColumn, null: false
|
12
|
+
|
10
13
|
def resolve(course_id:, id:)
|
11
14
|
context[:canvas_api].call("UPDATE_CUSTOM_GRADEBOOK_COLUMN").proxy(
|
12
15
|
"UPDATE_CUSTOM_GRADEBOOK_COLUMN",
|
@@ -5,7 +5,10 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class UpdateDashboardPosition < BaseMutation
|
7
7
|
argument :id, ID, required: true
|
8
|
+
|
9
|
+
|
8
10
|
field :return_value, Boolean, null: false
|
11
|
+
|
9
12
|
def resolve(id:)
|
10
13
|
context[:canvas_api].call("UPDATE_DASHBOARD_POSITIONS").proxy(
|
11
14
|
"UPDATE_DASHBOARD_POSITIONS",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :enrollment_term_sis_term_id, String, required: false
|
13
13
|
argument :enrollment_term_overrides_enrollment_type_start_at, LMSGraphQL::Types::DateTimeType, required: false
|
14
14
|
argument :enrollment_term_overrides_enrollment_type_end_at, LMSGraphQL::Types::DateTimeType, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :enrollment_term, LMSGraphQL::Types::Canvas::CanvasEnrollmentTerm, null: false
|
18
|
+
|
16
19
|
def resolve(account_id:, id:, enrollment_term_name: nil, enrollment_term_start_at: nil, enrollment_term_end_at: nil, enrollment_term_sis_term_id: nil, enrollment_term_overrides_enrollment_type_start_at: nil, enrollment_term_overrides_enrollment_type_end_at: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_ENROLLMENT_TERM").proxy(
|
18
21
|
"UPDATE_ENROLLMENT_TERM",
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :topic_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
10
|
argument :message, String, required: false
|
11
|
+
|
12
|
+
|
11
13
|
field :return_value, Boolean, null: false
|
14
|
+
|
12
15
|
def resolve(course_id:, topic_id:, id:, message: nil)
|
13
16
|
context[:canvas_api].call("UPDATE_ENTRY_COURSES").proxy(
|
14
17
|
"UPDATE_ENTRY_COURSES",
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :topic_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
10
|
argument :message, String, required: false
|
11
|
+
|
12
|
+
|
11
13
|
field :return_value, Boolean, null: false
|
14
|
+
|
12
15
|
def resolve(group_id:, topic_id:, id:, message: nil)
|
13
16
|
context[:canvas_api].call("UPDATE_ENTRY_GROUPS").proxy(
|
14
17
|
"UPDATE_ENTRY_GROUPS",
|
@@ -18,7 +18,10 @@ module LMSGraphQL
|
|
18
18
|
argument :question_neutral_comments, String, required: false
|
19
19
|
argument :question_text_after_answers, String, required: false
|
20
20
|
argument :question_answers, String, required: false
|
21
|
+
|
22
|
+
|
21
23
|
field :quiz_question, LMSGraphQL::Types::Canvas::CanvasQuizQuestion, null: false
|
24
|
+
|
22
25
|
def resolve(course_id:, quiz_id:, id:, question_question_name: nil, question_question_text: nil, question_quiz_group_id: nil, question_question_type: nil, question_position: nil, question_points_possible: nil, question_correct_comments: nil, question_incorrect_comments: nil, question_neutral_comments: nil, question_text_after_answers: nil, question_answers: nil)
|
23
26
|
context[:canvas_api].call("UPDATE_EXISTING_QUIZ_QUESTION").proxy(
|
24
27
|
"UPDATE_EXISTING_QUIZ_QUESTION",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :unlock_at, LMSGraphQL::Types::DateTimeType, required: false
|
13
13
|
argument :locked, Boolean, required: false
|
14
14
|
argument :hidden, Boolean, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :file, LMSGraphQL::Types::Canvas::CanvasFile, null: false
|
18
|
+
|
16
19
|
def resolve(id:, name: nil, parent_folder_id: nil, on_duplicate: nil, lock_at: nil, unlock_at: nil, locked: nil, hidden: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_FILE").proxy(
|
18
21
|
"UPDATE_FILE",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :locked, Boolean, required: false
|
13
13
|
argument :hidden, Boolean, required: false
|
14
14
|
argument :position, Int, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :folder, LMSGraphQL::Types::Canvas::CanvasFolder, null: false
|
18
|
+
|
16
19
|
def resolve(id:, name: nil, parent_folder_id: nil, lock_at: nil, unlock_at: nil, locked: nil, hidden: nil, position: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_FOLDER").proxy(
|
18
21
|
"UPDATE_FOLDER",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :account_notification_end_at, LMSGraphQL::Types::DateTimeType, required: false
|
13
13
|
argument :account_notification_icon, String, required: false
|
14
14
|
argument :account_notification_roles, String, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :return_value, Boolean, null: false
|
18
|
+
|
16
19
|
def resolve(account_id:, id:, account_notification_subject: nil, account_notification_message: nil, account_notification_start_at: nil, account_notification_end_at: nil, account_notification_icon: nil, account_notification_roles: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_GLOBAL_NOTIFICATION").proxy(
|
18
21
|
"UPDATE_GLOBAL_NOTIFICATION",
|
@@ -12,7 +12,10 @@ module LMSGraphQL
|
|
12
12
|
argument :sis_group_category_id, ID, required: false
|
13
13
|
argument :create_group_count, Int, required: false
|
14
14
|
argument :split_group_count, String, required: false
|
15
|
+
|
16
|
+
|
15
17
|
field :group_category, LMSGraphQL::Types::Canvas::CanvasGroupCategory, null: false
|
18
|
+
|
16
19
|
def resolve(group_category_id:, name: nil, self_signup: nil, auto_leader: nil, group_limit: nil, sis_group_category_id: nil, create_group_count: nil, split_group_count: nil)
|
17
20
|
context[:canvas_api].call("UPDATE_GROUP_CATEGORY").proxy(
|
18
21
|
"UPDATE_GROUP_CATEGORY",
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/line_item"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class UpdateLineItem < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :id, ID, required: true
|
9
|
+
argument :scoreMaximum, Float, required: false
|
10
|
+
argument :label, String, required: false
|
11
|
+
argument :resourceId, String, required: false
|
12
|
+
argument :tag, String, required: false
|
13
|
+
|
14
|
+
|
15
|
+
field :line_item, LMSGraphQL::Types::Canvas::CanvasLineItem, null: false
|
16
|
+
|
17
|
+
def resolve(course_id:, id:, scoreMaximum: nil, label: nil, resourceId: nil, tag: nil)
|
18
|
+
context[:canvas_api].call("UPDATE_LINE_ITEM").proxy(
|
19
|
+
"UPDATE_LINE_ITEM",
|
20
|
+
{
|
21
|
+
"course_id": course_id,
|
22
|
+
"id": id
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"scoreMaximum": scoreMaximum,
|
26
|
+
"label": label,
|
27
|
+
"resourceId": resourceId,
|
28
|
+
"tag": tag
|
29
|
+
},
|
30
|
+
).parsed_response
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class UpdateMediaObject < BaseMutation
|
7
|
+
argument :media_object_id, ID, required: true
|
8
|
+
argument :user_entered_title, String, required: false
|
9
|
+
|
10
|
+
|
11
|
+
field :return_value, Boolean, null: false
|
12
|
+
|
13
|
+
def resolve(media_object_id:, user_entered_title: nil)
|
14
|
+
context[:canvas_api].call("UPDATE_MEDIA_OBJECT").proxy(
|
15
|
+
"UPDATE_MEDIA_OBJECT",
|
16
|
+
{
|
17
|
+
"media_object_id": media_object_id
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"user_entered_title": user_entered_title
|
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/media_track"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class UpdateMediaTrack < BaseMutation
|
7
|
+
argument :media_object_id, ID, required: true
|
8
|
+
argument :include, String, required: false
|
9
|
+
|
10
|
+
|
11
|
+
field :media_track, [LMSGraphQL::Types::Canvas::CanvasMediaTrack], null: false
|
12
|
+
|
13
|
+
def resolve(media_object_id:, include: nil)
|
14
|
+
context[:canvas_api].call("UPDATE_MEDIA_TRACKS").proxy(
|
15
|
+
"UPDATE_MEDIA_TRACKS",
|
16
|
+
{
|
17
|
+
"media_object_id": media_object_id
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"include": include
|
21
|
+
},
|
22
|
+
).parsed_response
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :membership_id, ID, required: true
|
9
9
|
argument :workflow_state, String, required: false
|
10
10
|
argument :moderator, String, required: false
|
11
|
+
|
12
|
+
|
11
13
|
field :group_membership, LMSGraphQL::Types::Canvas::CanvasGroupMembership, null: false
|
14
|
+
|
12
15
|
def resolve(group_id:, membership_id:, workflow_state: nil, moderator: nil)
|
13
16
|
context[:canvas_api].call("UPDATE_MEMBERSHIP_MEMBERSHIPS").proxy(
|
14
17
|
"UPDATE_MEMBERSHIP_MEMBERSHIPS",
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :user_id, ID, required: true
|
9
9
|
argument :workflow_state, String, required: false
|
10
10
|
argument :moderator, String, required: false
|
11
|
+
|
12
|
+
|
11
13
|
field :group_membership, LMSGraphQL::Types::Canvas::CanvasGroupMembership, null: false
|
14
|
+
|
12
15
|
def resolve(group_id:, user_id:, workflow_state: nil, moderator: nil)
|
13
16
|
context[:canvas_api].call("UPDATE_MEMBERSHIP_USERS").proxy(
|
14
17
|
"UPDATE_MEMBERSHIP_USERS",
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :content_migration_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
10
|
argument :workflow_state, String, required: true
|
11
|
+
|
12
|
+
|
11
13
|
field :migration_issue, LMSGraphQL::Types::Canvas::CanvasMigrationIssue, null: false
|
14
|
+
|
12
15
|
def resolve(account_id:, content_migration_id:, id:, workflow_state:)
|
13
16
|
context[:canvas_api].call("UPDATE_MIGRATION_ISSUE_ACCOUNTS").proxy(
|
14
17
|
"UPDATE_MIGRATION_ISSUE_ACCOUNTS",
|
@@ -8,7 +8,10 @@ module LMSGraphQL
|
|
8
8
|
argument :content_migration_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
10
|
argument :workflow_state, String, required: true
|
11
|
+
|
12
|
+
|
11
13
|
field :migration_issue, LMSGraphQL::Types::Canvas::CanvasMigrationIssue, null: false
|
14
|
+
|
12
15
|
def resolve(course_id:, content_migration_id:, id:, workflow_state:)
|
13
16
|
context[:canvas_api].call("UPDATE_MIGRATION_ISSUE_COURSES").proxy(
|
14
17
|
"UPDATE_MIGRATION_ISSUE_COURSES",
|