fastcomments 2.0.0 → 3.0.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 +7 -9
- data/client/README.md +49 -50
- data/client/docs/AddDomainConfigResponse.md +3 -3
- data/client/docs/AggregateResponse.md +3 -3
- data/client/docs/BulkCreateHashTagsResponseResultsInner.md +3 -3
- data/client/docs/DefaultApi.md +28 -36
- data/client/docs/GetDomainConfigResponse.md +3 -3
- data/client/docs/GetDomainConfigsResponse.md +3 -3
- data/client/docs/GetGifsSearchResponse.md +2 -2
- data/client/docs/GetGifsTrendingResponse.md +2 -2
- data/client/docs/ModerationApi.md +325 -217
- data/client/docs/PatchDomainConfigResponse.md +3 -3
- data/client/docs/{PostRemoveCommentResponse.md → PostRemoveCommentApiResponse.md} +2 -2
- data/client/docs/PutDomainConfigResponse.md +3 -3
- data/client/docs/SaveCommentsBulkResponse.md +4 -4
- data/client/docs/SearchUsersResult.md +2 -2
- data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +3 -3
- data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +3 -3
- data/client/docs/UpdateUserNotificationStatusResponse.md +3 -3
- data/client/docs/VoteResponse.md +1 -1
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +116 -100
- data/client/lib/fastcomments-client/api/moderation_api.rb +510 -176
- data/client/lib/fastcomments-client/api/public_api.rb +45 -45
- 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_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/add_domain_config_response_any_of.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/adjust_comment_votes_params.rb +2 -75
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_response.rb +2 -3
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +2 -75
- 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_ban_user_change_log.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +2 -75
- data/client/lib/fastcomments-client/models/api_banned_user.rb +2 -75
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.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_comment_base_meta.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +2 -75
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +2 -75
- 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_moderate_get_user_ban_preferences_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +2 -75
- data/client/lib/fastcomments-client/models/api_page.rb +2 -75
- data/client/lib/fastcomments-client/models/api_save_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +2 -75
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +2 -75
- 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/award_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +2 -75
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +2 -75
- data/client/lib/fastcomments-client/models/banned_user_match.rb +2 -75
- data/client/lib/fastcomments-client/models/banned_user_match_matched_on_value.rb +2 -3
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +1 -1
- data/client/lib/fastcomments-client/models/billing_info.rb +2 -75
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/block_success.rb +2 -75
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +2 -75
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.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_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/bulk_create_hash_tags_body.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response_results_inner.rb +2 -3
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +2 -75
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +2 -75
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +2 -75
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +2 -75
- 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/comments_by_ids_params.rb +2 -75
- 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_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +2 -75
- 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_hash_tag_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +2 -75
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +2 -75
- data/client/lib/fastcomments-client/models/custom_email_template.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_feed_post_public_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_hash_tag_request_body.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/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +2 -75
- data/client/lib/fastcomments-client/models/email_template_render_error_response.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_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +2 -75
- 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_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/get_domain_configs_response_any_of1.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_gifs_search_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_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_pending_webhook_event_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_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_public_pages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_results_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_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_translations_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +2 -75
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_votes_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_search_response_images_inner_inner.rb +2 -3
- data/client/lib/fastcomments-client/models/header_account_notification.rb +2 -75
- 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/imported_agent_approval_notification_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/imported_site_type.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/media_asset.rb +2 -75
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/meta_item.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_filter.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderator.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/page_user_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +2 -75
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +1 -1
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +2 -75
- data/client/lib/fastcomments-client/models/{post_remove_comment_response.rb → post_remove_comment_api_response.rb} +3 -4
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +2 -75
- 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 +2 -75
- data/client/lib/fastcomments-client/models/public_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_page.rb +2 -75
- data/client/lib/fastcomments-client/models/public_vote.rb +2 -75
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +2 -3
- 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_config.rb +2 -75
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +2 -75
- 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_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/remove_comment_action_response.rb +2 -75
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +2 -75
- 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/replace_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/reset_user_notifications_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_bulk_response.rb +2 -3
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +2 -75
- data/client/lib/fastcomments-client/models/search_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/search_users_result.rb +2 -3
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +2 -75
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.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/tenant_badge.rb +2 -75
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +2 -75
- data/client/lib/fastcomments-client/models/tenant_package.rb +2 -75
- data/client/lib/fastcomments-client/models/tos_config.rb +2 -75
- 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_api_user_subscription_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_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +2 -75
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_notification_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/update_user_notification_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/upload_image_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user.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_count.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_search_section.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +2 -75
- data/client/lib/fastcomments-client/models/user_session_info.rb +2 -75
- data/client/lib/fastcomments-client/models/users_list_location.rb +1 -1
- data/client/lib/fastcomments-client/models/vote_body_params.rb +2 -75
- 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 +3 -3
- data/client/spec/api/default_api_spec.rb +5 -5
- data/client/spec/api/moderation_api_spec.rb +56 -2
- data/client/spec/api/public_api_spec.rb +1 -1
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/add_domain_config_response_any_of_spec.rb +2 -2
- data/client/spec/models/add_domain_config_response_spec.rb +1 -1
- 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/adjust_comment_votes_params_spec.rb +2 -2
- data/client/spec/models/adjust_votes_response_spec.rb +2 -2
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/aggregate_response_spec.rb +1 -1
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_api_error_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_ban_user_change_log_spec.rb +2 -2
- data/client/spec/models/api_ban_user_changed_values_spec.rb +2 -2
- data/client/spec/models/api_banned_user_spec.rb +2 -2
- data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +2 -2
- data/client/spec/models/api_comment_base_meta_spec.rb +2 -2
- data/client/spec/models/api_comment_base_spec.rb +2 -2
- data/client/spec/models/api_comment_common_banned_user_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 +2 -2
- data/client/spec/models/api_domain_configuration_spec.rb +2 -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_moderate_get_user_ban_preferences_response_spec.rb +2 -2
- data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +2 -2
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/api_save_comment_response_spec.rb +2 -2
- data/client/spec/models/api_status_spec.rb +2 -2
- data/client/spec/models/api_tenant_daily_usage_spec.rb +2 -2
- data/client/spec/models/api_tenant_spec.rb +2 -2
- data/client/spec/models/api_ticket_detail_spec.rb +2 -2
- data/client/spec/models/api_ticket_file_spec.rb +2 -2
- data/client/spec/models/api_ticket_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/award_user_badge_response_spec.rb +2 -2
- data/client/spec/models/ban_user_from_comment_result_spec.rb +2 -2
- data/client/spec/models/ban_user_undo_params_spec.rb +2 -2
- data/client/spec/models/banned_user_match_matched_on_value_spec.rb +1 -1
- data/client/spec/models/banned_user_match_spec.rb +2 -2
- data/client/spec/models/banned_user_match_type_spec.rb +2 -2
- data/client/spec/models/billing_info_spec.rb +2 -2
- data/client/spec/models/block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/block_success_spec.rb +2 -2
- data/client/spec/models/build_moderation_filter_params_spec.rb +2 -2
- data/client/spec/models/build_moderation_filter_response_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
- 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/bulk_create_hash_tags_body_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_response_results_inner_spec.rb +1 -1
- data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_params_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_summary_spec.rb +2 -2
- data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
- data/client/spec/models/change_ticket_state_body_spec.rb +2 -2
- data/client/spec/models/change_ticket_state_response_spec.rb +2 -2
- data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
- 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/comments_by_ids_params_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_email_template_body_spec.rb +2 -2
- data/client/spec/models/create_email_template_response_spec.rb +2 -2
- data/client/spec/models/create_feed_post_params_spec.rb +2 -2
- 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_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/create_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/create_moderator_body_spec.rb +2 -2
- data/client/spec/models/create_moderator_response_spec.rb +2 -2
- data/client/spec/models/create_question_config_body_spec.rb +2 -2
- data/client/spec/models/create_question_config_response_spec.rb +2 -2
- data/client/spec/models/create_question_result_body_spec.rb +2 -2
- data/client/spec/models/create_question_result_response_spec.rb +2 -2
- data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/create_ticket_body_spec.rb +2 -2
- data/client/spec/models/create_ticket_response_spec.rb +2 -2
- data/client/spec/models/create_user_badge_params_spec.rb +2 -2
- data/client/spec/models/create_v1_page_react_spec.rb +2 -2
- data/client/spec/models/custom_config_parameters_spec.rb +2 -2
- data/client/spec/models/custom_email_template_spec.rb +2 -2
- data/client/spec/models/delete_comment_action_spec.rb +2 -2
- data/client/spec/models/delete_comment_result_spec.rb +2 -2
- data/client/spec/models/delete_domain_config_response_spec.rb +2 -2
- data/client/spec/models/delete_feed_post_public_response_spec.rb +2 -2
- data/client/spec/models/delete_hash_tag_request_body_spec.rb +2 -2
- 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/digest_email_frequency_spec.rb +2 -2
- data/client/spec/models/email_template_definition_spec.rb +2 -2
- data/client/spec/models/email_template_render_error_response_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_comment_response_spec.rb +2 -2
- data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
- data/client/spec/models/get_banned_users_count_response_spec.rb +2 -2
- data/client/spec/models/get_banned_users_from_comment_response_spec.rb +2 -2
- data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_comment_ban_status_response_spec.rb +2 -2
- data/client/spec/models/get_comment_text_response_spec.rb +2 -2
- data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
- data/client/spec/models/get_comments_for_user_response_spec.rb +2 -2
- 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_config_response_spec.rb +1 -1
- data/client/spec/models/get_domain_configs_response_any_of1_spec.rb +2 -2
- data/client/spec/models/get_domain_configs_response_any_of_spec.rb +2 -2
- data/client/spec/models/get_domain_configs_response_spec.rb +1 -1
- data/client/spec/models/get_email_template_definitions_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_render_errors_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_response_spec.rb +2 -2
- data/client/spec/models/get_email_templates_response_spec.rb +2 -2
- data/client/spec/models/get_event_log_response_spec.rb +2 -2
- data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_gifs_search_response_spec.rb +1 -1
- data/client/spec/models/get_gifs_trending_response_spec.rb +1 -1
- data/client/spec/models/get_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/get_moderator_response_spec.rb +2 -2
- data/client/spec/models/get_moderators_response_spec.rb +2 -2
- data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_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_pending_webhook_event_count_response_spec.rb +2 -2
- data/client/spec/models/get_pending_webhook_events_response_spec.rb +2 -2
- data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_public_pages_response_spec.rb +2 -2
- data/client/spec/models/get_question_config_response_spec.rb +2 -2
- data/client/spec/models/get_question_configs_response_spec.rb +2 -2
- data/client/spec/models/get_question_result_response_spec.rb +2 -2
- data/client/spec/models/get_question_results_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_users_response_spec.rb +2 -2
- data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_daily_usages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_manual_badges_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_packages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_users_response_spec.rb +2 -2
- data/client/spec/models/get_tenants_response_spec.rb +2 -2
- data/client/spec/models/get_ticket_response_spec.rb +2 -2
- data/client/spec/models/get_tickets_response_spec.rb +2 -2
- data/client/spec/models/get_translations_response_spec.rb +2 -2
- data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +2 -2
- data/client/spec/models/get_user_internal_profile_response_spec.rb +2 -2
- data/client/spec/models/get_user_manual_badges_response_spec.rb +2 -2
- data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
- data/client/spec/models/get_user_response_spec.rb +2 -2
- data/client/spec/models/get_user_trust_factor_response_spec.rb +2 -2
- data/client/spec/models/get_v1_page_likes_spec.rb +2 -2
- data/client/spec/models/get_v2_page_react_users_response_spec.rb +2 -2
- data/client/spec/models/get_v2_page_reacts_spec.rb +2 -2
- data/client/spec/models/get_votes_for_user_response_spec.rb +2 -2
- data/client/spec/models/get_votes_response_spec.rb +2 -2
- data/client/spec/models/gif_get_large_response_spec.rb +2 -2
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/gif_search_internal_error_spec.rb +2 -2
- data/client/spec/models/gif_search_response_images_inner_inner_spec.rb +1 -1
- data/client/spec/models/gif_search_response_spec.rb +2 -2
- data/client/spec/models/header_account_notification_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/imported_agent_approval_notification_frequency_spec.rb +2 -2
- data/client/spec/models/imported_site_type_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/media_asset_spec.rb +2 -2
- data/client/spec/models/mention_auto_complete_mode_spec.rb +2 -2
- data/client/spec/models/meta_item_spec.rb +2 -2
- data/client/spec/models/moderation_api_child_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_log_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_spec.rb +2 -2
- data/client/spec/models/moderation_api_count_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_logs_response_spec.rb +2 -2
- data/client/spec/models/moderation_comment_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_export_response_spec.rb +2 -2
- data/client/spec/models/moderation_export_status_response_spec.rb +2 -2
- data/client/spec/models/moderation_filter_spec.rb +2 -2
- data/client/spec/models/moderation_page_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_page_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_site_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_site_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_suggest_response_spec.rb +2 -2
- data/client/spec/models/moderation_user_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_user_search_response_spec.rb +2 -2
- data/client/spec/models/moderator_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/page_user_entry_spec.rb +2 -2
- data/client/spec/models/page_users_info_response_spec.rb +2 -2
- data/client/spec/models/page_users_offline_response_spec.rb +2 -2
- data/client/spec/models/page_users_online_response_spec.rb +2 -2
- data/client/spec/models/pages_sort_by_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_response_spec.rb +1 -1
- data/client/spec/models/patch_page_api_response_spec.rb +2 -2
- data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +2 -2
- data/client/spec/models/{post_remove_comment_response_spec.rb → post_remove_comment_api_response_spec.rb} +3 -3
- data/client/spec/models/pre_ban_summary_spec.rb +2 -2
- 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 +2 -2
- data/client/spec/models/public_comment_spec.rb +2 -2
- data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/public_page_spec.rb +2 -2
- data/client/spec/models/public_vote_spec.rb +2 -2
- data/client/spec/models/put_domain_config_response_spec.rb +1 -1
- 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_config_custom_options_inner_spec.rb +2 -2
- data/client/spec/models/question_config_spec.rb +2 -2
- 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_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/remove_comment_action_response_spec.rb +2 -2
- data/client/spec/models/remove_user_badge_response_spec.rb +2 -2
- data/client/spec/models/render_email_template_body_spec.rb +2 -2
- data/client/spec/models/render_email_template_response_spec.rb +2 -2
- 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/replace_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/replace_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
- data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
- data/client/spec/models/save_comments_bulk_response_spec.rb +1 -1
- data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
- data/client/spec/models/search_users_response_spec.rb +2 -2
- data/client/spec/models/search_users_result_spec.rb +1 -1
- data/client/spec/models/search_users_sectioned_response_spec.rb +2 -2
- data/client/spec/models/set_comment_approved_response_spec.rb +2 -2
- data/client/spec/models/set_comment_text_params_spec.rb +2 -2
- data/client/spec/models/set_comment_text_response_spec.rb +2 -2
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/set_user_trust_factor_response_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/tenant_badge_spec.rb +2 -2
- data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
- data/client/spec/models/tenant_package_spec.rb +2 -2
- data/client/spec/models/tos_config_spec.rb +2 -2
- 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_api_user_subscription_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_email_template_body_spec.rb +2 -2
- data/client/spec/models/update_feed_post_params_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/update_moderator_body_spec.rb +2 -2
- data/client/spec/models/update_notification_body_spec.rb +2 -2
- data/client/spec/models/update_question_config_body_spec.rb +2 -2
- data/client/spec/models/update_question_result_body_spec.rb +2 -2
- data/client/spec/models/update_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/update_tenant_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/update_user_badge_params_spec.rb +2 -2
- data/client/spec/models/update_user_notification_comment_subscription_status_response_spec.rb +1 -1
- data/client/spec/models/update_user_notification_page_subscription_status_response_spec.rb +1 -1
- data/client/spec/models/update_user_notification_status_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_count_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_search_section_result_spec.rb +2 -2
- data/client/spec/models/user_search_section_spec.rb +2 -2
- data/client/spec/models/user_session_info_spec.rb +2 -2
- data/client/spec/models/user_spec.rb +2 -2
- data/client/spec/models/users_list_location_spec.rb +2 -2
- data/client/spec/models/vote_body_params_spec.rb +2 -2
- 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 +6 -8
- 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
|
@@ -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.23.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,25 +19,33 @@ module FastCommentsClient
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# @param tenant_id [String]
|
|
22
23
|
# @param comment_id [String]
|
|
23
24
|
# @param vote_id [String]
|
|
24
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [String] :broadcast_id
|
|
25
27
|
# @option opts [String] :sso
|
|
26
28
|
# @return [VoteDeleteResponse]
|
|
27
|
-
def delete_moderation_vote(comment_id, vote_id, opts = {})
|
|
28
|
-
data, _status_code, _headers = delete_moderation_vote_with_http_info(comment_id, vote_id, opts)
|
|
29
|
+
def delete_moderation_vote(tenant_id, comment_id, vote_id, opts = {})
|
|
30
|
+
data, _status_code, _headers = delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts)
|
|
29
31
|
data
|
|
30
32
|
end
|
|
31
33
|
|
|
34
|
+
# @param tenant_id [String]
|
|
32
35
|
# @param comment_id [String]
|
|
33
36
|
# @param vote_id [String]
|
|
34
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :broadcast_id
|
|
35
39
|
# @option opts [String] :sso
|
|
36
40
|
# @return [Array<(VoteDeleteResponse, Integer, Hash)>] VoteDeleteResponse data, response status code and response headers
|
|
37
|
-
def delete_moderation_vote_with_http_info(comment_id, vote_id, opts = {})
|
|
41
|
+
def delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts = {})
|
|
38
42
|
if @api_client.config.debugging
|
|
39
43
|
@api_client.config.logger.debug 'Calling API: ModerationApi.delete_moderation_vote ...'
|
|
40
44
|
end
|
|
45
|
+
# verify the required parameter 'tenant_id' is set
|
|
46
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.delete_moderation_vote"
|
|
48
|
+
end
|
|
41
49
|
# verify the required parameter 'comment_id' is set
|
|
42
50
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
43
51
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.delete_moderation_vote"
|
|
@@ -47,10 +55,12 @@ module FastCommentsClient
|
|
|
47
55
|
fail ArgumentError, "Missing the required parameter 'vote_id' when calling ModerationApi.delete_moderation_vote"
|
|
48
56
|
end
|
|
49
57
|
# resource path
|
|
50
|
-
local_var_path = '/auth/my-account/moderate-comments/vote/{commentId}/{voteId}'.sub('{
|
|
58
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}'.sub('{commentId}', CGI.escape(comment_id.to_s)).sub('{voteId}', CGI.escape(vote_id.to_s))
|
|
51
59
|
|
|
52
60
|
# query parameters
|
|
53
61
|
query_params = opts[:query_params] || {}
|
|
62
|
+
query_params[:'tenantId'] = tenant_id
|
|
63
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
54
64
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
55
65
|
|
|
56
66
|
# header parameters
|
|
@@ -87,6 +97,7 @@ module FastCommentsClient
|
|
|
87
97
|
return data, status_code, headers
|
|
88
98
|
end
|
|
89
99
|
|
|
100
|
+
# @param tenant_id [String]
|
|
90
101
|
# @param [Hash] opts the optional parameters
|
|
91
102
|
# @option opts [Float] :page
|
|
92
103
|
# @option opts [Float] :count
|
|
@@ -98,11 +109,12 @@ module FastCommentsClient
|
|
|
98
109
|
# @option opts [Boolean] :demo
|
|
99
110
|
# @option opts [String] :sso
|
|
100
111
|
# @return [ModerationAPIGetCommentsResponse]
|
|
101
|
-
def get_api_comments(opts = {})
|
|
102
|
-
data, _status_code, _headers = get_api_comments_with_http_info(opts)
|
|
112
|
+
def get_api_comments(tenant_id, opts = {})
|
|
113
|
+
data, _status_code, _headers = get_api_comments_with_http_info(tenant_id, opts)
|
|
103
114
|
data
|
|
104
115
|
end
|
|
105
116
|
|
|
117
|
+
# @param tenant_id [String]
|
|
106
118
|
# @param [Hash] opts the optional parameters
|
|
107
119
|
# @option opts [Float] :page
|
|
108
120
|
# @option opts [Float] :count
|
|
@@ -114,15 +126,20 @@ module FastCommentsClient
|
|
|
114
126
|
# @option opts [Boolean] :demo
|
|
115
127
|
# @option opts [String] :sso
|
|
116
128
|
# @return [Array<(ModerationAPIGetCommentsResponse, Integer, Hash)>] ModerationAPIGetCommentsResponse data, response status code and response headers
|
|
117
|
-
def get_api_comments_with_http_info(opts = {})
|
|
129
|
+
def get_api_comments_with_http_info(tenant_id, opts = {})
|
|
118
130
|
if @api_client.config.debugging
|
|
119
131
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_api_comments ...'
|
|
120
132
|
end
|
|
133
|
+
# verify the required parameter 'tenant_id' is set
|
|
134
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_api_comments"
|
|
136
|
+
end
|
|
121
137
|
# resource path
|
|
122
|
-
local_var_path = '/auth/my-account/moderate-comments/api/comments'
|
|
138
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/api/comments'
|
|
123
139
|
|
|
124
140
|
# query parameters
|
|
125
141
|
query_params = opts[:query_params] || {}
|
|
142
|
+
query_params[:'tenantId'] = tenant_id
|
|
126
143
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
127
144
|
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
|
|
128
145
|
query_params[:'text-search'] = opts[:'text_search'] if !opts[:'text_search'].nil?
|
|
@@ -167,28 +184,35 @@ module FastCommentsClient
|
|
|
167
184
|
return data, status_code, headers
|
|
168
185
|
end
|
|
169
186
|
|
|
187
|
+
# @param tenant_id [String]
|
|
170
188
|
# @param [Hash] opts the optional parameters
|
|
171
189
|
# @option opts [String] :batch_job_id
|
|
172
190
|
# @option opts [String] :sso
|
|
173
191
|
# @return [ModerationExportStatusResponse]
|
|
174
|
-
def get_api_export_status(opts = {})
|
|
175
|
-
data, _status_code, _headers = get_api_export_status_with_http_info(opts)
|
|
192
|
+
def get_api_export_status(tenant_id, opts = {})
|
|
193
|
+
data, _status_code, _headers = get_api_export_status_with_http_info(tenant_id, opts)
|
|
176
194
|
data
|
|
177
195
|
end
|
|
178
196
|
|
|
197
|
+
# @param tenant_id [String]
|
|
179
198
|
# @param [Hash] opts the optional parameters
|
|
180
199
|
# @option opts [String] :batch_job_id
|
|
181
200
|
# @option opts [String] :sso
|
|
182
201
|
# @return [Array<(ModerationExportStatusResponse, Integer, Hash)>] ModerationExportStatusResponse data, response status code and response headers
|
|
183
|
-
def get_api_export_status_with_http_info(opts = {})
|
|
202
|
+
def get_api_export_status_with_http_info(tenant_id, opts = {})
|
|
184
203
|
if @api_client.config.debugging
|
|
185
204
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_api_export_status ...'
|
|
186
205
|
end
|
|
206
|
+
# verify the required parameter 'tenant_id' is set
|
|
207
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
208
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_api_export_status"
|
|
209
|
+
end
|
|
187
210
|
# resource path
|
|
188
|
-
local_var_path = '/auth/my-account/moderate-comments/api/export/status'
|
|
211
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/api/export/status'
|
|
189
212
|
|
|
190
213
|
# query parameters
|
|
191
214
|
query_params = opts[:query_params] || {}
|
|
215
|
+
query_params[:'tenantId'] = tenant_id
|
|
192
216
|
query_params[:'batchJobId'] = opts[:'batch_job_id'] if !opts[:'batch_job_id'].nil?
|
|
193
217
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
194
218
|
|
|
@@ -226,6 +250,7 @@ module FastCommentsClient
|
|
|
226
250
|
return data, status_code, headers
|
|
227
251
|
end
|
|
228
252
|
|
|
253
|
+
# @param tenant_id [String]
|
|
229
254
|
# @param [Hash] opts the optional parameters
|
|
230
255
|
# @option opts [String] :text_search
|
|
231
256
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -235,11 +260,12 @@ module FastCommentsClient
|
|
|
235
260
|
# @option opts [Boolean] :demo
|
|
236
261
|
# @option opts [String] :sso
|
|
237
262
|
# @return [ModerationAPIGetCommentIdsResponse]
|
|
238
|
-
def get_api_ids(opts = {})
|
|
239
|
-
data, _status_code, _headers = get_api_ids_with_http_info(opts)
|
|
263
|
+
def get_api_ids(tenant_id, opts = {})
|
|
264
|
+
data, _status_code, _headers = get_api_ids_with_http_info(tenant_id, opts)
|
|
240
265
|
data
|
|
241
266
|
end
|
|
242
267
|
|
|
268
|
+
# @param tenant_id [String]
|
|
243
269
|
# @param [Hash] opts the optional parameters
|
|
244
270
|
# @option opts [String] :text_search
|
|
245
271
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -249,15 +275,20 @@ module FastCommentsClient
|
|
|
249
275
|
# @option opts [Boolean] :demo
|
|
250
276
|
# @option opts [String] :sso
|
|
251
277
|
# @return [Array<(ModerationAPIGetCommentIdsResponse, Integer, Hash)>] ModerationAPIGetCommentIdsResponse data, response status code and response headers
|
|
252
|
-
def get_api_ids_with_http_info(opts = {})
|
|
278
|
+
def get_api_ids_with_http_info(tenant_id, opts = {})
|
|
253
279
|
if @api_client.config.debugging
|
|
254
280
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_api_ids ...'
|
|
255
281
|
end
|
|
282
|
+
# verify the required parameter 'tenant_id' is set
|
|
283
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
284
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_api_ids"
|
|
285
|
+
end
|
|
256
286
|
# resource path
|
|
257
|
-
local_var_path = '/auth/my-account/moderate-comments/api/ids'
|
|
287
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/api/ids'
|
|
258
288
|
|
|
259
289
|
# query parameters
|
|
260
290
|
query_params = opts[:query_params] || {}
|
|
291
|
+
query_params[:'tenantId'] = tenant_id
|
|
261
292
|
query_params[:'text-search'] = opts[:'text_search'] if !opts[:'text_search'].nil?
|
|
262
293
|
query_params[:'byIPFromComment'] = opts[:'by_ip_from_comment'] if !opts[:'by_ip_from_comment'].nil?
|
|
263
294
|
query_params[:'filters'] = opts[:'filters'] if !opts[:'filters'].nil?
|
|
@@ -300,32 +331,39 @@ module FastCommentsClient
|
|
|
300
331
|
return data, status_code, headers
|
|
301
332
|
end
|
|
302
333
|
|
|
334
|
+
# @param tenant_id [String]
|
|
303
335
|
# @param comment_id [String]
|
|
304
336
|
# @param [Hash] opts the optional parameters
|
|
305
337
|
# @option opts [String] :sso
|
|
306
338
|
# @return [GetBannedUsersFromCommentResponse]
|
|
307
|
-
def get_ban_users_from_comment(comment_id, opts = {})
|
|
308
|
-
data, _status_code, _headers = get_ban_users_from_comment_with_http_info(comment_id, opts)
|
|
339
|
+
def get_ban_users_from_comment(tenant_id, comment_id, opts = {})
|
|
340
|
+
data, _status_code, _headers = get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
309
341
|
data
|
|
310
342
|
end
|
|
311
343
|
|
|
344
|
+
# @param tenant_id [String]
|
|
312
345
|
# @param comment_id [String]
|
|
313
346
|
# @param [Hash] opts the optional parameters
|
|
314
347
|
# @option opts [String] :sso
|
|
315
348
|
# @return [Array<(GetBannedUsersFromCommentResponse, Integer, Hash)>] GetBannedUsersFromCommentResponse data, response status code and response headers
|
|
316
|
-
def get_ban_users_from_comment_with_http_info(comment_id, opts = {})
|
|
349
|
+
def get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
317
350
|
if @api_client.config.debugging
|
|
318
351
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_ban_users_from_comment ...'
|
|
319
352
|
end
|
|
353
|
+
# verify the required parameter 'tenant_id' is set
|
|
354
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
355
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_ban_users_from_comment"
|
|
356
|
+
end
|
|
320
357
|
# verify the required parameter 'comment_id' is set
|
|
321
358
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
322
359
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_ban_users_from_comment"
|
|
323
360
|
end
|
|
324
361
|
# resource path
|
|
325
|
-
local_var_path = '/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}'.sub('{
|
|
362
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
326
363
|
|
|
327
364
|
# query parameters
|
|
328
365
|
query_params = opts[:query_params] || {}
|
|
366
|
+
query_params[:'tenantId'] = tenant_id
|
|
329
367
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
330
368
|
|
|
331
369
|
# header parameters
|
|
@@ -362,32 +400,39 @@ module FastCommentsClient
|
|
|
362
400
|
return data, status_code, headers
|
|
363
401
|
end
|
|
364
402
|
|
|
403
|
+
# @param tenant_id [String]
|
|
365
404
|
# @param comment_id [String]
|
|
366
405
|
# @param [Hash] opts the optional parameters
|
|
367
406
|
# @option opts [String] :sso
|
|
368
407
|
# @return [GetCommentBanStatusResponse]
|
|
369
|
-
def get_comment_ban_status(comment_id, opts = {})
|
|
370
|
-
data, _status_code, _headers = get_comment_ban_status_with_http_info(comment_id, opts)
|
|
408
|
+
def get_comment_ban_status(tenant_id, comment_id, opts = {})
|
|
409
|
+
data, _status_code, _headers = get_comment_ban_status_with_http_info(tenant_id, comment_id, opts)
|
|
371
410
|
data
|
|
372
411
|
end
|
|
373
412
|
|
|
413
|
+
# @param tenant_id [String]
|
|
374
414
|
# @param comment_id [String]
|
|
375
415
|
# @param [Hash] opts the optional parameters
|
|
376
416
|
# @option opts [String] :sso
|
|
377
417
|
# @return [Array<(GetCommentBanStatusResponse, Integer, Hash)>] GetCommentBanStatusResponse data, response status code and response headers
|
|
378
|
-
def get_comment_ban_status_with_http_info(comment_id, opts = {})
|
|
418
|
+
def get_comment_ban_status_with_http_info(tenant_id, comment_id, opts = {})
|
|
379
419
|
if @api_client.config.debugging
|
|
380
420
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_comment_ban_status ...'
|
|
381
421
|
end
|
|
422
|
+
# verify the required parameter 'tenant_id' is set
|
|
423
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
424
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_comment_ban_status"
|
|
425
|
+
end
|
|
382
426
|
# verify the required parameter 'comment_id' is set
|
|
383
427
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
384
428
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_comment_ban_status"
|
|
385
429
|
end
|
|
386
430
|
# resource path
|
|
387
|
-
local_var_path = '/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}'.sub('{
|
|
431
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
388
432
|
|
|
389
433
|
# query parameters
|
|
390
434
|
query_params = opts[:query_params] || {}
|
|
435
|
+
query_params[:'tenantId'] = tenant_id
|
|
391
436
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
392
437
|
|
|
393
438
|
# header parameters
|
|
@@ -424,32 +469,39 @@ module FastCommentsClient
|
|
|
424
469
|
return data, status_code, headers
|
|
425
470
|
end
|
|
426
471
|
|
|
472
|
+
# @param tenant_id [String]
|
|
427
473
|
# @param comment_id [String]
|
|
428
474
|
# @param [Hash] opts the optional parameters
|
|
429
475
|
# @option opts [String] :sso
|
|
430
476
|
# @return [ModerationAPIChildCommentsResponse]
|
|
431
|
-
def get_comment_children(comment_id, opts = {})
|
|
432
|
-
data, _status_code, _headers = get_comment_children_with_http_info(comment_id, opts)
|
|
477
|
+
def get_comment_children(tenant_id, comment_id, opts = {})
|
|
478
|
+
data, _status_code, _headers = get_comment_children_with_http_info(tenant_id, comment_id, opts)
|
|
433
479
|
data
|
|
434
480
|
end
|
|
435
481
|
|
|
482
|
+
# @param tenant_id [String]
|
|
436
483
|
# @param comment_id [String]
|
|
437
484
|
# @param [Hash] opts the optional parameters
|
|
438
485
|
# @option opts [String] :sso
|
|
439
486
|
# @return [Array<(ModerationAPIChildCommentsResponse, Integer, Hash)>] ModerationAPIChildCommentsResponse data, response status code and response headers
|
|
440
|
-
def get_comment_children_with_http_info(comment_id, opts = {})
|
|
487
|
+
def get_comment_children_with_http_info(tenant_id, comment_id, opts = {})
|
|
441
488
|
if @api_client.config.debugging
|
|
442
489
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_comment_children ...'
|
|
443
490
|
end
|
|
491
|
+
# verify the required parameter 'tenant_id' is set
|
|
492
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
493
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_comment_children"
|
|
494
|
+
end
|
|
444
495
|
# verify the required parameter 'comment_id' is set
|
|
445
496
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
446
497
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_comment_children"
|
|
447
498
|
end
|
|
448
499
|
# resource path
|
|
449
|
-
local_var_path = '/auth/my-account/moderate-comments/comment-children/{commentId}'.sub('{
|
|
500
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
450
501
|
|
|
451
502
|
# query parameters
|
|
452
503
|
query_params = opts[:query_params] || {}
|
|
504
|
+
query_params[:'tenantId'] = tenant_id
|
|
453
505
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
454
506
|
|
|
455
507
|
# header parameters
|
|
@@ -486,6 +538,7 @@ module FastCommentsClient
|
|
|
486
538
|
return data, status_code, headers
|
|
487
539
|
end
|
|
488
540
|
|
|
541
|
+
# @param tenant_id [String]
|
|
489
542
|
# @param [Hash] opts the optional parameters
|
|
490
543
|
# @option opts [String] :text_search
|
|
491
544
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -494,11 +547,12 @@ module FastCommentsClient
|
|
|
494
547
|
# @option opts [Boolean] :demo
|
|
495
548
|
# @option opts [String] :sso
|
|
496
549
|
# @return [ModerationAPICountCommentsResponse]
|
|
497
|
-
def get_count(opts = {})
|
|
498
|
-
data, _status_code, _headers = get_count_with_http_info(opts)
|
|
550
|
+
def get_count(tenant_id, opts = {})
|
|
551
|
+
data, _status_code, _headers = get_count_with_http_info(tenant_id, opts)
|
|
499
552
|
data
|
|
500
553
|
end
|
|
501
554
|
|
|
555
|
+
# @param tenant_id [String]
|
|
502
556
|
# @param [Hash] opts the optional parameters
|
|
503
557
|
# @option opts [String] :text_search
|
|
504
558
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -507,15 +561,20 @@ module FastCommentsClient
|
|
|
507
561
|
# @option opts [Boolean] :demo
|
|
508
562
|
# @option opts [String] :sso
|
|
509
563
|
# @return [Array<(ModerationAPICountCommentsResponse, Integer, Hash)>] ModerationAPICountCommentsResponse data, response status code and response headers
|
|
510
|
-
def get_count_with_http_info(opts = {})
|
|
564
|
+
def get_count_with_http_info(tenant_id, opts = {})
|
|
511
565
|
if @api_client.config.debugging
|
|
512
566
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_count ...'
|
|
513
567
|
end
|
|
568
|
+
# verify the required parameter 'tenant_id' is set
|
|
569
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
570
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_count"
|
|
571
|
+
end
|
|
514
572
|
# resource path
|
|
515
|
-
local_var_path = '/auth/my-account/moderate-comments/count'
|
|
573
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/count'
|
|
516
574
|
|
|
517
575
|
# query parameters
|
|
518
576
|
query_params = opts[:query_params] || {}
|
|
577
|
+
query_params[:'tenantId'] = tenant_id
|
|
519
578
|
query_params[:'text-search'] = opts[:'text_search'] if !opts[:'text_search'].nil?
|
|
520
579
|
query_params[:'byIPFromComment'] = opts[:'by_ip_from_comment'] if !opts[:'by_ip_from_comment'].nil?
|
|
521
580
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
|
@@ -557,26 +616,33 @@ module FastCommentsClient
|
|
|
557
616
|
return data, status_code, headers
|
|
558
617
|
end
|
|
559
618
|
|
|
619
|
+
# @param tenant_id [String]
|
|
560
620
|
# @param [Hash] opts the optional parameters
|
|
561
621
|
# @option opts [String] :sso
|
|
562
622
|
# @return [GetBannedUsersCountResponse]
|
|
563
|
-
def get_counts(opts = {})
|
|
564
|
-
data, _status_code, _headers = get_counts_with_http_info(opts)
|
|
623
|
+
def get_counts(tenant_id, opts = {})
|
|
624
|
+
data, _status_code, _headers = get_counts_with_http_info(tenant_id, opts)
|
|
565
625
|
data
|
|
566
626
|
end
|
|
567
627
|
|
|
628
|
+
# @param tenant_id [String]
|
|
568
629
|
# @param [Hash] opts the optional parameters
|
|
569
630
|
# @option opts [String] :sso
|
|
570
631
|
# @return [Array<(GetBannedUsersCountResponse, Integer, Hash)>] GetBannedUsersCountResponse data, response status code and response headers
|
|
571
|
-
def get_counts_with_http_info(opts = {})
|
|
632
|
+
def get_counts_with_http_info(tenant_id, opts = {})
|
|
572
633
|
if @api_client.config.debugging
|
|
573
634
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_counts ...'
|
|
574
635
|
end
|
|
636
|
+
# verify the required parameter 'tenant_id' is set
|
|
637
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
638
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_counts"
|
|
639
|
+
end
|
|
575
640
|
# resource path
|
|
576
|
-
local_var_path = '/auth/my-account/moderate-comments/banned-users/counts'
|
|
641
|
+
local_var_path = '/auth/my-account/moderate-comments/banned-users/mod_api/counts'
|
|
577
642
|
|
|
578
643
|
# query parameters
|
|
579
644
|
query_params = opts[:query_params] || {}
|
|
645
|
+
query_params[:'tenantId'] = tenant_id
|
|
580
646
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
581
647
|
|
|
582
648
|
# header parameters
|
|
@@ -613,32 +679,39 @@ module FastCommentsClient
|
|
|
613
679
|
return data, status_code, headers
|
|
614
680
|
end
|
|
615
681
|
|
|
682
|
+
# @param tenant_id [String]
|
|
616
683
|
# @param comment_id [String]
|
|
617
684
|
# @param [Hash] opts the optional parameters
|
|
618
685
|
# @option opts [String] :sso
|
|
619
686
|
# @return [ModerationAPIGetLogsResponse]
|
|
620
|
-
def get_logs(comment_id, opts = {})
|
|
621
|
-
data, _status_code, _headers = get_logs_with_http_info(comment_id, opts)
|
|
687
|
+
def get_logs(tenant_id, comment_id, opts = {})
|
|
688
|
+
data, _status_code, _headers = get_logs_with_http_info(tenant_id, comment_id, opts)
|
|
622
689
|
data
|
|
623
690
|
end
|
|
624
691
|
|
|
692
|
+
# @param tenant_id [String]
|
|
625
693
|
# @param comment_id [String]
|
|
626
694
|
# @param [Hash] opts the optional parameters
|
|
627
695
|
# @option opts [String] :sso
|
|
628
696
|
# @return [Array<(ModerationAPIGetLogsResponse, Integer, Hash)>] ModerationAPIGetLogsResponse data, response status code and response headers
|
|
629
|
-
def get_logs_with_http_info(comment_id, opts = {})
|
|
697
|
+
def get_logs_with_http_info(tenant_id, comment_id, opts = {})
|
|
630
698
|
if @api_client.config.debugging
|
|
631
699
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_logs ...'
|
|
632
700
|
end
|
|
701
|
+
# verify the required parameter 'tenant_id' is set
|
|
702
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
703
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_logs"
|
|
704
|
+
end
|
|
633
705
|
# verify the required parameter 'comment_id' is set
|
|
634
706
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
635
707
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_logs"
|
|
636
708
|
end
|
|
637
709
|
# resource path
|
|
638
|
-
local_var_path = '/auth/my-account/moderate-comments/logs/{commentId}'.sub('{
|
|
710
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/logs/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
639
711
|
|
|
640
712
|
# query parameters
|
|
641
713
|
query_params = opts[:query_params] || {}
|
|
714
|
+
query_params[:'tenantId'] = tenant_id
|
|
642
715
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
643
716
|
|
|
644
717
|
# header parameters
|
|
@@ -675,26 +748,33 @@ module FastCommentsClient
|
|
|
675
748
|
return data, status_code, headers
|
|
676
749
|
end
|
|
677
750
|
|
|
751
|
+
# @param tenant_id [String]
|
|
678
752
|
# @param [Hash] opts the optional parameters
|
|
679
753
|
# @option opts [String] :sso
|
|
680
754
|
# @return [GetTenantManualBadgesResponse]
|
|
681
|
-
def get_manual_badges(opts = {})
|
|
682
|
-
data, _status_code, _headers = get_manual_badges_with_http_info(opts)
|
|
755
|
+
def get_manual_badges(tenant_id, opts = {})
|
|
756
|
+
data, _status_code, _headers = get_manual_badges_with_http_info(tenant_id, opts)
|
|
683
757
|
data
|
|
684
758
|
end
|
|
685
759
|
|
|
760
|
+
# @param tenant_id [String]
|
|
686
761
|
# @param [Hash] opts the optional parameters
|
|
687
762
|
# @option opts [String] :sso
|
|
688
763
|
# @return [Array<(GetTenantManualBadgesResponse, Integer, Hash)>] GetTenantManualBadgesResponse data, response status code and response headers
|
|
689
|
-
def get_manual_badges_with_http_info(opts = {})
|
|
764
|
+
def get_manual_badges_with_http_info(tenant_id, opts = {})
|
|
690
765
|
if @api_client.config.debugging
|
|
691
766
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_manual_badges ...'
|
|
692
767
|
end
|
|
768
|
+
# verify the required parameter 'tenant_id' is set
|
|
769
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
770
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_manual_badges"
|
|
771
|
+
end
|
|
693
772
|
# resource path
|
|
694
|
-
local_var_path = '/auth/my-account/moderate-comments/get-manual-badges'
|
|
773
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-manual-badges'
|
|
695
774
|
|
|
696
775
|
# query parameters
|
|
697
776
|
query_params = opts[:query_params] || {}
|
|
777
|
+
query_params[:'tenantId'] = tenant_id
|
|
698
778
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
699
779
|
|
|
700
780
|
# header parameters
|
|
@@ -731,30 +811,37 @@ module FastCommentsClient
|
|
|
731
811
|
return data, status_code, headers
|
|
732
812
|
end
|
|
733
813
|
|
|
814
|
+
# @param tenant_id [String]
|
|
734
815
|
# @param [Hash] opts the optional parameters
|
|
735
816
|
# @option opts [String] :badges_user_id
|
|
736
817
|
# @option opts [String] :comment_id
|
|
737
818
|
# @option opts [String] :sso
|
|
738
819
|
# @return [GetUserManualBadgesResponse]
|
|
739
|
-
def get_manual_badges_for_user(opts = {})
|
|
740
|
-
data, _status_code, _headers = get_manual_badges_for_user_with_http_info(opts)
|
|
820
|
+
def get_manual_badges_for_user(tenant_id, opts = {})
|
|
821
|
+
data, _status_code, _headers = get_manual_badges_for_user_with_http_info(tenant_id, opts)
|
|
741
822
|
data
|
|
742
823
|
end
|
|
743
824
|
|
|
825
|
+
# @param tenant_id [String]
|
|
744
826
|
# @param [Hash] opts the optional parameters
|
|
745
827
|
# @option opts [String] :badges_user_id
|
|
746
828
|
# @option opts [String] :comment_id
|
|
747
829
|
# @option opts [String] :sso
|
|
748
830
|
# @return [Array<(GetUserManualBadgesResponse, Integer, Hash)>] GetUserManualBadgesResponse data, response status code and response headers
|
|
749
|
-
def get_manual_badges_for_user_with_http_info(opts = {})
|
|
831
|
+
def get_manual_badges_for_user_with_http_info(tenant_id, opts = {})
|
|
750
832
|
if @api_client.config.debugging
|
|
751
833
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_manual_badges_for_user ...'
|
|
752
834
|
end
|
|
835
|
+
# verify the required parameter 'tenant_id' is set
|
|
836
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
837
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_manual_badges_for_user"
|
|
838
|
+
end
|
|
753
839
|
# resource path
|
|
754
|
-
local_var_path = '/auth/my-account/moderate-comments/get-manual-badges-for-user'
|
|
840
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user'
|
|
755
841
|
|
|
756
842
|
# query parameters
|
|
757
843
|
query_params = opts[:query_params] || {}
|
|
844
|
+
query_params[:'tenantId'] = tenant_id
|
|
758
845
|
query_params[:'badgesUserId'] = opts[:'badges_user_id'] if !opts[:'badges_user_id'].nil?
|
|
759
846
|
query_params[:'commentId'] = opts[:'comment_id'] if !opts[:'comment_id'].nil?
|
|
760
847
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
@@ -793,36 +880,43 @@ module FastCommentsClient
|
|
|
793
880
|
return data, status_code, headers
|
|
794
881
|
end
|
|
795
882
|
|
|
883
|
+
# @param tenant_id [String]
|
|
796
884
|
# @param comment_id [String]
|
|
797
885
|
# @param [Hash] opts the optional parameters
|
|
798
886
|
# @option opts [Boolean] :include_email
|
|
799
887
|
# @option opts [Boolean] :include_ip
|
|
800
888
|
# @option opts [String] :sso
|
|
801
889
|
# @return [ModerationAPICommentResponse]
|
|
802
|
-
def get_moderation_comment(comment_id, opts = {})
|
|
803
|
-
data, _status_code, _headers = get_moderation_comment_with_http_info(comment_id, opts)
|
|
890
|
+
def get_moderation_comment(tenant_id, comment_id, opts = {})
|
|
891
|
+
data, _status_code, _headers = get_moderation_comment_with_http_info(tenant_id, comment_id, opts)
|
|
804
892
|
data
|
|
805
893
|
end
|
|
806
894
|
|
|
895
|
+
# @param tenant_id [String]
|
|
807
896
|
# @param comment_id [String]
|
|
808
897
|
# @param [Hash] opts the optional parameters
|
|
809
898
|
# @option opts [Boolean] :include_email
|
|
810
899
|
# @option opts [Boolean] :include_ip
|
|
811
900
|
# @option opts [String] :sso
|
|
812
901
|
# @return [Array<(ModerationAPICommentResponse, Integer, Hash)>] ModerationAPICommentResponse data, response status code and response headers
|
|
813
|
-
def get_moderation_comment_with_http_info(comment_id, opts = {})
|
|
902
|
+
def get_moderation_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
814
903
|
if @api_client.config.debugging
|
|
815
904
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_moderation_comment ...'
|
|
816
905
|
end
|
|
906
|
+
# verify the required parameter 'tenant_id' is set
|
|
907
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
908
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_moderation_comment"
|
|
909
|
+
end
|
|
817
910
|
# verify the required parameter 'comment_id' is set
|
|
818
911
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
819
912
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_moderation_comment"
|
|
820
913
|
end
|
|
821
914
|
# resource path
|
|
822
|
-
local_var_path = '/auth/my-account/moderate-comments/comment/{commentId}'.sub('{
|
|
915
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
823
916
|
|
|
824
917
|
# query parameters
|
|
825
918
|
query_params = opts[:query_params] || {}
|
|
919
|
+
query_params[:'tenantId'] = tenant_id
|
|
826
920
|
query_params[:'includeEmail'] = opts[:'include_email'] if !opts[:'include_email'].nil?
|
|
827
921
|
query_params[:'includeIP'] = opts[:'include_ip'] if !opts[:'include_ip'].nil?
|
|
828
922
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
@@ -861,32 +955,39 @@ module FastCommentsClient
|
|
|
861
955
|
return data, status_code, headers
|
|
862
956
|
end
|
|
863
957
|
|
|
958
|
+
# @param tenant_id [String]
|
|
864
959
|
# @param comment_id [String]
|
|
865
960
|
# @param [Hash] opts the optional parameters
|
|
866
961
|
# @option opts [String] :sso
|
|
867
962
|
# @return [GetCommentTextResponse]
|
|
868
|
-
def get_moderation_comment_text(comment_id, opts = {})
|
|
869
|
-
data, _status_code, _headers = get_moderation_comment_text_with_http_info(comment_id, opts)
|
|
963
|
+
def get_moderation_comment_text(tenant_id, comment_id, opts = {})
|
|
964
|
+
data, _status_code, _headers = get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
870
965
|
data
|
|
871
966
|
end
|
|
872
967
|
|
|
968
|
+
# @param tenant_id [String]
|
|
873
969
|
# @param comment_id [String]
|
|
874
970
|
# @param [Hash] opts the optional parameters
|
|
875
971
|
# @option opts [String] :sso
|
|
876
972
|
# @return [Array<(GetCommentTextResponse, Integer, Hash)>] GetCommentTextResponse data, response status code and response headers
|
|
877
|
-
def get_moderation_comment_text_with_http_info(comment_id, opts = {})
|
|
973
|
+
def get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts = {})
|
|
878
974
|
if @api_client.config.debugging
|
|
879
975
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_moderation_comment_text ...'
|
|
880
976
|
end
|
|
977
|
+
# verify the required parameter 'tenant_id' is set
|
|
978
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
979
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_moderation_comment_text"
|
|
980
|
+
end
|
|
881
981
|
# verify the required parameter 'comment_id' is set
|
|
882
982
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
883
983
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_moderation_comment_text"
|
|
884
984
|
end
|
|
885
985
|
# resource path
|
|
886
|
-
local_var_path = '/auth/my-account/moderate-comments/get-comment-text/{commentId}'.sub('{
|
|
986
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
887
987
|
|
|
888
988
|
# query parameters
|
|
889
989
|
query_params = opts[:query_params] || {}
|
|
990
|
+
query_params[:'tenantId'] = tenant_id
|
|
890
991
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
891
992
|
|
|
892
993
|
# header parameters
|
|
@@ -923,6 +1024,7 @@ module FastCommentsClient
|
|
|
923
1024
|
return data, status_code, headers
|
|
924
1025
|
end
|
|
925
1026
|
|
|
1027
|
+
# @param tenant_id [String]
|
|
926
1028
|
# @param comment_id [String]
|
|
927
1029
|
# @param [Hash] opts the optional parameters
|
|
928
1030
|
# @option opts [Boolean] :include_by_user_id_and_email
|
|
@@ -930,11 +1032,12 @@ module FastCommentsClient
|
|
|
930
1032
|
# @option opts [Boolean] :include_by_email_domain
|
|
931
1033
|
# @option opts [String] :sso
|
|
932
1034
|
# @return [PreBanSummary]
|
|
933
|
-
def get_pre_ban_summary(comment_id, opts = {})
|
|
934
|
-
data, _status_code, _headers = get_pre_ban_summary_with_http_info(comment_id, opts)
|
|
1035
|
+
def get_pre_ban_summary(tenant_id, comment_id, opts = {})
|
|
1036
|
+
data, _status_code, _headers = get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts)
|
|
935
1037
|
data
|
|
936
1038
|
end
|
|
937
1039
|
|
|
1040
|
+
# @param tenant_id [String]
|
|
938
1041
|
# @param comment_id [String]
|
|
939
1042
|
# @param [Hash] opts the optional parameters
|
|
940
1043
|
# @option opts [Boolean] :include_by_user_id_and_email
|
|
@@ -942,19 +1045,24 @@ module FastCommentsClient
|
|
|
942
1045
|
# @option opts [Boolean] :include_by_email_domain
|
|
943
1046
|
# @option opts [String] :sso
|
|
944
1047
|
# @return [Array<(PreBanSummary, Integer, Hash)>] PreBanSummary data, response status code and response headers
|
|
945
|
-
def get_pre_ban_summary_with_http_info(comment_id, opts = {})
|
|
1048
|
+
def get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts = {})
|
|
946
1049
|
if @api_client.config.debugging
|
|
947
1050
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_pre_ban_summary ...'
|
|
948
1051
|
end
|
|
1052
|
+
# verify the required parameter 'tenant_id' is set
|
|
1053
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1054
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_pre_ban_summary"
|
|
1055
|
+
end
|
|
949
1056
|
# verify the required parameter 'comment_id' is set
|
|
950
1057
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
951
1058
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.get_pre_ban_summary"
|
|
952
1059
|
end
|
|
953
1060
|
# resource path
|
|
954
|
-
local_var_path = '/auth/my-account/moderate-comments/pre-ban-summary/{commentId}'.sub('{
|
|
1061
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
955
1062
|
|
|
956
1063
|
# query parameters
|
|
957
1064
|
query_params = opts[:query_params] || {}
|
|
1065
|
+
query_params[:'tenantId'] = tenant_id
|
|
958
1066
|
query_params[:'includeByUserIdAndEmail'] = opts[:'include_by_user_id_and_email'] if !opts[:'include_by_user_id_and_email'].nil?
|
|
959
1067
|
query_params[:'includeByIP'] = opts[:'include_by_ip'] if !opts[:'include_by_ip'].nil?
|
|
960
1068
|
query_params[:'includeByEmailDomain'] = opts[:'include_by_email_domain'] if !opts[:'include_by_email_domain'].nil?
|
|
@@ -994,32 +1102,39 @@ module FastCommentsClient
|
|
|
994
1102
|
return data, status_code, headers
|
|
995
1103
|
end
|
|
996
1104
|
|
|
1105
|
+
# @param tenant_id [String]
|
|
997
1106
|
# @param [Hash] opts the optional parameters
|
|
998
1107
|
# @option opts [String] :value
|
|
999
1108
|
# @option opts [String] :filters
|
|
1000
1109
|
# @option opts [String] :search_filters
|
|
1001
1110
|
# @option opts [String] :sso
|
|
1002
1111
|
# @return [ModerationCommentSearchResponse]
|
|
1003
|
-
def get_search_comments_summary(opts = {})
|
|
1004
|
-
data, _status_code, _headers = get_search_comments_summary_with_http_info(opts)
|
|
1112
|
+
def get_search_comments_summary(tenant_id, opts = {})
|
|
1113
|
+
data, _status_code, _headers = get_search_comments_summary_with_http_info(tenant_id, opts)
|
|
1005
1114
|
data
|
|
1006
1115
|
end
|
|
1007
1116
|
|
|
1117
|
+
# @param tenant_id [String]
|
|
1008
1118
|
# @param [Hash] opts the optional parameters
|
|
1009
1119
|
# @option opts [String] :value
|
|
1010
1120
|
# @option opts [String] :filters
|
|
1011
1121
|
# @option opts [String] :search_filters
|
|
1012
1122
|
# @option opts [String] :sso
|
|
1013
1123
|
# @return [Array<(ModerationCommentSearchResponse, Integer, Hash)>] ModerationCommentSearchResponse data, response status code and response headers
|
|
1014
|
-
def get_search_comments_summary_with_http_info(opts = {})
|
|
1124
|
+
def get_search_comments_summary_with_http_info(tenant_id, opts = {})
|
|
1015
1125
|
if @api_client.config.debugging
|
|
1016
1126
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_search_comments_summary ...'
|
|
1017
1127
|
end
|
|
1128
|
+
# verify the required parameter 'tenant_id' is set
|
|
1129
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1130
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_search_comments_summary"
|
|
1131
|
+
end
|
|
1018
1132
|
# resource path
|
|
1019
|
-
local_var_path = '/auth/my-account/moderate-comments/search/comments/summary'
|
|
1133
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/search/comments/summary'
|
|
1020
1134
|
|
|
1021
1135
|
# query parameters
|
|
1022
1136
|
query_params = opts[:query_params] || {}
|
|
1137
|
+
query_params[:'tenantId'] = tenant_id
|
|
1023
1138
|
query_params[:'value'] = opts[:'value'] if !opts[:'value'].nil?
|
|
1024
1139
|
query_params[:'filters'] = opts[:'filters'] if !opts[:'filters'].nil?
|
|
1025
1140
|
query_params[:'searchFilters'] = opts[:'search_filters'] if !opts[:'search_filters'].nil?
|
|
@@ -1059,28 +1174,35 @@ module FastCommentsClient
|
|
|
1059
1174
|
return data, status_code, headers
|
|
1060
1175
|
end
|
|
1061
1176
|
|
|
1177
|
+
# @param tenant_id [String]
|
|
1062
1178
|
# @param [Hash] opts the optional parameters
|
|
1063
1179
|
# @option opts [String] :value
|
|
1064
1180
|
# @option opts [String] :sso
|
|
1065
1181
|
# @return [ModerationPageSearchResponse]
|
|
1066
|
-
def get_search_pages(opts = {})
|
|
1067
|
-
data, _status_code, _headers = get_search_pages_with_http_info(opts)
|
|
1182
|
+
def get_search_pages(tenant_id, opts = {})
|
|
1183
|
+
data, _status_code, _headers = get_search_pages_with_http_info(tenant_id, opts)
|
|
1068
1184
|
data
|
|
1069
1185
|
end
|
|
1070
1186
|
|
|
1187
|
+
# @param tenant_id [String]
|
|
1071
1188
|
# @param [Hash] opts the optional parameters
|
|
1072
1189
|
# @option opts [String] :value
|
|
1073
1190
|
# @option opts [String] :sso
|
|
1074
1191
|
# @return [Array<(ModerationPageSearchResponse, Integer, Hash)>] ModerationPageSearchResponse data, response status code and response headers
|
|
1075
|
-
def get_search_pages_with_http_info(opts = {})
|
|
1192
|
+
def get_search_pages_with_http_info(tenant_id, opts = {})
|
|
1076
1193
|
if @api_client.config.debugging
|
|
1077
1194
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_search_pages ...'
|
|
1078
1195
|
end
|
|
1196
|
+
# verify the required parameter 'tenant_id' is set
|
|
1197
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1198
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_search_pages"
|
|
1199
|
+
end
|
|
1079
1200
|
# resource path
|
|
1080
|
-
local_var_path = '/auth/my-account/moderate-comments/search/pages'
|
|
1201
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/search/pages'
|
|
1081
1202
|
|
|
1082
1203
|
# query parameters
|
|
1083
1204
|
query_params = opts[:query_params] || {}
|
|
1205
|
+
query_params[:'tenantId'] = tenant_id
|
|
1084
1206
|
query_params[:'value'] = opts[:'value'] if !opts[:'value'].nil?
|
|
1085
1207
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1086
1208
|
|
|
@@ -1118,28 +1240,35 @@ module FastCommentsClient
|
|
|
1118
1240
|
return data, status_code, headers
|
|
1119
1241
|
end
|
|
1120
1242
|
|
|
1243
|
+
# @param tenant_id [String]
|
|
1121
1244
|
# @param [Hash] opts the optional parameters
|
|
1122
1245
|
# @option opts [String] :value
|
|
1123
1246
|
# @option opts [String] :sso
|
|
1124
1247
|
# @return [ModerationSiteSearchResponse]
|
|
1125
|
-
def get_search_sites(opts = {})
|
|
1126
|
-
data, _status_code, _headers = get_search_sites_with_http_info(opts)
|
|
1248
|
+
def get_search_sites(tenant_id, opts = {})
|
|
1249
|
+
data, _status_code, _headers = get_search_sites_with_http_info(tenant_id, opts)
|
|
1127
1250
|
data
|
|
1128
1251
|
end
|
|
1129
1252
|
|
|
1253
|
+
# @param tenant_id [String]
|
|
1130
1254
|
# @param [Hash] opts the optional parameters
|
|
1131
1255
|
# @option opts [String] :value
|
|
1132
1256
|
# @option opts [String] :sso
|
|
1133
1257
|
# @return [Array<(ModerationSiteSearchResponse, Integer, Hash)>] ModerationSiteSearchResponse data, response status code and response headers
|
|
1134
|
-
def get_search_sites_with_http_info(opts = {})
|
|
1258
|
+
def get_search_sites_with_http_info(tenant_id, opts = {})
|
|
1135
1259
|
if @api_client.config.debugging
|
|
1136
1260
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_search_sites ...'
|
|
1137
1261
|
end
|
|
1262
|
+
# verify the required parameter 'tenant_id' is set
|
|
1263
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1264
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_search_sites"
|
|
1265
|
+
end
|
|
1138
1266
|
# resource path
|
|
1139
|
-
local_var_path = '/auth/my-account/moderate-comments/search/sites'
|
|
1267
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/search/sites'
|
|
1140
1268
|
|
|
1141
1269
|
# query parameters
|
|
1142
1270
|
query_params = opts[:query_params] || {}
|
|
1271
|
+
query_params[:'tenantId'] = tenant_id
|
|
1143
1272
|
query_params[:'value'] = opts[:'value'] if !opts[:'value'].nil?
|
|
1144
1273
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1145
1274
|
|
|
@@ -1177,28 +1306,35 @@ module FastCommentsClient
|
|
|
1177
1306
|
return data, status_code, headers
|
|
1178
1307
|
end
|
|
1179
1308
|
|
|
1309
|
+
# @param tenant_id [String]
|
|
1180
1310
|
# @param [Hash] opts the optional parameters
|
|
1181
1311
|
# @option opts [String] :text_search
|
|
1182
1312
|
# @option opts [String] :sso
|
|
1183
1313
|
# @return [ModerationSuggestResponse]
|
|
1184
|
-
def get_search_suggest(opts = {})
|
|
1185
|
-
data, _status_code, _headers = get_search_suggest_with_http_info(opts)
|
|
1314
|
+
def get_search_suggest(tenant_id, opts = {})
|
|
1315
|
+
data, _status_code, _headers = get_search_suggest_with_http_info(tenant_id, opts)
|
|
1186
1316
|
data
|
|
1187
1317
|
end
|
|
1188
1318
|
|
|
1319
|
+
# @param tenant_id [String]
|
|
1189
1320
|
# @param [Hash] opts the optional parameters
|
|
1190
1321
|
# @option opts [String] :text_search
|
|
1191
1322
|
# @option opts [String] :sso
|
|
1192
1323
|
# @return [Array<(ModerationSuggestResponse, Integer, Hash)>] ModerationSuggestResponse data, response status code and response headers
|
|
1193
|
-
def get_search_suggest_with_http_info(opts = {})
|
|
1324
|
+
def get_search_suggest_with_http_info(tenant_id, opts = {})
|
|
1194
1325
|
if @api_client.config.debugging
|
|
1195
1326
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_search_suggest ...'
|
|
1196
1327
|
end
|
|
1328
|
+
# verify the required parameter 'tenant_id' is set
|
|
1329
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1330
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_search_suggest"
|
|
1331
|
+
end
|
|
1197
1332
|
# resource path
|
|
1198
|
-
local_var_path = '/auth/my-account/moderate-comments/search/suggest'
|
|
1333
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/search/suggest'
|
|
1199
1334
|
|
|
1200
1335
|
# query parameters
|
|
1201
1336
|
query_params = opts[:query_params] || {}
|
|
1337
|
+
query_params[:'tenantId'] = tenant_id
|
|
1202
1338
|
query_params[:'text-search'] = opts[:'text_search'] if !opts[:'text_search'].nil?
|
|
1203
1339
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1204
1340
|
|
|
@@ -1236,28 +1372,35 @@ module FastCommentsClient
|
|
|
1236
1372
|
return data, status_code, headers
|
|
1237
1373
|
end
|
|
1238
1374
|
|
|
1375
|
+
# @param tenant_id [String]
|
|
1239
1376
|
# @param [Hash] opts the optional parameters
|
|
1240
1377
|
# @option opts [String] :value
|
|
1241
1378
|
# @option opts [String] :sso
|
|
1242
1379
|
# @return [ModerationUserSearchResponse]
|
|
1243
|
-
def get_search_users(opts = {})
|
|
1244
|
-
data, _status_code, _headers = get_search_users_with_http_info(opts)
|
|
1380
|
+
def get_search_users(tenant_id, opts = {})
|
|
1381
|
+
data, _status_code, _headers = get_search_users_with_http_info(tenant_id, opts)
|
|
1245
1382
|
data
|
|
1246
1383
|
end
|
|
1247
1384
|
|
|
1385
|
+
# @param tenant_id [String]
|
|
1248
1386
|
# @param [Hash] opts the optional parameters
|
|
1249
1387
|
# @option opts [String] :value
|
|
1250
1388
|
# @option opts [String] :sso
|
|
1251
1389
|
# @return [Array<(ModerationUserSearchResponse, Integer, Hash)>] ModerationUserSearchResponse data, response status code and response headers
|
|
1252
|
-
def get_search_users_with_http_info(opts = {})
|
|
1390
|
+
def get_search_users_with_http_info(tenant_id, opts = {})
|
|
1253
1391
|
if @api_client.config.debugging
|
|
1254
1392
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_search_users ...'
|
|
1255
1393
|
end
|
|
1394
|
+
# verify the required parameter 'tenant_id' is set
|
|
1395
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1396
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_search_users"
|
|
1397
|
+
end
|
|
1256
1398
|
# resource path
|
|
1257
|
-
local_var_path = '/auth/my-account/moderate-comments/search/users'
|
|
1399
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/search/users'
|
|
1258
1400
|
|
|
1259
1401
|
# query parameters
|
|
1260
1402
|
query_params = opts[:query_params] || {}
|
|
1403
|
+
query_params[:'tenantId'] = tenant_id
|
|
1261
1404
|
query_params[:'value'] = opts[:'value'] if !opts[:'value'].nil?
|
|
1262
1405
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1263
1406
|
|
|
@@ -1295,28 +1438,35 @@ module FastCommentsClient
|
|
|
1295
1438
|
return data, status_code, headers
|
|
1296
1439
|
end
|
|
1297
1440
|
|
|
1441
|
+
# @param tenant_id [String]
|
|
1298
1442
|
# @param [Hash] opts the optional parameters
|
|
1299
1443
|
# @option opts [String] :user_id
|
|
1300
1444
|
# @option opts [String] :sso
|
|
1301
1445
|
# @return [GetUserTrustFactorResponse]
|
|
1302
|
-
def get_trust_factor(opts = {})
|
|
1303
|
-
data, _status_code, _headers = get_trust_factor_with_http_info(opts)
|
|
1446
|
+
def get_trust_factor(tenant_id, opts = {})
|
|
1447
|
+
data, _status_code, _headers = get_trust_factor_with_http_info(tenant_id, opts)
|
|
1304
1448
|
data
|
|
1305
1449
|
end
|
|
1306
1450
|
|
|
1451
|
+
# @param tenant_id [String]
|
|
1307
1452
|
# @param [Hash] opts the optional parameters
|
|
1308
1453
|
# @option opts [String] :user_id
|
|
1309
1454
|
# @option opts [String] :sso
|
|
1310
1455
|
# @return [Array<(GetUserTrustFactorResponse, Integer, Hash)>] GetUserTrustFactorResponse data, response status code and response headers
|
|
1311
|
-
def get_trust_factor_with_http_info(opts = {})
|
|
1456
|
+
def get_trust_factor_with_http_info(tenant_id, opts = {})
|
|
1312
1457
|
if @api_client.config.debugging
|
|
1313
1458
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_trust_factor ...'
|
|
1314
1459
|
end
|
|
1460
|
+
# verify the required parameter 'tenant_id' is set
|
|
1461
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1462
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_trust_factor"
|
|
1463
|
+
end
|
|
1315
1464
|
# resource path
|
|
1316
|
-
local_var_path = '/auth/my-account/moderate-comments/get-trust-factor'
|
|
1465
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-trust-factor'
|
|
1317
1466
|
|
|
1318
1467
|
# query parameters
|
|
1319
1468
|
query_params = opts[:query_params] || {}
|
|
1469
|
+
query_params[:'tenantId'] = tenant_id
|
|
1320
1470
|
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
1321
1471
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1322
1472
|
|
|
@@ -1354,26 +1504,33 @@ module FastCommentsClient
|
|
|
1354
1504
|
return data, status_code, headers
|
|
1355
1505
|
end
|
|
1356
1506
|
|
|
1507
|
+
# @param tenant_id [String]
|
|
1357
1508
|
# @param [Hash] opts the optional parameters
|
|
1358
1509
|
# @option opts [String] :sso
|
|
1359
1510
|
# @return [APIModerateGetUserBanPreferencesResponse]
|
|
1360
|
-
def get_user_ban_preference(opts = {})
|
|
1361
|
-
data, _status_code, _headers = get_user_ban_preference_with_http_info(opts)
|
|
1511
|
+
def get_user_ban_preference(tenant_id, opts = {})
|
|
1512
|
+
data, _status_code, _headers = get_user_ban_preference_with_http_info(tenant_id, opts)
|
|
1362
1513
|
data
|
|
1363
1514
|
end
|
|
1364
1515
|
|
|
1516
|
+
# @param tenant_id [String]
|
|
1365
1517
|
# @param [Hash] opts the optional parameters
|
|
1366
1518
|
# @option opts [String] :sso
|
|
1367
1519
|
# @return [Array<(APIModerateGetUserBanPreferencesResponse, Integer, Hash)>] APIModerateGetUserBanPreferencesResponse data, response status code and response headers
|
|
1368
|
-
def get_user_ban_preference_with_http_info(opts = {})
|
|
1520
|
+
def get_user_ban_preference_with_http_info(tenant_id, opts = {})
|
|
1369
1521
|
if @api_client.config.debugging
|
|
1370
1522
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_user_ban_preference ...'
|
|
1371
1523
|
end
|
|
1524
|
+
# verify the required parameter 'tenant_id' is set
|
|
1525
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1526
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_user_ban_preference"
|
|
1527
|
+
end
|
|
1372
1528
|
# resource path
|
|
1373
|
-
local_var_path = '/auth/my-account/moderate-comments/user-ban-preference'
|
|
1529
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/user-ban-preference'
|
|
1374
1530
|
|
|
1375
1531
|
# query parameters
|
|
1376
1532
|
query_params = opts[:query_params] || {}
|
|
1533
|
+
query_params[:'tenantId'] = tenant_id
|
|
1377
1534
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1378
1535
|
|
|
1379
1536
|
# header parameters
|
|
@@ -1410,28 +1567,35 @@ module FastCommentsClient
|
|
|
1410
1567
|
return data, status_code, headers
|
|
1411
1568
|
end
|
|
1412
1569
|
|
|
1570
|
+
# @param tenant_id [String]
|
|
1413
1571
|
# @param [Hash] opts the optional parameters
|
|
1414
1572
|
# @option opts [String] :comment_id
|
|
1415
1573
|
# @option opts [String] :sso
|
|
1416
1574
|
# @return [GetUserInternalProfileResponse]
|
|
1417
|
-
def get_user_internal_profile(opts = {})
|
|
1418
|
-
data, _status_code, _headers = get_user_internal_profile_with_http_info(opts)
|
|
1575
|
+
def get_user_internal_profile(tenant_id, opts = {})
|
|
1576
|
+
data, _status_code, _headers = get_user_internal_profile_with_http_info(tenant_id, opts)
|
|
1419
1577
|
data
|
|
1420
1578
|
end
|
|
1421
1579
|
|
|
1580
|
+
# @param tenant_id [String]
|
|
1422
1581
|
# @param [Hash] opts the optional parameters
|
|
1423
1582
|
# @option opts [String] :comment_id
|
|
1424
1583
|
# @option opts [String] :sso
|
|
1425
1584
|
# @return [Array<(GetUserInternalProfileResponse, Integer, Hash)>] GetUserInternalProfileResponse data, response status code and response headers
|
|
1426
|
-
def get_user_internal_profile_with_http_info(opts = {})
|
|
1585
|
+
def get_user_internal_profile_with_http_info(tenant_id, opts = {})
|
|
1427
1586
|
if @api_client.config.debugging
|
|
1428
1587
|
@api_client.config.logger.debug 'Calling API: ModerationApi.get_user_internal_profile ...'
|
|
1429
1588
|
end
|
|
1589
|
+
# verify the required parameter 'tenant_id' is set
|
|
1590
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1591
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.get_user_internal_profile"
|
|
1592
|
+
end
|
|
1430
1593
|
# resource path
|
|
1431
|
-
local_var_path = '/auth/my-account/moderate-comments/get-user-internal-profile'
|
|
1594
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/get-user-internal-profile'
|
|
1432
1595
|
|
|
1433
1596
|
# query parameters
|
|
1434
1597
|
query_params = opts[:query_params] || {}
|
|
1598
|
+
query_params[:'tenantId'] = tenant_id
|
|
1435
1599
|
query_params[:'commentId'] = opts[:'comment_id'] if !opts[:'comment_id'].nil?
|
|
1436
1600
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1437
1601
|
|
|
@@ -1469,25 +1633,33 @@ module FastCommentsClient
|
|
|
1469
1633
|
return data, status_code, headers
|
|
1470
1634
|
end
|
|
1471
1635
|
|
|
1636
|
+
# @param tenant_id [String]
|
|
1472
1637
|
# @param comment_id [String]
|
|
1473
1638
|
# @param adjust_comment_votes_params [AdjustCommentVotesParams]
|
|
1474
1639
|
# @param [Hash] opts the optional parameters
|
|
1640
|
+
# @option opts [String] :broadcast_id
|
|
1475
1641
|
# @option opts [String] :sso
|
|
1476
1642
|
# @return [AdjustVotesResponse]
|
|
1477
|
-
def post_adjust_comment_votes(comment_id, adjust_comment_votes_params, opts = {})
|
|
1478
|
-
data, _status_code, _headers = post_adjust_comment_votes_with_http_info(comment_id, adjust_comment_votes_params, opts)
|
|
1643
|
+
def post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, opts = {})
|
|
1644
|
+
data, _status_code, _headers = post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts)
|
|
1479
1645
|
data
|
|
1480
1646
|
end
|
|
1481
1647
|
|
|
1648
|
+
# @param tenant_id [String]
|
|
1482
1649
|
# @param comment_id [String]
|
|
1483
1650
|
# @param adjust_comment_votes_params [AdjustCommentVotesParams]
|
|
1484
1651
|
# @param [Hash] opts the optional parameters
|
|
1652
|
+
# @option opts [String] :broadcast_id
|
|
1485
1653
|
# @option opts [String] :sso
|
|
1486
1654
|
# @return [Array<(AdjustVotesResponse, Integer, Hash)>] AdjustVotesResponse data, response status code and response headers
|
|
1487
|
-
def post_adjust_comment_votes_with_http_info(comment_id, adjust_comment_votes_params, opts = {})
|
|
1655
|
+
def post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts = {})
|
|
1488
1656
|
if @api_client.config.debugging
|
|
1489
1657
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_adjust_comment_votes ...'
|
|
1490
1658
|
end
|
|
1659
|
+
# verify the required parameter 'tenant_id' is set
|
|
1660
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1661
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_adjust_comment_votes"
|
|
1662
|
+
end
|
|
1491
1663
|
# verify the required parameter 'comment_id' is set
|
|
1492
1664
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
1493
1665
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_adjust_comment_votes"
|
|
@@ -1497,10 +1669,12 @@ module FastCommentsClient
|
|
|
1497
1669
|
fail ArgumentError, "Missing the required parameter 'adjust_comment_votes_params' when calling ModerationApi.post_adjust_comment_votes"
|
|
1498
1670
|
end
|
|
1499
1671
|
# resource path
|
|
1500
|
-
local_var_path = '/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}'.sub('{
|
|
1672
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
1501
1673
|
|
|
1502
1674
|
# query parameters
|
|
1503
1675
|
query_params = opts[:query_params] || {}
|
|
1676
|
+
query_params[:'tenantId'] = tenant_id
|
|
1677
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
1504
1678
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1505
1679
|
|
|
1506
1680
|
# header parameters
|
|
@@ -1542,6 +1716,7 @@ module FastCommentsClient
|
|
|
1542
1716
|
return data, status_code, headers
|
|
1543
1717
|
end
|
|
1544
1718
|
|
|
1719
|
+
# @param tenant_id [String]
|
|
1545
1720
|
# @param [Hash] opts the optional parameters
|
|
1546
1721
|
# @option opts [String] :text_search
|
|
1547
1722
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -1550,11 +1725,12 @@ module FastCommentsClient
|
|
|
1550
1725
|
# @option opts [String] :sorts
|
|
1551
1726
|
# @option opts [String] :sso
|
|
1552
1727
|
# @return [ModerationExportResponse]
|
|
1553
|
-
def post_api_export(opts = {})
|
|
1554
|
-
data, _status_code, _headers = post_api_export_with_http_info(opts)
|
|
1728
|
+
def post_api_export(tenant_id, opts = {})
|
|
1729
|
+
data, _status_code, _headers = post_api_export_with_http_info(tenant_id, opts)
|
|
1555
1730
|
data
|
|
1556
1731
|
end
|
|
1557
1732
|
|
|
1733
|
+
# @param tenant_id [String]
|
|
1558
1734
|
# @param [Hash] opts the optional parameters
|
|
1559
1735
|
# @option opts [String] :text_search
|
|
1560
1736
|
# @option opts [String] :by_ip_from_comment
|
|
@@ -1563,15 +1739,20 @@ module FastCommentsClient
|
|
|
1563
1739
|
# @option opts [String] :sorts
|
|
1564
1740
|
# @option opts [String] :sso
|
|
1565
1741
|
# @return [Array<(ModerationExportResponse, Integer, Hash)>] ModerationExportResponse data, response status code and response headers
|
|
1566
|
-
def post_api_export_with_http_info(opts = {})
|
|
1742
|
+
def post_api_export_with_http_info(tenant_id, opts = {})
|
|
1567
1743
|
if @api_client.config.debugging
|
|
1568
1744
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_api_export ...'
|
|
1569
1745
|
end
|
|
1746
|
+
# verify the required parameter 'tenant_id' is set
|
|
1747
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1748
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_api_export"
|
|
1749
|
+
end
|
|
1570
1750
|
# resource path
|
|
1571
|
-
local_var_path = '/auth/my-account/moderate-comments/api/export'
|
|
1751
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/api/export'
|
|
1572
1752
|
|
|
1573
1753
|
# query parameters
|
|
1574
1754
|
query_params = opts[:query_params] || {}
|
|
1755
|
+
query_params[:'tenantId'] = tenant_id
|
|
1575
1756
|
query_params[:'text-search'] = opts[:'text_search'] if !opts[:'text_search'].nil?
|
|
1576
1757
|
query_params[:'byIPFromComment'] = opts[:'by_ip_from_comment'] if !opts[:'by_ip_from_comment'].nil?
|
|
1577
1758
|
query_params[:'filters'] = opts[:'filters'] if !opts[:'filters'].nil?
|
|
@@ -1613,6 +1794,7 @@ module FastCommentsClient
|
|
|
1613
1794
|
return data, status_code, headers
|
|
1614
1795
|
end
|
|
1615
1796
|
|
|
1797
|
+
# @param tenant_id [String]
|
|
1616
1798
|
# @param comment_id [String]
|
|
1617
1799
|
# @param [Hash] opts the optional parameters
|
|
1618
1800
|
# @option opts [Boolean] :ban_email
|
|
@@ -1625,11 +1807,12 @@ module FastCommentsClient
|
|
|
1625
1807
|
# @option opts [String] :ban_reason
|
|
1626
1808
|
# @option opts [String] :sso
|
|
1627
1809
|
# @return [BanUserFromCommentResult]
|
|
1628
|
-
def post_ban_user_from_comment(comment_id, opts = {})
|
|
1629
|
-
data, _status_code, _headers = post_ban_user_from_comment_with_http_info(comment_id, opts)
|
|
1810
|
+
def post_ban_user_from_comment(tenant_id, comment_id, opts = {})
|
|
1811
|
+
data, _status_code, _headers = post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
1630
1812
|
data
|
|
1631
1813
|
end
|
|
1632
1814
|
|
|
1815
|
+
# @param tenant_id [String]
|
|
1633
1816
|
# @param comment_id [String]
|
|
1634
1817
|
# @param [Hash] opts the optional parameters
|
|
1635
1818
|
# @option opts [Boolean] :ban_email
|
|
@@ -1642,19 +1825,24 @@ module FastCommentsClient
|
|
|
1642
1825
|
# @option opts [String] :ban_reason
|
|
1643
1826
|
# @option opts [String] :sso
|
|
1644
1827
|
# @return [Array<(BanUserFromCommentResult, Integer, Hash)>] BanUserFromCommentResult data, response status code and response headers
|
|
1645
|
-
def post_ban_user_from_comment_with_http_info(comment_id, opts = {})
|
|
1828
|
+
def post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
1646
1829
|
if @api_client.config.debugging
|
|
1647
1830
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_ban_user_from_comment ...'
|
|
1648
1831
|
end
|
|
1832
|
+
# verify the required parameter 'tenant_id' is set
|
|
1833
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1834
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_ban_user_from_comment"
|
|
1835
|
+
end
|
|
1649
1836
|
# verify the required parameter 'comment_id' is set
|
|
1650
1837
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
1651
1838
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_ban_user_from_comment"
|
|
1652
1839
|
end
|
|
1653
1840
|
# resource path
|
|
1654
|
-
local_var_path = '/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}'.sub('{
|
|
1841
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
1655
1842
|
|
|
1656
1843
|
# query parameters
|
|
1657
1844
|
query_params = opts[:query_params] || {}
|
|
1845
|
+
query_params[:'tenantId'] = tenant_id
|
|
1658
1846
|
query_params[:'banEmail'] = opts[:'ban_email'] if !opts[:'ban_email'].nil?
|
|
1659
1847
|
query_params[:'banEmailDomain'] = opts[:'ban_email_domain'] if !opts[:'ban_email_domain'].nil?
|
|
1660
1848
|
query_params[:'banIP'] = opts[:'ban_ip'] if !opts[:'ban_ip'].nil?
|
|
@@ -1699,32 +1887,39 @@ module FastCommentsClient
|
|
|
1699
1887
|
return data, status_code, headers
|
|
1700
1888
|
end
|
|
1701
1889
|
|
|
1890
|
+
# @param tenant_id [String]
|
|
1702
1891
|
# @param ban_user_undo_params [BanUserUndoParams]
|
|
1703
1892
|
# @param [Hash] opts the optional parameters
|
|
1704
1893
|
# @option opts [String] :sso
|
|
1705
1894
|
# @return [APIEmptyResponse]
|
|
1706
|
-
def post_ban_user_undo(ban_user_undo_params, opts = {})
|
|
1707
|
-
data, _status_code, _headers = post_ban_user_undo_with_http_info(ban_user_undo_params, opts)
|
|
1895
|
+
def post_ban_user_undo(tenant_id, ban_user_undo_params, opts = {})
|
|
1896
|
+
data, _status_code, _headers = post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts)
|
|
1708
1897
|
data
|
|
1709
1898
|
end
|
|
1710
1899
|
|
|
1900
|
+
# @param tenant_id [String]
|
|
1711
1901
|
# @param ban_user_undo_params [BanUserUndoParams]
|
|
1712
1902
|
# @param [Hash] opts the optional parameters
|
|
1713
1903
|
# @option opts [String] :sso
|
|
1714
1904
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1715
|
-
def post_ban_user_undo_with_http_info(ban_user_undo_params, opts = {})
|
|
1905
|
+
def post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts = {})
|
|
1716
1906
|
if @api_client.config.debugging
|
|
1717
1907
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_ban_user_undo ...'
|
|
1718
1908
|
end
|
|
1909
|
+
# verify the required parameter 'tenant_id' is set
|
|
1910
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1911
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_ban_user_undo"
|
|
1912
|
+
end
|
|
1719
1913
|
# verify the required parameter 'ban_user_undo_params' is set
|
|
1720
1914
|
if @api_client.config.client_side_validation && ban_user_undo_params.nil?
|
|
1721
1915
|
fail ArgumentError, "Missing the required parameter 'ban_user_undo_params' when calling ModerationApi.post_ban_user_undo"
|
|
1722
1916
|
end
|
|
1723
1917
|
# resource path
|
|
1724
|
-
local_var_path = '/auth/my-account/moderate-comments/ban-user/undo'
|
|
1918
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/ban-user/undo'
|
|
1725
1919
|
|
|
1726
1920
|
# query parameters
|
|
1727
1921
|
query_params = opts[:query_params] || {}
|
|
1922
|
+
query_params[:'tenantId'] = tenant_id
|
|
1728
1923
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1729
1924
|
|
|
1730
1925
|
# header parameters
|
|
@@ -1766,6 +1961,7 @@ module FastCommentsClient
|
|
|
1766
1961
|
return data, status_code, headers
|
|
1767
1962
|
end
|
|
1768
1963
|
|
|
1964
|
+
# @param tenant_id [String]
|
|
1769
1965
|
# @param bulk_pre_ban_params [BulkPreBanParams]
|
|
1770
1966
|
# @param [Hash] opts the optional parameters
|
|
1771
1967
|
# @option opts [Boolean] :include_by_user_id_and_email
|
|
@@ -1773,11 +1969,12 @@ module FastCommentsClient
|
|
|
1773
1969
|
# @option opts [Boolean] :include_by_email_domain
|
|
1774
1970
|
# @option opts [String] :sso
|
|
1775
1971
|
# @return [BulkPreBanSummary]
|
|
1776
|
-
def post_bulk_pre_ban_summary(bulk_pre_ban_params, opts = {})
|
|
1777
|
-
data, _status_code, _headers = post_bulk_pre_ban_summary_with_http_info(bulk_pre_ban_params, opts)
|
|
1972
|
+
def post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, opts = {})
|
|
1973
|
+
data, _status_code, _headers = post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts)
|
|
1778
1974
|
data
|
|
1779
1975
|
end
|
|
1780
1976
|
|
|
1977
|
+
# @param tenant_id [String]
|
|
1781
1978
|
# @param bulk_pre_ban_params [BulkPreBanParams]
|
|
1782
1979
|
# @param [Hash] opts the optional parameters
|
|
1783
1980
|
# @option opts [Boolean] :include_by_user_id_and_email
|
|
@@ -1785,19 +1982,24 @@ module FastCommentsClient
|
|
|
1785
1982
|
# @option opts [Boolean] :include_by_email_domain
|
|
1786
1983
|
# @option opts [String] :sso
|
|
1787
1984
|
# @return [Array<(BulkPreBanSummary, Integer, Hash)>] BulkPreBanSummary data, response status code and response headers
|
|
1788
|
-
def post_bulk_pre_ban_summary_with_http_info(bulk_pre_ban_params, opts = {})
|
|
1985
|
+
def post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts = {})
|
|
1789
1986
|
if @api_client.config.debugging
|
|
1790
1987
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_bulk_pre_ban_summary ...'
|
|
1791
1988
|
end
|
|
1989
|
+
# verify the required parameter 'tenant_id' is set
|
|
1990
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1991
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_bulk_pre_ban_summary"
|
|
1992
|
+
end
|
|
1792
1993
|
# verify the required parameter 'bulk_pre_ban_params' is set
|
|
1793
1994
|
if @api_client.config.client_side_validation && bulk_pre_ban_params.nil?
|
|
1794
1995
|
fail ArgumentError, "Missing the required parameter 'bulk_pre_ban_params' when calling ModerationApi.post_bulk_pre_ban_summary"
|
|
1795
1996
|
end
|
|
1796
1997
|
# resource path
|
|
1797
|
-
local_var_path = '/auth/my-account/moderate-comments/bulk-pre-ban-summary'
|
|
1998
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary'
|
|
1798
1999
|
|
|
1799
2000
|
# query parameters
|
|
1800
2001
|
query_params = opts[:query_params] || {}
|
|
2002
|
+
query_params[:'tenantId'] = tenant_id
|
|
1801
2003
|
query_params[:'includeByUserIdAndEmail'] = opts[:'include_by_user_id_and_email'] if !opts[:'include_by_user_id_and_email'].nil?
|
|
1802
2004
|
query_params[:'includeByIP'] = opts[:'include_by_ip'] if !opts[:'include_by_ip'].nil?
|
|
1803
2005
|
query_params[:'includeByEmailDomain'] = opts[:'include_by_email_domain'] if !opts[:'include_by_email_domain'].nil?
|
|
@@ -1842,32 +2044,39 @@ module FastCommentsClient
|
|
|
1842
2044
|
return data, status_code, headers
|
|
1843
2045
|
end
|
|
1844
2046
|
|
|
2047
|
+
# @param tenant_id [String]
|
|
1845
2048
|
# @param comments_by_ids_params [CommentsByIdsParams]
|
|
1846
2049
|
# @param [Hash] opts the optional parameters
|
|
1847
2050
|
# @option opts [String] :sso
|
|
1848
2051
|
# @return [ModerationAPIChildCommentsResponse]
|
|
1849
|
-
def post_comments_by_ids(comments_by_ids_params, opts = {})
|
|
1850
|
-
data, _status_code, _headers = post_comments_by_ids_with_http_info(comments_by_ids_params, opts)
|
|
2052
|
+
def post_comments_by_ids(tenant_id, comments_by_ids_params, opts = {})
|
|
2053
|
+
data, _status_code, _headers = post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts)
|
|
1851
2054
|
data
|
|
1852
2055
|
end
|
|
1853
2056
|
|
|
2057
|
+
# @param tenant_id [String]
|
|
1854
2058
|
# @param comments_by_ids_params [CommentsByIdsParams]
|
|
1855
2059
|
# @param [Hash] opts the optional parameters
|
|
1856
2060
|
# @option opts [String] :sso
|
|
1857
2061
|
# @return [Array<(ModerationAPIChildCommentsResponse, Integer, Hash)>] ModerationAPIChildCommentsResponse data, response status code and response headers
|
|
1858
|
-
def post_comments_by_ids_with_http_info(comments_by_ids_params, opts = {})
|
|
2062
|
+
def post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts = {})
|
|
1859
2063
|
if @api_client.config.debugging
|
|
1860
2064
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_comments_by_ids ...'
|
|
1861
2065
|
end
|
|
2066
|
+
# verify the required parameter 'tenant_id' is set
|
|
2067
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2068
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_comments_by_ids"
|
|
2069
|
+
end
|
|
1862
2070
|
# verify the required parameter 'comments_by_ids_params' is set
|
|
1863
2071
|
if @api_client.config.client_side_validation && comments_by_ids_params.nil?
|
|
1864
2072
|
fail ArgumentError, "Missing the required parameter 'comments_by_ids_params' when calling ModerationApi.post_comments_by_ids"
|
|
1865
2073
|
end
|
|
1866
2074
|
# resource path
|
|
1867
|
-
local_var_path = '/auth/my-account/moderate-comments/comments-by-ids'
|
|
2075
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/comments-by-ids'
|
|
1868
2076
|
|
|
1869
2077
|
# query parameters
|
|
1870
2078
|
query_params = opts[:query_params] || {}
|
|
2079
|
+
query_params[:'tenantId'] = tenant_id
|
|
1871
2080
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1872
2081
|
|
|
1873
2082
|
# header parameters
|
|
@@ -1909,32 +2118,42 @@ module FastCommentsClient
|
|
|
1909
2118
|
return data, status_code, headers
|
|
1910
2119
|
end
|
|
1911
2120
|
|
|
2121
|
+
# @param tenant_id [String]
|
|
1912
2122
|
# @param comment_id [String]
|
|
1913
2123
|
# @param [Hash] opts the optional parameters
|
|
2124
|
+
# @option opts [String] :broadcast_id
|
|
1914
2125
|
# @option opts [String] :sso
|
|
1915
2126
|
# @return [APIEmptyResponse]
|
|
1916
|
-
def post_flag_comment(comment_id, opts = {})
|
|
1917
|
-
data, _status_code, _headers = post_flag_comment_with_http_info(comment_id, opts)
|
|
2127
|
+
def post_flag_comment(tenant_id, comment_id, opts = {})
|
|
2128
|
+
data, _status_code, _headers = post_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
1918
2129
|
data
|
|
1919
2130
|
end
|
|
1920
2131
|
|
|
2132
|
+
# @param tenant_id [String]
|
|
1921
2133
|
# @param comment_id [String]
|
|
1922
2134
|
# @param [Hash] opts the optional parameters
|
|
2135
|
+
# @option opts [String] :broadcast_id
|
|
1923
2136
|
# @option opts [String] :sso
|
|
1924
2137
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1925
|
-
def post_flag_comment_with_http_info(comment_id, opts = {})
|
|
2138
|
+
def post_flag_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
1926
2139
|
if @api_client.config.debugging
|
|
1927
2140
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_flag_comment ...'
|
|
1928
2141
|
end
|
|
2142
|
+
# verify the required parameter 'tenant_id' is set
|
|
2143
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2144
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_flag_comment"
|
|
2145
|
+
end
|
|
1929
2146
|
# verify the required parameter 'comment_id' is set
|
|
1930
2147
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
1931
2148
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_flag_comment"
|
|
1932
2149
|
end
|
|
1933
2150
|
# resource path
|
|
1934
|
-
local_var_path = '/auth/my-account/moderate-comments/flag-comment/{commentId}'.sub('{
|
|
2151
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
1935
2152
|
|
|
1936
2153
|
# query parameters
|
|
1937
2154
|
query_params = opts[:query_params] || {}
|
|
2155
|
+
query_params[:'tenantId'] = tenant_id
|
|
2156
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
1938
2157
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1939
2158
|
|
|
1940
2159
|
# header parameters
|
|
@@ -1971,32 +2190,42 @@ module FastCommentsClient
|
|
|
1971
2190
|
return data, status_code, headers
|
|
1972
2191
|
end
|
|
1973
2192
|
|
|
2193
|
+
# @param tenant_id [String]
|
|
1974
2194
|
# @param comment_id [String]
|
|
1975
2195
|
# @param [Hash] opts the optional parameters
|
|
2196
|
+
# @option opts [String] :broadcast_id
|
|
1976
2197
|
# @option opts [String] :sso
|
|
1977
|
-
# @return [
|
|
1978
|
-
def post_remove_comment(comment_id, opts = {})
|
|
1979
|
-
data, _status_code, _headers = post_remove_comment_with_http_info(comment_id, opts)
|
|
2198
|
+
# @return [PostRemoveCommentApiResponse]
|
|
2199
|
+
def post_remove_comment(tenant_id, comment_id, opts = {})
|
|
2200
|
+
data, _status_code, _headers = post_remove_comment_with_http_info(tenant_id, comment_id, opts)
|
|
1980
2201
|
data
|
|
1981
2202
|
end
|
|
1982
2203
|
|
|
2204
|
+
# @param tenant_id [String]
|
|
1983
2205
|
# @param comment_id [String]
|
|
1984
2206
|
# @param [Hash] opts the optional parameters
|
|
2207
|
+
# @option opts [String] :broadcast_id
|
|
1985
2208
|
# @option opts [String] :sso
|
|
1986
|
-
# @return [Array<(
|
|
1987
|
-
def post_remove_comment_with_http_info(comment_id, opts = {})
|
|
2209
|
+
# @return [Array<(PostRemoveCommentApiResponse, Integer, Hash)>] PostRemoveCommentApiResponse data, response status code and response headers
|
|
2210
|
+
def post_remove_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
1988
2211
|
if @api_client.config.debugging
|
|
1989
2212
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_remove_comment ...'
|
|
1990
2213
|
end
|
|
2214
|
+
# verify the required parameter 'tenant_id' is set
|
|
2215
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2216
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_remove_comment"
|
|
2217
|
+
end
|
|
1991
2218
|
# verify the required parameter 'comment_id' is set
|
|
1992
2219
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
1993
2220
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_remove_comment"
|
|
1994
2221
|
end
|
|
1995
2222
|
# resource path
|
|
1996
|
-
local_var_path = '/auth/my-account/moderate-comments/remove-comment/{commentId}'.sub('{
|
|
2223
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
1997
2224
|
|
|
1998
2225
|
# query parameters
|
|
1999
2226
|
query_params = opts[:query_params] || {}
|
|
2227
|
+
query_params[:'tenantId'] = tenant_id
|
|
2228
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2000
2229
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2001
2230
|
|
|
2002
2231
|
# header parameters
|
|
@@ -2011,7 +2240,7 @@ module FastCommentsClient
|
|
|
2011
2240
|
post_body = opts[:debug_body]
|
|
2012
2241
|
|
|
2013
2242
|
# return_type
|
|
2014
|
-
return_type = opts[:debug_return_type] || '
|
|
2243
|
+
return_type = opts[:debug_return_type] || 'PostRemoveCommentApiResponse'
|
|
2015
2244
|
|
|
2016
2245
|
# auth_names
|
|
2017
2246
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2033,32 +2262,42 @@ module FastCommentsClient
|
|
|
2033
2262
|
return data, status_code, headers
|
|
2034
2263
|
end
|
|
2035
2264
|
|
|
2265
|
+
# @param tenant_id [String]
|
|
2036
2266
|
# @param comment_id [String]
|
|
2037
2267
|
# @param [Hash] opts the optional parameters
|
|
2268
|
+
# @option opts [String] :broadcast_id
|
|
2038
2269
|
# @option opts [String] :sso
|
|
2039
2270
|
# @return [APIEmptyResponse]
|
|
2040
|
-
def post_restore_deleted_comment(comment_id, opts = {})
|
|
2041
|
-
data, _status_code, _headers = post_restore_deleted_comment_with_http_info(comment_id, opts)
|
|
2271
|
+
def post_restore_deleted_comment(tenant_id, comment_id, opts = {})
|
|
2272
|
+
data, _status_code, _headers = post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2042
2273
|
data
|
|
2043
2274
|
end
|
|
2044
2275
|
|
|
2276
|
+
# @param tenant_id [String]
|
|
2045
2277
|
# @param comment_id [String]
|
|
2046
2278
|
# @param [Hash] opts the optional parameters
|
|
2279
|
+
# @option opts [String] :broadcast_id
|
|
2047
2280
|
# @option opts [String] :sso
|
|
2048
2281
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2049
|
-
def post_restore_deleted_comment_with_http_info(comment_id, opts = {})
|
|
2282
|
+
def post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
2050
2283
|
if @api_client.config.debugging
|
|
2051
2284
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_restore_deleted_comment ...'
|
|
2052
2285
|
end
|
|
2286
|
+
# verify the required parameter 'tenant_id' is set
|
|
2287
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2288
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_restore_deleted_comment"
|
|
2289
|
+
end
|
|
2053
2290
|
# verify the required parameter 'comment_id' is set
|
|
2054
2291
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2055
2292
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_restore_deleted_comment"
|
|
2056
2293
|
end
|
|
2057
2294
|
# resource path
|
|
2058
|
-
local_var_path = '/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}'.sub('{
|
|
2295
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2059
2296
|
|
|
2060
2297
|
# query parameters
|
|
2061
2298
|
query_params = opts[:query_params] || {}
|
|
2299
|
+
query_params[:'tenantId'] = tenant_id
|
|
2300
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2062
2301
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2063
2302
|
|
|
2064
2303
|
# header parameters
|
|
@@ -2095,35 +2334,45 @@ module FastCommentsClient
|
|
|
2095
2334
|
return data, status_code, headers
|
|
2096
2335
|
end
|
|
2097
2336
|
|
|
2337
|
+
# @param tenant_id [String]
|
|
2098
2338
|
# @param comment_id [String]
|
|
2099
2339
|
# @param [Hash] opts the optional parameters
|
|
2100
2340
|
# @option opts [Boolean] :approved
|
|
2341
|
+
# @option opts [String] :broadcast_id
|
|
2101
2342
|
# @option opts [String] :sso
|
|
2102
2343
|
# @return [SetCommentApprovedResponse]
|
|
2103
|
-
def post_set_comment_approval_status(comment_id, opts = {})
|
|
2104
|
-
data, _status_code, _headers = post_set_comment_approval_status_with_http_info(comment_id, opts)
|
|
2344
|
+
def post_set_comment_approval_status(tenant_id, comment_id, opts = {})
|
|
2345
|
+
data, _status_code, _headers = post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts)
|
|
2105
2346
|
data
|
|
2106
2347
|
end
|
|
2107
2348
|
|
|
2349
|
+
# @param tenant_id [String]
|
|
2108
2350
|
# @param comment_id [String]
|
|
2109
2351
|
# @param [Hash] opts the optional parameters
|
|
2110
2352
|
# @option opts [Boolean] :approved
|
|
2353
|
+
# @option opts [String] :broadcast_id
|
|
2111
2354
|
# @option opts [String] :sso
|
|
2112
2355
|
# @return [Array<(SetCommentApprovedResponse, Integer, Hash)>] SetCommentApprovedResponse data, response status code and response headers
|
|
2113
|
-
def post_set_comment_approval_status_with_http_info(comment_id, opts = {})
|
|
2356
|
+
def post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts = {})
|
|
2114
2357
|
if @api_client.config.debugging
|
|
2115
2358
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_set_comment_approval_status ...'
|
|
2116
2359
|
end
|
|
2360
|
+
# verify the required parameter 'tenant_id' is set
|
|
2361
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2362
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_set_comment_approval_status"
|
|
2363
|
+
end
|
|
2117
2364
|
# verify the required parameter 'comment_id' is set
|
|
2118
2365
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2119
2366
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_set_comment_approval_status"
|
|
2120
2367
|
end
|
|
2121
2368
|
# resource path
|
|
2122
|
-
local_var_path = '/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}'.sub('{
|
|
2369
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2123
2370
|
|
|
2124
2371
|
# query parameters
|
|
2125
2372
|
query_params = opts[:query_params] || {}
|
|
2373
|
+
query_params[:'tenantId'] = tenant_id
|
|
2126
2374
|
query_params[:'approved'] = opts[:'approved'] if !opts[:'approved'].nil?
|
|
2375
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2127
2376
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2128
2377
|
|
|
2129
2378
|
# header parameters
|
|
@@ -2160,35 +2409,45 @@ module FastCommentsClient
|
|
|
2160
2409
|
return data, status_code, headers
|
|
2161
2410
|
end
|
|
2162
2411
|
|
|
2412
|
+
# @param tenant_id [String]
|
|
2163
2413
|
# @param comment_id [String]
|
|
2164
2414
|
# @param [Hash] opts the optional parameters
|
|
2165
2415
|
# @option opts [Boolean] :reviewed
|
|
2416
|
+
# @option opts [String] :broadcast_id
|
|
2166
2417
|
# @option opts [String] :sso
|
|
2167
2418
|
# @return [APIEmptyResponse]
|
|
2168
|
-
def post_set_comment_review_status(comment_id, opts = {})
|
|
2169
|
-
data, _status_code, _headers = post_set_comment_review_status_with_http_info(comment_id, opts)
|
|
2419
|
+
def post_set_comment_review_status(tenant_id, comment_id, opts = {})
|
|
2420
|
+
data, _status_code, _headers = post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts)
|
|
2170
2421
|
data
|
|
2171
2422
|
end
|
|
2172
2423
|
|
|
2424
|
+
# @param tenant_id [String]
|
|
2173
2425
|
# @param comment_id [String]
|
|
2174
2426
|
# @param [Hash] opts the optional parameters
|
|
2175
2427
|
# @option opts [Boolean] :reviewed
|
|
2428
|
+
# @option opts [String] :broadcast_id
|
|
2176
2429
|
# @option opts [String] :sso
|
|
2177
2430
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2178
|
-
def post_set_comment_review_status_with_http_info(comment_id, opts = {})
|
|
2431
|
+
def post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts = {})
|
|
2179
2432
|
if @api_client.config.debugging
|
|
2180
2433
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_set_comment_review_status ...'
|
|
2181
2434
|
end
|
|
2435
|
+
# verify the required parameter 'tenant_id' is set
|
|
2436
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2437
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_set_comment_review_status"
|
|
2438
|
+
end
|
|
2182
2439
|
# verify the required parameter 'comment_id' is set
|
|
2183
2440
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2184
2441
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_set_comment_review_status"
|
|
2185
2442
|
end
|
|
2186
2443
|
# resource path
|
|
2187
|
-
local_var_path = '/auth/my-account/moderate-comments/set-comment-review-status/{commentId}'.sub('{
|
|
2444
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2188
2445
|
|
|
2189
2446
|
# query parameters
|
|
2190
2447
|
query_params = opts[:query_params] || {}
|
|
2448
|
+
query_params[:'tenantId'] = tenant_id
|
|
2191
2449
|
query_params[:'reviewed'] = opts[:'reviewed'] if !opts[:'reviewed'].nil?
|
|
2450
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2192
2451
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2193
2452
|
|
|
2194
2453
|
# header parameters
|
|
@@ -2225,38 +2484,48 @@ module FastCommentsClient
|
|
|
2225
2484
|
return data, status_code, headers
|
|
2226
2485
|
end
|
|
2227
2486
|
|
|
2487
|
+
# @param tenant_id [String]
|
|
2228
2488
|
# @param comment_id [String]
|
|
2229
2489
|
# @param [Hash] opts the optional parameters
|
|
2230
2490
|
# @option opts [Boolean] :spam
|
|
2231
2491
|
# @option opts [Boolean] :perm_not_spam
|
|
2492
|
+
# @option opts [String] :broadcast_id
|
|
2232
2493
|
# @option opts [String] :sso
|
|
2233
2494
|
# @return [APIEmptyResponse]
|
|
2234
|
-
def post_set_comment_spam_status(comment_id, opts = {})
|
|
2235
|
-
data, _status_code, _headers = post_set_comment_spam_status_with_http_info(comment_id, opts)
|
|
2495
|
+
def post_set_comment_spam_status(tenant_id, comment_id, opts = {})
|
|
2496
|
+
data, _status_code, _headers = post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts)
|
|
2236
2497
|
data
|
|
2237
2498
|
end
|
|
2238
2499
|
|
|
2500
|
+
# @param tenant_id [String]
|
|
2239
2501
|
# @param comment_id [String]
|
|
2240
2502
|
# @param [Hash] opts the optional parameters
|
|
2241
2503
|
# @option opts [Boolean] :spam
|
|
2242
2504
|
# @option opts [Boolean] :perm_not_spam
|
|
2505
|
+
# @option opts [String] :broadcast_id
|
|
2243
2506
|
# @option opts [String] :sso
|
|
2244
2507
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2245
|
-
def post_set_comment_spam_status_with_http_info(comment_id, opts = {})
|
|
2508
|
+
def post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts = {})
|
|
2246
2509
|
if @api_client.config.debugging
|
|
2247
2510
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_set_comment_spam_status ...'
|
|
2248
2511
|
end
|
|
2512
|
+
# verify the required parameter 'tenant_id' is set
|
|
2513
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2514
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_set_comment_spam_status"
|
|
2515
|
+
end
|
|
2249
2516
|
# verify the required parameter 'comment_id' is set
|
|
2250
2517
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2251
2518
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_set_comment_spam_status"
|
|
2252
2519
|
end
|
|
2253
2520
|
# resource path
|
|
2254
|
-
local_var_path = '/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}'.sub('{
|
|
2521
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2255
2522
|
|
|
2256
2523
|
# query parameters
|
|
2257
2524
|
query_params = opts[:query_params] || {}
|
|
2525
|
+
query_params[:'tenantId'] = tenant_id
|
|
2258
2526
|
query_params[:'spam'] = opts[:'spam'] if !opts[:'spam'].nil?
|
|
2259
2527
|
query_params[:'permNotSpam'] = opts[:'perm_not_spam'] if !opts[:'perm_not_spam'].nil?
|
|
2528
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2260
2529
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2261
2530
|
|
|
2262
2531
|
# header parameters
|
|
@@ -2293,25 +2562,33 @@ module FastCommentsClient
|
|
|
2293
2562
|
return data, status_code, headers
|
|
2294
2563
|
end
|
|
2295
2564
|
|
|
2565
|
+
# @param tenant_id [String]
|
|
2296
2566
|
# @param comment_id [String]
|
|
2297
2567
|
# @param set_comment_text_params [SetCommentTextParams]
|
|
2298
2568
|
# @param [Hash] opts the optional parameters
|
|
2569
|
+
# @option opts [String] :broadcast_id
|
|
2299
2570
|
# @option opts [String] :sso
|
|
2300
2571
|
# @return [SetCommentTextResponse]
|
|
2301
|
-
def post_set_comment_text(comment_id, set_comment_text_params, opts = {})
|
|
2302
|
-
data, _status_code, _headers = post_set_comment_text_with_http_info(comment_id, set_comment_text_params, opts)
|
|
2572
|
+
def post_set_comment_text(tenant_id, comment_id, set_comment_text_params, opts = {})
|
|
2573
|
+
data, _status_code, _headers = post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts)
|
|
2303
2574
|
data
|
|
2304
2575
|
end
|
|
2305
2576
|
|
|
2577
|
+
# @param tenant_id [String]
|
|
2306
2578
|
# @param comment_id [String]
|
|
2307
2579
|
# @param set_comment_text_params [SetCommentTextParams]
|
|
2308
2580
|
# @param [Hash] opts the optional parameters
|
|
2581
|
+
# @option opts [String] :broadcast_id
|
|
2309
2582
|
# @option opts [String] :sso
|
|
2310
2583
|
# @return [Array<(SetCommentTextResponse, Integer, Hash)>] SetCommentTextResponse data, response status code and response headers
|
|
2311
|
-
def post_set_comment_text_with_http_info(comment_id, set_comment_text_params, opts = {})
|
|
2584
|
+
def post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts = {})
|
|
2312
2585
|
if @api_client.config.debugging
|
|
2313
2586
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_set_comment_text ...'
|
|
2314
2587
|
end
|
|
2588
|
+
# verify the required parameter 'tenant_id' is set
|
|
2589
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2590
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_set_comment_text"
|
|
2591
|
+
end
|
|
2315
2592
|
# verify the required parameter 'comment_id' is set
|
|
2316
2593
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2317
2594
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_set_comment_text"
|
|
@@ -2321,10 +2598,12 @@ module FastCommentsClient
|
|
|
2321
2598
|
fail ArgumentError, "Missing the required parameter 'set_comment_text_params' when calling ModerationApi.post_set_comment_text"
|
|
2322
2599
|
end
|
|
2323
2600
|
# resource path
|
|
2324
|
-
local_var_path = '/auth/my-account/moderate-comments/set-comment-text/{commentId}'.sub('{
|
|
2601
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2325
2602
|
|
|
2326
2603
|
# query parameters
|
|
2327
2604
|
query_params = opts[:query_params] || {}
|
|
2605
|
+
query_params[:'tenantId'] = tenant_id
|
|
2606
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2328
2607
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2329
2608
|
|
|
2330
2609
|
# header parameters
|
|
@@ -2366,32 +2645,42 @@ module FastCommentsClient
|
|
|
2366
2645
|
return data, status_code, headers
|
|
2367
2646
|
end
|
|
2368
2647
|
|
|
2648
|
+
# @param tenant_id [String]
|
|
2369
2649
|
# @param comment_id [String]
|
|
2370
2650
|
# @param [Hash] opts the optional parameters
|
|
2651
|
+
# @option opts [String] :broadcast_id
|
|
2371
2652
|
# @option opts [String] :sso
|
|
2372
2653
|
# @return [APIEmptyResponse]
|
|
2373
|
-
def post_un_flag_comment(comment_id, opts = {})
|
|
2374
|
-
data, _status_code, _headers = post_un_flag_comment_with_http_info(comment_id, opts)
|
|
2654
|
+
def post_un_flag_comment(tenant_id, comment_id, opts = {})
|
|
2655
|
+
data, _status_code, _headers = post_un_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2375
2656
|
data
|
|
2376
2657
|
end
|
|
2377
2658
|
|
|
2659
|
+
# @param tenant_id [String]
|
|
2378
2660
|
# @param comment_id [String]
|
|
2379
2661
|
# @param [Hash] opts the optional parameters
|
|
2662
|
+
# @option opts [String] :broadcast_id
|
|
2380
2663
|
# @option opts [String] :sso
|
|
2381
2664
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2382
|
-
def post_un_flag_comment_with_http_info(comment_id, opts = {})
|
|
2665
|
+
def post_un_flag_comment_with_http_info(tenant_id, comment_id, opts = {})
|
|
2383
2666
|
if @api_client.config.debugging
|
|
2384
2667
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_un_flag_comment ...'
|
|
2385
2668
|
end
|
|
2669
|
+
# verify the required parameter 'tenant_id' is set
|
|
2670
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2671
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_un_flag_comment"
|
|
2672
|
+
end
|
|
2386
2673
|
# verify the required parameter 'comment_id' is set
|
|
2387
2674
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2388
2675
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_un_flag_comment"
|
|
2389
2676
|
end
|
|
2390
2677
|
# resource path
|
|
2391
|
-
local_var_path = '/auth/my-account/moderate-comments/un-flag-comment/{commentId}'.sub('{
|
|
2678
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2392
2679
|
|
|
2393
2680
|
# query parameters
|
|
2394
2681
|
query_params = opts[:query_params] || {}
|
|
2682
|
+
query_params[:'tenantId'] = tenant_id
|
|
2683
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2395
2684
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2396
2685
|
|
|
2397
2686
|
# header parameters
|
|
@@ -2428,35 +2717,45 @@ module FastCommentsClient
|
|
|
2428
2717
|
return data, status_code, headers
|
|
2429
2718
|
end
|
|
2430
2719
|
|
|
2720
|
+
# @param tenant_id [String]
|
|
2431
2721
|
# @param comment_id [String]
|
|
2432
2722
|
# @param [Hash] opts the optional parameters
|
|
2433
2723
|
# @option opts [String] :direction
|
|
2724
|
+
# @option opts [String] :broadcast_id
|
|
2434
2725
|
# @option opts [String] :sso
|
|
2435
2726
|
# @return [VoteResponse]
|
|
2436
|
-
def post_vote(comment_id, opts = {})
|
|
2437
|
-
data, _status_code, _headers = post_vote_with_http_info(comment_id, opts)
|
|
2727
|
+
def post_vote(tenant_id, comment_id, opts = {})
|
|
2728
|
+
data, _status_code, _headers = post_vote_with_http_info(tenant_id, comment_id, opts)
|
|
2438
2729
|
data
|
|
2439
2730
|
end
|
|
2440
2731
|
|
|
2732
|
+
# @param tenant_id [String]
|
|
2441
2733
|
# @param comment_id [String]
|
|
2442
2734
|
# @param [Hash] opts the optional parameters
|
|
2443
2735
|
# @option opts [String] :direction
|
|
2736
|
+
# @option opts [String] :broadcast_id
|
|
2444
2737
|
# @option opts [String] :sso
|
|
2445
2738
|
# @return [Array<(VoteResponse, Integer, Hash)>] VoteResponse data, response status code and response headers
|
|
2446
|
-
def post_vote_with_http_info(comment_id, opts = {})
|
|
2739
|
+
def post_vote_with_http_info(tenant_id, comment_id, opts = {})
|
|
2447
2740
|
if @api_client.config.debugging
|
|
2448
2741
|
@api_client.config.logger.debug 'Calling API: ModerationApi.post_vote ...'
|
|
2449
2742
|
end
|
|
2743
|
+
# verify the required parameter 'tenant_id' is set
|
|
2744
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2745
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.post_vote"
|
|
2746
|
+
end
|
|
2450
2747
|
# verify the required parameter 'comment_id' is set
|
|
2451
2748
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
2452
2749
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling ModerationApi.post_vote"
|
|
2453
2750
|
end
|
|
2454
2751
|
# resource path
|
|
2455
|
-
local_var_path = '/auth/my-account/moderate-comments/vote/{commentId}'.sub('{
|
|
2752
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/vote/{commentId}'.sub('{commentId}', CGI.escape(comment_id.to_s))
|
|
2456
2753
|
|
|
2457
2754
|
# query parameters
|
|
2458
2755
|
query_params = opts[:query_params] || {}
|
|
2756
|
+
query_params[:'tenantId'] = tenant_id
|
|
2459
2757
|
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
|
2758
|
+
query_params[:'broadcastId'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
|
2460
2759
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2461
2760
|
|
|
2462
2761
|
# header parameters
|
|
@@ -2493,6 +2792,7 @@ module FastCommentsClient
|
|
|
2493
2792
|
return data, status_code, headers
|
|
2494
2793
|
end
|
|
2495
2794
|
|
|
2795
|
+
# @param tenant_id [String]
|
|
2496
2796
|
# @param badge_id [String]
|
|
2497
2797
|
# @param [Hash] opts the optional parameters
|
|
2498
2798
|
# @option opts [String] :user_id
|
|
@@ -2500,11 +2800,12 @@ module FastCommentsClient
|
|
|
2500
2800
|
# @option opts [String] :broadcast_id
|
|
2501
2801
|
# @option opts [String] :sso
|
|
2502
2802
|
# @return [AwardUserBadgeResponse]
|
|
2503
|
-
def put_award_badge(badge_id, opts = {})
|
|
2504
|
-
data, _status_code, _headers = put_award_badge_with_http_info(badge_id, opts)
|
|
2803
|
+
def put_award_badge(tenant_id, badge_id, opts = {})
|
|
2804
|
+
data, _status_code, _headers = put_award_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2505
2805
|
data
|
|
2506
2806
|
end
|
|
2507
2807
|
|
|
2808
|
+
# @param tenant_id [String]
|
|
2508
2809
|
# @param badge_id [String]
|
|
2509
2810
|
# @param [Hash] opts the optional parameters
|
|
2510
2811
|
# @option opts [String] :user_id
|
|
@@ -2512,19 +2813,24 @@ module FastCommentsClient
|
|
|
2512
2813
|
# @option opts [String] :broadcast_id
|
|
2513
2814
|
# @option opts [String] :sso
|
|
2514
2815
|
# @return [Array<(AwardUserBadgeResponse, Integer, Hash)>] AwardUserBadgeResponse data, response status code and response headers
|
|
2515
|
-
def put_award_badge_with_http_info(badge_id, opts = {})
|
|
2816
|
+
def put_award_badge_with_http_info(tenant_id, badge_id, opts = {})
|
|
2516
2817
|
if @api_client.config.debugging
|
|
2517
2818
|
@api_client.config.logger.debug 'Calling API: ModerationApi.put_award_badge ...'
|
|
2518
2819
|
end
|
|
2820
|
+
# verify the required parameter 'tenant_id' is set
|
|
2821
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2822
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.put_award_badge"
|
|
2823
|
+
end
|
|
2519
2824
|
# verify the required parameter 'badge_id' is set
|
|
2520
2825
|
if @api_client.config.client_side_validation && badge_id.nil?
|
|
2521
2826
|
fail ArgumentError, "Missing the required parameter 'badge_id' when calling ModerationApi.put_award_badge"
|
|
2522
2827
|
end
|
|
2523
2828
|
# resource path
|
|
2524
|
-
local_var_path = '/auth/my-account/moderate-comments/award-badge'
|
|
2829
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/award-badge'
|
|
2525
2830
|
|
|
2526
2831
|
# query parameters
|
|
2527
2832
|
query_params = opts[:query_params] || {}
|
|
2833
|
+
query_params[:'tenantId'] = tenant_id
|
|
2528
2834
|
query_params[:'badgeId'] = badge_id
|
|
2529
2835
|
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
2530
2836
|
query_params[:'commentId'] = opts[:'comment_id'] if !opts[:'comment_id'].nil?
|
|
@@ -2565,32 +2871,39 @@ module FastCommentsClient
|
|
|
2565
2871
|
return data, status_code, headers
|
|
2566
2872
|
end
|
|
2567
2873
|
|
|
2874
|
+
# @param tenant_id [String]
|
|
2568
2875
|
# @param url_id [String]
|
|
2569
2876
|
# @param [Hash] opts the optional parameters
|
|
2570
2877
|
# @option opts [String] :sso
|
|
2571
2878
|
# @return [APIEmptyResponse]
|
|
2572
|
-
def put_close_thread(url_id, opts = {})
|
|
2573
|
-
data, _status_code, _headers = put_close_thread_with_http_info(url_id, opts)
|
|
2879
|
+
def put_close_thread(tenant_id, url_id, opts = {})
|
|
2880
|
+
data, _status_code, _headers = put_close_thread_with_http_info(tenant_id, url_id, opts)
|
|
2574
2881
|
data
|
|
2575
2882
|
end
|
|
2576
2883
|
|
|
2884
|
+
# @param tenant_id [String]
|
|
2577
2885
|
# @param url_id [String]
|
|
2578
2886
|
# @param [Hash] opts the optional parameters
|
|
2579
2887
|
# @option opts [String] :sso
|
|
2580
2888
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2581
|
-
def put_close_thread_with_http_info(url_id, opts = {})
|
|
2889
|
+
def put_close_thread_with_http_info(tenant_id, url_id, opts = {})
|
|
2582
2890
|
if @api_client.config.debugging
|
|
2583
2891
|
@api_client.config.logger.debug 'Calling API: ModerationApi.put_close_thread ...'
|
|
2584
2892
|
end
|
|
2893
|
+
# verify the required parameter 'tenant_id' is set
|
|
2894
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2895
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.put_close_thread"
|
|
2896
|
+
end
|
|
2585
2897
|
# verify the required parameter 'url_id' is set
|
|
2586
2898
|
if @api_client.config.client_side_validation && url_id.nil?
|
|
2587
2899
|
fail ArgumentError, "Missing the required parameter 'url_id' when calling ModerationApi.put_close_thread"
|
|
2588
2900
|
end
|
|
2589
2901
|
# resource path
|
|
2590
|
-
local_var_path = '/auth/my-account/moderate-comments/close-thread'
|
|
2902
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/close-thread'
|
|
2591
2903
|
|
|
2592
2904
|
# query parameters
|
|
2593
2905
|
query_params = opts[:query_params] || {}
|
|
2906
|
+
query_params[:'tenantId'] = tenant_id
|
|
2594
2907
|
query_params[:'urlId'] = url_id
|
|
2595
2908
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2596
2909
|
|
|
@@ -2628,6 +2941,7 @@ module FastCommentsClient
|
|
|
2628
2941
|
return data, status_code, headers
|
|
2629
2942
|
end
|
|
2630
2943
|
|
|
2944
|
+
# @param tenant_id [String]
|
|
2631
2945
|
# @param badge_id [String]
|
|
2632
2946
|
# @param [Hash] opts the optional parameters
|
|
2633
2947
|
# @option opts [String] :user_id
|
|
@@ -2635,11 +2949,12 @@ module FastCommentsClient
|
|
|
2635
2949
|
# @option opts [String] :broadcast_id
|
|
2636
2950
|
# @option opts [String] :sso
|
|
2637
2951
|
# @return [RemoveUserBadgeResponse]
|
|
2638
|
-
def put_remove_badge(badge_id, opts = {})
|
|
2639
|
-
data, _status_code, _headers = put_remove_badge_with_http_info(badge_id, opts)
|
|
2952
|
+
def put_remove_badge(tenant_id, badge_id, opts = {})
|
|
2953
|
+
data, _status_code, _headers = put_remove_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2640
2954
|
data
|
|
2641
2955
|
end
|
|
2642
2956
|
|
|
2957
|
+
# @param tenant_id [String]
|
|
2643
2958
|
# @param badge_id [String]
|
|
2644
2959
|
# @param [Hash] opts the optional parameters
|
|
2645
2960
|
# @option opts [String] :user_id
|
|
@@ -2647,19 +2962,24 @@ module FastCommentsClient
|
|
|
2647
2962
|
# @option opts [String] :broadcast_id
|
|
2648
2963
|
# @option opts [String] :sso
|
|
2649
2964
|
# @return [Array<(RemoveUserBadgeResponse, Integer, Hash)>] RemoveUserBadgeResponse data, response status code and response headers
|
|
2650
|
-
def put_remove_badge_with_http_info(badge_id, opts = {})
|
|
2965
|
+
def put_remove_badge_with_http_info(tenant_id, badge_id, opts = {})
|
|
2651
2966
|
if @api_client.config.debugging
|
|
2652
2967
|
@api_client.config.logger.debug 'Calling API: ModerationApi.put_remove_badge ...'
|
|
2653
2968
|
end
|
|
2969
|
+
# verify the required parameter 'tenant_id' is set
|
|
2970
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2971
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.put_remove_badge"
|
|
2972
|
+
end
|
|
2654
2973
|
# verify the required parameter 'badge_id' is set
|
|
2655
2974
|
if @api_client.config.client_side_validation && badge_id.nil?
|
|
2656
2975
|
fail ArgumentError, "Missing the required parameter 'badge_id' when calling ModerationApi.put_remove_badge"
|
|
2657
2976
|
end
|
|
2658
2977
|
# resource path
|
|
2659
|
-
local_var_path = '/auth/my-account/moderate-comments/remove-badge'
|
|
2978
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/remove-badge'
|
|
2660
2979
|
|
|
2661
2980
|
# query parameters
|
|
2662
2981
|
query_params = opts[:query_params] || {}
|
|
2982
|
+
query_params[:'tenantId'] = tenant_id
|
|
2663
2983
|
query_params[:'badgeId'] = badge_id
|
|
2664
2984
|
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
2665
2985
|
query_params[:'commentId'] = opts[:'comment_id'] if !opts[:'comment_id'].nil?
|
|
@@ -2700,32 +3020,39 @@ module FastCommentsClient
|
|
|
2700
3020
|
return data, status_code, headers
|
|
2701
3021
|
end
|
|
2702
3022
|
|
|
3023
|
+
# @param tenant_id [String]
|
|
2703
3024
|
# @param url_id [String]
|
|
2704
3025
|
# @param [Hash] opts the optional parameters
|
|
2705
3026
|
# @option opts [String] :sso
|
|
2706
3027
|
# @return [APIEmptyResponse]
|
|
2707
|
-
def put_reopen_thread(url_id, opts = {})
|
|
2708
|
-
data, _status_code, _headers = put_reopen_thread_with_http_info(url_id, opts)
|
|
3028
|
+
def put_reopen_thread(tenant_id, url_id, opts = {})
|
|
3029
|
+
data, _status_code, _headers = put_reopen_thread_with_http_info(tenant_id, url_id, opts)
|
|
2709
3030
|
data
|
|
2710
3031
|
end
|
|
2711
3032
|
|
|
3033
|
+
# @param tenant_id [String]
|
|
2712
3034
|
# @param url_id [String]
|
|
2713
3035
|
# @param [Hash] opts the optional parameters
|
|
2714
3036
|
# @option opts [String] :sso
|
|
2715
3037
|
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2716
|
-
def put_reopen_thread_with_http_info(url_id, opts = {})
|
|
3038
|
+
def put_reopen_thread_with_http_info(tenant_id, url_id, opts = {})
|
|
2717
3039
|
if @api_client.config.debugging
|
|
2718
3040
|
@api_client.config.logger.debug 'Calling API: ModerationApi.put_reopen_thread ...'
|
|
2719
3041
|
end
|
|
3042
|
+
# verify the required parameter 'tenant_id' is set
|
|
3043
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
3044
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.put_reopen_thread"
|
|
3045
|
+
end
|
|
2720
3046
|
# verify the required parameter 'url_id' is set
|
|
2721
3047
|
if @api_client.config.client_side_validation && url_id.nil?
|
|
2722
3048
|
fail ArgumentError, "Missing the required parameter 'url_id' when calling ModerationApi.put_reopen_thread"
|
|
2723
3049
|
end
|
|
2724
3050
|
# resource path
|
|
2725
|
-
local_var_path = '/auth/my-account/moderate-comments/reopen-thread'
|
|
3051
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/reopen-thread'
|
|
2726
3052
|
|
|
2727
3053
|
# query parameters
|
|
2728
3054
|
query_params = opts[:query_params] || {}
|
|
3055
|
+
query_params[:'tenantId'] = tenant_id
|
|
2729
3056
|
query_params[:'urlId'] = url_id
|
|
2730
3057
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2731
3058
|
|
|
@@ -2763,30 +3090,37 @@ module FastCommentsClient
|
|
|
2763
3090
|
return data, status_code, headers
|
|
2764
3091
|
end
|
|
2765
3092
|
|
|
3093
|
+
# @param tenant_id [String]
|
|
2766
3094
|
# @param [Hash] opts the optional parameters
|
|
2767
3095
|
# @option opts [String] :user_id
|
|
2768
3096
|
# @option opts [String] :trust_factor
|
|
2769
3097
|
# @option opts [String] :sso
|
|
2770
3098
|
# @return [SetUserTrustFactorResponse]
|
|
2771
|
-
def set_trust_factor(opts = {})
|
|
2772
|
-
data, _status_code, _headers = set_trust_factor_with_http_info(opts)
|
|
3099
|
+
def set_trust_factor(tenant_id, opts = {})
|
|
3100
|
+
data, _status_code, _headers = set_trust_factor_with_http_info(tenant_id, opts)
|
|
2773
3101
|
data
|
|
2774
3102
|
end
|
|
2775
3103
|
|
|
3104
|
+
# @param tenant_id [String]
|
|
2776
3105
|
# @param [Hash] opts the optional parameters
|
|
2777
3106
|
# @option opts [String] :user_id
|
|
2778
3107
|
# @option opts [String] :trust_factor
|
|
2779
3108
|
# @option opts [String] :sso
|
|
2780
3109
|
# @return [Array<(SetUserTrustFactorResponse, Integer, Hash)>] SetUserTrustFactorResponse data, response status code and response headers
|
|
2781
|
-
def set_trust_factor_with_http_info(opts = {})
|
|
3110
|
+
def set_trust_factor_with_http_info(tenant_id, opts = {})
|
|
2782
3111
|
if @api_client.config.debugging
|
|
2783
3112
|
@api_client.config.logger.debug 'Calling API: ModerationApi.set_trust_factor ...'
|
|
2784
3113
|
end
|
|
3114
|
+
# verify the required parameter 'tenant_id' is set
|
|
3115
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
3116
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling ModerationApi.set_trust_factor"
|
|
3117
|
+
end
|
|
2785
3118
|
# resource path
|
|
2786
|
-
local_var_path = '/auth/my-account/moderate-comments/set-trust-factor'
|
|
3119
|
+
local_var_path = '/auth/my-account/moderate-comments/mod_api/set-trust-factor'
|
|
2787
3120
|
|
|
2788
3121
|
# query parameters
|
|
2789
3122
|
query_params = opts[:query_params] || {}
|
|
3123
|
+
query_params[:'tenantId'] = tenant_id
|
|
2790
3124
|
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
2791
3125
|
query_params[:'trustFactor'] = opts[:'trust_factor'] if !opts[:'trust_factor'].nil?
|
|
2792
3126
|
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|