lms-graphql-api 1.6.0 → 2.0.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 +6 -4
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +1 -1
- 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_global_notification.rb +1 -1
- 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 +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 +1 -1
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +1 -1
- 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 +3 -3
- data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
- 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/delete_eportfolio.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
- 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/edit_assignment.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_user.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +6 -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 +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +1 -1
- 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_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 +22 -7
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
- 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/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/submit_assignment_courses.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/terminate_all_user_sessions.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_account.rb +13 -1
- data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_course.rb +18 -2
- data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +3 -1
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +1 -1
- 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/resolvers/canvas/batch_retrieve_overrides_in_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 +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_formatted_student_numerical_answer.rb +26 -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 +2 -2
- 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_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_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_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 +4 -2
- 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 +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
- 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 +9 -7
- data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +5 -3
- 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_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_calendar_events.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +5 -3
- 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_environment_features.rb +22 -0
- 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_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 +8 -4
- 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_planner_items_planner.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
- 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/permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/progress_query_progress.rb +24 -0
- 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/settings.rb +22 -0
- 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_user_details.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -2
- data/lib/lms_graphql/types/canvas/account.rb +1 -1
- data/lib/lms_graphql/types/canvas/account_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/admin.rb +1 -1
- data/lib/lms_graphql/types/canvas/admin_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -1
- data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/answer.rb +2 -2
- data/lib/lms_graphql/types/canvas/answer_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment.rb +1 -1
- data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/appointment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assessment.rb +1 -1
- data/lib/lms_graphql/types/canvas/assessment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment.rb +9 -7
- data/lib/lms_graphql/types/canvas/assignment_date.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_date_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_event.rb +3 -2
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +4 -3
- data/lib/lms_graphql/types/canvas/assignment_extension.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group.rb +2 -2
- data/lib/lms_graphql/types/canvas/assignment_group_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/assignment_input.rb +11 -9
- data/lib/lms_graphql/types/canvas/assignment_override.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_override_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/authentication_event.rb +2 -2
- data/lib/lms_graphql/types/canvas/authentication_event_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/authentication_provider.rb +2 -1
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +2 -1
- data/lib/lms_graphql/types/canvas/avatar.rb +1 -1
- data/lib/lms_graphql/types/canvas/avatar_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_migration.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_restriction.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_subscription.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/bookmark.rb +1 -1
- data/lib/lms_graphql/types/canvas/bookmark_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/calendar_event.rb +3 -2
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +3 -2
- data/lib/lms_graphql/types/canvas/calendar_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record.rb +2 -2
- data/lib/lms_graphql/types/canvas/change_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/collaboration.rb +1 -1
- data/lib/lms_graphql/types/canvas/collaboration_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/collaborator.rb +2 -2
- data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/column_datum.rb +1 -1
- data/lib/lms_graphql/types/canvas/column_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/communication_channel.rb +2 -2
- data/lib/lms_graphql/types/canvas/communication_channel_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/completion_requirement.rb +2 -2
- data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/conference.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_recording.rb +1 -1
- data/lib/lms_graphql/types/canvas/conference_recording_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_detail.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_export.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_export_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_migration_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_share.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_share_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
- data/lib/lms_graphql/types/canvas/conversation_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/conversation_participant.rb +1 -1
- data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course.rb +5 -2
- data/lib/lms_graphql/types/canvas/course_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_epub_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_input.rb +8 -5
- data/lib/lms_graphql/types/canvas/course_nickname.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_nickname_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_progress_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_quiz_extension.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/created_event_datum.rb +5 -5
- data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/custom_column.rb +1 -1
- data/lib/lms_graphql/types/canvas/custom_column_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/day.rb +1 -1
- data/lib/lms_graphql/types/canvas/day_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/developer_key.rb +1 -1
- data/lib/lms_graphql/types/canvas/developer_key_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/discussion_topic.rb +4 -4
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +9 -9
- 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 +1 -1
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/enrollment_term.rb +1 -1
- data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/enrollment_terms_list.rb +1 -1
- data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export.rb +2 -2
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/error_report.rb +1 -1
- data/lib/lms_graphql/types/canvas/error_report_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/exception_record.rb +2 -2
- data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/favorite.rb +2 -2
- data/lib/lms_graphql/types/canvas/favorite_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/feature.rb +3 -3
- data/lib/lms_graphql/types/canvas/feature_flag.rb +4 -3
- data/lib/lms_graphql/types/canvas/feature_flag_input.rb +6 -5
- data/lib/lms_graphql/types/canvas/feature_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/federated_attribute_config.rb +1 -1
- data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/federated_attributes_config.rb +1 -1
- data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/file.rb +1 -1
- data/lib/lms_graphql/types/canvas/file_attachment.rb +1 -1
- data/lib/lms_graphql/types/canvas/file_attachment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/file_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/folder.rb +1 -1
- data/lib/lms_graphql/types/canvas/folder_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grader.rb +2 -2
- data/lib/lms_graphql/types/canvas/grader_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_period.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_period_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_rule.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_rule_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_scheme_entry.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_standard.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_standard_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/group.rb +4 -3
- data/lib/lms_graphql/types/canvas/group_category.rb +2 -2
- data/lib/lms_graphql/types/canvas/group_category_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/group_input.rb +7 -6
- data/lib/lms_graphql/types/canvas/group_membership.rb +2 -2
- data/lib/lms_graphql/types/canvas/group_membership_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/help_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/help_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
- data/lib/lms_graphql/types/canvas/history_entry_input.rb +1 -1
- 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.rb +1 -1
- data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/late_policy.rb +1 -1
- data/lib/lms_graphql/types/canvas/late_policy_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/license.rb +1 -1
- data/lib/lms_graphql/types/canvas/license_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/line_item.rb +1 -1
- data/lib/lms_graphql/types/canvas/line_item_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/lock_info.rb +1 -1
- data/lib/lms_graphql/types/canvas/lock_info_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
- data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_comment.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_comment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_object.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_object_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_track.rb +1 -1
- data/lib/lms_graphql/types/canvas/media_track_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
- data/lib/lms_graphql/types/canvas/migration_issue_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/migrator.rb +2 -2
- data/lib/lms_graphql/types/canvas/migrator_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/module_item.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/module_item_sequence.rb +1 -1
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/module_item_sequence_node.rb +1 -1
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_context.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_membership.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_message.rb +1 -1
- data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/needs_grading_count.rb +1 -1
- data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/notification_preference.rb +2 -2
- data/lib/lms_graphql/types/canvas/notification_preference_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_alignment.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_group.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import.rb +4 -3
- data/lib/lms_graphql/types/canvas/outcome_import_datum.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +5 -4
- data/lib/lms_graphql/types/canvas/outcome_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_path.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_path_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_path_part.rb +1 -1
- 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 +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_score.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/pairing_code.rb +1 -1
- data/lib/lms_graphql/types/canvas/pairing_code_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/peer_review.rb +1 -1
- data/lib/lms_graphql/types/canvas/peer_review_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_override.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_override_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_choice.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_choice_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_session.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_session_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_submission.rb +1 -1
- data/lib/lms_graphql/types/canvas/poll_submission_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency.rb +2 -2
- data/lib/lms_graphql/types/canvas/proficiency_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/proficiency_rating.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/profile.rb +2 -1
- data/lib/lms_graphql/types/canvas/profile_input.rb +2 -1
- data/lib/lms_graphql/types/canvas/progress.rb +3 -3
- data/lib/lms_graphql/types/canvas/progress_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
- data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/query_type.rb +139 -51
- data/lib/lms_graphql/types/canvas/quiz.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container.rb +1 -1
- 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 +1 -1
- data/lib/lms_graphql/types/canvas/quiz_extension.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_group.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_group_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/quiz_ip_filter.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_permission.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_question.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_question_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_report_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_statistics_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list.rb +1 -1
- 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.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 +1 -1
- data/lib/lms_graphql/types/canvas/report_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/result.rb +1 -1
- data/lib/lms_graphql/types/canvas/result_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/result_link.rb +1 -1
- data/lib/lms_graphql/types/canvas/result_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/role.rb +1 -1
- data/lib/lms_graphql/types/canvas/role_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/role_permission.rb +1 -1
- data/lib/lms_graphql/types/canvas/role_permission_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_assessment.rb +3 -3
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/rubric_association.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_association_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_criterion.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_criterium.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_rating.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/scope.rb +1 -1
- data/lib/lms_graphql/types/canvas/scope_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/score.rb +1 -1
- data/lib/lms_graphql/types/canvas/score_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/score_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/score_statistic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/section.rb +1 -1
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/section_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/section_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/section_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/shared_brand_config.rb +1 -1
- data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -3
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +4 -3
- data/lib/lms_graphql/types/canvas/sis_import.rb +5 -5
- data/lib/lms_graphql/types/canvas/sis_import_count.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_datum.rb +2 -2
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/sis_import_error.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_import_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/sso_setting.rb +1 -1
- data/lib/lms_graphql/types/canvas/sso_setting_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/student_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/student_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission.rb +10 -3
- data/lib/lms_graphql/types/canvas/submission_comment.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission_comment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission_history.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission_history_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission_input.rb +12 -5
- data/lib/lms_graphql/types/canvas/submission_version.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission_version_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/tab.rb +1 -1
- data/lib/lms_graphql/types/canvas/tab_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/term.rb +1 -1
- data/lib/lms_graphql/types/canvas/term_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/terms_of_service.rb +1 -1
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/tool_setting.rb +1 -1
- data/lib/lms_graphql/types/canvas/tool_setting_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/turnitin_setting.rb +1 -1
- data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/updated_event_datum.rb +5 -5
- data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/usage_right.rb +1 -1
- data/lib/lms_graphql/types/canvas/usage_right_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/user.rb +3 -1
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +1 -1
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/user_display.rb +1 -1
- data/lib/lms_graphql/types/canvas/user_display_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/user_input.rb +3 -1
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +20 -14
- data/lib/lms_graphql/types/date_time_type.rb +4 -0
- data/lib/lms_graphql/version.rb +1 -1
- metadata +52 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4094b24458e128c03551cfe9bc442304bb316555c58ed484a726614b59c8c8d
|
4
|
+
data.tar.gz: 8aa245e8e65381fed877d29873165e9d7084a18b6e622474405bbeda3a5d727f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d0624029691cecfc8bc6b6f485c0545de82b9c45eb90a948c0010b9867435565e80368a892b67cf2f7d9c6f733ab8e79e534e316ac949dc528ab50347b293a
|
7
|
+
data.tar.gz: d4eca3c2a56f485944af09f4df281d9d32d0d4aa1fb28d68204ed73990530561f8199ac418c59a5ecaab60c325adbb9c95b40cecd76db9f0e03abbf6c2768986
|
@@ -9,8 +9,8 @@ module LMSGraphQL
|
|
9
9
|
argument :attachment_ids, [ID], required: false
|
10
10
|
argument :media_comment_id, ID, required: false
|
11
11
|
argument :media_comment_type, String, required: false
|
12
|
-
argument :recipients, String, required: false
|
13
|
-
argument :included_messages, String, required: false
|
12
|
+
argument :recipients, [String], required: false
|
13
|
+
argument :included_messages, [String], required: false
|
14
14
|
argument :user_note, Boolean, required: false
|
15
15
|
|
16
16
|
|
@@ -5,7 +5,7 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class AddMultipleAllowedDomainsToAccount < BaseMutation
|
7
7
|
argument :account_id, ID, required: true
|
8
|
-
argument :domains, String, required: true
|
8
|
+
argument :domains, [String], required: true
|
9
9
|
|
10
10
|
|
11
11
|
field :return_value, Boolean, null: false
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class AddUsersToContentShare < BaseMutation
|
7
7
|
argument :user_id, ID, required: true
|
8
8
|
argument :id, ID, required: true
|
9
|
-
argument :receiver_ids, String, required: false
|
9
|
+
argument :receiver_ids, [String], required: false
|
10
10
|
|
11
11
|
|
12
12
|
field :content_share, LMSGraphQL::Types::Canvas::CanvasContentShare, null: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CopyCourseContent < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :source_course, String, required: false
|
9
|
-
argument :except, String, required: false
|
10
|
-
argument :only, String, required: false
|
9
|
+
argument :except, [String], required: false
|
10
|
+
argument :only, [String], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -4,8 +4,8 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateAppointmentGroup < BaseMutation
|
7
|
-
argument :appointment_group_context_codes, String, required: true
|
8
|
-
argument :appointment_group_sub_context_codes, String, required: false
|
7
|
+
argument :appointment_group_context_codes, [String], required: true
|
8
|
+
argument :appointment_group_sub_context_codes, [String], required: false
|
9
9
|
argument :appointment_group_title, String, required: true
|
10
10
|
argument :appointment_group_description, String, required: false
|
11
11
|
argument :appointment_group_location_name, String, required: false
|
@@ -14,7 +14,7 @@ module LMSGraphQL
|
|
14
14
|
argument :appointment_group_participants_per_appointment, Int, required: false
|
15
15
|
argument :appointment_group_min_appointments_per_participant, Int, required: false
|
16
16
|
argument :appointment_group_max_appointments_per_participant, Int, required: false
|
17
|
-
argument :appointment_group_new_appointments_X, String, required: false
|
17
|
+
argument :appointment_group_new_appointments_X, [String], required: false
|
18
18
|
argument :appointment_group_participant_visibility, String, required: false
|
19
19
|
|
20
20
|
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_name, String, required: true
|
9
9
|
argument :assignment_position, Int, required: false
|
10
|
-
argument :assignment_submission_types, String, required: false
|
11
|
-
argument :assignment_allowed_extensions, String, required: false
|
10
|
+
argument :assignment_submission_types, [String], required: false
|
11
|
+
argument :assignment_allowed_extensions, [String], required: false
|
12
12
|
argument :assignment_turnitin_enabled, Boolean, required: false
|
13
13
|
argument :assignment_vericite_enabled, Boolean, required: false
|
14
14
|
argument :assignment_turnitin_settings, String, required: false
|
@@ -41,11 +41,12 @@ module LMSGraphQL
|
|
41
41
|
argument :assignment_graders_names_visible_to_final_grader, Boolean, required: false
|
42
42
|
argument :assignment_anonymous_grading, Boolean, required: false
|
43
43
|
argument :assignment_allowed_attempts, Int, required: false
|
44
|
+
argument :assignment_annotatable_attachment_id, Int, required: false
|
44
45
|
|
45
46
|
|
46
47
|
field :assignment, LMSGraphQL::Types::Canvas::CanvasAssignment, null: false
|
47
48
|
|
48
|
-
def resolve(course_id:, assignment_name:, assignment_position: nil, assignment_submission_types: nil, assignment_allowed_extensions: nil, assignment_turnitin_enabled: nil, assignment_vericite_enabled: nil, assignment_turnitin_settings: nil, assignment_integration_data: nil, assignment_integration_id: nil, assignment_peer_reviews: nil, assignment_automatic_peer_reviews: nil, assignment_notify_of_update: nil, assignment_group_category_id: nil, assignment_grade_group_students_individually: nil, assignment_external_tool_tag_attributes: nil, assignment_points_possible: nil, assignment_grading_type: nil, assignment_due_at: nil, assignment_lock_at: nil, assignment_unlock_at: nil, assignment_description: nil, assignment_assignment_group_id: nil, assignment_assignment_overrides: nil, assignment_only_visible_to_overrides: nil, assignment_published: nil, assignment_grading_standard_id: nil, assignment_omit_from_final_grade: nil, assignment_quiz_lti: nil, assignment_moderated_grading: nil, assignment_grader_count: nil, assignment_final_grader_id: nil, assignment_grader_comments_visible_to_graders: nil, assignment_graders_anonymous_to_graders: nil, assignment_graders_names_visible_to_final_grader: nil, assignment_anonymous_grading: nil, assignment_allowed_attempts: nil)
|
49
|
+
def resolve(course_id:, assignment_name:, assignment_position: nil, assignment_submission_types: nil, assignment_allowed_extensions: nil, assignment_turnitin_enabled: nil, assignment_vericite_enabled: nil, assignment_turnitin_settings: nil, assignment_integration_data: nil, assignment_integration_id: nil, assignment_peer_reviews: nil, assignment_automatic_peer_reviews: nil, assignment_notify_of_update: nil, assignment_group_category_id: nil, assignment_grade_group_students_individually: nil, assignment_external_tool_tag_attributes: nil, assignment_points_possible: nil, assignment_grading_type: nil, assignment_due_at: nil, assignment_lock_at: nil, assignment_unlock_at: nil, assignment_description: nil, assignment_assignment_group_id: nil, assignment_assignment_overrides: nil, assignment_only_visible_to_overrides: nil, assignment_published: nil, assignment_grading_standard_id: nil, assignment_omit_from_final_grade: nil, assignment_quiz_lti: nil, assignment_moderated_grading: nil, assignment_grader_count: nil, assignment_final_grader_id: nil, assignment_grader_comments_visible_to_graders: nil, assignment_graders_anonymous_to_graders: nil, assignment_graders_names_visible_to_final_grader: nil, assignment_anonymous_grading: nil, assignment_allowed_attempts: nil, assignment_annotatable_attachment_id: nil)
|
49
50
|
context[:canvas_api].call("CREATE_ASSIGNMENT").proxy(
|
50
51
|
"CREATE_ASSIGNMENT",
|
51
52
|
{
|
@@ -87,7 +88,8 @@ module LMSGraphQL
|
|
87
88
|
"assignment[graders_anonymous_to_graders]": assignment_graders_anonymous_to_graders,
|
88
89
|
"assignment[graders_names_visible_to_final_grader]": assignment_graders_names_visible_to_final_grader,
|
89
90
|
"assignment[anonymous_grading]": assignment_anonymous_grading,
|
90
|
-
"assignment[allowed_attempts]": assignment_allowed_attempts
|
91
|
+
"assignment[allowed_attempts]": assignment_allowed_attempts,
|
92
|
+
"assignment[annotatable_attachment_id]": assignment_annotatable_attachment_id
|
91
93
|
},
|
92
94
|
).parsed_response
|
93
95
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CreateAssignmentOverride < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_id, ID, required: true
|
9
|
-
argument :assignment_override_student_ids, Int, required: false
|
9
|
+
argument :assignment_override_student_ids, [Int], required: false
|
10
10
|
argument :assignment_override_title, String, required: false
|
11
11
|
argument :assignment_override_group_id, Int, required: false
|
12
12
|
argument :assignment_override_course_section_id, Int, required: false
|
@@ -5,7 +5,7 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateContentShare < BaseMutation
|
7
7
|
argument :user_id, ID, required: true
|
8
|
-
argument :receiver_ids, String, required: true
|
8
|
+
argument :receiver_ids, [String], required: true
|
9
9
|
argument :content_type, String, required: true
|
10
10
|
argument :content_id, ID, required: true
|
11
11
|
|
@@ -4,7 +4,7 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateConversation < BaseMutation
|
7
|
-
argument :recipients, String, required: true
|
7
|
+
argument :recipients, [String], required: true
|
8
8
|
argument :subject, String, required: false
|
9
9
|
argument :body, String, required: true
|
10
10
|
argument :force_new, Boolean, required: false
|
@@ -15,7 +15,7 @@ module LMSGraphQL
|
|
15
15
|
argument :user_note, Boolean, required: false
|
16
16
|
argument :mode, String, required: false
|
17
17
|
argument :scope, String, required: false
|
18
|
-
argument :filter, String, required: false
|
18
|
+
argument :filter, [String], required: false
|
19
19
|
argument :filter_mode, String, required: false
|
20
20
|
argument :context_code, String, required: false
|
21
21
|
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
argument :account_notification_start_at, LMSGraphQL::Types::DateTimeType, required: true
|
11
11
|
argument :account_notification_end_at, LMSGraphQL::Types::DateTimeType, required: true
|
12
12
|
argument :account_notification_icon, String, required: false
|
13
|
-
argument :account_notification_roles, String, required: false
|
13
|
+
argument :account_notification_roles, [String], required: false
|
14
14
|
|
15
15
|
|
16
16
|
field :return_value, Boolean, null: false
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/inst_access_token"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class CreateInstaccessToken < BaseMutation
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
field :inst_access_token, LMSGraphQL::Types::Canvas::CanvasInstAccessToken, null: false
|
11
|
+
|
12
|
+
def resolve()
|
13
|
+
context[:canvas_api].call("CREATE_INSTACCESS_TOKEN").proxy(
|
14
|
+
"CREATE_INSTACCESS_TOKEN",
|
15
|
+
{},
|
16
|
+
{},
|
17
|
+
).parsed_response
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/inst_id"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class CreateInstid < BaseMutation
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
field :inst_id, LMSGraphQL::Types::Canvas::CanvasInstID, null: false
|
11
|
+
|
12
|
+
def resolve()
|
13
|
+
context[:canvas_api].call("CREATE_INSTID").proxy(
|
14
|
+
"CREATE_INSTID",
|
15
|
+
{},
|
16
|
+
{},
|
17
|
+
).parsed_response
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -4,16 +4,18 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateJwt < BaseMutation
|
7
|
-
|
7
|
+
argument :workflows, [String], required: false
|
8
8
|
|
9
9
|
|
10
10
|
field :jwt, LMSGraphQL::Types::Canvas::CanvasJWT, null: false
|
11
11
|
|
12
|
-
def resolve()
|
12
|
+
def resolve(workflows: nil)
|
13
13
|
context[:canvas_api].call("CREATE_JWT").proxy(
|
14
14
|
"CREATE_JWT",
|
15
15
|
{},
|
16
|
-
{
|
16
|
+
{
|
17
|
+
"workflows": workflows
|
18
|
+
},
|
17
19
|
).parsed_response
|
18
20
|
end
|
19
21
|
end
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -12,8 +12,8 @@ module LMSGraphQL
|
|
12
12
|
argument :description, String, required: false
|
13
13
|
argument :vendor_guid, String, required: false
|
14
14
|
argument :mastery_points, Int, required: false
|
15
|
-
argument :ratings_description, String, required: false
|
16
|
-
argument :ratings_points, Int, required: false
|
15
|
+
argument :ratings_description, [String], required: false
|
16
|
+
argument :ratings_points, [Int], required: false
|
17
17
|
argument :calculation_method, String, required: false
|
18
18
|
argument :calculation_int, Int, required: false
|
19
19
|
|
@@ -12,8 +12,8 @@ module LMSGraphQL
|
|
12
12
|
argument :description, String, required: false
|
13
13
|
argument :vendor_guid, String, required: false
|
14
14
|
argument :mastery_points, Int, required: false
|
15
|
-
argument :ratings_description, String, required: false
|
16
|
-
argument :ratings_points, Int, required: false
|
15
|
+
argument :ratings_description, [String], required: false
|
16
|
+
argument :ratings_points, [Int], required: false
|
17
17
|
argument :calculation_method, String, required: false
|
18
18
|
argument :calculation_int, Int, required: false
|
19
19
|
|
@@ -9,7 +9,7 @@ module LMSGraphQL
|
|
9
9
|
argument :module_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
|
10
10
|
argument :module_position, Int, required: false
|
11
11
|
argument :module_require_sequential_progress, Boolean, required: false
|
12
|
-
argument :module_prerequisite_module_ids, String, required: false
|
12
|
+
argument :module_prerequisite_module_ids, [String], required: false
|
13
13
|
argument :module_publish_final_grade, Boolean, required: false
|
14
14
|
|
15
15
|
|
@@ -21,7 +21,7 @@ module LMSGraphQL
|
|
21
21
|
argument :course_open_enrollment, Boolean, required: false
|
22
22
|
argument :course_self_enrollment, Boolean, required: false
|
23
23
|
argument :course_restrict_enrollments_to_course_dates, Boolean, required: false
|
24
|
-
argument :course_term_id,
|
24
|
+
argument :course_term_id, String, required: false
|
25
25
|
argument :course_sis_course_id, String, required: false
|
26
26
|
argument :course_integration_id, String, required: false
|
27
27
|
argument :course_hide_final_grades, Boolean, required: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CreateNewGradingStandardAccount < BaseMutation
|
7
7
|
argument :account_id, ID, required: true
|
8
8
|
argument :title, String, required: true
|
9
|
-
argument :grading_scheme_entry_name, String, required: true
|
10
|
-
argument :grading_scheme_entry_value, Int, required: true
|
9
|
+
argument :grading_scheme_entry_name, [String], required: true
|
10
|
+
argument :grading_scheme_entry_value, [Int], required: true
|
11
11
|
|
12
12
|
|
13
13
|
field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CreateNewGradingStandardCourse < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :title, String, required: true
|
9
|
-
argument :grading_scheme_entry_name, String, required: true
|
10
|
-
argument :grading_scheme_entry_value, Int, required: true
|
9
|
+
argument :grading_scheme_entry_name, [String], required: true
|
10
|
+
argument :grading_scheme_entry_value, [Int], required: true
|
11
11
|
|
12
12
|
|
13
13
|
field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
|
data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb
CHANGED
@@ -9,9 +9,9 @@ module LMSGraphQL
|
|
9
9
|
argument :events, [String], required: false
|
10
10
|
argument :events_start_at, [LMSGraphQL::Types::DateTimeType], required: false
|
11
11
|
argument :events_end_at, [LMSGraphQL::Types::DateTimeType], required: false
|
12
|
-
argument :events_location_name, String, required: false
|
13
|
-
argument :events_code, String, required: false
|
14
|
-
argument :events_title, String, required: false
|
12
|
+
argument :events_location_name, [String], required: false
|
13
|
+
argument :events_code, [String], required: false
|
14
|
+
argument :events_title, [String], required: false
|
15
15
|
|
16
16
|
|
17
17
|
field :return_value, Boolean, null: false
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
class CreateQuestionGroup < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
|
-
argument :quiz_groups_name, String, required: false
|
10
|
-
argument :quiz_groups_pick_count, Int, required: false
|
11
|
-
argument :quiz_groups_question_points, Int, required: false
|
12
|
-
argument :quiz_groups_assessment_question_bank_id, Int, required: false
|
9
|
+
argument :quiz_groups_name, [String], required: false
|
10
|
+
argument :quiz_groups_pick_count, [Int], required: false
|
11
|
+
argument :quiz_groups_question_points, [Int], required: false
|
12
|
+
argument :quiz_groups_assessment_question_bank_id, [Int], required: false
|
13
13
|
|
14
14
|
|
15
15
|
field :return_value, Boolean, null: false
|
@@ -4,8 +4,8 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePoll < BaseMutation
|
7
|
-
argument :polls_question, String, required: true
|
8
|
-
argument :polls_description, String, required: false
|
7
|
+
argument :polls_question, [String], required: true
|
8
|
+
argument :polls_description, [String], required: false
|
9
9
|
|
10
10
|
|
11
11
|
field :return_value, Boolean, null: false
|
@@ -5,9 +5,9 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePollChoice < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
|
-
argument :poll_choices_text, String, required: true
|
9
|
-
argument :poll_choices_is_correct, Boolean, required: false
|
10
|
-
argument :poll_choices_position, Int, required: false
|
8
|
+
argument :poll_choices_text, [String], required: true
|
9
|
+
argument :poll_choices_is_correct, [Boolean], required: false
|
10
|
+
argument :poll_choices_position, [Int], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -5,9 +5,9 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePollSession < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
|
-
argument :poll_sessions_course_id, Int, required: true
|
9
|
-
argument :poll_sessions_course_section_id, Int, required: false
|
10
|
-
argument :poll_sessions_has_public_results, Boolean, required: false
|
8
|
+
argument :poll_sessions_course_id, [Int], required: true
|
9
|
+
argument :poll_sessions_course_section_id, [Int], required: false
|
10
|
+
argument :poll_sessions_has_public_results, [Boolean], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CreateSinglePollSubmission < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
8
|
argument :poll_session_id, ID, required: true
|
9
|
-
argument :poll_submissions_poll_choice_id, Int, required: true
|
9
|
+
argument :poll_submissions_poll_choice_id, [Int], required: true
|
10
10
|
|
11
11
|
|
12
12
|
field :return_value, Boolean, null: false
|
@@ -5,10 +5,10 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateUpdateProficiencyRatingsAccount < BaseMutation
|
7
7
|
argument :account_id, ID, required: true
|
8
|
-
argument :ratings_description, String, required: false
|
9
|
-
argument :ratings_points, Int, required: false
|
10
|
-
argument :ratings_mastery, Int, required: false
|
11
|
-
argument :ratings_color, Int, required: false
|
8
|
+
argument :ratings_description, [String], required: false
|
9
|
+
argument :ratings_points, [Int], required: false
|
10
|
+
argument :ratings_mastery, [Int], required: false
|
11
|
+
argument :ratings_color, [Int], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
|
@@ -5,10 +5,10 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateUpdateProficiencyRatingsCourse < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
|
-
argument :ratings_description, String, required: false
|
9
|
-
argument :ratings_points, Int, required: false
|
10
|
-
argument :ratings_mastery, Int, required: false
|
11
|
-
argument :ratings_color, Int, required: false
|
8
|
+
argument :ratings_description, [String], required: false
|
9
|
+
argument :ratings_points, [Int], required: false
|
10
|
+
argument :ratings_mastery, [Int], required: false
|
11
|
+
argument :ratings_color, [Int], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
|
@@ -11,11 +11,12 @@ module LMSGraphQL
|
|
11
11
|
argument :login_sis_user_id, String, required: false
|
12
12
|
argument :login_integration_id, String, required: false
|
13
13
|
argument :login_authentication_provider_id, String, required: false
|
14
|
+
argument :login_declared_user_type, String, required: false
|
14
15
|
|
15
16
|
|
16
17
|
field :return_value, Boolean, null: false
|
17
18
|
|
18
|
-
def resolve(account_id:, user_id:, login_unique_id:, login_password: nil, login_sis_user_id: nil, login_integration_id: nil, login_authentication_provider_id: nil)
|
19
|
+
def resolve(account_id:, user_id:, login_unique_id:, login_password: nil, login_sis_user_id: nil, login_integration_id: nil, login_authentication_provider_id: nil, login_declared_user_type: nil)
|
19
20
|
context[:canvas_api].call("CREATE_USER_LOGIN").proxy(
|
20
21
|
"CREATE_USER_LOGIN",
|
21
22
|
{
|
@@ -27,7 +28,8 @@ module LMSGraphQL
|
|
27
28
|
"login[password]": login_password,
|
28
29
|
"login[sis_user_id]": login_sis_user_id,
|
29
30
|
"login[integration_id]": login_integration_id,
|
30
|
-
"login[authentication_provider_id]": login_authentication_provider_id
|
31
|
+
"login[authentication_provider_id]": login_authentication_provider_id,
|
32
|
+
"login[declared_user_type]": login_declared_user_type
|
31
33
|
},
|
32
34
|
).parsed_response
|
33
35
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CreateWebhookSubscription < BaseMutation
|
7
7
|
argument :subscription_ContextId, String, required: true
|
8
8
|
argument :subscription_ContextType, String, required: true
|
9
|
-
argument :subscription_EventTypes, String, required: true
|
9
|
+
argument :subscription_EventTypes, [String], required: true
|
10
10
|
argument :subscription_Format, String, required: true
|
11
11
|
argument :subscription_TransportMetadata, String, required: true
|
12
12
|
argument :subscription_TransportType, String, required: true
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/e_portfolio"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class DeleteEportfolio < BaseMutation
|
7
|
+
argument :id, ID, required: true
|
8
|
+
|
9
|
+
|
10
|
+
field :e_portfolio, LMSGraphQL::Types::Canvas::CanvasePortfolio, null: false
|
11
|
+
|
12
|
+
def resolve(id:)
|
13
|
+
context[:canvas_api].call("DELETE_EPORTFOLIO").proxy(
|
14
|
+
"DELETE_EPORTFOLIO",
|
15
|
+
{
|
16
|
+
"id": id
|
17
|
+
},
|
18
|
+
{},
|
19
|
+
).parsed_response
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/assignment"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class DuplicateAssignnment < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :assignment_id, ID, required: true
|
9
|
+
argument :result_type, String, required: false
|
10
|
+
|
11
|
+
|
12
|
+
field :assignment, LMSGraphQL::Types::Canvas::CanvasAssignment, null: false
|
13
|
+
|
14
|
+
def resolve(course_id:, assignment_id:, result_type: nil)
|
15
|
+
context[:canvas_api].call("DUPLICATE_ASSIGNNMENT").proxy(
|
16
|
+
"DUPLICATE_ASSIGNNMENT",
|
17
|
+
{
|
18
|
+
"course_id": course_id,
|
19
|
+
"assignment_id": assignment_id
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"result_type": result_type
|
23
|
+
},
|
24
|
+
).parsed_response
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/discussion_topic"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class DuplicateDiscussionTopicCourse < BaseMutation
|
7
|
+
argument :course_id, ID, required: true
|
8
|
+
argument :topic_id, ID, required: true
|
9
|
+
|
10
|
+
|
11
|
+
field :discussion_topic, LMSGraphQL::Types::Canvas::CanvasDiscussionTopic, null: false
|
12
|
+
|
13
|
+
def resolve(course_id:, topic_id:)
|
14
|
+
context[:canvas_api].call("DUPLICATE_DISCUSSION_TOPIC_COURSES").proxy(
|
15
|
+
"DUPLICATE_DISCUSSION_TOPIC_COURSES",
|
16
|
+
{
|
17
|
+
"course_id": course_id,
|
18
|
+
"topic_id": topic_id
|
19
|
+
},
|
20
|
+
{},
|
21
|
+
).parsed_response
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/discussion_topic"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class DuplicateDiscussionTopicGroup < BaseMutation
|
7
|
+
argument :group_id, ID, required: true
|
8
|
+
argument :topic_id, ID, required: true
|
9
|
+
|
10
|
+
|
11
|
+
field :discussion_topic, LMSGraphQL::Types::Canvas::CanvasDiscussionTopic, null: false
|
12
|
+
|
13
|
+
def resolve(group_id:, topic_id:)
|
14
|
+
context[:canvas_api].call("DUPLICATE_DISCUSSION_TOPIC_GROUPS").proxy(
|
15
|
+
"DUPLICATE_DISCUSSION_TOPIC_GROUPS",
|
16
|
+
{
|
17
|
+
"group_id": group_id,
|
18
|
+
"topic_id": topic_id
|
19
|
+
},
|
20
|
+
{},
|
21
|
+
).parsed_response
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|