lms-graphql-api 1.8.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lms_graphql/mutations/canvas/add_message.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/add_multiple_allowed_domains_to_account.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/add_users_to_content_share.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_assignment.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
- data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_share.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_instaccess_token.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_jwt.rb +11 -3
- data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_module.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_user_login.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/create_webhook_subscription.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
- data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_eportfolio.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +9 -7
- data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +5 -3
- data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/edit_user.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_courses.rb +51 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_by_anonymous_id_sections.rb +51 -0
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
- data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_courses.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_document_annotations_as_read_sections.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_courses.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_comments_as_read_sections.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/moderate_all_eportfolios_for_user.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/moderate_eportfolio.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/mutations.rb +32 -7
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
- data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/restore_deleted_eportfolio.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
- data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/terminate_all_user_sessions.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_account.rb +17 -1
- data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/update_associated_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
- data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_course.rb +21 -7
- data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +10 -2
- data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
- data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_module.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
- data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/get_all_eportfolios_for_user.rb +25 -0
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_custom_colors.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_completed.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_current.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_department_level_statistics_broken_down_by_subaccount_terms.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_courses.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_document_annotations_read_state_sections.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_eportfolio.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_eportfolio_pages.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +7 -3
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_manually_created_courses_sub_account_for_domain_root_account.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_courses.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_comments_read_state_sections.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_courses.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_by_anonymous_id_sections.rb +28 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +11 -9
- data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
- data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +7 -5
- data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +11 -5
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +11 -5
- data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +10 -2
- data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
- data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/account_notification.rb +3 -3
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
- data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
- data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment_group.rb +6 -6
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +28 -28
- data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment.rb +15 -10
- data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -5
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +17 -16
- data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_group.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/assignment_input.rb +76 -71
- data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
- data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/authentication_event_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/authentication_provider.rb +1 -0
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -19
- data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
- data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/calendar_event.rb +11 -6
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -32
- data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
- data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/collaborator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/communication_channel_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/conference.rb +3 -3
- data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_export_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_migration_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/content_share.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/conversation.rb +4 -4
- data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course.rb +5 -4
- data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_input.rb +53 -52
- data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/created_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/day.rb +1 -1
- data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
- data/lib/lms_graphql/types/canvas/discussion_topic.rb +6 -6
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +37 -37
- data/lib/lms_graphql/types/canvas/e_portfolio.rb +24 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +24 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +20 -0
- data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +20 -0
- data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
- data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
- data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
- data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/exception_record.rb +1 -1
- data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
- data/lib/lms_graphql/types/canvas/external_feed_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/favorite_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/feature.rb +1 -3
- data/lib/lms_graphql/types/canvas/feature_flag_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/feature_input.rb +9 -11
- data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/file.rb +2 -2
- data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/folder.rb +4 -4
- data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
- data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grader.rb +1 -1
- data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/grading_rule.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/group_category_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/group_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/group_membership_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
- data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/inst_access_token.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
- data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
- data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
- data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
- data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
- data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
- data/lib/lms_graphql/types/canvas/migration_issue_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/migrator.rb +1 -1
- data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/module_item_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/notification_preference_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/outcome_import.rb +5 -4
- data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +11 -10
- data/lib/lms_graphql/types/canvas/outcome_input.rb +19 -18
- data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page.rb +3 -2
- data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
- data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/proficiency.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/profile.rb +1 -0
- data/lib/lms_graphql/types/canvas/profile_input.rb +15 -14
- data/lib/lms_graphql/types/canvas/progress.rb +2 -2
- data/lib/lms_graphql/types/canvas/progress_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
- data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/query_type.rb +181 -53
- data/lib/lms_graphql/types/canvas/quiz.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_input.rb +42 -42
- data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_report_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/report.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/report_parameter.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/rubric_assessment.rb +2 -2
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
- data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
- data/lib/lms_graphql/types/canvas/section.rb +2 -2
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
- data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/sis_import.rb +8 -6
- data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/sis_import_datum.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/sis_import_input.rb +25 -23
- data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission.rb +11 -4
- data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_input.rb +38 -31
- data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
- data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
- data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/term.rb +2 -2
- data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/updated_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user.rb +3 -0
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/user_input.rb +18 -15
- data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +24 -14
- data/lib/lms_graphql/version.rb +1 -1
- metadata +83 -4
- data/lib/lms_graphql/types/date_time_type.rb +0 -18
@@ -8,7 +8,7 @@ module LMSGraphQL
|
|
8
8
|
module Types
|
9
9
|
module Canvas
|
10
10
|
class CanvasSubmissionInput < BaseInputObject
|
11
|
-
class
|
11
|
+
class SubmissionInputSubmissionTypeEnum < ::GraphQL::Schema::Enum
|
12
12
|
value "online_text_entry"
|
13
13
|
value "online_url"
|
14
14
|
value "online_upload"
|
@@ -16,42 +16,49 @@ module LMSGraphQL
|
|
16
16
|
value "student_annotation"
|
17
17
|
end
|
18
18
|
|
19
|
-
class
|
19
|
+
class SubmissionInputWorkflowStateEnum < ::GraphQL::Schema::Enum
|
20
20
|
value "graded"
|
21
21
|
value "submitted"
|
22
22
|
value "unsubmitted"
|
23
23
|
value "pending_review"
|
24
24
|
end
|
25
|
+
|
26
|
+
class SubmissionInputReadStatusEnum < ::GraphQL::Schema::Enum
|
27
|
+
value "read"
|
28
|
+
value "unread"
|
29
|
+
end
|
25
30
|
description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
31
|
+
argument :assignment_id, ID, "The submission's assignment id.Example: 23", required: false
|
32
|
+
argument :assignment, LMSGraphQL::Types::Canvas::CanvasAssignmentInput, "The submission's assignment (see the assignments API) (optional).", required: false
|
33
|
+
argument :course, LMSGraphQL::Types::Canvas::CanvasCourseInput, "The submission's course (see the course API) (optional).", required: false
|
34
|
+
argument :attempt, Int, "This is the submission attempt number..Example: 1", required: false
|
35
|
+
argument :body, String, "The content of the submission, if it was submitted directly in a text field..Example: There are three factors too.", required: false
|
36
|
+
argument :grade, String, "The grade for the submission, translated into the assignment grading scheme (so a letter grade, for example)..Example: A-", required: false
|
37
|
+
argument :grade_matches_current_submission, Boolean, "A boolean flag which is false if the student has re-submitted since the submission was last graded..Example: true", required: false
|
38
|
+
argument :html_url, String, "URL to the submission. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134", required: false
|
39
|
+
argument :preview_url, String, "URL to the submission preview. This will require the user to log in..Example: http://example.com/courses/255/assignments/543/submissions/134?preview=1", required: false
|
40
|
+
argument :score, Float, "The raw score.Example: 13.5", required: false
|
41
|
+
argument :submission_comments, [LMSGraphQL::Types::Canvas::CanvasSubmissionCommentInput], "Associated comments for a submission (optional).", required: false
|
42
|
+
argument :submission_type, SubmissionInputSubmissionTypeEnum, "The types of submission ex: ('online_text_entry'|'online_url'|'online_upload'|'media_recording'|'student_annotation').Example: online_text_entry", required: false
|
43
|
+
argument :submitted_at, GraphQL::Types::ISO8601DateTime, "The timestamp when the assignment was submitted.Example: 2012-01-01T01:00:00Z", required: false
|
44
|
+
argument :url, String, "The URL of the submission (for 'online_url' submissions)..", required: false
|
45
|
+
argument :user_id, ID, "The id of the user who created the submission.Example: 134", required: false
|
46
|
+
argument :grader_id, ID, "The id of the user who graded the submission. This will be null for submissions that haven't been graded yet. It will be a positive number if a real user has graded the submission and a negative number if the submission was graded by a process (e.g. Quiz autograder and autograding LTI tools). Specifically autograded quizzes set grader_id to the negative of the quiz id. Submissions autograded by LTI tools set grader_id to the negative of the tool id..Example: 86", required: false
|
47
|
+
argument :graded_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-01-02T03:05:34Z", required: false
|
48
|
+
argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The submissions user (see user API) (optional).", required: false
|
49
|
+
argument :late, Boolean, "Whether the submission was made after the applicable due date.", required: false
|
50
|
+
argument :assignment_visible, Boolean, "Whether the assignment is visible to the user who submitted the assignment. Submissions where `assignment_visible` is false no longer count towards the student's grade and the assignment can no longer be accessed by the student. `assignment_visible` becomes false for submissions that do not have a grade and whose assignment is no longer assigned to the student's section..Example: true", required: false
|
51
|
+
argument :excused, Boolean, "Whether the assignment is excused. Excused assignments have no impact on a user's grade..Example: true", required: false
|
52
|
+
argument :missing, Boolean, "Whether the assignment is missing..Example: true", required: false
|
53
|
+
argument :late_policy_status, String, "The status of the submission in relation to the late policy. Can be late, missing, extended, none, or null..Example: missing", required: false
|
54
|
+
argument :points_deducted, Float, "The amount of points automatically deducted from the score by the missing/late policy for a late or missing assignment..Example: 12.3", required: false
|
55
|
+
argument :seconds_late, Float, "The amount of time, in seconds, that an submission is late by..Example: 300", required: false
|
56
|
+
argument :workflow_state, SubmissionInputWorkflowStateEnum, "The current state of the submission.Example: submitted", required: false
|
57
|
+
argument :extra_attempts, Float, "Extra submission attempts allowed for the given user and assignment..Example: 10", required: false
|
58
|
+
argument :anonymous_id, ID, "A unique short ID identifying this submission without reference to the owning user. Only included if the caller has administrator access for the current account..Example: acJ4Q", required: false
|
59
|
+
argument :posted_at, GraphQL::Types::ISO8601DateTime, "The date this submission was posted to the student, or nil if it has not been posted..Example: 2020-01-02T11:10:30Z", required: false
|
60
|
+
argument :read_status, SubmissionInputReadStatusEnum, "The read status of this submission for the given user (optional). Including read_status will mark submission(s) as read..Example: read", required: false
|
61
|
+
argument :redo_request, Boolean, "This indicates whether the submission has been reassigned by the instructor..Example: true", required: false
|
55
62
|
|
56
63
|
end
|
57
64
|
end
|
@@ -10,18 +10,18 @@ module LMSGraphQL
|
|
10
10
|
field :assignment_name, String, "the name of the assignment this submission is for.Example: some assignment", null: true
|
11
11
|
field :body, String, "the body text of the submission.Example: text from the submission", null: true
|
12
12
|
field :current_grade, String, "the most up to date grade for the current version of this submission.Example: 100", null: true
|
13
|
-
field :current_graded_at,
|
13
|
+
field :current_graded_at, GraphQL::Types::ISO8601DateTime, "the latest time stamp for the grading of this submission.Example: 2013-01-31T18:16:31Z", null: true
|
14
14
|
field :current_grader, String, "the name of the most recent grader for this submission.Example: Grader Name", null: true
|
15
15
|
field :grade_matches_current_submission, Boolean, "boolean indicating whether the grade is equal to the current submission grade.Example: true", null: true
|
16
|
-
field :graded_at,
|
16
|
+
field :graded_at, GraphQL::Types::ISO8601DateTime, "time stamp for the grading of this version of the submission.Example: 2013-01-31T18:16:31Z", null: true
|
17
17
|
field :grader, String, "the name of the user who graded this version of the submission.Example: Grader Name", null: true
|
18
18
|
field :grader_id, ID, "the user id of the user who graded this version of the submission.Example: 67379", null: true
|
19
19
|
field :id, ID, "the id of the submission of which this is a version.Example: 11607", null: true
|
20
20
|
field :new_grade, String, "the updated grade provided in this version of the submission.Example: 100", null: true
|
21
|
-
field :new_graded_at,
|
21
|
+
field :new_graded_at, GraphQL::Types::ISO8601DateTime, "the timestamp for the grading of this version of the submission (alias for graded_at).Example: 2013-01-31T18:16:31Z", null: true
|
22
22
|
field :new_grader, String, "alias for 'grader'.Example: Grader Name", null: true
|
23
23
|
field :previous_grade, String, "the grade for the submission version immediately preceding this one.Example: 90", null: true
|
24
|
-
field :previous_graded_at,
|
24
|
+
field :previous_graded_at, GraphQL::Types::ISO8601DateTime, "the timestamp for the grading of the submission version immediately preceding this one.Example: 2013-01-29T12:12:12Z", null: true
|
25
25
|
field :previous_grader, String, "the name of the grader who graded the version of this submission immediately preceding this one.Example: Graded on submission", null: true
|
26
26
|
field :score, Int, "the score for this version of the submission.Example: 100", null: true
|
27
27
|
field :user_name, String, "the name of the student who created this submission.Example: student@example.com", null: true
|
@@ -6,29 +6,29 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasSubmissionVersionInput < BaseInputObject
|
8
8
|
description "Gradebook History. API Docs: https://canvas.instructure.com/doc/api/gradebook_history.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
9
|
+
argument :assignment_id, ID, "the id of the assignment this submissions is for.Example: 22604", required: false
|
10
|
+
argument :assignment_name, String, "the name of the assignment this submission is for.Example: some assignment", required: false
|
11
|
+
argument :body, String, "the body text of the submission.Example: text from the submission", required: false
|
12
|
+
argument :current_grade, String, "the most up to date grade for the current version of this submission.Example: 100", required: false
|
13
|
+
argument :current_graded_at, GraphQL::Types::ISO8601DateTime, "the latest time stamp for the grading of this submission.Example: 2013-01-31T18:16:31Z", required: false
|
14
|
+
argument :current_grader, String, "the name of the most recent grader for this submission.Example: Grader Name", required: false
|
15
|
+
argument :grade_matches_current_submission, Boolean, "boolean indicating whether the grade is equal to the current submission grade.Example: true", required: false
|
16
|
+
argument :graded_at, GraphQL::Types::ISO8601DateTime, "time stamp for the grading of this version of the submission.Example: 2013-01-31T18:16:31Z", required: false
|
17
|
+
argument :grader, String, "the name of the user who graded this version of the submission.Example: Grader Name", required: false
|
18
|
+
argument :grader_id, ID, "the user id of the user who graded this version of the submission.Example: 67379", required: false
|
19
|
+
argument :id, ID, "the id of the submission of which this is a version.Example: 11607", required: false
|
20
|
+
argument :new_grade, String, "the updated grade provided in this version of the submission.Example: 100", required: false
|
21
|
+
argument :new_graded_at, GraphQL::Types::ISO8601DateTime, "the timestamp for the grading of this version of the submission (alias for graded_at).Example: 2013-01-31T18:16:31Z", required: false
|
22
|
+
argument :new_grader, String, "alias for 'grader'.Example: Grader Name", required: false
|
23
|
+
argument :previous_grade, String, "the grade for the submission version immediately preceding this one.Example: 90", required: false
|
24
|
+
argument :previous_graded_at, GraphQL::Types::ISO8601DateTime, "the timestamp for the grading of the submission version immediately preceding this one.Example: 2013-01-29T12:12:12Z", required: false
|
25
|
+
argument :previous_grader, String, "the name of the grader who graded the version of this submission immediately preceding this one.Example: Graded on submission", required: false
|
26
|
+
argument :score, Int, "the score for this version of the submission.Example: 100", required: false
|
27
|
+
argument :user_name, String, "the name of the student who created this submission.Example: student@example.com", required: false
|
28
|
+
argument :submission_type, String, "the type of submission.Example: online", required: false
|
29
|
+
argument :url, String, "the url of the submission, if there is one.", required: false
|
30
|
+
argument :user_id, ID, "the user ID of the student who created this submission.Example: 67376", required: false
|
31
|
+
argument :workflow_state, String, "the state of the submission at this version.Example: unsubmitted", required: false
|
32
32
|
|
33
33
|
end
|
34
34
|
end
|
@@ -6,13 +6,13 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasTabInput < BaseInputObject
|
8
8
|
description "Tabs. API Docs: https://canvas.instructure.com/doc/api/tabs.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
argument :html_url, String, "Example: /courses/1/external_tools/4", required: false
|
10
|
+
argument :id, ID, "Example: context_external_tool_4", required: false
|
11
|
+
argument :label, String, "Example: WordPress", required: false
|
12
|
+
argument :type, String, "Example: external", required: false
|
13
|
+
argument :hidden, Boolean, "only included if true.Example: true", required: false
|
14
|
+
argument :visibility, String, "possible values are: public, members, admins, and none.Example: public", required: false
|
15
|
+
argument :position, Int, "1 based.Example: 2", required: false
|
16
16
|
|
17
17
|
end
|
18
18
|
end
|
@@ -8,8 +8,8 @@ module LMSGraphQL
|
|
8
8
|
description "Courses. API Docs: https://canvas.instructure.com/doc/api/courses.html"
|
9
9
|
field :id, ID, "Example: 1", null: true
|
10
10
|
field :name, String, "Example: Default Term", null: true
|
11
|
-
field :start_at,
|
12
|
-
field :end_at,
|
11
|
+
field :start_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-06-01T00:00:00-06:00", null: true
|
12
|
+
field :end_at, GraphQL::Types::ISO8601DateTime, "", null: true
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasTermInput < BaseInputObject
|
8
8
|
description "Courses. API Docs: https://canvas.instructure.com/doc/api/courses.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
argument :id, ID, "Example: 1", required: false
|
10
|
+
argument :name, String, "Example: Default Term", required: false
|
11
|
+
argument :start_at, GraphQL::Types::ISO8601DateTime, "Example: 2012-06-01T00:00:00-06:00", required: false
|
12
|
+
argument :end_at, GraphQL::Types::ISO8601DateTime, "", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasTermsOfServiceInput < BaseInputObject
|
8
8
|
description "Accounts. API Docs: https://canvas.instructure.com/doc/api/accounts.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
argument :id, ID, "Terms Of Service id.Example: 1", required: false
|
10
|
+
argument :terms_type, String, "The given type for the Terms of Service.Example: default", required: false
|
11
|
+
argument :passive, Boolean, "Boolean dictating if the user must accept Terms of Service.", required: false
|
12
|
+
argument :account_id, ID, "The id of the root account that owns the Terms of Service.Example: 1", required: false
|
13
|
+
argument :content, String, "Content of the Terms of Service.Example: To be or not to be that is the question", required: false
|
14
|
+
argument :self_registration_type, String, "The type of self registration allowed.Example: none, observer, all", required: false
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasToolSettingInput < BaseInputObject
|
8
8
|
description "Originality Reports. API Docs: https://canvas.instructure.com/doc/api/originality_reports.html"
|
9
|
-
|
10
|
-
|
9
|
+
argument :resource_type_code, String, "the resource type code of the resource handler to use to display originality reports.Example: originality_reports", required: false
|
10
|
+
argument :resource_url, String, "a URL that may be used to override the launch URL inferred by the specified resource_type_code. If used a 'resource_type_code' must also be specified..Example: http://www.test.com/originality_report", required: false
|
11
11
|
|
12
12
|
end
|
13
13
|
end
|
@@ -6,14 +6,14 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasTurnitinSettingInput < BaseInputObject
|
8
8
|
description "Assignments. API Docs: https://canvas.instructure.com/doc/api/assignments.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
argument :originality_report_visibility, String, "Example: after_grading", required: false
|
10
|
+
argument :s_paper_check, Boolean, "", required: false
|
11
|
+
argument :internet_check, Boolean, "", required: false
|
12
|
+
argument :journal_check, Boolean, "", required: false
|
13
|
+
argument :exclude_biblio, Boolean, "", required: false
|
14
|
+
argument :exclude_quoted, Boolean, "", required: false
|
15
|
+
argument :exclude_small_matches_type, String, "Example: percent", required: false
|
16
|
+
argument :exclude_small_matches_value, Int, "Example: 50", required: false
|
17
17
|
|
18
18
|
end
|
19
19
|
end
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUpdatedEventDatum < BaseType
|
8
8
|
description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
|
9
|
-
field :name, String, "Example: Course 1, Course 2", null: true
|
10
|
-
field :start_at,
|
11
|
-
field :conclude_at,
|
12
|
-
field :is_public, Boolean, "Example: true, false", null: true
|
9
|
+
field :name, [String], "Example: Course 1, Course 2", null: true
|
10
|
+
field :start_at, [GraphQL::Types::ISO8601DateTime], "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", null: true
|
11
|
+
field :conclude_at, [GraphQL::Types::ISO8601DateTime], "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", null: true
|
12
|
+
field :is_public, [Boolean], "Example: true, false", null: true
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUpdatedEventDatumInput < BaseInputObject
|
8
8
|
description "Course Audit log. API Docs: https://canvas.instructure.com/doc/api/course_audit_log.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
argument :name, [String], "Example: Course 1, Course 2", required: false
|
10
|
+
argument :start_at, [GraphQL::Types::ISO8601DateTime], "Example: 2012-01-19T15:00:00-06:00, 2012-07-19T15:00:00-06:00", required: false
|
11
|
+
argument :conclude_at, [GraphQL::Types::ISO8601DateTime], "Example: 2012-01-19T15:00:00-08:00, 2012-07-19T15:00:00-08:00", required: false
|
12
|
+
argument :is_public, [Boolean], "Example: true, false", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUsageRightInput < BaseInputObject
|
8
8
|
description "Files. API Docs: https://canvas.instructure.com/doc/api/files.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
argument :legal_copyright, String, "Copyright line for the file.Example: (C) 2014 Incom Corporation Ltd", required: false
|
10
|
+
argument :use_justification, String, "Justification for using the file in a Canvas course. Valid values are 'own_copyright', 'public_domain', 'used_by_permission', 'fair_use', 'creative_commons'.Example: creative_commons", required: false
|
11
|
+
argument :license, String, "License identifier for the file..Example: cc_by_sa", required: false
|
12
|
+
argument :license_name, String, "Readable license name.Example: CC Attribution Share-Alike", required: false
|
13
|
+
argument :message, String, "Explanation of the action performed.Example: 4 files updated", required: false
|
14
|
+
argument :file_ids, [ID], "List of ids of files that were updated.Example: 1, 2, 3", required: false
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -9,12 +9,15 @@ module LMSGraphQL
|
|
9
9
|
field :id, ID, "The ID of the user..Example: 2", null: true
|
10
10
|
field :name, String, "The name of the user..Example: Sheldon Cooper", null: true
|
11
11
|
field :sortable_name, String, "The name of the user that is should be used for sorting groups of users, such as in the gradebook..Example: Cooper, Sheldon", null: true
|
12
|
+
field :last_name, String, "The last name of the user..Example: Cooper", null: true
|
13
|
+
field :first_name, String, "The first name of the user..Example: Sheldon", null: true
|
12
14
|
field :short_name, String, "A short name the user has selected, for use in conversations or other less formal places through the site..Example: Shelly", null: true
|
13
15
|
field :sis_user_id, ID, "The SIS ID associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: SHEL93921", null: true
|
14
16
|
field :sis_import_id, ID, "The id of the SIS import. This field is only included if the user came from a SIS import and has permissions to manage SIS information..Example: 18", null: true
|
15
17
|
field :integration_id, ID, "The integration_id associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: ABC59802", null: true
|
16
18
|
field :login_id, ID, "The unique login id for the user. This is what the user uses to log in to Canvas..Example: sheldon@caltech.example.com", null: true
|
17
19
|
field :avatar_url, String, "If avatars are enabled, this field will be included and contain a url to retrieve the user's avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", null: true
|
20
|
+
field :avatar_state, String, "Optional: If avatars are enabled and caller is admin, this field can be requested and will contain the current state of the user's avatar..Example: approved", null: true
|
18
21
|
field :enrollments, [LMSGraphQL::Types::Canvas::CanvasEnrollment], "Optional: This field can be requested with certain API calls, and will return a list of the users active enrollments. See the List enrollments API for more details about the format of these records..", null: true
|
19
22
|
field :email, String, "Optional: This field can be requested with certain API calls, and will return the users primary email address..Example: sheldon@caltech.example.com", null: true
|
20
23
|
field :locale, String, "Optional: This field can be requested with certain API calls, and will return the users locale in RFC 5646 format..Example: tlh", null: true
|
@@ -8,9 +8,9 @@ module LMSGraphQL
|
|
8
8
|
description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
|
9
9
|
field :id, ID, "The unique Canvas identifier for the assignment override.Example: 218", null: true
|
10
10
|
field :title, String, "The title of the assignment override..Example: Override title", null: true
|
11
|
-
field :due_at,
|
12
|
-
field :unlock_at,
|
13
|
-
field :lock_at,
|
11
|
+
field :due_at, GraphQL::Types::ISO8601DateTime, "The time at which this assignment is due.Example: 2013-01-01T00:00:00-06:00", null: true
|
12
|
+
field :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be unlocked..Example: 2013-01-01T00:00:00-06:00", null: true
|
13
|
+
field :lock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be locked..Example: 2013-02-01T00:00:00-06:00", null: true
|
14
14
|
field :students, [LMSGraphQL::Types::Canvas::CanvasStudentAttribute], "Includes attributes of a student for convenience. For more details see Users API..", null: true
|
15
15
|
|
16
16
|
end
|
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUserAssignmentOverrideAttributeInput < BaseInputObject
|
8
8
|
description "SIS Integration. API Docs: https://canvas.instructure.com/doc/api/sis_integration.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
argument :id, ID, "The unique Canvas identifier for the assignment override.Example: 218", required: false
|
10
|
+
argument :title, String, "The title of the assignment override..Example: Override title", required: false
|
11
|
+
argument :due_at, GraphQL::Types::ISO8601DateTime, "The time at which this assignment is due.Example: 2013-01-01T00:00:00-06:00", required: false
|
12
|
+
argument :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be unlocked..Example: 2013-01-01T00:00:00-06:00", required: false
|
13
|
+
argument :lock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be locked..Example: 2013-02-01T00:00:00-06:00", required: false
|
14
|
+
argument :students, [LMSGraphQL::Types::Canvas::CanvasStudentAttributeInput], "Includes attributes of a student for convenience. For more details see Users API..", required: false
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUserDisplayInput < BaseInputObject
|
8
8
|
description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
argument :id, ID, "The ID of the user..Example: 2", required: false
|
10
|
+
argument :short_name, String, "A short name the user has selected, for use in conversations or other less formal places through the site..Example: Shelly", required: false
|
11
|
+
argument :avatar_image_url, String, "If avatars are enabled, this field will be included and contain a url to retrieve the user's avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", required: false
|
12
|
+
argument :html_url, String, "URL to access user, either nested to a context or directly..Example: https://school.instructure.com/courses/:course_id/users/:user_id", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,21 +6,24 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasUserInput < BaseInputObject
|
8
8
|
description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
9
|
+
argument :id, ID, "The ID of the user..Example: 2", required: false
|
10
|
+
argument :name, String, "The name of the user..Example: Sheldon Cooper", required: false
|
11
|
+
argument :sortable_name, String, "The name of the user that is should be used for sorting groups of users, such as in the gradebook..Example: Cooper, Sheldon", required: false
|
12
|
+
argument :last_name, String, "The last name of the user..Example: Cooper", required: false
|
13
|
+
argument :first_name, String, "The first name of the user..Example: Sheldon", required: false
|
14
|
+
argument :short_name, String, "A short name the user has selected, for use in conversations or other less formal places through the site..Example: Shelly", required: false
|
15
|
+
argument :sis_user_id, ID, "The SIS ID associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: SHEL93921", required: false
|
16
|
+
argument :sis_import_id, ID, "The id of the SIS import. This field is only included if the user came from a SIS import and has permissions to manage SIS information..Example: 18", required: false
|
17
|
+
argument :integration_id, ID, "The integration_id associated with the user. This field is only included if the user came from a SIS import and has permissions to view SIS information..Example: ABC59802", required: false
|
18
|
+
argument :login_id, ID, "The unique login id for the user. This is what the user uses to log in to Canvas..Example: sheldon@caltech.example.com", required: false
|
19
|
+
argument :avatar_url, String, "If avatars are enabled, this field will be included and contain a url to retrieve the user's avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", required: false
|
20
|
+
argument :avatar_state, String, "Optional: If avatars are enabled and caller is admin, this field can be requested and will contain the current state of the user's avatar..Example: approved", required: false
|
21
|
+
argument :enrollments, [LMSGraphQL::Types::Canvas::CanvasEnrollmentInput], "Optional: This field can be requested with certain API calls, and will return a list of the users active enrollments. See the List enrollments API for more details about the format of these records..", required: false
|
22
|
+
argument :email, String, "Optional: This field can be requested with certain API calls, and will return the users primary email address..Example: sheldon@caltech.example.com", required: false
|
23
|
+
argument :locale, String, "Optional: This field can be requested with certain API calls, and will return the users locale in RFC 5646 format..Example: tlh", required: false
|
24
|
+
argument :last_login, String, "Optional: This field is only returned in certain API calls, and will return a timestamp representing the last time the user logged in to canvas..Example: 2012-05-30T17:45:25Z", required: false
|
25
|
+
argument :time_zone, String, "Optional: This field is only returned in certain API calls, and will return the IANA time zone name of the user's preferred timezone..Example: America/Denver", required: false
|
26
|
+
argument :bio, String, "Optional: The user's bio..Example: I like the Muppets.", required: false
|
24
27
|
|
25
28
|
end
|
26
29
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative "../canvas_base_type"
|
2
|
+
|
3
|
+
module LMSGraphQL
|
4
|
+
module Types
|
5
|
+
module CanvasBespoke
|
6
|
+
class CanvasModuleProgress < LMSGraphQL::Types::Canvas::BaseType
|
7
|
+
description "progress for a specific user in a course"
|
8
|
+
field :requirement_count, Int, "", null: true
|
9
|
+
field :requirement_completed_count, Int, "", null: true
|
10
|
+
field :next_requirement_url, String, "URL for the next requirement", null: true
|
11
|
+
field :completed_at, GraphQL::Types::ISO8601DateTime, "Date the moduele was completed", null: true
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require_relative "../canvas_base_type"
|
2
|
+
require_relative "./canvas_module_progress"
|
3
|
+
|
4
|
+
# This is a custom user type meant to handle data returned from get bulk user progress
|
5
|
+
# https://canvas.instructure.com/doc/api/all_resources.html#method.courses.bulk_user_progress
|
6
|
+
module LMSGraphQL
|
7
|
+
module Types
|
8
|
+
module CanvasBespoke
|
9
|
+
class CanvasModuleUser < LMSGraphQL::Types::Canvas::BaseType
|
10
|
+
description "A user specific to data returned from bulk_user_progress"
|
11
|
+
field :id, ID, "The ID of the user..Example: 2", null: false
|
12
|
+
field :display_name, String, "The name of the user that is should be used for sorting groups of users, such as in the gradebook..Example: Cooper, Sheldon", null: true
|
13
|
+
field :avatar_image_url, String, "If avatars are enabled, this field will be included and contain a url to retrieve the user's avatar..Example: https://en.gravatar.com/avatar/d8cb8c8cd40ddf0cd05241443a591868?s=80&r=g", null: true
|
14
|
+
field :html_url, String, "", null: true
|
15
|
+
field :pronouns, String, "", null: true
|
16
|
+
field :progress, [LMSGraphQL::Types::CanvasBespoke::CanvasModuleProgress], "An array of progress entries for the user in the provided course", null: true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|