fastcomments 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/client/README.md +5 -6
- data/client/docs/APICreateUserBadgeResponse.md +3 -1
- data/client/docs/CreateUserBadge200Response.md +2 -0
- data/client/docs/CustomConfigParameters.md +2 -0
- data/client/docs/PatchPageAPIResponse.md +2 -0
- data/client/docs/PublicComment.md +2 -0
- data/client/docs/PublicCommentBase.md +3 -1
- data/client/docs/VoteResponse.md +1 -1
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +1 -1
- data/client/lib/fastcomments-client/api/public_api.rb +1 -1
- data/client/lib/fastcomments-client/api_client.rb +7 -3
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/api_model_base.rb +88 -0
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/add_domain_config200_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_question_results200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_item.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_request.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_value.rb +2 -75
- data/client/lib/fastcomments-client/models/api_audit_log.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +17 -79
- data/client/lib/fastcomments-client/models/api_empty_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_error.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_page.rb +2 -75
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +2 -75
- data/client/lib/fastcomments-client/models/apisso_user.rb +2 -75
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/block_from_comment_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/block_success.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_data.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_text_update_request.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +2 -75
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +12 -76
- data/client/lib/fastcomments-client/models/delete_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/delete_feed_post_public200_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/event_log_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/f_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_link.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +2 -75
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +2 -75
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +2 -75
- data/client/lib/fastcomments-client/models/flag_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of1.rb +2 -75
- data/client/lib/fastcomments-client/models/get_event_log200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_users200_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/header_state.rb +2 -75
- data/client/lib/fastcomments-client/models/ignored_response.rb +2 -75
- data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event.rb +2 -75
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +2 -75
- data/client/lib/fastcomments-client/models/live_event_type.rb +1 -1
- data/client/lib/fastcomments-client/models/lock_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/media_asset.rb +2 -75
- data/client/lib/fastcomments-client/models/meta_item.rb +2 -75
- data/client/lib/fastcomments-client/models/notification_and_count.rb +2 -75
- data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
- data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +12 -76
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/pin_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/public_comment.rb +12 -76
- data/client/lib/fastcomments-client/models/public_comment_base.rb +15 -79
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/query_predicate.rb +2 -75
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +2 -3
- data/client/lib/fastcomments-client/models/question_datum.rb +2 -75
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +2 -75
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +2 -75
- data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
- data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
- data/client/lib/fastcomments-client/models/react_body_params.rb +2 -75
- data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +2 -75
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +2 -75
- data/client/lib/fastcomments-client/models/record_string_string_or_number_value.rb +2 -3
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +2 -75
- data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
- data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
- data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/save_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/save_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +2 -75
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +2 -75
- data/client/lib/fastcomments-client/models/search_users200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/search_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +2 -75
- data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
- data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
- data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
- data/client/lib/fastcomments-client/models/spam_rule.rb +2 -75
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/unblock_success.rb +2 -75
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +2 -75
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +2 -75
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_notification_status200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/upload_image_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user_badge.rb +2 -75
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +2 -75
- data/client/lib/fastcomments-client/models/user_notification.rb +2 -75
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user_presence_data.rb +2 -75
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user_search_result.rb +2 -75
- data/client/lib/fastcomments-client/models/user_session_info.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_body_params.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_comment200_response.rb +2 -3
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_response.rb +32 -81
- data/client/lib/fastcomments-client/models/vote_response_user.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
- data/client/lib/fastcomments-client/version.rb +2 -2
- data/client/lib/fastcomments-client.rb +2 -2
- data/client/spec/api/default_api_spec.rb +1 -1
- data/client/spec/api/public_api_spec.rb +1 -1
- data/client/spec/models/add_domain_config200_response_any_of_spec.rb +2 -2
- data/client/spec/models/add_domain_config200_response_spec.rb +1 -1
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/add_page_api_response_spec.rb +2 -2
- data/client/spec/models/add_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/aggregate_question_results200_response_spec.rb +1 -1
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_item_spec.rb +2 -2
- data/client/spec/models/aggregation_op_type_spec.rb +2 -2
- data/client/spec/models/aggregation_operation_spec.rb +2 -2
- data/client/spec/models/aggregation_request_sort_spec.rb +2 -2
- data/client/spec/models/aggregation_request_spec.rb +2 -2
- data/client/spec/models/aggregation_response_spec.rb +2 -2
- data/client/spec/models/aggregation_response_stats_spec.rb +2 -2
- data/client/spec/models/aggregation_value_spec.rb +2 -2
- data/client/spec/models/api_audit_log_spec.rb +2 -2
- data/client/spec/models/api_comment_base_spec.rb +2 -2
- data/client/spec/models/api_comment_spec.rb +2 -2
- data/client/spec/models/api_create_user_badge_response_spec.rb +8 -2
- data/client/spec/models/api_empty_response_spec.rb +2 -2
- data/client/spec/models/api_empty_success_response_spec.rb +2 -2
- data/client/spec/models/api_error_spec.rb +2 -2
- data/client/spec/models/api_get_comment_response_spec.rb +2 -2
- data/client/spec/models/api_get_comments_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badges_response_spec.rb +2 -2
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/api_status_spec.rb +2 -2
- data/client/spec/models/api_user_subscription_spec.rb +2 -2
- data/client/spec/models/apisso_user_spec.rb +2 -2
- data/client/spec/models/block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/block_from_comment_public200_response_spec.rb +1 -1
- data/client/spec/models/block_success_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +1 -1
- data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
- data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
- data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +1 -1
- data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +1 -1
- data/client/spec/models/combine_question_results_with_comments_response_spec.rb +2 -2
- data/client/spec/models/comment_data_spec.rb +2 -2
- data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
- data/client/spec/models/comment_log_data_spec.rb +2 -2
- data/client/spec/models/comment_log_entry_spec.rb +2 -2
- data/client/spec/models/comment_log_type_spec.rb +2 -2
- data/client/spec/models/comment_question_results_rendering_type_spec.rb +2 -2
- data/client/spec/models/comment_questions_required_spec.rb +2 -2
- data/client/spec/models/comment_text_update_request_spec.rb +2 -2
- data/client/spec/models/comment_thread_deletion_mode_spec.rb +2 -2
- data/client/spec/models/comment_user_badge_info_spec.rb +2 -2
- data/client/spec/models/comment_user_hash_tag_info_spec.rb +2 -2
- data/client/spec/models/comment_user_mention_info_spec.rb +2 -2
- data/client/spec/models/commenter_name_formats_spec.rb +2 -2
- data/client/spec/models/create_api_page_data_spec.rb +2 -2
- data/client/spec/models/create_api_user_subscription_data_spec.rb +2 -2
- data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/create_comment_params_spec.rb +2 -2
- data/client/spec/models/create_comment_public200_response_spec.rb +1 -1
- data/client/spec/models/create_feed_post200_response_spec.rb +1 -1
- data/client/spec/models/create_feed_post_params_spec.rb +2 -2
- data/client/spec/models/create_feed_post_public200_response_spec.rb +1 -1
- data/client/spec/models/create_feed_post_response_spec.rb +2 -2
- data/client/spec/models/create_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/create_user_badge200_response_spec.rb +1 -1
- data/client/spec/models/create_user_badge_params_spec.rb +2 -2
- data/client/spec/models/custom_config_parameters_spec.rb +8 -2
- data/client/spec/models/delete_comment200_response_spec.rb +1 -1
- data/client/spec/models/delete_comment_action_spec.rb +2 -2
- data/client/spec/models/delete_comment_public200_response_spec.rb +1 -1
- data/client/spec/models/delete_comment_result_spec.rb +2 -2
- data/client/spec/models/delete_comment_vote200_response_spec.rb +1 -1
- data/client/spec/models/delete_domain_config200_response_spec.rb +2 -2
- data/client/spec/models/delete_feed_post_public200_response_any_of_spec.rb +2 -2
- data/client/spec/models/delete_feed_post_public200_response_spec.rb +1 -1
- data/client/spec/models/delete_page_api_response_spec.rb +2 -2
- data/client/spec/models/delete_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/delete_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/deleted_comment_result_comment_spec.rb +2 -2
- data/client/spec/models/event_log_entry_spec.rb +2 -2
- data/client/spec/models/f_comment_meta_spec.rb +2 -2
- data/client/spec/models/f_comment_spec.rb +2 -2
- data/client/spec/models/feed_post_link_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_asset_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_spec.rb +2 -2
- data/client/spec/models/feed_post_spec.rb +2 -2
- data/client/spec/models/feed_post_stats_spec.rb +2 -2
- data/client/spec/models/feed_posts_stats_response_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_item_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_response_spec.rb +2 -2
- data/client/spec/models/flag_comment200_response_spec.rb +1 -1
- data/client/spec/models/flag_comment_public200_response_spec.rb +1 -1
- data/client/spec/models/flag_comment_response_spec.rb +2 -2
- data/client/spec/models/get_audit_logs200_response_spec.rb +1 -1
- data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
- data/client/spec/models/get_comment200_response_spec.rb +1 -1
- data/client/spec/models/get_comment_text200_response_spec.rb +1 -1
- data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +1 -1
- data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
- data/client/spec/models/get_comments200_response_spec.rb +1 -1
- data/client/spec/models/get_comments_public200_response_spec.rb +1 -1
- data/client/spec/models/get_comments_response_public_comment_spec.rb +2 -2
- data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +2 -2
- data/client/spec/models/get_domain_config200_response_spec.rb +1 -1
- data/client/spec/models/get_domain_configs200_response_any_of1_spec.rb +2 -2
- data/client/spec/models/get_domain_configs200_response_any_of_spec.rb +2 -2
- data/client/spec/models/get_domain_configs200_response_spec.rb +1 -1
- data/client/spec/models/get_event_log200_response_spec.rb +1 -1
- data/client/spec/models/get_event_log_response_spec.rb +2 -2
- data/client/spec/models/get_feed_posts200_response_spec.rb +1 -1
- data/client/spec/models/get_feed_posts_public200_response_spec.rb +1 -1
- data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_feed_posts_stats200_response_spec.rb +1 -1
- data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_page_by_urlid_api_response_spec.rb +2 -2
- data/client/spec/models/get_pages_api_response_spec.rb +2 -2
- data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +2 -2
- data/client/spec/models/get_sso_users200_response_spec.rb +2 -2
- data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
- data/client/spec/models/get_user_badge200_response_spec.rb +1 -1
- data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +1 -1
- data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +1 -1
- data/client/spec/models/get_user_badges200_response_spec.rb +1 -1
- data/client/spec/models/get_user_notification_count200_response_spec.rb +1 -1
- data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_user_notifications200_response_spec.rb +1 -1
- data/client/spec/models/get_user_presence_statuses200_response_spec.rb +1 -1
- data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
- data/client/spec/models/get_user_reacts_public200_response_spec.rb +1 -1
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/header_state_spec.rb +2 -2
- data/client/spec/models/ignored_response_spec.rb +2 -2
- data/client/spec/models/image_content_profanity_level_spec.rb +2 -2
- data/client/spec/models/live_event_extra_info_spec.rb +2 -2
- data/client/spec/models/live_event_spec.rb +2 -2
- data/client/spec/models/live_event_type_spec.rb +2 -2
- data/client/spec/models/lock_comment200_response_spec.rb +1 -1
- data/client/spec/models/media_asset_spec.rb +2 -2
- data/client/spec/models/meta_item_spec.rb +2 -2
- data/client/spec/models/notification_and_count_spec.rb +2 -2
- data/client/spec/models/notification_object_type_spec.rb +2 -2
- data/client/spec/models/notification_type_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_page_api_response_spec.rb +8 -2
- data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/pin_comment200_response_spec.rb +1 -1
- data/client/spec/models/pub_sub_comment_base_spec.rb +2 -2
- data/client/spec/models/pub_sub_comment_spec.rb +2 -2
- data/client/spec/models/pub_sub_vote_spec.rb +2 -2
- data/client/spec/models/public_api_delete_comment_response_spec.rb +2 -2
- data/client/spec/models/public_api_get_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_api_set_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/public_comment_base_spec.rb +8 -2
- data/client/spec/models/public_comment_spec.rb +8 -2
- data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/put_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/query_predicate_spec.rb +2 -2
- data/client/spec/models/query_predicate_value_spec.rb +1 -1
- data/client/spec/models/question_datum_spec.rb +2 -2
- data/client/spec/models/question_rendering_type_spec.rb +2 -2
- data/client/spec/models/question_result_aggregation_overall_spec.rb +2 -2
- data/client/spec/models/question_result_spec.rb +2 -2
- data/client/spec/models/question_sub_question_visibility_spec.rb +2 -2
- data/client/spec/models/question_when_save_spec.rb +2 -2
- data/client/spec/models/react_body_params_spec.rb +2 -2
- data/client/spec/models/react_feed_post_public200_response_spec.rb +1 -1
- data/client/spec/models/react_feed_post_response_spec.rb +2 -2
- data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +2 -2
- data/client/spec/models/record_string_string_or_number_value_spec.rb +1 -1
- data/client/spec/models/renderable_user_notification_spec.rb +2 -2
- data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +2 -2
- data/client/spec/models/repeat_comment_handling_action_spec.rb +2 -2
- data/client/spec/models/reset_user_notifications200_response_spec.rb +1 -1
- data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
- data/client/spec/models/save_comment200_response_spec.rb +1 -1
- data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
- data/client/spec/models/save_comment_response_spec.rb +2 -2
- data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
- data/client/spec/models/search_users200_response_spec.rb +1 -1
- data/client/spec/models/search_users_response_spec.rb +2 -2
- data/client/spec/models/set_comment_text200_response_spec.rb +1 -1
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/size_preset_spec.rb +2 -2
- data/client/spec/models/sort_directions_spec.rb +2 -2
- data/client/spec/models/sortdir_spec.rb +2 -2
- data/client/spec/models/spam_rule_spec.rb +2 -2
- data/client/spec/models/sso_security_level_spec.rb +2 -2
- data/client/spec/models/un_block_comment_public200_response_spec.rb +1 -1
- data/client/spec/models/un_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/unblock_success_spec.rb +2 -2
- data/client/spec/models/updatable_comment_params_spec.rb +2 -2
- data/client/spec/models/update_api_page_data_spec.rb +2 -2
- data/client/spec/models/update_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/update_domain_config_params_spec.rb +2 -2
- data/client/spec/models/update_feed_post_params_spec.rb +2 -2
- data/client/spec/models/update_user_badge200_response_spec.rb +1 -1
- data/client/spec/models/update_user_badge_params_spec.rb +2 -2
- data/client/spec/models/update_user_notification_status200_response_spec.rb +1 -1
- data/client/spec/models/upload_image_response_spec.rb +2 -2
- data/client/spec/models/user_badge_progress_spec.rb +2 -2
- data/client/spec/models/user_badge_spec.rb +2 -2
- data/client/spec/models/user_notification_spec.rb +2 -2
- data/client/spec/models/user_notification_write_response_spec.rb +2 -2
- data/client/spec/models/user_presence_data_spec.rb +2 -2
- data/client/spec/models/user_reacts_response_spec.rb +2 -2
- data/client/spec/models/user_search_result_spec.rb +2 -2
- data/client/spec/models/user_session_info_spec.rb +2 -2
- data/client/spec/models/vote_body_params_spec.rb +2 -2
- data/client/spec/models/vote_comment200_response_spec.rb +1 -1
- data/client/spec/models/vote_delete_response_spec.rb +2 -2
- data/client/spec/models/vote_response_spec.rb +6 -2
- data/client/spec/models/vote_response_user_spec.rb +2 -2
- data/client/spec/models/vote_style_spec.rb +2 -2
- data/client/spec/spec_helper.rb +1 -1
- data/lib/fastcomments.rb +1 -1
- metadata +3 -5
- data/client/docs/VoteResponseStatus.md +0 -15
- data/client/lib/fastcomments-client/models/vote_response_status.rb +0 -104
- data/client/spec/models/vote_response_status_spec.rb +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa0362861bca6eaab1a45706ba1fe803078994562ca6a162a2dfc820f8e9a95e
|
|
4
|
+
data.tar.gz: ff77e5227308567ba96859ceb3d995683fa3cf077cb528e78d8ac529f6c766bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74e6ab75d2ef55243f5cb03e7fa17bd0994e84497fbef7c70ed5d4116a26f14a54e1d1e2fe0bad09da6e5d1c2292bfedf453cf61af5840ee0540c883f380fec0
|
|
7
|
+
data.tar.gz: 4b668ecf7d0eff0e75c2ae5db37c9b80712b1878f4191b4a6835b7008b890a45a26fb4e6dcbd54f8594ce1ad22a2ab3f717b9ab6441c0b1dc15c47c03aba43f8
|
data/README.md
CHANGED
|
@@ -29,12 +29,12 @@ This library contains the generated API client and the SSO utilities to make wor
|
|
|
29
29
|
|
|
30
30
|
### Public vs Secured APIs
|
|
31
31
|
|
|
32
|
-
For the API client, there are two classes, `
|
|
32
|
+
For the API client, there are two classes, `DefaultApi` and `PublicApi`. The `DefaultApi` contains methods that require your API key, and `PublicApi` contains api calls
|
|
33
33
|
that can be made directly from a browser/mobile device/etc without authentication.
|
|
34
34
|
|
|
35
35
|
## Quick Start
|
|
36
36
|
|
|
37
|
-
### Using Authenticated APIs (
|
|
37
|
+
### Using Authenticated APIs (DefaultApi)
|
|
38
38
|
|
|
39
39
|
**Important:** You must set your API key on the ApiClient before making authenticated requests. If you don't, requests will fail with a 401 error.
|
|
40
40
|
|
|
@@ -46,10 +46,10 @@ config = FastCommentsClient::Configuration.new
|
|
|
46
46
|
api_client = FastCommentsClient::ApiClient.new(config)
|
|
47
47
|
|
|
48
48
|
# REQUIRED: Set your API key (get this from your FastComments dashboard)
|
|
49
|
-
config.api_key['
|
|
49
|
+
config.api_key['x-api-key'] = 'YOUR_API_KEY_HERE'
|
|
50
50
|
|
|
51
51
|
# Create the API instance with the configured client
|
|
52
|
-
api = FastCommentsClient::
|
|
52
|
+
api = FastCommentsClient::DefaultApi.new(api_client)
|
|
53
53
|
|
|
54
54
|
# Now you can make authenticated API calls
|
|
55
55
|
begin
|
|
@@ -71,14 +71,14 @@ rescue FastCommentsClient::ApiError => e
|
|
|
71
71
|
end
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
### Using Public APIs (
|
|
74
|
+
### Using Public APIs (PublicApi)
|
|
75
75
|
|
|
76
76
|
Public endpoints don't require authentication:
|
|
77
77
|
|
|
78
78
|
```ruby
|
|
79
79
|
require 'fastcomments-client'
|
|
80
80
|
|
|
81
|
-
public_api = FastCommentsClient::
|
|
81
|
+
public_api = FastCommentsClient::PublicApi.new
|
|
82
82
|
|
|
83
83
|
begin
|
|
84
84
|
response = public_api.get_comments_public(
|
|
@@ -93,8 +93,8 @@ end
|
|
|
93
93
|
|
|
94
94
|
### Common Issues
|
|
95
95
|
|
|
96
|
-
1. **401 "missing-api-key" error**: Make sure you set `config.api_key['
|
|
97
|
-
2. **Wrong API class**: Use `
|
|
96
|
+
1. **401 "missing-api-key" error**: Make sure you set `config.api_key['x-api-key'] = 'YOUR_KEY'` before creating the DefaultApi instance.
|
|
97
|
+
2. **Wrong API class**: Use `DefaultApi` for server-side authenticated requests, `PublicApi` for client-side/public requests.
|
|
98
98
|
3. **Null API key**: The SDK will silently skip authentication if the API key is null, leading to 401 errors.
|
|
99
99
|
|
|
100
100
|
## Notes
|
|
@@ -131,7 +131,7 @@ puts "SSO Token: #{token}"
|
|
|
131
131
|
# Use the SSO token to make an authenticated API call
|
|
132
132
|
config = FastCommentsClient::Configuration.new
|
|
133
133
|
api_client = FastCommentsClient::ApiClient.new(config)
|
|
134
|
-
public_api = FastCommentsClient::
|
|
134
|
+
public_api = FastCommentsClient::PublicApi.new(api_client)
|
|
135
135
|
|
|
136
136
|
response = public_api.get_comments_public(
|
|
137
137
|
tenant_id: 'your-tenant-id',
|
|
@@ -165,7 +165,7 @@ puts "Secure SSO Token: #{token}"
|
|
|
165
165
|
# Use the SSO token to make an authenticated API call
|
|
166
166
|
config = FastCommentsClient::Configuration.new
|
|
167
167
|
api_client = FastCommentsClient::ApiClient.new(config)
|
|
168
|
-
public_api = FastCommentsClient::
|
|
168
|
+
public_api = FastCommentsClient::PublicApi.new(api_client)
|
|
169
169
|
|
|
170
170
|
response = public_api.get_comments_public(
|
|
171
171
|
tenant_id: 'your-tenant-id',
|
data/client/README.md
CHANGED
|
@@ -7,8 +7,8 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 0.0.0
|
|
10
|
-
- Package version: 0.
|
|
11
|
-
- Generator version: 7.
|
|
10
|
+
- Package version: 0.2.0
|
|
11
|
+
- Generator version: 7.18.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
@@ -24,16 +24,16 @@ gem build fastcomments-client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./fastcomments-client-0.
|
|
27
|
+
gem install ./fastcomments-client-0.2.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./fastcomments-client-0.
|
|
30
|
+
(for development, run `gem install --dev ./fastcomments-client-0.2.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'fastcomments-client', '~> 0.
|
|
36
|
+
gem 'fastcomments-client', '~> 0.2.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -389,7 +389,6 @@ Class | Method | HTTP request | Description
|
|
|
389
389
|
- [FastCommentsClient::VoteComment200Response](docs/VoteComment200Response.md)
|
|
390
390
|
- [FastCommentsClient::VoteDeleteResponse](docs/VoteDeleteResponse.md)
|
|
391
391
|
- [FastCommentsClient::VoteResponse](docs/VoteResponse.md)
|
|
392
|
-
- [FastCommentsClient::VoteResponseStatus](docs/VoteResponseStatus.md)
|
|
393
392
|
- [FastCommentsClient::VoteResponseUser](docs/VoteResponseUser.md)
|
|
394
393
|
- [FastCommentsClient::VoteStyle](docs/VoteStyle.md)
|
|
395
394
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **status** | [**APIStatus**](APIStatus.md) | | |
|
|
8
8
|
| **user_badge** | [**UserBadge**](UserBadge.md) | | |
|
|
9
|
+
| **notes** | **Array<String>** | | [optional] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'fastcomments-client'
|
|
|
14
15
|
|
|
15
16
|
instance = FastCommentsClient::APICreateUserBadgeResponse.new(
|
|
16
17
|
status: null,
|
|
17
|
-
user_badge: null
|
|
18
|
+
user_badge: null,
|
|
19
|
+
notes: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **status** | [**APIStatus**](APIStatus.md) | | |
|
|
8
8
|
| **user_badge** | [**UserBadge**](UserBadge.md) | | |
|
|
9
|
+
| **notes** | **Array<String>** | | [optional] |
|
|
9
10
|
| **reason** | **String** | | |
|
|
10
11
|
| **code** | **String** | | |
|
|
11
12
|
| **secondary_code** | **String** | | [optional] |
|
|
@@ -22,6 +23,7 @@ require 'fastcomments-client'
|
|
|
22
23
|
instance = FastCommentsClient::CreateUserBadge200Response.new(
|
|
23
24
|
status: null,
|
|
24
25
|
user_badge: null,
|
|
26
|
+
notes: null,
|
|
25
27
|
reason: null,
|
|
26
28
|
code: null,
|
|
27
29
|
secondary_code: null,
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
| **no_styles** | **Boolean** | | [optional] |
|
|
57
57
|
| **page_size** | **Integer** | | [optional] |
|
|
58
58
|
| **readonly** | **Boolean** | | [optional] |
|
|
59
|
+
| **no_new_root_comments** | **Boolean** | | [optional] |
|
|
59
60
|
| **require_sso** | **Boolean** | | [optional] |
|
|
60
61
|
| **enable_resize_handle** | **Boolean** | | [optional] |
|
|
61
62
|
| **restricted_link_domains** | **Array<String>** | | [optional] |
|
|
@@ -135,6 +136,7 @@ instance = FastCommentsClient::CustomConfigParameters.new(
|
|
|
135
136
|
no_styles: null,
|
|
136
137
|
page_size: null,
|
|
137
138
|
readonly: null,
|
|
139
|
+
no_new_root_comments: null,
|
|
138
140
|
require_sso: null,
|
|
139
141
|
enable_resize_handle: null,
|
|
140
142
|
restricted_link_domains: null,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **reason** | **String** | | [optional] |
|
|
8
8
|
| **code** | **String** | | [optional] |
|
|
9
|
+
| **comments_updated** | **Integer** | | [optional] |
|
|
9
10
|
| **page** | [**APIPage**](APIPage.md) | | [optional] |
|
|
10
11
|
| **status** | **String** | | |
|
|
11
12
|
|
|
@@ -17,6 +18,7 @@ require 'fastcomments-client'
|
|
|
17
18
|
instance = FastCommentsClient::PatchPageAPIResponse.new(
|
|
18
19
|
reason: null,
|
|
19
20
|
code: null,
|
|
21
|
+
comments_updated: null,
|
|
20
22
|
page: null,
|
|
21
23
|
status: null
|
|
22
24
|
)
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| **feedback_ids** | **Array<String>** | | [optional] |
|
|
33
33
|
| **requires_verification** | **Boolean** | | [optional] |
|
|
34
34
|
| **edit_key** | **String** | | [optional] |
|
|
35
|
+
| **approved** | **Boolean** | | [optional] |
|
|
35
36
|
| **is_unread** | **Boolean** | | [optional] |
|
|
36
37
|
| **my_vote_id** | **String** | | [optional] |
|
|
37
38
|
| **is_voted_down** | **Boolean** | | [optional] |
|
|
@@ -77,6 +78,7 @@ instance = FastCommentsClient::PublicComment.new(
|
|
|
77
78
|
feedback_ids: null,
|
|
78
79
|
requires_verification: null,
|
|
79
80
|
edit_key: null,
|
|
81
|
+
approved: null,
|
|
80
82
|
is_unread: null,
|
|
81
83
|
my_vote_id: null,
|
|
82
84
|
is_voted_down: null,
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| **feedback_ids** | **Array<String>** | | [optional] |
|
|
33
33
|
| **requires_verification** | **Boolean** | | [optional] |
|
|
34
34
|
| **edit_key** | **String** | | [optional] |
|
|
35
|
+
| **approved** | **Boolean** | | [optional] |
|
|
35
36
|
|
|
36
37
|
## Example
|
|
37
38
|
|
|
@@ -66,7 +67,8 @@ instance = FastCommentsClient::PublicCommentBase.new(
|
|
|
66
67
|
anon_user_id: null,
|
|
67
68
|
feedback_ids: null,
|
|
68
69
|
requires_verification: null,
|
|
69
|
-
edit_key: null
|
|
70
|
+
edit_key: null,
|
|
71
|
+
approved: null
|
|
70
72
|
)
|
|
71
73
|
```
|
|
72
74
|
|
data/client/docs/VoteResponse.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **status** |
|
|
7
|
+
| **status** | **String** | | |
|
|
8
8
|
| **vote_id** | **String** | | [optional] |
|
|
9
9
|
| **is_verified** | **Boolean** | | [optional] |
|
|
10
10
|
| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -278,9 +278,13 @@ module FastCommentsClient
|
|
|
278
278
|
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
|
279
279
|
end
|
|
280
280
|
else
|
|
281
|
-
# models (e.g. Pet) or oneOf
|
|
281
|
+
# models (e.g. Pet) or oneOf/anyOf
|
|
282
282
|
klass = FastCommentsClient.const_get(return_type)
|
|
283
|
-
klass.respond_to?(:openapi_one_of)
|
|
283
|
+
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of)
|
|
284
|
+
klass.build(data)
|
|
285
|
+
else
|
|
286
|
+
klass.build_from_hash(data)
|
|
287
|
+
end
|
|
284
288
|
end
|
|
285
289
|
end
|
|
286
290
|
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
module FastCommentsClient
|
|
14
|
+
class ApiModelBase
|
|
15
|
+
# Deserializes the data based on type
|
|
16
|
+
# @param string type Data type
|
|
17
|
+
# @param string value Value to be deserialized
|
|
18
|
+
# @return [Object] Deserialized data
|
|
19
|
+
def self._deserialize(type, value)
|
|
20
|
+
case type.to_sym
|
|
21
|
+
when :Time
|
|
22
|
+
Time.parse(value)
|
|
23
|
+
when :Date
|
|
24
|
+
Date.parse(value)
|
|
25
|
+
when :String
|
|
26
|
+
value.to_s
|
|
27
|
+
when :Integer
|
|
28
|
+
value.to_i
|
|
29
|
+
when :Float
|
|
30
|
+
value.to_f
|
|
31
|
+
when :Boolean
|
|
32
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
33
|
+
true
|
|
34
|
+
else
|
|
35
|
+
false
|
|
36
|
+
end
|
|
37
|
+
when :Object
|
|
38
|
+
# generic object (usually a Hash), return directly
|
|
39
|
+
value
|
|
40
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
41
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
42
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
43
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
44
|
+
k_type = Regexp.last_match[:k_type]
|
|
45
|
+
v_type = Regexp.last_match[:v_type]
|
|
46
|
+
{}.tap do |hash|
|
|
47
|
+
value.each do |k, v|
|
|
48
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
else # model
|
|
52
|
+
# models (e.g. Pet) or oneOf
|
|
53
|
+
klass = FastCommentsClient.const_get(type)
|
|
54
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Returns the string representation of the object
|
|
59
|
+
# @return [String] String presentation of the object
|
|
60
|
+
def to_s
|
|
61
|
+
to_hash.to_s
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
65
|
+
# @return [Hash] Returns the object in the form of hash
|
|
66
|
+
def to_body
|
|
67
|
+
to_hash
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Outputs non-array value in the form of hash
|
|
71
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
72
|
+
# @param [Object] value Any valid value
|
|
73
|
+
# @return [Hash] Returns the value in the form of hash
|
|
74
|
+
def _to_hash(value)
|
|
75
|
+
if value.is_a?(Array)
|
|
76
|
+
value.compact.map { |v| _to_hash(v) }
|
|
77
|
+
elsif value.is_a?(Hash)
|
|
78
|
+
{}.tap do |hash|
|
|
79
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
80
|
+
end
|
|
81
|
+
elsif value.respond_to? :to_hash
|
|
82
|
+
value.to_hash
|
|
83
|
+
else
|
|
84
|
+
value
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -37,8 +37,7 @@ module FastCommentsClient
|
|
|
37
37
|
openapi_any_of.each do |klass|
|
|
38
38
|
begin
|
|
39
39
|
next if klass == :AnyType # "nullable: true"
|
|
40
|
-
|
|
41
|
-
return typed_data if typed_data
|
|
40
|
+
return find_and_cast_into_type(klass, data)
|
|
42
41
|
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
|
43
42
|
end
|
|
44
43
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FastCommentsClient
|
|
17
|
-
class AddDomainConfig200ResponseAnyOf
|
|
17
|
+
class AddDomainConfig200ResponseAnyOf < ApiModelBase
|
|
18
18
|
attr_accessor :configuration
|
|
19
19
|
|
|
20
20
|
attr_accessor :status
|
|
@@ -141,61 +141,6 @@ module FastCommentsClient
|
|
|
141
141
|
new(transformed_hash)
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
-
# Deserializes the data based on type
|
|
145
|
-
# @param string type Data type
|
|
146
|
-
# @param string value Value to be deserialized
|
|
147
|
-
# @return [Object] Deserialized data
|
|
148
|
-
def self._deserialize(type, value)
|
|
149
|
-
case type.to_sym
|
|
150
|
-
when :Time
|
|
151
|
-
Time.parse(value)
|
|
152
|
-
when :Date
|
|
153
|
-
Date.parse(value)
|
|
154
|
-
when :String
|
|
155
|
-
value.to_s
|
|
156
|
-
when :Integer
|
|
157
|
-
value.to_i
|
|
158
|
-
when :Float
|
|
159
|
-
value.to_f
|
|
160
|
-
when :Boolean
|
|
161
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
162
|
-
true
|
|
163
|
-
else
|
|
164
|
-
false
|
|
165
|
-
end
|
|
166
|
-
when :Object
|
|
167
|
-
# generic object (usually a Hash), return directly
|
|
168
|
-
value
|
|
169
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
170
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
171
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
172
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
173
|
-
k_type = Regexp.last_match[:k_type]
|
|
174
|
-
v_type = Regexp.last_match[:v_type]
|
|
175
|
-
{}.tap do |hash|
|
|
176
|
-
value.each do |k, v|
|
|
177
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
178
|
-
end
|
|
179
|
-
end
|
|
180
|
-
else # model
|
|
181
|
-
# models (e.g. Pet) or oneOf
|
|
182
|
-
klass = FastCommentsClient.const_get(type)
|
|
183
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
184
|
-
end
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
# Returns the string representation of the object
|
|
188
|
-
# @return [String] String presentation of the object
|
|
189
|
-
def to_s
|
|
190
|
-
to_hash.to_s
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
194
|
-
# @return [Hash] Returns the object in the form of hash
|
|
195
|
-
def to_body
|
|
196
|
-
to_hash
|
|
197
|
-
end
|
|
198
|
-
|
|
199
144
|
# Returns the object in the form of hash
|
|
200
145
|
# @return [Hash] Returns the object in the form of hash
|
|
201
146
|
def to_hash
|
|
@@ -212,24 +157,6 @@ module FastCommentsClient
|
|
|
212
157
|
hash
|
|
213
158
|
end
|
|
214
159
|
|
|
215
|
-
# Outputs non-array value in the form of hash
|
|
216
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
217
|
-
# @param [Object] value Any valid value
|
|
218
|
-
# @return [Hash] Returns the value in the form of hash
|
|
219
|
-
def _to_hash(value)
|
|
220
|
-
if value.is_a?(Array)
|
|
221
|
-
value.compact.map { |v| _to_hash(v) }
|
|
222
|
-
elsif value.is_a?(Hash)
|
|
223
|
-
{}.tap do |hash|
|
|
224
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
225
|
-
end
|
|
226
|
-
elsif value.respond_to? :to_hash
|
|
227
|
-
value.to_hash
|
|
228
|
-
else
|
|
229
|
-
value
|
|
230
|
-
end
|
|
231
|
-
end
|
|
232
|
-
|
|
233
160
|
end
|
|
234
161
|
|
|
235
162
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FastCommentsClient
|
|
17
|
-
class AddDomainConfigParams
|
|
17
|
+
class AddDomainConfigParams < ApiModelBase
|
|
18
18
|
attr_accessor :domain
|
|
19
19
|
|
|
20
20
|
attr_accessor :email_from_name
|
|
@@ -200,61 +200,6 @@ module FastCommentsClient
|
|
|
200
200
|
new(transformed_hash)
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
-
# Deserializes the data based on type
|
|
204
|
-
# @param string type Data type
|
|
205
|
-
# @param string value Value to be deserialized
|
|
206
|
-
# @return [Object] Deserialized data
|
|
207
|
-
def self._deserialize(type, value)
|
|
208
|
-
case type.to_sym
|
|
209
|
-
when :Time
|
|
210
|
-
Time.parse(value)
|
|
211
|
-
when :Date
|
|
212
|
-
Date.parse(value)
|
|
213
|
-
when :String
|
|
214
|
-
value.to_s
|
|
215
|
-
when :Integer
|
|
216
|
-
value.to_i
|
|
217
|
-
when :Float
|
|
218
|
-
value.to_f
|
|
219
|
-
when :Boolean
|
|
220
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
221
|
-
true
|
|
222
|
-
else
|
|
223
|
-
false
|
|
224
|
-
end
|
|
225
|
-
when :Object
|
|
226
|
-
# generic object (usually a Hash), return directly
|
|
227
|
-
value
|
|
228
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
229
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
230
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
231
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
232
|
-
k_type = Regexp.last_match[:k_type]
|
|
233
|
-
v_type = Regexp.last_match[:v_type]
|
|
234
|
-
{}.tap do |hash|
|
|
235
|
-
value.each do |k, v|
|
|
236
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
237
|
-
end
|
|
238
|
-
end
|
|
239
|
-
else # model
|
|
240
|
-
# models (e.g. Pet) or oneOf
|
|
241
|
-
klass = FastCommentsClient.const_get(type)
|
|
242
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
243
|
-
end
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
# Returns the string representation of the object
|
|
247
|
-
# @return [String] String presentation of the object
|
|
248
|
-
def to_s
|
|
249
|
-
to_hash.to_s
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
253
|
-
# @return [Hash] Returns the object in the form of hash
|
|
254
|
-
def to_body
|
|
255
|
-
to_hash
|
|
256
|
-
end
|
|
257
|
-
|
|
258
203
|
# Returns the object in the form of hash
|
|
259
204
|
# @return [Hash] Returns the object in the form of hash
|
|
260
205
|
def to_hash
|
|
@@ -271,24 +216,6 @@ module FastCommentsClient
|
|
|
271
216
|
hash
|
|
272
217
|
end
|
|
273
218
|
|
|
274
|
-
# Outputs non-array value in the form of hash
|
|
275
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
276
|
-
# @param [Object] value Any valid value
|
|
277
|
-
# @return [Hash] Returns the value in the form of hash
|
|
278
|
-
def _to_hash(value)
|
|
279
|
-
if value.is_a?(Array)
|
|
280
|
-
value.compact.map { |v| _to_hash(v) }
|
|
281
|
-
elsif value.is_a?(Hash)
|
|
282
|
-
{}.tap do |hash|
|
|
283
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
284
|
-
end
|
|
285
|
-
elsif value.respond_to? :to_hash
|
|
286
|
-
value.to_hash
|
|
287
|
-
else
|
|
288
|
-
value
|
|
289
|
-
end
|
|
290
|
-
end
|
|
291
|
-
|
|
292
219
|
end
|
|
293
220
|
|
|
294
221
|
end
|