fastcomments 1.2.1 → 2.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 +27 -3
- data/client/README.md +165 -102
- data/client/docs/APIBanUserChangeLog.md +24 -0
- data/client/docs/APIBanUserChangedValues.md +42 -0
- data/client/docs/APIBannedUser.md +42 -0
- data/client/docs/APIBannedUserWithMultiMatchInfo.md +34 -0
- data/client/docs/APIComment.md +2 -2
- data/client/docs/APICommentBase.md +2 -2
- data/client/docs/APICommentCommonBannedUser.md +32 -0
- data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
- data/client/docs/APIModerateUserBanPreferences.md +24 -0
- data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
- data/client/docs/{AddDomainConfig200Response.md → AddDomainConfigResponse.md} +2 -2
- data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
- data/client/docs/AdjustCommentVotesParams.md +18 -0
- data/client/docs/AdjustVotesResponse.md +20 -0
- data/client/docs/AggregateResponse.md +28 -0
- data/client/docs/AggregationAPIError.md +24 -0
- data/client/docs/AwardUserBadgeResponse.md +22 -0
- data/client/docs/BanUserFromCommentResult.md +24 -0
- data/client/docs/BanUserUndoParams.md +18 -0
- data/client/docs/BannedUserMatch.md +20 -0
- data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
- data/client/docs/BannedUserMatchType.md +15 -0
- data/client/docs/BuildModerationFilterParams.md +26 -0
- data/client/docs/BuildModerationFilterResponse.md +20 -0
- data/client/docs/BulkCreateHashTagsResponse.md +1 -1
- data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +2 -2
- data/client/docs/BulkPreBanParams.md +18 -0
- data/client/docs/BulkPreBanSummary.md +28 -0
- data/client/docs/CommentData.md +4 -2
- data/client/docs/CommentLogData.md +2 -0
- data/client/docs/CommentsByIdsParams.md +18 -0
- data/client/docs/CreateCommentParams.md +3 -1
- data/client/docs/CreateTenantPackageBody.md +4 -4
- data/client/docs/CreateV1PageReact.md +20 -0
- data/client/docs/CustomConfigParameters.md +10 -0
- data/client/docs/DefaultApi.md +403 -399
- data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
- data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
- data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
- data/client/docs/FComment.md +3 -1
- data/client/docs/GetBannedUsersCountResponse.md +20 -0
- data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
- data/client/docs/GetCommentBanStatusResponse.md +22 -0
- data/client/docs/GetCommentTextResponse.md +20 -0
- data/client/docs/GetCommentsForUserResponse.md +18 -0
- data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
- data/client/docs/GetGifsSearchResponse.md +22 -0
- data/client/docs/GetGifsTrendingResponse.md +22 -0
- data/client/docs/GetPublicPagesResponse.md +22 -0
- data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
- data/client/docs/GetTenantManualBadgesResponse.md +20 -0
- data/client/docs/GetTranslationsResponse.md +20 -0
- data/client/docs/GetUserInternalProfileResponse.md +20 -0
- data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
- data/client/docs/GetUserManualBadgesResponse.md +20 -0
- data/client/docs/GetUserTrustFactorResponse.md +22 -0
- data/client/docs/GetV1PageLikes.md +26 -0
- data/client/docs/GetV2PageReactUsersResponse.md +20 -0
- data/client/docs/GetV2PageReacts.md +22 -0
- data/client/docs/GifGetLargeResponse.md +20 -0
- data/client/docs/GifSearchInternalError.md +20 -0
- data/client/docs/GifSearchResponse.md +20 -0
- data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
- data/client/docs/HeaderAccountNotification.md +3 -1
- data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
- data/client/docs/LiveEvent.md +2 -0
- data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIComment.md +100 -0
- data/client/docs/ModerationAPICommentLog.md +24 -0
- data/client/docs/ModerationAPICommentResponse.md +20 -0
- data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
- data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
- data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
- data/client/docs/ModerationApi.md +2990 -0
- data/client/docs/ModerationCommentSearchResponse.md +20 -0
- data/client/docs/ModerationExportResponse.md +20 -0
- data/client/docs/ModerationExportStatusResponse.md +24 -0
- data/client/docs/ModerationFilter.md +40 -0
- data/client/docs/ModerationPageSearchProjected.md +24 -0
- data/client/docs/ModerationPageSearchResponse.md +20 -0
- data/client/docs/ModerationSiteSearchProjected.md +20 -0
- data/client/docs/ModerationSiteSearchResponse.md +20 -0
- data/client/docs/ModerationSuggestResponse.md +24 -0
- data/client/docs/ModerationUserSearchProjected.md +24 -0
- data/client/docs/ModerationUserSearchResponse.md +20 -0
- data/client/docs/PageUserEntry.md +24 -0
- data/client/docs/PageUsersInfoResponse.md +20 -0
- data/client/docs/PageUsersOfflineResponse.md +24 -0
- data/client/docs/PageUsersOnlineResponse.md +28 -0
- data/client/docs/PagesSortBy.md +15 -0
- data/client/docs/PatchDomainConfigResponse.md +24 -0
- data/client/docs/PostRemoveCommentResponse.md +20 -0
- data/client/docs/PreBanSummary.md +22 -0
- data/client/docs/PublicApi.md +1569 -385
- data/client/docs/PublicPage.md +26 -0
- data/client/docs/PutDomainConfigResponse.md +24 -0
- data/client/docs/RemoveCommentActionResponse.md +20 -0
- data/client/docs/RemoveUserBadgeResponse.md +20 -0
- data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
- data/client/docs/SearchUsersResult.md +22 -0
- data/client/docs/SetCommentApprovedResponse.md +20 -0
- data/client/docs/SetCommentTextParams.md +18 -0
- data/client/docs/SetCommentTextResponse.md +20 -0
- data/client/docs/SetUserTrustFactorResponse.md +20 -0
- data/client/docs/TenantBadge.md +58 -0
- data/client/docs/TenantPackage.md +15 -1
- data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
- data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
- data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
- data/client/docs/User.md +2 -0
- data/client/docs/UsersListLocation.md +15 -0
- data/client/docs/VoteResponse.md +1 -1
- data/client/docs/VoteResponseStatus.md +15 -0
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +307 -301
- data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
- data/client/lib/fastcomments-client/api/public_api.rb +1467 -281
- data/client/lib/fastcomments-client/api_client.rb +3 -7
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +237 -0
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +263 -0
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → aggregate_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +322 -0
- data/client/lib/fastcomments-client/models/aggregation_item.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_value.rb +75 -2
- data/client/lib/fastcomments-client/models/api_audit_log.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +249 -0
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +333 -0
- data/client/lib/fastcomments-client/models/api_banned_user.rb +454 -0
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +375 -0
- data/client/lib/fastcomments-client/models/api_comment.rb +91 -18
- data/client/lib/fastcomments-client/models/api_comment_base.rb +91 -18
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +75 -2
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +340 -0
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_error.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +271 -0
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +315 -0
- data/client/lib/fastcomments-client/models/api_page.rb +75 -2
- data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +78 -5
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +75 -2
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +75 -2
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +75 -2
- data/client/lib/fastcomments-client/models/apisso_user.rb +75 -2
- data/client/lib/fastcomments-client/models/award_user_badge_response.rb +281 -0
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +264 -0
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +237 -0
- data/client/lib/fastcomments-client/models/banned_user_match.rb +271 -0
- data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +4 -3
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
- data/client/lib/fastcomments-client/models/billing_info.rb +75 -2
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/block_success.rb +75 -2
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +290 -0
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +263 -0
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +76 -3
- data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +4 -3
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +239 -0
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +375 -0
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +75 -2
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +75 -2
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +75 -2
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_data.rb +89 -7
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +85 -3
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +75 -2
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +239 -0
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_comment_params.rb +86 -4
- data/client/lib/fastcomments-client/models/create_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +88 -15
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +268 -0
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +124 -3
- data/client/lib/fastcomments-client/models/custom_email_template.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +223 -0
- data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +77 -4
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +75 -2
- data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +75 -2
- data/client/lib/fastcomments-client/models/event_log_entry.rb +75 -2
- data/client/lib/fastcomments-client/models/f_comment.rb +88 -6
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_link.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +75 -2
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +263 -0
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +308 -0
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +261 -0
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +269 -0
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +222 -0
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_pages_response.rb +299 -0
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_translations_response.rb +288 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +285 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +371 -0
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +277 -0
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +363 -0
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +282 -0
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_votes_response.rb +75 -2
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → gif_search_response_images_inner_inner.rb} +6 -5
- data/client/lib/fastcomments-client/models/header_account_notification.rb +90 -6
- data/client/lib/fastcomments-client/models/header_state.rb +75 -2
- data/client/lib/fastcomments-client/models/ignored_response.rb +75 -2
- 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 +42 -0
- data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event.rb +85 -3
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +75 -2
- data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
- data/client/lib/fastcomments-client/models/media_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/meta_item.rb +75 -2
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +753 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +313 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +322 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +263 -0
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_filter.rb +325 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +315 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +247 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +268 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +283 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderator.rb +75 -2
- data/client/lib/fastcomments-client/models/notification_and_count.rb +75 -2
- 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 +281 -0
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +287 -0
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +311 -0
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +363 -0
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +75 -2
- data/client/lib/fastcomments-client/models/post_remove_comment_response.rb +104 -0
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +313 -0
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_page.rb +341 -0
- data/client/lib/fastcomments-client/models/public_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +3 -2
- data/client/lib/fastcomments-client/models/question_config.rb +75 -2
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/question_datum.rb +75 -2
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +75 -2
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +77 -32
- data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +263 -0
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +270 -0
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +75 -2
- data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → save_comments_bulk_response.rb} +5 -4
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +75 -2
- data/client/lib/fastcomments-client/models/search_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +4 -4
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +75 -2
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +268 -0
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +237 -0
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +285 -0
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +75 -2
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +268 -0
- 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 +75 -2
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_badge.rb +637 -0
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +75 -2
- data/client/lib/fastcomments-client/models/tenant_package.rb +142 -6
- data/client/lib/fastcomments-client/models/tos_config.rb +75 -2
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/unblock_success.rb +75 -2
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_notification_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_status_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/upload_image_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user.rb +85 -3
- data/client/lib/fastcomments-client/models/user_badge.rb +75 -2
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_count.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_presence_data.rb +75 -2
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_result.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +75 -2
- data/client/lib/fastcomments-client/models/user_session_info.rb +75 -2
- data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
- data/client/lib/fastcomments-client/models/vote_body_params.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_response.rb +81 -32
- data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → vote_response_status.rb} +6 -5
- data/client/lib/fastcomments-client/models/vote_response_user.rb +75 -2
- 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 +102 -99
- data/client/spec/api/default_api_spec.rb +103 -101
- data/client/spec/api/moderation_api_spec.rb +559 -0
- data/client/spec/api/public_api_spec.rb +253 -37
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_votes200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
- 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 +36 -0
- data/client/spec/models/adjust_votes_response_spec.rb +42 -0
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_api_error_spec.rb +54 -0
- 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 +54 -0
- data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
- data/client/spec/models/api_banned_user_spec.rb +108 -0
- data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
- data/client/spec/models/api_comment_base_meta_spec.rb +2 -2
- data/client/spec/models/api_comment_base_spec.rb +3 -3
- data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
- data/client/spec/models/api_comment_spec.rb +3 -3
- 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 +42 -0
- data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
- 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 +48 -0
- data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
- data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
- data/client/spec/models/{create_tenant200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
- data/client/spec/models/banned_user_match_spec.rb +42 -0
- data/client/spec/models/banned_user_match_type_spec.rb +30 -0
- 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 +60 -0
- data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
- 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/{add_hash_tag200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
- data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
- data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
- 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 +8 -2
- data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
- data/client/spec/models/comment_log_data_spec.rb +8 -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 +36 -0
- 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 +8 -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 +4 -4
- 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 +42 -0
- data/client/spec/models/custom_config_parameters_spec.rb +32 -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_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
- data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
- data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
- 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 +8 -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 +42 -0
- data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
- data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
- data/client/spec/models/get_comment_text_response_spec.rb +42 -0
- 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 +36 -0
- 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_ticket200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
- data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_tenant200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
- 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 +21 -0
- data/client/spec/models/get_gifs_trending_response_spec.rb +21 -0
- 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 +48 -0
- 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_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
- 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 +42 -0
- 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 +42 -0
- data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
- data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
- data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
- 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 +48 -0
- data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
- data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
- data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
- 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 +42 -0
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
- data/client/spec/models/{add_domain_config200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
- data/client/spec/models/gif_search_response_spec.rb +42 -0
- data/client/spec/models/header_account_notification_spec.rb +8 -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 +30 -0
- 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 +8 -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 +42 -0
- data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
- data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_comment_spec.rb +282 -0
- data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
- data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
- data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
- data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
- data/client/spec/models/moderation_filter_spec.rb +102 -0
- data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
- 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 +54 -0
- data/client/spec/models/page_users_info_response_spec.rb +42 -0
- data/client/spec/models/page_users_offline_response_spec.rb +54 -0
- data/client/spec/models/page_users_online_response_spec.rb +66 -0
- data/client/spec/models/pages_sort_by_spec.rb +30 -0
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_response_spec.rb +21 -0
- 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 +21 -0
- data/client/spec/models/pre_ban_summary_spec.rb +48 -0
- 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 +60 -0
- data/client/spec/models/public_vote_spec.rb +2 -2
- data/client/spec/models/put_domain_config_response_spec.rb +21 -0
- 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 +42 -0
- data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
- 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 +21 -0
- 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 +21 -0
- data/client/spec/models/search_users_sectioned_response_spec.rb +2 -2
- data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_params_spec.rb +36 -0
- data/client/spec/models/set_comment_text_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
- 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 +156 -0
- data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
- data/client/spec/models/tenant_package_spec.rb +44 -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/{aggregate_question_results200_response_spec.rb → update_user_notification_comment_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
- 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 +8 -2
- data/client/spec/models/users_list_location_spec.rb +30 -0
- 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 +2 -6
- data/client/spec/models/vote_response_status_spec.rb +21 -0
- 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 +305 -294
- data/client/docs/AddHashTag200Response.md +0 -34
- data/client/docs/AddHashTagsBulk200Response.md +0 -34
- data/client/docs/AggregateQuestionResults200Response.md +0 -34
- data/client/docs/BlockFromCommentPublic200Response.md +0 -34
- data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
- data/client/docs/ChangeTicketState200Response.md +0 -34
- data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
- data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
- data/client/docs/CreateCommentPublic200Response.md +0 -40
- data/client/docs/CreateEmailTemplate200Response.md +0 -34
- data/client/docs/CreateFeedPost200Response.md +0 -34
- data/client/docs/CreateFeedPostPublic200Response.md +0 -34
- data/client/docs/CreateModerator200Response.md +0 -34
- data/client/docs/CreateQuestionConfig200Response.md +0 -34
- data/client/docs/CreateQuestionResult200Response.md +0 -34
- data/client/docs/CreateTenant200Response.md +0 -34
- data/client/docs/CreateTenantPackage200Response.md +0 -34
- data/client/docs/CreateTenantUser200Response.md +0 -34
- data/client/docs/CreateTicket200Response.md +0 -34
- data/client/docs/CreateUserBadge200Response.md +0 -36
- data/client/docs/DeleteComment200Response.md +0 -34
- data/client/docs/DeleteCommentPublic200Response.md +0 -36
- data/client/docs/DeleteCommentVote200Response.md +0 -34
- data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
- data/client/docs/FlagComment200Response.md +0 -36
- data/client/docs/FlagCommentPublic200Response.md +0 -32
- data/client/docs/GetAuditLogs200Response.md +0 -34
- data/client/docs/GetCachedNotificationCount200Response.md +0 -34
- data/client/docs/GetComment200Response.md +0 -34
- data/client/docs/GetCommentText200Response.md +0 -36
- data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
- data/client/docs/GetComments200Response.md +0 -34
- data/client/docs/GetCommentsPublic200Response.md +0 -78
- data/client/docs/GetEmailTemplate200Response.md +0 -34
- data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
- data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
- data/client/docs/GetEmailTemplates200Response.md +0 -34
- data/client/docs/GetEventLog200Response.md +0 -34
- data/client/docs/GetFeedPosts200Response.md +0 -34
- data/client/docs/GetFeedPostsPublic200Response.md +0 -44
- data/client/docs/GetFeedPostsStats200Response.md +0 -34
- data/client/docs/GetHashTags200Response.md +0 -34
- data/client/docs/GetModerator200Response.md +0 -34
- data/client/docs/GetModerators200Response.md +0 -34
- data/client/docs/GetNotificationCount200Response.md +0 -34
- data/client/docs/GetNotifications200Response.md +0 -34
- data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
- data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
- data/client/docs/GetQuestionConfig200Response.md +0 -34
- data/client/docs/GetQuestionConfigs200Response.md +0 -34
- data/client/docs/GetQuestionResult200Response.md +0 -34
- data/client/docs/GetQuestionResults200Response.md +0 -34
- data/client/docs/GetTenant200Response.md +0 -34
- data/client/docs/GetTenantDailyUsages200Response.md +0 -34
- data/client/docs/GetTenantPackage200Response.md +0 -34
- data/client/docs/GetTenantPackages200Response.md +0 -34
- data/client/docs/GetTenantUser200Response.md +0 -34
- data/client/docs/GetTenantUsers200Response.md +0 -34
- data/client/docs/GetTenants200Response.md +0 -34
- data/client/docs/GetTicket200Response.md +0 -36
- data/client/docs/GetTickets200Response.md +0 -34
- data/client/docs/GetUser200Response.md +0 -34
- data/client/docs/GetUserBadge200Response.md +0 -34
- data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
- data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
- data/client/docs/GetUserBadges200Response.md +0 -34
- data/client/docs/GetUserNotificationCount200Response.md +0 -34
- data/client/docs/GetUserNotifications200Response.md +0 -40
- data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
- data/client/docs/GetUserReactsPublic200Response.md +0 -34
- data/client/docs/GetVotes200Response.md +0 -38
- data/client/docs/GetVotesForUser200Response.md +0 -38
- data/client/docs/LockComment200Response.md +0 -32
- data/client/docs/PinComment200Response.md +0 -34
- data/client/docs/ReactFeedPostPublic200Response.md +0 -36
- data/client/docs/RenderEmailTemplate200Response.md +0 -34
- data/client/docs/ResetUserNotifications200Response.md +0 -32
- data/client/docs/SearchUsers200Response.md +0 -36
- data/client/docs/SetCommentText200Response.md +0 -34
- data/client/docs/UnBlockCommentPublic200Response.md +0 -34
- data/client/docs/UpdateUserBadge200Response.md +0 -32
- data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
- data/client/docs/VoteComment200Response.md +0 -40
- data/client/lib/fastcomments-client/api_model_base.rb +0 -88
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_ticket200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +0 -150
- data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_ticket200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tickets200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
- data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
- data/client/spec/models/change_ticket_state200_response_spec.rb +0 -21
- data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
- data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
- data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/create_email_template200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/create_moderator200_response_spec.rb +0 -21
- data/client/spec/models/create_question_config200_response_spec.rb +0 -21
- data/client/spec/models/create_question_result200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/create_ticket200_response_spec.rb +0 -21
- data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_vote200_response_spec.rb +0 -21
- data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
- data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_comment200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
- data/client/spec/models/get_comments200_response_spec.rb +0 -21
- data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
- data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
- data/client/spec/models/get_event_log200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
- data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
- data/client/spec/models/get_moderator200_response_spec.rb +0 -21
- data/client/spec/models/get_moderators200_response_spec.rb +0 -21
- data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
- data/client/spec/models/get_question_config200_response_spec.rb +0 -21
- data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_question_result200_response_spec.rb +0 -21
- data/client/spec/models/get_question_results200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
- data/client/spec/models/get_tenants200_response_spec.rb +0 -21
- data/client/spec/models/get_tickets200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
- data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
- data/client/spec/models/lock_comment200_response_spec.rb +0 -21
- data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
- data/client/spec/models/pin_comment200_response_spec.rb +0 -21
- data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
- data/client/spec/models/render_email_template200_response_spec.rb +0 -21
- data/client/spec/models/reset_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/save_comment200_response_spec.rb +0 -21
- data/client/spec/models/search_users200_response_spec.rb +0 -21
- data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/vote_comment200_response_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.14.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ module FastCommentsClient
|
|
|
24
24
|
# @param public_block_from_comment_params [PublicBlockFromCommentParams]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [String] :sso
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [BlockSuccess]
|
|
28
28
|
def block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts = {})
|
|
29
29
|
data, _status_code, _headers = block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
30
30
|
data
|
|
@@ -35,7 +35,7 @@ module FastCommentsClient
|
|
|
35
35
|
# @param public_block_from_comment_params [PublicBlockFromCommentParams]
|
|
36
36
|
# @param [Hash] opts the optional parameters
|
|
37
37
|
# @option opts [String] :sso
|
|
38
|
-
# @return [Array<(
|
|
38
|
+
# @return [Array<(BlockSuccess, Integer, Hash)>] BlockSuccess data, response status code and response headers
|
|
39
39
|
def block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
41
|
@api_client.config.logger.debug 'Calling API: PublicApi.block_from_comment_public ...'
|
|
@@ -77,7 +77,7 @@ module FastCommentsClient
|
|
|
77
77
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(public_block_from_comment_params)
|
|
78
78
|
|
|
79
79
|
# return_type
|
|
80
|
-
return_type = opts[:debug_return_type] || '
|
|
80
|
+
return_type = opts[:debug_return_type] || 'BlockSuccess'
|
|
81
81
|
|
|
82
82
|
# auth_names
|
|
83
83
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -103,7 +103,7 @@ module FastCommentsClient
|
|
|
103
103
|
# @param comment_ids [String] A comma separated list of comment ids.
|
|
104
104
|
# @param [Hash] opts the optional parameters
|
|
105
105
|
# @option opts [String] :sso
|
|
106
|
-
# @return [
|
|
106
|
+
# @return [CheckBlockedCommentsResponse]
|
|
107
107
|
def checked_comments_for_blocked(tenant_id, comment_ids, opts = {})
|
|
108
108
|
data, _status_code, _headers = checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts)
|
|
109
109
|
data
|
|
@@ -113,7 +113,7 @@ module FastCommentsClient
|
|
|
113
113
|
# @param comment_ids [String] A comma separated list of comment ids.
|
|
114
114
|
# @param [Hash] opts the optional parameters
|
|
115
115
|
# @option opts [String] :sso
|
|
116
|
-
# @return [Array<(
|
|
116
|
+
# @return [Array<(CheckBlockedCommentsResponse, Integer, Hash)>] CheckBlockedCommentsResponse data, response status code and response headers
|
|
117
117
|
def checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts = {})
|
|
118
118
|
if @api_client.config.debugging
|
|
119
119
|
@api_client.config.logger.debug 'Calling API: PublicApi.checked_comments_for_blocked ...'
|
|
@@ -147,7 +147,7 @@ module FastCommentsClient
|
|
|
147
147
|
post_body = opts[:debug_body]
|
|
148
148
|
|
|
149
149
|
# return_type
|
|
150
|
-
return_type = opts[:debug_return_type] || '
|
|
150
|
+
return_type = opts[:debug_return_type] || 'CheckBlockedCommentsResponse'
|
|
151
151
|
|
|
152
152
|
# auth_names
|
|
153
153
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -176,7 +176,7 @@ module FastCommentsClient
|
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @option opts [String] :session_id
|
|
178
178
|
# @option opts [String] :sso
|
|
179
|
-
# @return [
|
|
179
|
+
# @return [SaveCommentsResponseWithPresence]
|
|
180
180
|
def create_comment_public(tenant_id, url_id, broadcast_id, comment_data, opts = {})
|
|
181
181
|
data, _status_code, _headers = create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts)
|
|
182
182
|
data
|
|
@@ -189,7 +189,7 @@ module FastCommentsClient
|
|
|
189
189
|
# @param [Hash] opts the optional parameters
|
|
190
190
|
# @option opts [String] :session_id
|
|
191
191
|
# @option opts [String] :sso
|
|
192
|
-
# @return [Array<(
|
|
192
|
+
# @return [Array<(SaveCommentsResponseWithPresence, Integer, Hash)>] SaveCommentsResponseWithPresence data, response status code and response headers
|
|
193
193
|
def create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts = {})
|
|
194
194
|
if @api_client.config.debugging
|
|
195
195
|
@api_client.config.logger.debug 'Calling API: PublicApi.create_comment_public ...'
|
|
@@ -237,7 +237,7 @@ module FastCommentsClient
|
|
|
237
237
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(comment_data)
|
|
238
238
|
|
|
239
239
|
# return_type
|
|
240
|
-
return_type = opts[:debug_return_type] || '
|
|
240
|
+
return_type = opts[:debug_return_type] || 'SaveCommentsResponseWithPresence'
|
|
241
241
|
|
|
242
242
|
# auth_names
|
|
243
243
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -264,7 +264,7 @@ module FastCommentsClient
|
|
|
264
264
|
# @param [Hash] opts the optional parameters
|
|
265
265
|
# @option opts [String] :broadcast_id
|
|
266
266
|
# @option opts [String] :sso
|
|
267
|
-
# @return [
|
|
267
|
+
# @return [CreateFeedPostResponse]
|
|
268
268
|
def create_feed_post_public(tenant_id, create_feed_post_params, opts = {})
|
|
269
269
|
data, _status_code, _headers = create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts)
|
|
270
270
|
data
|
|
@@ -275,7 +275,7 @@ module FastCommentsClient
|
|
|
275
275
|
# @param [Hash] opts the optional parameters
|
|
276
276
|
# @option opts [String] :broadcast_id
|
|
277
277
|
# @option opts [String] :sso
|
|
278
|
-
# @return [Array<(
|
|
278
|
+
# @return [Array<(CreateFeedPostResponse, Integer, Hash)>] CreateFeedPostResponse data, response status code and response headers
|
|
279
279
|
def create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts = {})
|
|
280
280
|
if @api_client.config.debugging
|
|
281
281
|
@api_client.config.logger.debug 'Calling API: PublicApi.create_feed_post_public ...'
|
|
@@ -313,7 +313,7 @@ module FastCommentsClient
|
|
|
313
313
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_feed_post_params)
|
|
314
314
|
|
|
315
315
|
# return_type
|
|
316
|
-
return_type = opts[:debug_return_type] || '
|
|
316
|
+
return_type = opts[:debug_return_type] || 'CreateFeedPostResponse'
|
|
317
317
|
|
|
318
318
|
# auth_names
|
|
319
319
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -335,13 +335,158 @@ module FastCommentsClient
|
|
|
335
335
|
return data, status_code, headers
|
|
336
336
|
end
|
|
337
337
|
|
|
338
|
+
# @param tenant_id [String]
|
|
339
|
+
# @param url_id [String]
|
|
340
|
+
# @param [Hash] opts the optional parameters
|
|
341
|
+
# @option opts [String] :title
|
|
342
|
+
# @return [CreateV1PageReact]
|
|
343
|
+
def create_v1_page_react(tenant_id, url_id, opts = {})
|
|
344
|
+
data, _status_code, _headers = create_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
345
|
+
data
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
# @param tenant_id [String]
|
|
349
|
+
# @param url_id [String]
|
|
350
|
+
# @param [Hash] opts the optional parameters
|
|
351
|
+
# @option opts [String] :title
|
|
352
|
+
# @return [Array<(CreateV1PageReact, Integer, Hash)>] CreateV1PageReact data, response status code and response headers
|
|
353
|
+
def create_v1_page_react_with_http_info(tenant_id, url_id, opts = {})
|
|
354
|
+
if @api_client.config.debugging
|
|
355
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.create_v1_page_react ...'
|
|
356
|
+
end
|
|
357
|
+
# verify the required parameter 'tenant_id' is set
|
|
358
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
359
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.create_v1_page_react"
|
|
360
|
+
end
|
|
361
|
+
# verify the required parameter 'url_id' is set
|
|
362
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
363
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.create_v1_page_react"
|
|
364
|
+
end
|
|
365
|
+
# resource path
|
|
366
|
+
local_var_path = '/page-reacts/v1/likes/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
367
|
+
|
|
368
|
+
# query parameters
|
|
369
|
+
query_params = opts[:query_params] || {}
|
|
370
|
+
query_params[:'urlId'] = url_id
|
|
371
|
+
query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
|
|
372
|
+
|
|
373
|
+
# header parameters
|
|
374
|
+
header_params = opts[:header_params] || {}
|
|
375
|
+
# HTTP header 'Accept' (if needed)
|
|
376
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
377
|
+
|
|
378
|
+
# form parameters
|
|
379
|
+
form_params = opts[:form_params] || {}
|
|
380
|
+
|
|
381
|
+
# http body (model)
|
|
382
|
+
post_body = opts[:debug_body]
|
|
383
|
+
|
|
384
|
+
# return_type
|
|
385
|
+
return_type = opts[:debug_return_type] || 'CreateV1PageReact'
|
|
386
|
+
|
|
387
|
+
# auth_names
|
|
388
|
+
auth_names = opts[:debug_auth_names] || []
|
|
389
|
+
|
|
390
|
+
new_options = opts.merge(
|
|
391
|
+
:operation => :"PublicApi.create_v1_page_react",
|
|
392
|
+
:header_params => header_params,
|
|
393
|
+
:query_params => query_params,
|
|
394
|
+
:form_params => form_params,
|
|
395
|
+
:body => post_body,
|
|
396
|
+
:auth_names => auth_names,
|
|
397
|
+
:return_type => return_type
|
|
398
|
+
)
|
|
399
|
+
|
|
400
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
401
|
+
if @api_client.config.debugging
|
|
402
|
+
@api_client.config.logger.debug "API called: PublicApi#create_v1_page_react\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
403
|
+
end
|
|
404
|
+
return data, status_code, headers
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# @param tenant_id [String]
|
|
408
|
+
# @param url_id [String]
|
|
409
|
+
# @param id [String]
|
|
410
|
+
# @param [Hash] opts the optional parameters
|
|
411
|
+
# @option opts [String] :title
|
|
412
|
+
# @return [CreateV1PageReact]
|
|
413
|
+
def create_v2_page_react(tenant_id, url_id, id, opts = {})
|
|
414
|
+
data, _status_code, _headers = create_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
415
|
+
data
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# @param tenant_id [String]
|
|
419
|
+
# @param url_id [String]
|
|
420
|
+
# @param id [String]
|
|
421
|
+
# @param [Hash] opts the optional parameters
|
|
422
|
+
# @option opts [String] :title
|
|
423
|
+
# @return [Array<(CreateV1PageReact, Integer, Hash)>] CreateV1PageReact data, response status code and response headers
|
|
424
|
+
def create_v2_page_react_with_http_info(tenant_id, url_id, id, opts = {})
|
|
425
|
+
if @api_client.config.debugging
|
|
426
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.create_v2_page_react ...'
|
|
427
|
+
end
|
|
428
|
+
# verify the required parameter 'tenant_id' is set
|
|
429
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
430
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.create_v2_page_react"
|
|
431
|
+
end
|
|
432
|
+
# verify the required parameter 'url_id' is set
|
|
433
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
434
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.create_v2_page_react"
|
|
435
|
+
end
|
|
436
|
+
# verify the required parameter 'id' is set
|
|
437
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
438
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PublicApi.create_v2_page_react"
|
|
439
|
+
end
|
|
440
|
+
# resource path
|
|
441
|
+
local_var_path = '/page-reacts/v2/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
442
|
+
|
|
443
|
+
# query parameters
|
|
444
|
+
query_params = opts[:query_params] || {}
|
|
445
|
+
query_params[:'urlId'] = url_id
|
|
446
|
+
query_params[:'id'] = id
|
|
447
|
+
query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
|
|
448
|
+
|
|
449
|
+
# header parameters
|
|
450
|
+
header_params = opts[:header_params] || {}
|
|
451
|
+
# HTTP header 'Accept' (if needed)
|
|
452
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
453
|
+
|
|
454
|
+
# form parameters
|
|
455
|
+
form_params = opts[:form_params] || {}
|
|
456
|
+
|
|
457
|
+
# http body (model)
|
|
458
|
+
post_body = opts[:debug_body]
|
|
459
|
+
|
|
460
|
+
# return_type
|
|
461
|
+
return_type = opts[:debug_return_type] || 'CreateV1PageReact'
|
|
462
|
+
|
|
463
|
+
# auth_names
|
|
464
|
+
auth_names = opts[:debug_auth_names] || []
|
|
465
|
+
|
|
466
|
+
new_options = opts.merge(
|
|
467
|
+
:operation => :"PublicApi.create_v2_page_react",
|
|
468
|
+
:header_params => header_params,
|
|
469
|
+
:query_params => query_params,
|
|
470
|
+
:form_params => form_params,
|
|
471
|
+
:body => post_body,
|
|
472
|
+
:auth_names => auth_names,
|
|
473
|
+
:return_type => return_type
|
|
474
|
+
)
|
|
475
|
+
|
|
476
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
477
|
+
if @api_client.config.debugging
|
|
478
|
+
@api_client.config.logger.debug "API called: PublicApi#create_v2_page_react\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
479
|
+
end
|
|
480
|
+
return data, status_code, headers
|
|
481
|
+
end
|
|
482
|
+
|
|
338
483
|
# @param tenant_id [String]
|
|
339
484
|
# @param comment_id [String]
|
|
340
485
|
# @param broadcast_id [String]
|
|
341
486
|
# @param [Hash] opts the optional parameters
|
|
342
487
|
# @option opts [String] :edit_key
|
|
343
488
|
# @option opts [String] :sso
|
|
344
|
-
# @return [
|
|
489
|
+
# @return [PublicAPIDeleteCommentResponse]
|
|
345
490
|
def delete_comment_public(tenant_id, comment_id, broadcast_id, opts = {})
|
|
346
491
|
data, _status_code, _headers = delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
347
492
|
data
|
|
@@ -353,7 +498,7 @@ module FastCommentsClient
|
|
|
353
498
|
# @param [Hash] opts the optional parameters
|
|
354
499
|
# @option opts [String] :edit_key
|
|
355
500
|
# @option opts [String] :sso
|
|
356
|
-
# @return [Array<(
|
|
501
|
+
# @return [Array<(PublicAPIDeleteCommentResponse, Integer, Hash)>] PublicAPIDeleteCommentResponse data, response status code and response headers
|
|
357
502
|
def delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
|
|
358
503
|
if @api_client.config.debugging
|
|
359
504
|
@api_client.config.logger.debug 'Calling API: PublicApi.delete_comment_public ...'
|
|
@@ -391,7 +536,7 @@ module FastCommentsClient
|
|
|
391
536
|
post_body = opts[:debug_body]
|
|
392
537
|
|
|
393
538
|
# return_type
|
|
394
|
-
return_type = opts[:debug_return_type] || '
|
|
539
|
+
return_type = opts[:debug_return_type] || 'PublicAPIDeleteCommentResponse'
|
|
395
540
|
|
|
396
541
|
# auth_names
|
|
397
542
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -421,7 +566,7 @@ module FastCommentsClient
|
|
|
421
566
|
# @param [Hash] opts the optional parameters
|
|
422
567
|
# @option opts [String] :edit_key
|
|
423
568
|
# @option opts [String] :sso
|
|
424
|
-
# @return [
|
|
569
|
+
# @return [VoteDeleteResponse]
|
|
425
570
|
def delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts = {})
|
|
426
571
|
data, _status_code, _headers = delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
427
572
|
data
|
|
@@ -435,7 +580,7 @@ module FastCommentsClient
|
|
|
435
580
|
# @param [Hash] opts the optional parameters
|
|
436
581
|
# @option opts [String] :edit_key
|
|
437
582
|
# @option opts [String] :sso
|
|
438
|
-
# @return [Array<(
|
|
583
|
+
# @return [Array<(VoteDeleteResponse, Integer, Hash)>] VoteDeleteResponse data, response status code and response headers
|
|
439
584
|
def delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts = {})
|
|
440
585
|
if @api_client.config.debugging
|
|
441
586
|
@api_client.config.logger.debug 'Calling API: PublicApi.delete_comment_vote ...'
|
|
@@ -482,7 +627,7 @@ module FastCommentsClient
|
|
|
482
627
|
post_body = opts[:debug_body]
|
|
483
628
|
|
|
484
629
|
# return_type
|
|
485
|
-
return_type = opts[:debug_return_type] || '
|
|
630
|
+
return_type = opts[:debug_return_type] || 'VoteDeleteResponse'
|
|
486
631
|
|
|
487
632
|
# auth_names
|
|
488
633
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -509,7 +654,7 @@ module FastCommentsClient
|
|
|
509
654
|
# @param [Hash] opts the optional parameters
|
|
510
655
|
# @option opts [String] :broadcast_id
|
|
511
656
|
# @option opts [String] :sso
|
|
512
|
-
# @return [
|
|
657
|
+
# @return [DeleteFeedPostPublicResponse]
|
|
513
658
|
def delete_feed_post_public(tenant_id, post_id, opts = {})
|
|
514
659
|
data, _status_code, _headers = delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
|
|
515
660
|
data
|
|
@@ -520,7 +665,7 @@ module FastCommentsClient
|
|
|
520
665
|
# @param [Hash] opts the optional parameters
|
|
521
666
|
# @option opts [String] :broadcast_id
|
|
522
667
|
# @option opts [String] :sso
|
|
523
|
-
# @return [Array<(
|
|
668
|
+
# @return [Array<(DeleteFeedPostPublicResponse, Integer, Hash)>] DeleteFeedPostPublicResponse data, response status code and response headers
|
|
524
669
|
def delete_feed_post_public_with_http_info(tenant_id, post_id, opts = {})
|
|
525
670
|
if @api_client.config.debugging
|
|
526
671
|
@api_client.config.logger.debug 'Calling API: PublicApi.delete_feed_post_public ...'
|
|
@@ -553,7 +698,7 @@ module FastCommentsClient
|
|
|
553
698
|
post_body = opts[:debug_body]
|
|
554
699
|
|
|
555
700
|
# return_type
|
|
556
|
-
return_type = opts[:debug_return_type] || '
|
|
701
|
+
return_type = opts[:debug_return_type] || 'DeleteFeedPostPublicResponse'
|
|
557
702
|
|
|
558
703
|
# auth_names
|
|
559
704
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -575,12 +720,151 @@ module FastCommentsClient
|
|
|
575
720
|
return data, status_code, headers
|
|
576
721
|
end
|
|
577
722
|
|
|
723
|
+
# @param tenant_id [String]
|
|
724
|
+
# @param url_id [String]
|
|
725
|
+
# @param [Hash] opts the optional parameters
|
|
726
|
+
# @return [CreateV1PageReact]
|
|
727
|
+
def delete_v1_page_react(tenant_id, url_id, opts = {})
|
|
728
|
+
data, _status_code, _headers = delete_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
729
|
+
data
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
# @param tenant_id [String]
|
|
733
|
+
# @param url_id [String]
|
|
734
|
+
# @param [Hash] opts the optional parameters
|
|
735
|
+
# @return [Array<(CreateV1PageReact, Integer, Hash)>] CreateV1PageReact data, response status code and response headers
|
|
736
|
+
def delete_v1_page_react_with_http_info(tenant_id, url_id, opts = {})
|
|
737
|
+
if @api_client.config.debugging
|
|
738
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.delete_v1_page_react ...'
|
|
739
|
+
end
|
|
740
|
+
# verify the required parameter 'tenant_id' is set
|
|
741
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
742
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.delete_v1_page_react"
|
|
743
|
+
end
|
|
744
|
+
# verify the required parameter 'url_id' is set
|
|
745
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
746
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.delete_v1_page_react"
|
|
747
|
+
end
|
|
748
|
+
# resource path
|
|
749
|
+
local_var_path = '/page-reacts/v1/likes/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
750
|
+
|
|
751
|
+
# query parameters
|
|
752
|
+
query_params = opts[:query_params] || {}
|
|
753
|
+
query_params[:'urlId'] = url_id
|
|
754
|
+
|
|
755
|
+
# header parameters
|
|
756
|
+
header_params = opts[:header_params] || {}
|
|
757
|
+
# HTTP header 'Accept' (if needed)
|
|
758
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
759
|
+
|
|
760
|
+
# form parameters
|
|
761
|
+
form_params = opts[:form_params] || {}
|
|
762
|
+
|
|
763
|
+
# http body (model)
|
|
764
|
+
post_body = opts[:debug_body]
|
|
765
|
+
|
|
766
|
+
# return_type
|
|
767
|
+
return_type = opts[:debug_return_type] || 'CreateV1PageReact'
|
|
768
|
+
|
|
769
|
+
# auth_names
|
|
770
|
+
auth_names = opts[:debug_auth_names] || []
|
|
771
|
+
|
|
772
|
+
new_options = opts.merge(
|
|
773
|
+
:operation => :"PublicApi.delete_v1_page_react",
|
|
774
|
+
:header_params => header_params,
|
|
775
|
+
:query_params => query_params,
|
|
776
|
+
:form_params => form_params,
|
|
777
|
+
:body => post_body,
|
|
778
|
+
:auth_names => auth_names,
|
|
779
|
+
:return_type => return_type
|
|
780
|
+
)
|
|
781
|
+
|
|
782
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
783
|
+
if @api_client.config.debugging
|
|
784
|
+
@api_client.config.logger.debug "API called: PublicApi#delete_v1_page_react\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
785
|
+
end
|
|
786
|
+
return data, status_code, headers
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
# @param tenant_id [String]
|
|
790
|
+
# @param url_id [String]
|
|
791
|
+
# @param id [String]
|
|
792
|
+
# @param [Hash] opts the optional parameters
|
|
793
|
+
# @return [CreateV1PageReact]
|
|
794
|
+
def delete_v2_page_react(tenant_id, url_id, id, opts = {})
|
|
795
|
+
data, _status_code, _headers = delete_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
796
|
+
data
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# @param tenant_id [String]
|
|
800
|
+
# @param url_id [String]
|
|
801
|
+
# @param id [String]
|
|
802
|
+
# @param [Hash] opts the optional parameters
|
|
803
|
+
# @return [Array<(CreateV1PageReact, Integer, Hash)>] CreateV1PageReact data, response status code and response headers
|
|
804
|
+
def delete_v2_page_react_with_http_info(tenant_id, url_id, id, opts = {})
|
|
805
|
+
if @api_client.config.debugging
|
|
806
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.delete_v2_page_react ...'
|
|
807
|
+
end
|
|
808
|
+
# verify the required parameter 'tenant_id' is set
|
|
809
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
810
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.delete_v2_page_react"
|
|
811
|
+
end
|
|
812
|
+
# verify the required parameter 'url_id' is set
|
|
813
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
814
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.delete_v2_page_react"
|
|
815
|
+
end
|
|
816
|
+
# verify the required parameter 'id' is set
|
|
817
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
818
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PublicApi.delete_v2_page_react"
|
|
819
|
+
end
|
|
820
|
+
# resource path
|
|
821
|
+
local_var_path = '/page-reacts/v2/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
822
|
+
|
|
823
|
+
# query parameters
|
|
824
|
+
query_params = opts[:query_params] || {}
|
|
825
|
+
query_params[:'urlId'] = url_id
|
|
826
|
+
query_params[:'id'] = id
|
|
827
|
+
|
|
828
|
+
# header parameters
|
|
829
|
+
header_params = opts[:header_params] || {}
|
|
830
|
+
# HTTP header 'Accept' (if needed)
|
|
831
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
832
|
+
|
|
833
|
+
# form parameters
|
|
834
|
+
form_params = opts[:form_params] || {}
|
|
835
|
+
|
|
836
|
+
# http body (model)
|
|
837
|
+
post_body = opts[:debug_body]
|
|
838
|
+
|
|
839
|
+
# return_type
|
|
840
|
+
return_type = opts[:debug_return_type] || 'CreateV1PageReact'
|
|
841
|
+
|
|
842
|
+
# auth_names
|
|
843
|
+
auth_names = opts[:debug_auth_names] || []
|
|
844
|
+
|
|
845
|
+
new_options = opts.merge(
|
|
846
|
+
:operation => :"PublicApi.delete_v2_page_react",
|
|
847
|
+
:header_params => header_params,
|
|
848
|
+
:query_params => query_params,
|
|
849
|
+
:form_params => form_params,
|
|
850
|
+
:body => post_body,
|
|
851
|
+
:auth_names => auth_names,
|
|
852
|
+
:return_type => return_type
|
|
853
|
+
)
|
|
854
|
+
|
|
855
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
856
|
+
if @api_client.config.debugging
|
|
857
|
+
@api_client.config.logger.debug "API called: PublicApi#delete_v2_page_react\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
858
|
+
end
|
|
859
|
+
return data, status_code, headers
|
|
860
|
+
end
|
|
861
|
+
|
|
578
862
|
# @param tenant_id [String]
|
|
579
863
|
# @param comment_id [String]
|
|
580
864
|
# @param is_flagged [Boolean]
|
|
581
865
|
# @param [Hash] opts the optional parameters
|
|
582
866
|
# @option opts [String] :sso
|
|
583
|
-
# @return [
|
|
867
|
+
# @return [APIEmptyResponse]
|
|
584
868
|
def flag_comment_public(tenant_id, comment_id, is_flagged, opts = {})
|
|
585
869
|
data, _status_code, _headers = flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
|
|
586
870
|
data
|
|
@@ -591,7 +875,7 @@ module FastCommentsClient
|
|
|
591
875
|
# @param is_flagged [Boolean]
|
|
592
876
|
# @param [Hash] opts the optional parameters
|
|
593
877
|
# @option opts [String] :sso
|
|
594
|
-
# @return [Array<(
|
|
878
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
595
879
|
def flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts = {})
|
|
596
880
|
if @api_client.config.debugging
|
|
597
881
|
@api_client.config.logger.debug 'Calling API: PublicApi.flag_comment_public ...'
|
|
@@ -629,7 +913,7 @@ module FastCommentsClient
|
|
|
629
913
|
post_body = opts[:debug_body]
|
|
630
914
|
|
|
631
915
|
# return_type
|
|
632
|
-
return_type = opts[:debug_return_type] || '
|
|
916
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
633
917
|
|
|
634
918
|
# auth_names
|
|
635
919
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -656,7 +940,7 @@ module FastCommentsClient
|
|
|
656
940
|
# @param [Hash] opts the optional parameters
|
|
657
941
|
# @option opts [String] :edit_key
|
|
658
942
|
# @option opts [String] :sso
|
|
659
|
-
# @return [
|
|
943
|
+
# @return [PublicAPIGetCommentTextResponse]
|
|
660
944
|
def get_comment_text(tenant_id, comment_id, opts = {})
|
|
661
945
|
data, _status_code, _headers = get_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
662
946
|
data
|
|
@@ -667,7 +951,7 @@ module FastCommentsClient
|
|
|
667
951
|
# @param [Hash] opts the optional parameters
|
|
668
952
|
# @option opts [String] :edit_key
|
|
669
953
|
# @option opts [String] :sso
|
|
670
|
-
# @return [Array<(
|
|
954
|
+
# @return [Array<(PublicAPIGetCommentTextResponse, Integer, Hash)>] PublicAPIGetCommentTextResponse data, response status code and response headers
|
|
671
955
|
def get_comment_text_with_http_info(tenant_id, comment_id, opts = {})
|
|
672
956
|
if @api_client.config.debugging
|
|
673
957
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_comment_text ...'
|
|
@@ -700,7 +984,7 @@ module FastCommentsClient
|
|
|
700
984
|
post_body = opts[:debug_body]
|
|
701
985
|
|
|
702
986
|
# return_type
|
|
703
|
-
return_type = opts[:debug_return_type] || '
|
|
987
|
+
return_type = opts[:debug_return_type] || 'PublicAPIGetCommentTextResponse'
|
|
704
988
|
|
|
705
989
|
# auth_names
|
|
706
990
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -727,7 +1011,7 @@ module FastCommentsClient
|
|
|
727
1011
|
# @param dir [Integer]
|
|
728
1012
|
# @param [Hash] opts the optional parameters
|
|
729
1013
|
# @option opts [String] :sso
|
|
730
|
-
# @return [
|
|
1014
|
+
# @return [GetCommentVoteUserNamesSuccessResponse]
|
|
731
1015
|
def get_comment_vote_user_names(tenant_id, comment_id, dir, opts = {})
|
|
732
1016
|
data, _status_code, _headers = get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
|
|
733
1017
|
data
|
|
@@ -738,7 +1022,7 @@ module FastCommentsClient
|
|
|
738
1022
|
# @param dir [Integer]
|
|
739
1023
|
# @param [Hash] opts the optional parameters
|
|
740
1024
|
# @option opts [String] :sso
|
|
741
|
-
# @return [Array<(
|
|
1025
|
+
# @return [Array<(GetCommentVoteUserNamesSuccessResponse, Integer, Hash)>] GetCommentVoteUserNamesSuccessResponse data, response status code and response headers
|
|
742
1026
|
def get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts = {})
|
|
743
1027
|
if @api_client.config.debugging
|
|
744
1028
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_comment_vote_user_names ...'
|
|
@@ -775,7 +1059,7 @@ module FastCommentsClient
|
|
|
775
1059
|
post_body = opts[:debug_body]
|
|
776
1060
|
|
|
777
1061
|
# return_type
|
|
778
|
-
return_type = opts[:debug_return_type] || '
|
|
1062
|
+
return_type = opts[:debug_return_type] || 'GetCommentVoteUserNamesSuccessResponse'
|
|
779
1063
|
|
|
780
1064
|
# auth_names
|
|
781
1065
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -797,53 +1081,127 @@ module FastCommentsClient
|
|
|
797
1081
|
return data, status_code, headers
|
|
798
1082
|
end
|
|
799
1083
|
|
|
800
|
-
# req tenantId urlId
|
|
801
|
-
# @param tenant_id [String]
|
|
802
|
-
# @param url_id [String]
|
|
803
1084
|
# @param [Hash] opts the optional parameters
|
|
804
|
-
# @option opts [
|
|
1085
|
+
# @option opts [String] :user_id
|
|
805
1086
|
# @option opts [SortDirections] :direction
|
|
806
|
-
# @option opts [String] :
|
|
807
|
-
# @option opts [
|
|
808
|
-
# @option opts [Integer] :skip_children
|
|
809
|
-
# @option opts [Integer] :limit
|
|
810
|
-
# @option opts [Integer] :limit_children
|
|
811
|
-
# @option opts [Boolean] :count_children
|
|
812
|
-
# @option opts [String] :fetch_page_for_comment_id
|
|
813
|
-
# @option opts [Boolean] :include_config
|
|
814
|
-
# @option opts [Boolean] :count_all
|
|
1087
|
+
# @option opts [String] :replies_to_user_id
|
|
1088
|
+
# @option opts [Float] :page
|
|
815
1089
|
# @option opts [Boolean] :includei10n
|
|
816
1090
|
# @option opts [String] :locale
|
|
817
|
-
# @option opts [String] :modules
|
|
818
1091
|
# @option opts [Boolean] :is_crawler
|
|
819
|
-
# @
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
# @option opts [Boolean] :use_full_translation_ids
|
|
823
|
-
# @option opts [String] :parent_id
|
|
824
|
-
# @option opts [String] :search_text
|
|
825
|
-
# @option opts [Array<String>] :hash_tags
|
|
826
|
-
# @option opts [String] :user_id
|
|
827
|
-
# @option opts [String] :custom_config_str
|
|
828
|
-
# @option opts [String] :after_comment_id
|
|
829
|
-
# @option opts [String] :before_comment_id
|
|
830
|
-
# @return [GetCommentsPublic200Response]
|
|
831
|
-
def get_comments_public(tenant_id, url_id, opts = {})
|
|
832
|
-
data, _status_code, _headers = get_comments_public_with_http_info(tenant_id, url_id, opts)
|
|
1092
|
+
# @return [GetCommentsForUserResponse]
|
|
1093
|
+
def get_comments_for_user(opts = {})
|
|
1094
|
+
data, _status_code, _headers = get_comments_for_user_with_http_info(opts)
|
|
833
1095
|
data
|
|
834
1096
|
end
|
|
835
1097
|
|
|
836
|
-
# req tenantId urlId
|
|
837
|
-
# @param tenant_id [String]
|
|
838
|
-
# @param url_id [String]
|
|
839
1098
|
# @param [Hash] opts the optional parameters
|
|
840
|
-
# @option opts [
|
|
1099
|
+
# @option opts [String] :user_id
|
|
841
1100
|
# @option opts [SortDirections] :direction
|
|
842
|
-
# @option opts [String] :
|
|
843
|
-
# @option opts [
|
|
844
|
-
# @option opts [
|
|
845
|
-
# @option opts [
|
|
846
|
-
# @option opts [
|
|
1101
|
+
# @option opts [String] :replies_to_user_id
|
|
1102
|
+
# @option opts [Float] :page
|
|
1103
|
+
# @option opts [Boolean] :includei10n
|
|
1104
|
+
# @option opts [String] :locale
|
|
1105
|
+
# @option opts [Boolean] :is_crawler
|
|
1106
|
+
# @return [Array<(GetCommentsForUserResponse, Integer, Hash)>] GetCommentsForUserResponse data, response status code and response headers
|
|
1107
|
+
def get_comments_for_user_with_http_info(opts = {})
|
|
1108
|
+
if @api_client.config.debugging
|
|
1109
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_comments_for_user ...'
|
|
1110
|
+
end
|
|
1111
|
+
# resource path
|
|
1112
|
+
local_var_path = '/comments-for-user'
|
|
1113
|
+
|
|
1114
|
+
# query parameters
|
|
1115
|
+
query_params = opts[:query_params] || {}
|
|
1116
|
+
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
1117
|
+
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
|
1118
|
+
query_params[:'repliesToUserId'] = opts[:'replies_to_user_id'] if !opts[:'replies_to_user_id'].nil?
|
|
1119
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1120
|
+
query_params[:'includei10n'] = opts[:'includei10n'] if !opts[:'includei10n'].nil?
|
|
1121
|
+
query_params[:'locale'] = opts[:'locale'] if !opts[:'locale'].nil?
|
|
1122
|
+
query_params[:'isCrawler'] = opts[:'is_crawler'] if !opts[:'is_crawler'].nil?
|
|
1123
|
+
|
|
1124
|
+
# header parameters
|
|
1125
|
+
header_params = opts[:header_params] || {}
|
|
1126
|
+
# HTTP header 'Accept' (if needed)
|
|
1127
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1128
|
+
|
|
1129
|
+
# form parameters
|
|
1130
|
+
form_params = opts[:form_params] || {}
|
|
1131
|
+
|
|
1132
|
+
# http body (model)
|
|
1133
|
+
post_body = opts[:debug_body]
|
|
1134
|
+
|
|
1135
|
+
# return_type
|
|
1136
|
+
return_type = opts[:debug_return_type] || 'GetCommentsForUserResponse'
|
|
1137
|
+
|
|
1138
|
+
# auth_names
|
|
1139
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1140
|
+
|
|
1141
|
+
new_options = opts.merge(
|
|
1142
|
+
:operation => :"PublicApi.get_comments_for_user",
|
|
1143
|
+
:header_params => header_params,
|
|
1144
|
+
:query_params => query_params,
|
|
1145
|
+
:form_params => form_params,
|
|
1146
|
+
:body => post_body,
|
|
1147
|
+
:auth_names => auth_names,
|
|
1148
|
+
:return_type => return_type
|
|
1149
|
+
)
|
|
1150
|
+
|
|
1151
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1152
|
+
if @api_client.config.debugging
|
|
1153
|
+
@api_client.config.logger.debug "API called: PublicApi#get_comments_for_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1154
|
+
end
|
|
1155
|
+
return data, status_code, headers
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# req tenantId urlId
|
|
1159
|
+
# @param tenant_id [String]
|
|
1160
|
+
# @param url_id [String]
|
|
1161
|
+
# @param [Hash] opts the optional parameters
|
|
1162
|
+
# @option opts [Integer] :page
|
|
1163
|
+
# @option opts [SortDirections] :direction
|
|
1164
|
+
# @option opts [String] :sso
|
|
1165
|
+
# @option opts [Integer] :skip
|
|
1166
|
+
# @option opts [Integer] :skip_children
|
|
1167
|
+
# @option opts [Integer] :limit
|
|
1168
|
+
# @option opts [Integer] :limit_children
|
|
1169
|
+
# @option opts [Boolean] :count_children
|
|
1170
|
+
# @option opts [String] :fetch_page_for_comment_id
|
|
1171
|
+
# @option opts [Boolean] :include_config
|
|
1172
|
+
# @option opts [Boolean] :count_all
|
|
1173
|
+
# @option opts [Boolean] :includei10n
|
|
1174
|
+
# @option opts [String] :locale
|
|
1175
|
+
# @option opts [String] :modules
|
|
1176
|
+
# @option opts [Boolean] :is_crawler
|
|
1177
|
+
# @option opts [Boolean] :include_notification_count
|
|
1178
|
+
# @option opts [Boolean] :as_tree
|
|
1179
|
+
# @option opts [Integer] :max_tree_depth
|
|
1180
|
+
# @option opts [Boolean] :use_full_translation_ids
|
|
1181
|
+
# @option opts [String] :parent_id
|
|
1182
|
+
# @option opts [String] :search_text
|
|
1183
|
+
# @option opts [Array<String>] :hash_tags
|
|
1184
|
+
# @option opts [String] :user_id
|
|
1185
|
+
# @option opts [String] :custom_config_str
|
|
1186
|
+
# @option opts [String] :after_comment_id
|
|
1187
|
+
# @option opts [String] :before_comment_id
|
|
1188
|
+
# @return [GetCommentsResponseWithPresencePublicComment]
|
|
1189
|
+
def get_comments_public(tenant_id, url_id, opts = {})
|
|
1190
|
+
data, _status_code, _headers = get_comments_public_with_http_info(tenant_id, url_id, opts)
|
|
1191
|
+
data
|
|
1192
|
+
end
|
|
1193
|
+
|
|
1194
|
+
# req tenantId urlId
|
|
1195
|
+
# @param tenant_id [String]
|
|
1196
|
+
# @param url_id [String]
|
|
1197
|
+
# @param [Hash] opts the optional parameters
|
|
1198
|
+
# @option opts [Integer] :page
|
|
1199
|
+
# @option opts [SortDirections] :direction
|
|
1200
|
+
# @option opts [String] :sso
|
|
1201
|
+
# @option opts [Integer] :skip
|
|
1202
|
+
# @option opts [Integer] :skip_children
|
|
1203
|
+
# @option opts [Integer] :limit
|
|
1204
|
+
# @option opts [Integer] :limit_children
|
|
847
1205
|
# @option opts [Boolean] :count_children
|
|
848
1206
|
# @option opts [String] :fetch_page_for_comment_id
|
|
849
1207
|
# @option opts [Boolean] :include_config
|
|
@@ -863,7 +1221,7 @@ module FastCommentsClient
|
|
|
863
1221
|
# @option opts [String] :custom_config_str
|
|
864
1222
|
# @option opts [String] :after_comment_id
|
|
865
1223
|
# @option opts [String] :before_comment_id
|
|
866
|
-
# @return [Array<(
|
|
1224
|
+
# @return [Array<(GetCommentsResponseWithPresencePublicComment, Integer, Hash)>] GetCommentsResponseWithPresencePublicComment data, response status code and response headers
|
|
867
1225
|
def get_comments_public_with_http_info(tenant_id, url_id, opts = {})
|
|
868
1226
|
if @api_client.config.debugging
|
|
869
1227
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_comments_public ...'
|
|
@@ -921,7 +1279,7 @@ module FastCommentsClient
|
|
|
921
1279
|
post_body = opts[:debug_body]
|
|
922
1280
|
|
|
923
1281
|
# return_type
|
|
924
|
-
return_type = opts[:debug_return_type] || '
|
|
1282
|
+
return_type = opts[:debug_return_type] || 'GetCommentsResponseWithPresencePublicComment'
|
|
925
1283
|
|
|
926
1284
|
# auth_names
|
|
927
1285
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -948,11 +1306,11 @@ module FastCommentsClient
|
|
|
948
1306
|
# @param url_id [String]
|
|
949
1307
|
# @param user_id_ws [String]
|
|
950
1308
|
# @param start_time [Integer]
|
|
951
|
-
# @param end_time [Integer]
|
|
952
1309
|
# @param [Hash] opts the optional parameters
|
|
953
|
-
# @
|
|
954
|
-
|
|
955
|
-
|
|
1310
|
+
# @option opts [Integer] :end_time
|
|
1311
|
+
# @return [GetEventLogResponse]
|
|
1312
|
+
def get_event_log(tenant_id, url_id, user_id_ws, start_time, opts = {})
|
|
1313
|
+
data, _status_code, _headers = get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
956
1314
|
data
|
|
957
1315
|
end
|
|
958
1316
|
|
|
@@ -961,10 +1319,10 @@ module FastCommentsClient
|
|
|
961
1319
|
# @param url_id [String]
|
|
962
1320
|
# @param user_id_ws [String]
|
|
963
1321
|
# @param start_time [Integer]
|
|
964
|
-
# @param end_time [Integer]
|
|
965
1322
|
# @param [Hash] opts the optional parameters
|
|
966
|
-
# @
|
|
967
|
-
|
|
1323
|
+
# @option opts [Integer] :end_time
|
|
1324
|
+
# @return [Array<(GetEventLogResponse, Integer, Hash)>] GetEventLogResponse data, response status code and response headers
|
|
1325
|
+
def get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts = {})
|
|
968
1326
|
if @api_client.config.debugging
|
|
969
1327
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_event_log ...'
|
|
970
1328
|
end
|
|
@@ -984,10 +1342,6 @@ module FastCommentsClient
|
|
|
984
1342
|
if @api_client.config.client_side_validation && start_time.nil?
|
|
985
1343
|
fail ArgumentError, "Missing the required parameter 'start_time' when calling PublicApi.get_event_log"
|
|
986
1344
|
end
|
|
987
|
-
# verify the required parameter 'end_time' is set
|
|
988
|
-
if @api_client.config.client_side_validation && end_time.nil?
|
|
989
|
-
fail ArgumentError, "Missing the required parameter 'end_time' when calling PublicApi.get_event_log"
|
|
990
|
-
end
|
|
991
1345
|
# resource path
|
|
992
1346
|
local_var_path = '/event-log/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
993
1347
|
|
|
@@ -996,7 +1350,7 @@ module FastCommentsClient
|
|
|
996
1350
|
query_params[:'urlId'] = url_id
|
|
997
1351
|
query_params[:'userIdWS'] = user_id_ws
|
|
998
1352
|
query_params[:'startTime'] = start_time
|
|
999
|
-
query_params[:'endTime'] = end_time
|
|
1353
|
+
query_params[:'endTime'] = opts[:'end_time'] if !opts[:'end_time'].nil?
|
|
1000
1354
|
|
|
1001
1355
|
# header parameters
|
|
1002
1356
|
header_params = opts[:header_params] || {}
|
|
@@ -1010,7 +1364,7 @@ module FastCommentsClient
|
|
|
1010
1364
|
post_body = opts[:debug_body]
|
|
1011
1365
|
|
|
1012
1366
|
# return_type
|
|
1013
|
-
return_type = opts[:debug_return_type] || '
|
|
1367
|
+
return_type = opts[:debug_return_type] || 'GetEventLogResponse'
|
|
1014
1368
|
|
|
1015
1369
|
# auth_names
|
|
1016
1370
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1041,7 +1395,7 @@ module FastCommentsClient
|
|
|
1041
1395
|
# @option opts [String] :sso
|
|
1042
1396
|
# @option opts [Boolean] :is_crawler
|
|
1043
1397
|
# @option opts [Boolean] :include_user_info
|
|
1044
|
-
# @return [
|
|
1398
|
+
# @return [PublicFeedPostsResponse]
|
|
1045
1399
|
def get_feed_posts_public(tenant_id, opts = {})
|
|
1046
1400
|
data, _status_code, _headers = get_feed_posts_public_with_http_info(tenant_id, opts)
|
|
1047
1401
|
data
|
|
@@ -1056,7 +1410,7 @@ module FastCommentsClient
|
|
|
1056
1410
|
# @option opts [String] :sso
|
|
1057
1411
|
# @option opts [Boolean] :is_crawler
|
|
1058
1412
|
# @option opts [Boolean] :include_user_info
|
|
1059
|
-
# @return [Array<(
|
|
1413
|
+
# @return [Array<(PublicFeedPostsResponse, Integer, Hash)>] PublicFeedPostsResponse data, response status code and response headers
|
|
1060
1414
|
def get_feed_posts_public_with_http_info(tenant_id, opts = {})
|
|
1061
1415
|
if @api_client.config.debugging
|
|
1062
1416
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_public ...'
|
|
@@ -1089,7 +1443,7 @@ module FastCommentsClient
|
|
|
1089
1443
|
post_body = opts[:debug_body]
|
|
1090
1444
|
|
|
1091
1445
|
# return_type
|
|
1092
|
-
return_type = opts[:debug_return_type] || '
|
|
1446
|
+
return_type = opts[:debug_return_type] || 'PublicFeedPostsResponse'
|
|
1093
1447
|
|
|
1094
1448
|
# auth_names
|
|
1095
1449
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1115,7 +1469,7 @@ module FastCommentsClient
|
|
|
1115
1469
|
# @param post_ids [Array<String>]
|
|
1116
1470
|
# @param [Hash] opts the optional parameters
|
|
1117
1471
|
# @option opts [String] :sso
|
|
1118
|
-
# @return [
|
|
1472
|
+
# @return [FeedPostsStatsResponse]
|
|
1119
1473
|
def get_feed_posts_stats(tenant_id, post_ids, opts = {})
|
|
1120
1474
|
data, _status_code, _headers = get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
|
|
1121
1475
|
data
|
|
@@ -1125,7 +1479,7 @@ module FastCommentsClient
|
|
|
1125
1479
|
# @param post_ids [Array<String>]
|
|
1126
1480
|
# @param [Hash] opts the optional parameters
|
|
1127
1481
|
# @option opts [String] :sso
|
|
1128
|
-
# @return [Array<(
|
|
1482
|
+
# @return [Array<(FeedPostsStatsResponse, Integer, Hash)>] FeedPostsStatsResponse data, response status code and response headers
|
|
1129
1483
|
def get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts = {})
|
|
1130
1484
|
if @api_client.config.debugging
|
|
1131
1485
|
@api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_stats ...'
|
|
@@ -1158,7 +1512,7 @@ module FastCommentsClient
|
|
|
1158
1512
|
post_body = opts[:debug_body]
|
|
1159
1513
|
|
|
1160
1514
|
# return_type
|
|
1161
|
-
return_type = opts[:debug_return_type] || '
|
|
1515
|
+
return_type = opts[:debug_return_type] || 'FeedPostsStatsResponse'
|
|
1162
1516
|
|
|
1163
1517
|
# auth_names
|
|
1164
1518
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1180,60 +1534,37 @@ module FastCommentsClient
|
|
|
1180
1534
|
return data, status_code, headers
|
|
1181
1535
|
end
|
|
1182
1536
|
|
|
1183
|
-
# req tenantId urlId userIdWS
|
|
1184
1537
|
# @param tenant_id [String]
|
|
1185
|
-
# @param
|
|
1186
|
-
# @param user_id_ws [String]
|
|
1187
|
-
# @param start_time [Integer]
|
|
1188
|
-
# @param end_time [Integer]
|
|
1538
|
+
# @param large_internal_url_sanitized [String]
|
|
1189
1539
|
# @param [Hash] opts the optional parameters
|
|
1190
|
-
# @return [
|
|
1191
|
-
def
|
|
1192
|
-
data, _status_code, _headers =
|
|
1540
|
+
# @return [GifGetLargeResponse]
|
|
1541
|
+
def get_gif_large(tenant_id, large_internal_url_sanitized, opts = {})
|
|
1542
|
+
data, _status_code, _headers = get_gif_large_with_http_info(tenant_id, large_internal_url_sanitized, opts)
|
|
1193
1543
|
data
|
|
1194
1544
|
end
|
|
1195
1545
|
|
|
1196
|
-
# req tenantId urlId userIdWS
|
|
1197
1546
|
# @param tenant_id [String]
|
|
1198
|
-
# @param
|
|
1199
|
-
# @param user_id_ws [String]
|
|
1200
|
-
# @param start_time [Integer]
|
|
1201
|
-
# @param end_time [Integer]
|
|
1547
|
+
# @param large_internal_url_sanitized [String]
|
|
1202
1548
|
# @param [Hash] opts the optional parameters
|
|
1203
|
-
# @return [Array<(
|
|
1204
|
-
def
|
|
1549
|
+
# @return [Array<(GifGetLargeResponse, Integer, Hash)>] GifGetLargeResponse data, response status code and response headers
|
|
1550
|
+
def get_gif_large_with_http_info(tenant_id, large_internal_url_sanitized, opts = {})
|
|
1205
1551
|
if @api_client.config.debugging
|
|
1206
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1552
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_gif_large ...'
|
|
1207
1553
|
end
|
|
1208
1554
|
# verify the required parameter 'tenant_id' is set
|
|
1209
1555
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1210
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1211
|
-
end
|
|
1212
|
-
# verify the required parameter 'url_id' is set
|
|
1213
|
-
if @api_client.config.client_side_validation && url_id.nil?
|
|
1214
|
-
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_global_event_log"
|
|
1215
|
-
end
|
|
1216
|
-
# verify the required parameter 'user_id_ws' is set
|
|
1217
|
-
if @api_client.config.client_side_validation && user_id_ws.nil?
|
|
1218
|
-
fail ArgumentError, "Missing the required parameter 'user_id_ws' when calling PublicApi.get_global_event_log"
|
|
1556
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_gif_large"
|
|
1219
1557
|
end
|
|
1220
|
-
# verify the required parameter '
|
|
1221
|
-
if @api_client.config.client_side_validation &&
|
|
1222
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1223
|
-
end
|
|
1224
|
-
# verify the required parameter 'end_time' is set
|
|
1225
|
-
if @api_client.config.client_side_validation && end_time.nil?
|
|
1226
|
-
fail ArgumentError, "Missing the required parameter 'end_time' when calling PublicApi.get_global_event_log"
|
|
1558
|
+
# verify the required parameter 'large_internal_url_sanitized' is set
|
|
1559
|
+
if @api_client.config.client_side_validation && large_internal_url_sanitized.nil?
|
|
1560
|
+
fail ArgumentError, "Missing the required parameter 'large_internal_url_sanitized' when calling PublicApi.get_gif_large"
|
|
1227
1561
|
end
|
|
1228
1562
|
# resource path
|
|
1229
|
-
local_var_path = '/
|
|
1563
|
+
local_var_path = '/gifs/get-large/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1230
1564
|
|
|
1231
1565
|
# query parameters
|
|
1232
1566
|
query_params = opts[:query_params] || {}
|
|
1233
|
-
query_params[:'
|
|
1234
|
-
query_params[:'userIdWS'] = user_id_ws
|
|
1235
|
-
query_params[:'startTime'] = start_time
|
|
1236
|
-
query_params[:'endTime'] = end_time
|
|
1567
|
+
query_params[:'largeInternalURLSanitized'] = large_internal_url_sanitized
|
|
1237
1568
|
|
|
1238
1569
|
# header parameters
|
|
1239
1570
|
header_params = opts[:header_params] || {}
|
|
@@ -1247,13 +1578,13 @@ module FastCommentsClient
|
|
|
1247
1578
|
post_body = opts[:debug_body]
|
|
1248
1579
|
|
|
1249
1580
|
# return_type
|
|
1250
|
-
return_type = opts[:debug_return_type] || '
|
|
1581
|
+
return_type = opts[:debug_return_type] || 'GifGetLargeResponse'
|
|
1251
1582
|
|
|
1252
1583
|
# auth_names
|
|
1253
1584
|
auth_names = opts[:debug_auth_names] || []
|
|
1254
1585
|
|
|
1255
1586
|
new_options = opts.merge(
|
|
1256
|
-
:operation => :"PublicApi.
|
|
1587
|
+
:operation => :"PublicApi.get_gif_large",
|
|
1257
1588
|
:header_params => header_params,
|
|
1258
1589
|
:query_params => query_params,
|
|
1259
1590
|
:form_params => form_params,
|
|
@@ -1264,39 +1595,51 @@ module FastCommentsClient
|
|
|
1264
1595
|
|
|
1265
1596
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1266
1597
|
if @api_client.config.debugging
|
|
1267
|
-
@api_client.config.logger.debug "API called: PublicApi#
|
|
1598
|
+
@api_client.config.logger.debug "API called: PublicApi#get_gif_large\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1268
1599
|
end
|
|
1269
1600
|
return data, status_code, headers
|
|
1270
1601
|
end
|
|
1271
1602
|
|
|
1272
1603
|
# @param tenant_id [String]
|
|
1604
|
+
# @param search [String]
|
|
1273
1605
|
# @param [Hash] opts the optional parameters
|
|
1274
|
-
# @option opts [String] :
|
|
1275
|
-
# @
|
|
1276
|
-
|
|
1277
|
-
|
|
1606
|
+
# @option opts [String] :locale
|
|
1607
|
+
# @option opts [String] :rating
|
|
1608
|
+
# @option opts [Float] :page
|
|
1609
|
+
# @return [GetGifsSearchResponse]
|
|
1610
|
+
def get_gifs_search(tenant_id, search, opts = {})
|
|
1611
|
+
data, _status_code, _headers = get_gifs_search_with_http_info(tenant_id, search, opts)
|
|
1278
1612
|
data
|
|
1279
1613
|
end
|
|
1280
1614
|
|
|
1281
1615
|
# @param tenant_id [String]
|
|
1616
|
+
# @param search [String]
|
|
1282
1617
|
# @param [Hash] opts the optional parameters
|
|
1283
|
-
# @option opts [String] :
|
|
1284
|
-
# @
|
|
1285
|
-
|
|
1618
|
+
# @option opts [String] :locale
|
|
1619
|
+
# @option opts [String] :rating
|
|
1620
|
+
# @option opts [Float] :page
|
|
1621
|
+
# @return [Array<(GetGifsSearchResponse, Integer, Hash)>] GetGifsSearchResponse data, response status code and response headers
|
|
1622
|
+
def get_gifs_search_with_http_info(tenant_id, search, opts = {})
|
|
1286
1623
|
if @api_client.config.debugging
|
|
1287
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1624
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_gifs_search ...'
|
|
1288
1625
|
end
|
|
1289
1626
|
# verify the required parameter 'tenant_id' is set
|
|
1290
1627
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1291
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1628
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_gifs_search"
|
|
1629
|
+
end
|
|
1630
|
+
# verify the required parameter 'search' is set
|
|
1631
|
+
if @api_client.config.client_side_validation && search.nil?
|
|
1632
|
+
fail ArgumentError, "Missing the required parameter 'search' when calling PublicApi.get_gifs_search"
|
|
1292
1633
|
end
|
|
1293
1634
|
# resource path
|
|
1294
|
-
local_var_path = '/
|
|
1635
|
+
local_var_path = '/gifs/search/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1295
1636
|
|
|
1296
1637
|
# query parameters
|
|
1297
1638
|
query_params = opts[:query_params] || {}
|
|
1298
|
-
query_params[:'
|
|
1299
|
-
query_params[:'
|
|
1639
|
+
query_params[:'search'] = search
|
|
1640
|
+
query_params[:'locale'] = opts[:'locale'] if !opts[:'locale'].nil?
|
|
1641
|
+
query_params[:'rating'] = opts[:'rating'] if !opts[:'rating'].nil?
|
|
1642
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1300
1643
|
|
|
1301
1644
|
# header parameters
|
|
1302
1645
|
header_params = opts[:header_params] || {}
|
|
@@ -1310,13 +1653,13 @@ module FastCommentsClient
|
|
|
1310
1653
|
post_body = opts[:debug_body]
|
|
1311
1654
|
|
|
1312
1655
|
# return_type
|
|
1313
|
-
return_type = opts[:debug_return_type] || '
|
|
1656
|
+
return_type = opts[:debug_return_type] || 'GetGifsSearchResponse'
|
|
1314
1657
|
|
|
1315
1658
|
# auth_names
|
|
1316
1659
|
auth_names = opts[:debug_auth_names] || []
|
|
1317
1660
|
|
|
1318
1661
|
new_options = opts.merge(
|
|
1319
|
-
:operation => :"PublicApi.
|
|
1662
|
+
:operation => :"PublicApi.get_gifs_search",
|
|
1320
1663
|
:header_params => header_params,
|
|
1321
1664
|
:query_params => query_params,
|
|
1322
1665
|
:form_params => form_params,
|
|
@@ -1327,63 +1670,44 @@ module FastCommentsClient
|
|
|
1327
1670
|
|
|
1328
1671
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1329
1672
|
if @api_client.config.debugging
|
|
1330
|
-
@api_client.config.logger.debug "API called: PublicApi#
|
|
1673
|
+
@api_client.config.logger.debug "API called: PublicApi#get_gifs_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1331
1674
|
end
|
|
1332
1675
|
return data, status_code, headers
|
|
1333
1676
|
end
|
|
1334
1677
|
|
|
1335
1678
|
# @param tenant_id [String]
|
|
1336
1679
|
# @param [Hash] opts the optional parameters
|
|
1337
|
-
# @option opts [
|
|
1338
|
-
# @option opts [String] :
|
|
1339
|
-
# @option opts [
|
|
1340
|
-
# @
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
# @option opts [Boolean] :no_dm
|
|
1344
|
-
# @option opts [Boolean] :include_translations
|
|
1345
|
-
# @option opts [String] :sso
|
|
1346
|
-
# @return [GetUserNotifications200Response]
|
|
1347
|
-
def get_user_notifications(tenant_id, opts = {})
|
|
1348
|
-
data, _status_code, _headers = get_user_notifications_with_http_info(tenant_id, opts)
|
|
1680
|
+
# @option opts [String] :locale
|
|
1681
|
+
# @option opts [String] :rating
|
|
1682
|
+
# @option opts [Float] :page
|
|
1683
|
+
# @return [GetGifsTrendingResponse]
|
|
1684
|
+
def get_gifs_trending(tenant_id, opts = {})
|
|
1685
|
+
data, _status_code, _headers = get_gifs_trending_with_http_info(tenant_id, opts)
|
|
1349
1686
|
data
|
|
1350
1687
|
end
|
|
1351
1688
|
|
|
1352
1689
|
# @param tenant_id [String]
|
|
1353
1690
|
# @param [Hash] opts the optional parameters
|
|
1354
|
-
# @option opts [
|
|
1355
|
-
# @option opts [String] :
|
|
1356
|
-
# @option opts [
|
|
1357
|
-
# @
|
|
1358
|
-
|
|
1359
|
-
# @option opts [Boolean] :dm_only
|
|
1360
|
-
# @option opts [Boolean] :no_dm
|
|
1361
|
-
# @option opts [Boolean] :include_translations
|
|
1362
|
-
# @option opts [String] :sso
|
|
1363
|
-
# @return [Array<(GetUserNotifications200Response, Integer, Hash)>] GetUserNotifications200Response data, response status code and response headers
|
|
1364
|
-
def get_user_notifications_with_http_info(tenant_id, opts = {})
|
|
1691
|
+
# @option opts [String] :locale
|
|
1692
|
+
# @option opts [String] :rating
|
|
1693
|
+
# @option opts [Float] :page
|
|
1694
|
+
# @return [Array<(GetGifsTrendingResponse, Integer, Hash)>] GetGifsTrendingResponse data, response status code and response headers
|
|
1695
|
+
def get_gifs_trending_with_http_info(tenant_id, opts = {})
|
|
1365
1696
|
if @api_client.config.debugging
|
|
1366
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1697
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_gifs_trending ...'
|
|
1367
1698
|
end
|
|
1368
1699
|
# verify the required parameter 'tenant_id' is set
|
|
1369
1700
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1370
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1701
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_gifs_trending"
|
|
1371
1702
|
end
|
|
1372
1703
|
# resource path
|
|
1373
|
-
local_var_path = '/
|
|
1704
|
+
local_var_path = '/gifs/trending/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1374
1705
|
|
|
1375
1706
|
# query parameters
|
|
1376
1707
|
query_params = opts[:query_params] || {}
|
|
1377
|
-
query_params[:'
|
|
1378
|
-
query_params[:'
|
|
1379
|
-
query_params[:'
|
|
1380
|
-
query_params[:'includeContext'] = opts[:'include_context'] if !opts[:'include_context'].nil?
|
|
1381
|
-
query_params[:'afterCreatedAt'] = opts[:'after_created_at'] if !opts[:'after_created_at'].nil?
|
|
1382
|
-
query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
|
|
1383
|
-
query_params[:'dmOnly'] = opts[:'dm_only'] if !opts[:'dm_only'].nil?
|
|
1384
|
-
query_params[:'noDm'] = opts[:'no_dm'] if !opts[:'no_dm'].nil?
|
|
1385
|
-
query_params[:'includeTranslations'] = opts[:'include_translations'] if !opts[:'include_translations'].nil?
|
|
1386
|
-
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
1708
|
+
query_params[:'locale'] = opts[:'locale'] if !opts[:'locale'].nil?
|
|
1709
|
+
query_params[:'rating'] = opts[:'rating'] if !opts[:'rating'].nil?
|
|
1710
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1387
1711
|
|
|
1388
1712
|
# header parameters
|
|
1389
1713
|
header_params = opts[:header_params] || {}
|
|
@@ -1397,13 +1721,13 @@ module FastCommentsClient
|
|
|
1397
1721
|
post_body = opts[:debug_body]
|
|
1398
1722
|
|
|
1399
1723
|
# return_type
|
|
1400
|
-
return_type = opts[:debug_return_type] || '
|
|
1724
|
+
return_type = opts[:debug_return_type] || 'GetGifsTrendingResponse'
|
|
1401
1725
|
|
|
1402
1726
|
# auth_names
|
|
1403
1727
|
auth_names = opts[:debug_auth_names] || []
|
|
1404
1728
|
|
|
1405
1729
|
new_options = opts.merge(
|
|
1406
|
-
:operation => :"PublicApi.
|
|
1730
|
+
:operation => :"PublicApi.get_gifs_trending",
|
|
1407
1731
|
:header_params => header_params,
|
|
1408
1732
|
:query_params => query_params,
|
|
1409
1733
|
:form_params => form_params,
|
|
@@ -1414,50 +1738,61 @@ module FastCommentsClient
|
|
|
1414
1738
|
|
|
1415
1739
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1416
1740
|
if @api_client.config.debugging
|
|
1417
|
-
@api_client.config.logger.debug "API called: PublicApi#
|
|
1741
|
+
@api_client.config.logger.debug "API called: PublicApi#get_gifs_trending\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1418
1742
|
end
|
|
1419
1743
|
return data, status_code, headers
|
|
1420
1744
|
end
|
|
1421
1745
|
|
|
1746
|
+
# req tenantId urlId userIdWS
|
|
1422
1747
|
# @param tenant_id [String]
|
|
1423
|
-
# @param
|
|
1424
|
-
# @param
|
|
1748
|
+
# @param url_id [String]
|
|
1749
|
+
# @param user_id_ws [String]
|
|
1750
|
+
# @param start_time [Integer]
|
|
1425
1751
|
# @param [Hash] opts the optional parameters
|
|
1426
|
-
# @
|
|
1427
|
-
|
|
1428
|
-
|
|
1752
|
+
# @option opts [Integer] :end_time
|
|
1753
|
+
# @return [GetEventLogResponse]
|
|
1754
|
+
def get_global_event_log(tenant_id, url_id, user_id_ws, start_time, opts = {})
|
|
1755
|
+
data, _status_code, _headers = get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1429
1756
|
data
|
|
1430
1757
|
end
|
|
1431
1758
|
|
|
1759
|
+
# req tenantId urlId userIdWS
|
|
1432
1760
|
# @param tenant_id [String]
|
|
1433
|
-
# @param
|
|
1434
|
-
# @param
|
|
1761
|
+
# @param url_id [String]
|
|
1762
|
+
# @param user_id_ws [String]
|
|
1763
|
+
# @param start_time [Integer]
|
|
1435
1764
|
# @param [Hash] opts the optional parameters
|
|
1436
|
-
# @
|
|
1437
|
-
|
|
1765
|
+
# @option opts [Integer] :end_time
|
|
1766
|
+
# @return [Array<(GetEventLogResponse, Integer, Hash)>] GetEventLogResponse data, response status code and response headers
|
|
1767
|
+
def get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts = {})
|
|
1438
1768
|
if @api_client.config.debugging
|
|
1439
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1769
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_global_event_log ...'
|
|
1440
1770
|
end
|
|
1441
1771
|
# verify the required parameter 'tenant_id' is set
|
|
1442
1772
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1443
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1773
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_global_event_log"
|
|
1444
1774
|
end
|
|
1445
|
-
# verify the required parameter '
|
|
1446
|
-
if @api_client.config.client_side_validation &&
|
|
1447
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1775
|
+
# verify the required parameter 'url_id' is set
|
|
1776
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
1777
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_global_event_log"
|
|
1448
1778
|
end
|
|
1449
|
-
# verify the required parameter '
|
|
1450
|
-
if @api_client.config.client_side_validation &&
|
|
1451
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1779
|
+
# verify the required parameter 'user_id_ws' is set
|
|
1780
|
+
if @api_client.config.client_side_validation && user_id_ws.nil?
|
|
1781
|
+
fail ArgumentError, "Missing the required parameter 'user_id_ws' when calling PublicApi.get_global_event_log"
|
|
1782
|
+
end
|
|
1783
|
+
# verify the required parameter 'start_time' is set
|
|
1784
|
+
if @api_client.config.client_side_validation && start_time.nil?
|
|
1785
|
+
fail ArgumentError, "Missing the required parameter 'start_time' when calling PublicApi.get_global_event_log"
|
|
1452
1786
|
end
|
|
1453
1787
|
# resource path
|
|
1454
|
-
local_var_path = '/
|
|
1788
|
+
local_var_path = '/event-log/global/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1455
1789
|
|
|
1456
1790
|
# query parameters
|
|
1457
1791
|
query_params = opts[:query_params] || {}
|
|
1458
|
-
query_params[:'
|
|
1459
|
-
query_params[:'
|
|
1460
|
-
query_params[:'
|
|
1792
|
+
query_params[:'urlId'] = url_id
|
|
1793
|
+
query_params[:'userIdWS'] = user_id_ws
|
|
1794
|
+
query_params[:'startTime'] = start_time
|
|
1795
|
+
query_params[:'endTime'] = opts[:'end_time'] if !opts[:'end_time'].nil?
|
|
1461
1796
|
|
|
1462
1797
|
# header parameters
|
|
1463
1798
|
header_params = opts[:header_params] || {}
|
|
@@ -1471,13 +1806,13 @@ module FastCommentsClient
|
|
|
1471
1806
|
post_body = opts[:debug_body]
|
|
1472
1807
|
|
|
1473
1808
|
# return_type
|
|
1474
|
-
return_type = opts[:debug_return_type] || '
|
|
1809
|
+
return_type = opts[:debug_return_type] || 'GetEventLogResponse'
|
|
1475
1810
|
|
|
1476
1811
|
# auth_names
|
|
1477
1812
|
auth_names = opts[:debug_auth_names] || []
|
|
1478
1813
|
|
|
1479
1814
|
new_options = opts.merge(
|
|
1480
|
-
:operation => :"PublicApi.
|
|
1815
|
+
:operation => :"PublicApi.get_global_event_log",
|
|
1481
1816
|
:header_params => header_params,
|
|
1482
1817
|
:query_params => query_params,
|
|
1483
1818
|
:form_params => form_params,
|
|
@@ -1488,41 +1823,50 @@ module FastCommentsClient
|
|
|
1488
1823
|
|
|
1489
1824
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1490
1825
|
if @api_client.config.debugging
|
|
1491
|
-
@api_client.config.logger.debug "API called: PublicApi#
|
|
1826
|
+
@api_client.config.logger.debug "API called: PublicApi#get_global_event_log\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1492
1827
|
end
|
|
1493
1828
|
return data, status_code, headers
|
|
1494
1829
|
end
|
|
1495
1830
|
|
|
1831
|
+
# Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost.
|
|
1496
1832
|
# @param tenant_id [String]
|
|
1833
|
+
# @param url_id [String] Page URL identifier (cleaned server-side).
|
|
1497
1834
|
# @param [Hash] opts the optional parameters
|
|
1498
|
-
# @option opts [
|
|
1499
|
-
# @option opts [String] :
|
|
1500
|
-
# @return [
|
|
1501
|
-
def
|
|
1502
|
-
data, _status_code, _headers =
|
|
1835
|
+
# @option opts [String] :after_name Cursor: pass nextAfterName from the previous response.
|
|
1836
|
+
# @option opts [String] :after_user_id Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1837
|
+
# @return [PageUsersOfflineResponse]
|
|
1838
|
+
def get_offline_users(tenant_id, url_id, opts = {})
|
|
1839
|
+
data, _status_code, _headers = get_offline_users_with_http_info(tenant_id, url_id, opts)
|
|
1503
1840
|
data
|
|
1504
1841
|
end
|
|
1505
1842
|
|
|
1843
|
+
# Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost.
|
|
1506
1844
|
# @param tenant_id [String]
|
|
1845
|
+
# @param url_id [String] Page URL identifier (cleaned server-side).
|
|
1507
1846
|
# @param [Hash] opts the optional parameters
|
|
1508
|
-
# @option opts [
|
|
1509
|
-
# @option opts [String] :
|
|
1510
|
-
# @return [Array<(
|
|
1511
|
-
def
|
|
1847
|
+
# @option opts [String] :after_name Cursor: pass nextAfterName from the previous response.
|
|
1848
|
+
# @option opts [String] :after_user_id Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1849
|
+
# @return [Array<(PageUsersOfflineResponse, Integer, Hash)>] PageUsersOfflineResponse data, response status code and response headers
|
|
1850
|
+
def get_offline_users_with_http_info(tenant_id, url_id, opts = {})
|
|
1512
1851
|
if @api_client.config.debugging
|
|
1513
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1852
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_offline_users ...'
|
|
1514
1853
|
end
|
|
1515
1854
|
# verify the required parameter 'tenant_id' is set
|
|
1516
1855
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1517
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1856
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_offline_users"
|
|
1857
|
+
end
|
|
1858
|
+
# verify the required parameter 'url_id' is set
|
|
1859
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
1860
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_offline_users"
|
|
1518
1861
|
end
|
|
1519
1862
|
# resource path
|
|
1520
|
-
local_var_path = '/
|
|
1863
|
+
local_var_path = '/pages/{tenantId}/users/offline'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1521
1864
|
|
|
1522
1865
|
# query parameters
|
|
1523
1866
|
query_params = opts[:query_params] || {}
|
|
1524
|
-
query_params[:'
|
|
1525
|
-
query_params[:'
|
|
1867
|
+
query_params[:'urlId'] = url_id
|
|
1868
|
+
query_params[:'afterName'] = opts[:'after_name'] if !opts[:'after_name'].nil?
|
|
1869
|
+
query_params[:'afterUserId'] = opts[:'after_user_id'] if !opts[:'after_user_id'].nil?
|
|
1526
1870
|
|
|
1527
1871
|
# header parameters
|
|
1528
1872
|
header_params = opts[:header_params] || {}
|
|
@@ -1536,13 +1880,13 @@ module FastCommentsClient
|
|
|
1536
1880
|
post_body = opts[:debug_body]
|
|
1537
1881
|
|
|
1538
1882
|
# return_type
|
|
1539
|
-
return_type = opts[:debug_return_type] || '
|
|
1883
|
+
return_type = opts[:debug_return_type] || 'PageUsersOfflineResponse'
|
|
1540
1884
|
|
|
1541
1885
|
# auth_names
|
|
1542
1886
|
auth_names = opts[:debug_auth_names] || []
|
|
1543
1887
|
|
|
1544
1888
|
new_options = opts.merge(
|
|
1545
|
-
:operation => :"PublicApi.
|
|
1889
|
+
:operation => :"PublicApi.get_offline_users",
|
|
1546
1890
|
:header_params => header_params,
|
|
1547
1891
|
:query_params => query_params,
|
|
1548
1892
|
:form_params => form_params,
|
|
@@ -1553,37 +1897,826 @@ module FastCommentsClient
|
|
|
1553
1897
|
|
|
1554
1898
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1555
1899
|
if @api_client.config.debugging
|
|
1556
|
-
@api_client.config.logger.debug "API called: PublicApi#
|
|
1900
|
+
@api_client.config.logger.debug "API called: PublicApi#get_offline_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1557
1901
|
end
|
|
1558
1902
|
return data, status_code, headers
|
|
1559
1903
|
end
|
|
1560
1904
|
|
|
1905
|
+
# Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).
|
|
1561
1906
|
# @param tenant_id [String]
|
|
1562
|
-
# @param
|
|
1563
|
-
# @param broadcast_id [String]
|
|
1907
|
+
# @param url_id [String] Page URL identifier (cleaned server-side).
|
|
1564
1908
|
# @param [Hash] opts the optional parameters
|
|
1565
|
-
# @option opts [String] :
|
|
1566
|
-
# @
|
|
1567
|
-
|
|
1568
|
-
|
|
1909
|
+
# @option opts [String] :after_name Cursor: pass nextAfterName from the previous response.
|
|
1910
|
+
# @option opts [String] :after_user_id Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1911
|
+
# @return [PageUsersOnlineResponse]
|
|
1912
|
+
def get_online_users(tenant_id, url_id, opts = {})
|
|
1913
|
+
data, _status_code, _headers = get_online_users_with_http_info(tenant_id, url_id, opts)
|
|
1569
1914
|
data
|
|
1570
1915
|
end
|
|
1571
1916
|
|
|
1917
|
+
# Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).
|
|
1572
1918
|
# @param tenant_id [String]
|
|
1573
|
-
# @param
|
|
1574
|
-
# @param broadcast_id [String]
|
|
1919
|
+
# @param url_id [String] Page URL identifier (cleaned server-side).
|
|
1575
1920
|
# @param [Hash] opts the optional parameters
|
|
1576
|
-
# @option opts [String] :
|
|
1577
|
-
# @
|
|
1578
|
-
|
|
1921
|
+
# @option opts [String] :after_name Cursor: pass nextAfterName from the previous response.
|
|
1922
|
+
# @option opts [String] :after_user_id Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1923
|
+
# @return [Array<(PageUsersOnlineResponse, Integer, Hash)>] PageUsersOnlineResponse data, response status code and response headers
|
|
1924
|
+
def get_online_users_with_http_info(tenant_id, url_id, opts = {})
|
|
1579
1925
|
if @api_client.config.debugging
|
|
1580
|
-
@api_client.config.logger.debug 'Calling API: PublicApi.
|
|
1926
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_online_users ...'
|
|
1581
1927
|
end
|
|
1582
1928
|
# verify the required parameter 'tenant_id' is set
|
|
1583
1929
|
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1584
|
-
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.
|
|
1930
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_online_users"
|
|
1585
1931
|
end
|
|
1586
|
-
# verify the required parameter '
|
|
1932
|
+
# verify the required parameter 'url_id' is set
|
|
1933
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
1934
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_online_users"
|
|
1935
|
+
end
|
|
1936
|
+
# resource path
|
|
1937
|
+
local_var_path = '/pages/{tenantId}/users/online'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
1938
|
+
|
|
1939
|
+
# query parameters
|
|
1940
|
+
query_params = opts[:query_params] || {}
|
|
1941
|
+
query_params[:'urlId'] = url_id
|
|
1942
|
+
query_params[:'afterName'] = opts[:'after_name'] if !opts[:'after_name'].nil?
|
|
1943
|
+
query_params[:'afterUserId'] = opts[:'after_user_id'] if !opts[:'after_user_id'].nil?
|
|
1944
|
+
|
|
1945
|
+
# header parameters
|
|
1946
|
+
header_params = opts[:header_params] || {}
|
|
1947
|
+
# HTTP header 'Accept' (if needed)
|
|
1948
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1949
|
+
|
|
1950
|
+
# form parameters
|
|
1951
|
+
form_params = opts[:form_params] || {}
|
|
1952
|
+
|
|
1953
|
+
# http body (model)
|
|
1954
|
+
post_body = opts[:debug_body]
|
|
1955
|
+
|
|
1956
|
+
# return_type
|
|
1957
|
+
return_type = opts[:debug_return_type] || 'PageUsersOnlineResponse'
|
|
1958
|
+
|
|
1959
|
+
# auth_names
|
|
1960
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1961
|
+
|
|
1962
|
+
new_options = opts.merge(
|
|
1963
|
+
:operation => :"PublicApi.get_online_users",
|
|
1964
|
+
:header_params => header_params,
|
|
1965
|
+
:query_params => query_params,
|
|
1966
|
+
:form_params => form_params,
|
|
1967
|
+
:body => post_body,
|
|
1968
|
+
:auth_names => auth_names,
|
|
1969
|
+
:return_type => return_type
|
|
1970
|
+
)
|
|
1971
|
+
|
|
1972
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1973
|
+
if @api_client.config.debugging
|
|
1974
|
+
@api_client.config.logger.debug "API called: PublicApi#get_online_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1975
|
+
end
|
|
1976
|
+
return data, status_code, headers
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1979
|
+
# List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access.
|
|
1980
|
+
# @param tenant_id [String]
|
|
1981
|
+
# @param [Hash] opts the optional parameters
|
|
1982
|
+
# @option opts [String] :cursor Opaque pagination cursor returned as `nextCursor` from a prior request. Tied to the same `sortBy`.
|
|
1983
|
+
# @option opts [Integer] :limit 1..200, default 50
|
|
1984
|
+
# @option opts [String] :q Optional case-insensitive title prefix filter.
|
|
1985
|
+
# @option opts [PagesSortBy] :sort_by Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical).
|
|
1986
|
+
# @option opts [Boolean] :has_comments If true, only return pages with at least one comment.
|
|
1987
|
+
# @return [GetPublicPagesResponse]
|
|
1988
|
+
def get_pages_public(tenant_id, opts = {})
|
|
1989
|
+
data, _status_code, _headers = get_pages_public_with_http_info(tenant_id, opts)
|
|
1990
|
+
data
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
# List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access.
|
|
1994
|
+
# @param tenant_id [String]
|
|
1995
|
+
# @param [Hash] opts the optional parameters
|
|
1996
|
+
# @option opts [String] :cursor Opaque pagination cursor returned as `nextCursor` from a prior request. Tied to the same `sortBy`.
|
|
1997
|
+
# @option opts [Integer] :limit 1..200, default 50
|
|
1998
|
+
# @option opts [String] :q Optional case-insensitive title prefix filter.
|
|
1999
|
+
# @option opts [PagesSortBy] :sort_by Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical).
|
|
2000
|
+
# @option opts [Boolean] :has_comments If true, only return pages with at least one comment.
|
|
2001
|
+
# @return [Array<(GetPublicPagesResponse, Integer, Hash)>] GetPublicPagesResponse data, response status code and response headers
|
|
2002
|
+
def get_pages_public_with_http_info(tenant_id, opts = {})
|
|
2003
|
+
if @api_client.config.debugging
|
|
2004
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_pages_public ...'
|
|
2005
|
+
end
|
|
2006
|
+
# verify the required parameter 'tenant_id' is set
|
|
2007
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2008
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_pages_public"
|
|
2009
|
+
end
|
|
2010
|
+
# resource path
|
|
2011
|
+
local_var_path = '/pages/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2012
|
+
|
|
2013
|
+
# query parameters
|
|
2014
|
+
query_params = opts[:query_params] || {}
|
|
2015
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
2016
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
2017
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
2018
|
+
query_params[:'sortBy'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
|
|
2019
|
+
query_params[:'hasComments'] = opts[:'has_comments'] if !opts[:'has_comments'].nil?
|
|
2020
|
+
|
|
2021
|
+
# header parameters
|
|
2022
|
+
header_params = opts[:header_params] || {}
|
|
2023
|
+
# HTTP header 'Accept' (if needed)
|
|
2024
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2025
|
+
|
|
2026
|
+
# form parameters
|
|
2027
|
+
form_params = opts[:form_params] || {}
|
|
2028
|
+
|
|
2029
|
+
# http body (model)
|
|
2030
|
+
post_body = opts[:debug_body]
|
|
2031
|
+
|
|
2032
|
+
# return_type
|
|
2033
|
+
return_type = opts[:debug_return_type] || 'GetPublicPagesResponse'
|
|
2034
|
+
|
|
2035
|
+
# auth_names
|
|
2036
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2037
|
+
|
|
2038
|
+
new_options = opts.merge(
|
|
2039
|
+
:operation => :"PublicApi.get_pages_public",
|
|
2040
|
+
:header_params => header_params,
|
|
2041
|
+
:query_params => query_params,
|
|
2042
|
+
:form_params => form_params,
|
|
2043
|
+
:body => post_body,
|
|
2044
|
+
:auth_names => auth_names,
|
|
2045
|
+
:return_type => return_type
|
|
2046
|
+
)
|
|
2047
|
+
|
|
2048
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2049
|
+
if @api_client.config.debugging
|
|
2050
|
+
@api_client.config.logger.debug "API called: PublicApi#get_pages_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2051
|
+
end
|
|
2052
|
+
return data, status_code, headers
|
|
2053
|
+
end
|
|
2054
|
+
|
|
2055
|
+
# @param namespace [String]
|
|
2056
|
+
# @param component [String]
|
|
2057
|
+
# @param [Hash] opts the optional parameters
|
|
2058
|
+
# @option opts [String] :locale
|
|
2059
|
+
# @option opts [Boolean] :use_full_translation_ids
|
|
2060
|
+
# @return [GetTranslationsResponse]
|
|
2061
|
+
def get_translations(namespace, component, opts = {})
|
|
2062
|
+
data, _status_code, _headers = get_translations_with_http_info(namespace, component, opts)
|
|
2063
|
+
data
|
|
2064
|
+
end
|
|
2065
|
+
|
|
2066
|
+
# @param namespace [String]
|
|
2067
|
+
# @param component [String]
|
|
2068
|
+
# @param [Hash] opts the optional parameters
|
|
2069
|
+
# @option opts [String] :locale
|
|
2070
|
+
# @option opts [Boolean] :use_full_translation_ids
|
|
2071
|
+
# @return [Array<(GetTranslationsResponse, Integer, Hash)>] GetTranslationsResponse data, response status code and response headers
|
|
2072
|
+
def get_translations_with_http_info(namespace, component, opts = {})
|
|
2073
|
+
if @api_client.config.debugging
|
|
2074
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_translations ...'
|
|
2075
|
+
end
|
|
2076
|
+
# verify the required parameter 'namespace' is set
|
|
2077
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
2078
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling PublicApi.get_translations"
|
|
2079
|
+
end
|
|
2080
|
+
# verify the required parameter 'component' is set
|
|
2081
|
+
if @api_client.config.client_side_validation && component.nil?
|
|
2082
|
+
fail ArgumentError, "Missing the required parameter 'component' when calling PublicApi.get_translations"
|
|
2083
|
+
end
|
|
2084
|
+
# resource path
|
|
2085
|
+
local_var_path = '/translations/{namespace}/{component}'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s)).sub('{' + 'component' + '}', CGI.escape(component.to_s))
|
|
2086
|
+
|
|
2087
|
+
# query parameters
|
|
2088
|
+
query_params = opts[:query_params] || {}
|
|
2089
|
+
query_params[:'locale'] = opts[:'locale'] if !opts[:'locale'].nil?
|
|
2090
|
+
query_params[:'useFullTranslationIds'] = opts[:'use_full_translation_ids'] if !opts[:'use_full_translation_ids'].nil?
|
|
2091
|
+
|
|
2092
|
+
# header parameters
|
|
2093
|
+
header_params = opts[:header_params] || {}
|
|
2094
|
+
# HTTP header 'Accept' (if needed)
|
|
2095
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2096
|
+
|
|
2097
|
+
# form parameters
|
|
2098
|
+
form_params = opts[:form_params] || {}
|
|
2099
|
+
|
|
2100
|
+
# http body (model)
|
|
2101
|
+
post_body = opts[:debug_body]
|
|
2102
|
+
|
|
2103
|
+
# return_type
|
|
2104
|
+
return_type = opts[:debug_return_type] || 'GetTranslationsResponse'
|
|
2105
|
+
|
|
2106
|
+
# auth_names
|
|
2107
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2108
|
+
|
|
2109
|
+
new_options = opts.merge(
|
|
2110
|
+
:operation => :"PublicApi.get_translations",
|
|
2111
|
+
:header_params => header_params,
|
|
2112
|
+
:query_params => query_params,
|
|
2113
|
+
:form_params => form_params,
|
|
2114
|
+
:body => post_body,
|
|
2115
|
+
:auth_names => auth_names,
|
|
2116
|
+
:return_type => return_type
|
|
2117
|
+
)
|
|
2118
|
+
|
|
2119
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2120
|
+
if @api_client.config.debugging
|
|
2121
|
+
@api_client.config.logger.debug "API called: PublicApi#get_translations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2122
|
+
end
|
|
2123
|
+
return data, status_code, headers
|
|
2124
|
+
end
|
|
2125
|
+
|
|
2126
|
+
# @param tenant_id [String]
|
|
2127
|
+
# @param [Hash] opts the optional parameters
|
|
2128
|
+
# @option opts [String] :sso
|
|
2129
|
+
# @return [GetUserNotificationCountResponse]
|
|
2130
|
+
def get_user_notification_count(tenant_id, opts = {})
|
|
2131
|
+
data, _status_code, _headers = get_user_notification_count_with_http_info(tenant_id, opts)
|
|
2132
|
+
data
|
|
2133
|
+
end
|
|
2134
|
+
|
|
2135
|
+
# @param tenant_id [String]
|
|
2136
|
+
# @param [Hash] opts the optional parameters
|
|
2137
|
+
# @option opts [String] :sso
|
|
2138
|
+
# @return [Array<(GetUserNotificationCountResponse, Integer, Hash)>] GetUserNotificationCountResponse data, response status code and response headers
|
|
2139
|
+
def get_user_notification_count_with_http_info(tenant_id, opts = {})
|
|
2140
|
+
if @api_client.config.debugging
|
|
2141
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_user_notification_count ...'
|
|
2142
|
+
end
|
|
2143
|
+
# verify the required parameter 'tenant_id' is set
|
|
2144
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2145
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_notification_count"
|
|
2146
|
+
end
|
|
2147
|
+
# resource path
|
|
2148
|
+
local_var_path = '/user-notifications/get-count'
|
|
2149
|
+
|
|
2150
|
+
# query parameters
|
|
2151
|
+
query_params = opts[:query_params] || {}
|
|
2152
|
+
query_params[:'tenantId'] = tenant_id
|
|
2153
|
+
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2154
|
+
|
|
2155
|
+
# header parameters
|
|
2156
|
+
header_params = opts[:header_params] || {}
|
|
2157
|
+
# HTTP header 'Accept' (if needed)
|
|
2158
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2159
|
+
|
|
2160
|
+
# form parameters
|
|
2161
|
+
form_params = opts[:form_params] || {}
|
|
2162
|
+
|
|
2163
|
+
# http body (model)
|
|
2164
|
+
post_body = opts[:debug_body]
|
|
2165
|
+
|
|
2166
|
+
# return_type
|
|
2167
|
+
return_type = opts[:debug_return_type] || 'GetUserNotificationCountResponse'
|
|
2168
|
+
|
|
2169
|
+
# auth_names
|
|
2170
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2171
|
+
|
|
2172
|
+
new_options = opts.merge(
|
|
2173
|
+
:operation => :"PublicApi.get_user_notification_count",
|
|
2174
|
+
:header_params => header_params,
|
|
2175
|
+
:query_params => query_params,
|
|
2176
|
+
:form_params => form_params,
|
|
2177
|
+
:body => post_body,
|
|
2178
|
+
:auth_names => auth_names,
|
|
2179
|
+
:return_type => return_type
|
|
2180
|
+
)
|
|
2181
|
+
|
|
2182
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2183
|
+
if @api_client.config.debugging
|
|
2184
|
+
@api_client.config.logger.debug "API called: PublicApi#get_user_notification_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2185
|
+
end
|
|
2186
|
+
return data, status_code, headers
|
|
2187
|
+
end
|
|
2188
|
+
|
|
2189
|
+
# @param tenant_id [String]
|
|
2190
|
+
# @param [Hash] opts the optional parameters
|
|
2191
|
+
# @option opts [String] :url_id Used to determine whether the current page is subscribed.
|
|
2192
|
+
# @option opts [Integer] :page_size
|
|
2193
|
+
# @option opts [String] :after_id
|
|
2194
|
+
# @option opts [Boolean] :include_context
|
|
2195
|
+
# @option opts [Integer] :after_created_at
|
|
2196
|
+
# @option opts [Boolean] :unread_only
|
|
2197
|
+
# @option opts [Boolean] :dm_only
|
|
2198
|
+
# @option opts [Boolean] :no_dm
|
|
2199
|
+
# @option opts [Boolean] :include_translations
|
|
2200
|
+
# @option opts [Boolean] :include_tenant_notifications
|
|
2201
|
+
# @option opts [String] :sso
|
|
2202
|
+
# @return [GetMyNotificationsResponse]
|
|
2203
|
+
def get_user_notifications(tenant_id, opts = {})
|
|
2204
|
+
data, _status_code, _headers = get_user_notifications_with_http_info(tenant_id, opts)
|
|
2205
|
+
data
|
|
2206
|
+
end
|
|
2207
|
+
|
|
2208
|
+
# @param tenant_id [String]
|
|
2209
|
+
# @param [Hash] opts the optional parameters
|
|
2210
|
+
# @option opts [String] :url_id Used to determine whether the current page is subscribed.
|
|
2211
|
+
# @option opts [Integer] :page_size
|
|
2212
|
+
# @option opts [String] :after_id
|
|
2213
|
+
# @option opts [Boolean] :include_context
|
|
2214
|
+
# @option opts [Integer] :after_created_at
|
|
2215
|
+
# @option opts [Boolean] :unread_only
|
|
2216
|
+
# @option opts [Boolean] :dm_only
|
|
2217
|
+
# @option opts [Boolean] :no_dm
|
|
2218
|
+
# @option opts [Boolean] :include_translations
|
|
2219
|
+
# @option opts [Boolean] :include_tenant_notifications
|
|
2220
|
+
# @option opts [String] :sso
|
|
2221
|
+
# @return [Array<(GetMyNotificationsResponse, Integer, Hash)>] GetMyNotificationsResponse data, response status code and response headers
|
|
2222
|
+
def get_user_notifications_with_http_info(tenant_id, opts = {})
|
|
2223
|
+
if @api_client.config.debugging
|
|
2224
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_user_notifications ...'
|
|
2225
|
+
end
|
|
2226
|
+
# verify the required parameter 'tenant_id' is set
|
|
2227
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2228
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_notifications"
|
|
2229
|
+
end
|
|
2230
|
+
# resource path
|
|
2231
|
+
local_var_path = '/user-notifications'
|
|
2232
|
+
|
|
2233
|
+
# query parameters
|
|
2234
|
+
query_params = opts[:query_params] || {}
|
|
2235
|
+
query_params[:'tenantId'] = tenant_id
|
|
2236
|
+
query_params[:'urlId'] = opts[:'url_id'] if !opts[:'url_id'].nil?
|
|
2237
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
2238
|
+
query_params[:'afterId'] = opts[:'after_id'] if !opts[:'after_id'].nil?
|
|
2239
|
+
query_params[:'includeContext'] = opts[:'include_context'] if !opts[:'include_context'].nil?
|
|
2240
|
+
query_params[:'afterCreatedAt'] = opts[:'after_created_at'] if !opts[:'after_created_at'].nil?
|
|
2241
|
+
query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
|
|
2242
|
+
query_params[:'dmOnly'] = opts[:'dm_only'] if !opts[:'dm_only'].nil?
|
|
2243
|
+
query_params[:'noDm'] = opts[:'no_dm'] if !opts[:'no_dm'].nil?
|
|
2244
|
+
query_params[:'includeTranslations'] = opts[:'include_translations'] if !opts[:'include_translations'].nil?
|
|
2245
|
+
query_params[:'includeTenantNotifications'] = opts[:'include_tenant_notifications'] if !opts[:'include_tenant_notifications'].nil?
|
|
2246
|
+
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2247
|
+
|
|
2248
|
+
# header parameters
|
|
2249
|
+
header_params = opts[:header_params] || {}
|
|
2250
|
+
# HTTP header 'Accept' (if needed)
|
|
2251
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2252
|
+
|
|
2253
|
+
# form parameters
|
|
2254
|
+
form_params = opts[:form_params] || {}
|
|
2255
|
+
|
|
2256
|
+
# http body (model)
|
|
2257
|
+
post_body = opts[:debug_body]
|
|
2258
|
+
|
|
2259
|
+
# return_type
|
|
2260
|
+
return_type = opts[:debug_return_type] || 'GetMyNotificationsResponse'
|
|
2261
|
+
|
|
2262
|
+
# auth_names
|
|
2263
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2264
|
+
|
|
2265
|
+
new_options = opts.merge(
|
|
2266
|
+
:operation => :"PublicApi.get_user_notifications",
|
|
2267
|
+
:header_params => header_params,
|
|
2268
|
+
:query_params => query_params,
|
|
2269
|
+
:form_params => form_params,
|
|
2270
|
+
:body => post_body,
|
|
2271
|
+
:auth_names => auth_names,
|
|
2272
|
+
:return_type => return_type
|
|
2273
|
+
)
|
|
2274
|
+
|
|
2275
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2276
|
+
if @api_client.config.debugging
|
|
2277
|
+
@api_client.config.logger.debug "API called: PublicApi#get_user_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2278
|
+
end
|
|
2279
|
+
return data, status_code, headers
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# @param tenant_id [String]
|
|
2283
|
+
# @param url_id_ws [String]
|
|
2284
|
+
# @param user_ids [String]
|
|
2285
|
+
# @param [Hash] opts the optional parameters
|
|
2286
|
+
# @return [GetUserPresenceStatusesResponse]
|
|
2287
|
+
def get_user_presence_statuses(tenant_id, url_id_ws, user_ids, opts = {})
|
|
2288
|
+
data, _status_code, _headers = get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids, opts)
|
|
2289
|
+
data
|
|
2290
|
+
end
|
|
2291
|
+
|
|
2292
|
+
# @param tenant_id [String]
|
|
2293
|
+
# @param url_id_ws [String]
|
|
2294
|
+
# @param user_ids [String]
|
|
2295
|
+
# @param [Hash] opts the optional parameters
|
|
2296
|
+
# @return [Array<(GetUserPresenceStatusesResponse, Integer, Hash)>] GetUserPresenceStatusesResponse data, response status code and response headers
|
|
2297
|
+
def get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids, opts = {})
|
|
2298
|
+
if @api_client.config.debugging
|
|
2299
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_user_presence_statuses ...'
|
|
2300
|
+
end
|
|
2301
|
+
# verify the required parameter 'tenant_id' is set
|
|
2302
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2303
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_presence_statuses"
|
|
2304
|
+
end
|
|
2305
|
+
# verify the required parameter 'url_id_ws' is set
|
|
2306
|
+
if @api_client.config.client_side_validation && url_id_ws.nil?
|
|
2307
|
+
fail ArgumentError, "Missing the required parameter 'url_id_ws' when calling PublicApi.get_user_presence_statuses"
|
|
2308
|
+
end
|
|
2309
|
+
# verify the required parameter 'user_ids' is set
|
|
2310
|
+
if @api_client.config.client_side_validation && user_ids.nil?
|
|
2311
|
+
fail ArgumentError, "Missing the required parameter 'user_ids' when calling PublicApi.get_user_presence_statuses"
|
|
2312
|
+
end
|
|
2313
|
+
# resource path
|
|
2314
|
+
local_var_path = '/user-presence-status'
|
|
2315
|
+
|
|
2316
|
+
# query parameters
|
|
2317
|
+
query_params = opts[:query_params] || {}
|
|
2318
|
+
query_params[:'tenantId'] = tenant_id
|
|
2319
|
+
query_params[:'urlIdWS'] = url_id_ws
|
|
2320
|
+
query_params[:'userIds'] = user_ids
|
|
2321
|
+
|
|
2322
|
+
# header parameters
|
|
2323
|
+
header_params = opts[:header_params] || {}
|
|
2324
|
+
# HTTP header 'Accept' (if needed)
|
|
2325
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2326
|
+
|
|
2327
|
+
# form parameters
|
|
2328
|
+
form_params = opts[:form_params] || {}
|
|
2329
|
+
|
|
2330
|
+
# http body (model)
|
|
2331
|
+
post_body = opts[:debug_body]
|
|
2332
|
+
|
|
2333
|
+
# return_type
|
|
2334
|
+
return_type = opts[:debug_return_type] || 'GetUserPresenceStatusesResponse'
|
|
2335
|
+
|
|
2336
|
+
# auth_names
|
|
2337
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2338
|
+
|
|
2339
|
+
new_options = opts.merge(
|
|
2340
|
+
:operation => :"PublicApi.get_user_presence_statuses",
|
|
2341
|
+
:header_params => header_params,
|
|
2342
|
+
:query_params => query_params,
|
|
2343
|
+
:form_params => form_params,
|
|
2344
|
+
:body => post_body,
|
|
2345
|
+
:auth_names => auth_names,
|
|
2346
|
+
:return_type => return_type
|
|
2347
|
+
)
|
|
2348
|
+
|
|
2349
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2350
|
+
if @api_client.config.debugging
|
|
2351
|
+
@api_client.config.logger.debug "API called: PublicApi#get_user_presence_statuses\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2352
|
+
end
|
|
2353
|
+
return data, status_code, headers
|
|
2354
|
+
end
|
|
2355
|
+
|
|
2356
|
+
# @param tenant_id [String]
|
|
2357
|
+
# @param [Hash] opts the optional parameters
|
|
2358
|
+
# @option opts [Array<String>] :post_ids
|
|
2359
|
+
# @option opts [String] :sso
|
|
2360
|
+
# @return [UserReactsResponse]
|
|
2361
|
+
def get_user_reacts_public(tenant_id, opts = {})
|
|
2362
|
+
data, _status_code, _headers = get_user_reacts_public_with_http_info(tenant_id, opts)
|
|
2363
|
+
data
|
|
2364
|
+
end
|
|
2365
|
+
|
|
2366
|
+
# @param tenant_id [String]
|
|
2367
|
+
# @param [Hash] opts the optional parameters
|
|
2368
|
+
# @option opts [Array<String>] :post_ids
|
|
2369
|
+
# @option opts [String] :sso
|
|
2370
|
+
# @return [Array<(UserReactsResponse, Integer, Hash)>] UserReactsResponse data, response status code and response headers
|
|
2371
|
+
def get_user_reacts_public_with_http_info(tenant_id, opts = {})
|
|
2372
|
+
if @api_client.config.debugging
|
|
2373
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_user_reacts_public ...'
|
|
2374
|
+
end
|
|
2375
|
+
# verify the required parameter 'tenant_id' is set
|
|
2376
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2377
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_reacts_public"
|
|
2378
|
+
end
|
|
2379
|
+
# resource path
|
|
2380
|
+
local_var_path = '/feed-posts/{tenantId}/user-reacts'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2381
|
+
|
|
2382
|
+
# query parameters
|
|
2383
|
+
query_params = opts[:query_params] || {}
|
|
2384
|
+
query_params[:'postIds'] = @api_client.build_collection_param(opts[:'post_ids'], :multi) if !opts[:'post_ids'].nil?
|
|
2385
|
+
query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
|
|
2386
|
+
|
|
2387
|
+
# header parameters
|
|
2388
|
+
header_params = opts[:header_params] || {}
|
|
2389
|
+
# HTTP header 'Accept' (if needed)
|
|
2390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2391
|
+
|
|
2392
|
+
# form parameters
|
|
2393
|
+
form_params = opts[:form_params] || {}
|
|
2394
|
+
|
|
2395
|
+
# http body (model)
|
|
2396
|
+
post_body = opts[:debug_body]
|
|
2397
|
+
|
|
2398
|
+
# return_type
|
|
2399
|
+
return_type = opts[:debug_return_type] || 'UserReactsResponse'
|
|
2400
|
+
|
|
2401
|
+
# auth_names
|
|
2402
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2403
|
+
|
|
2404
|
+
new_options = opts.merge(
|
|
2405
|
+
:operation => :"PublicApi.get_user_reacts_public",
|
|
2406
|
+
:header_params => header_params,
|
|
2407
|
+
:query_params => query_params,
|
|
2408
|
+
:form_params => form_params,
|
|
2409
|
+
:body => post_body,
|
|
2410
|
+
:auth_names => auth_names,
|
|
2411
|
+
:return_type => return_type
|
|
2412
|
+
)
|
|
2413
|
+
|
|
2414
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2415
|
+
if @api_client.config.debugging
|
|
2416
|
+
@api_client.config.logger.debug "API called: PublicApi#get_user_reacts_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2417
|
+
end
|
|
2418
|
+
return data, status_code, headers
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
# Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).
|
|
2422
|
+
# @param tenant_id [String]
|
|
2423
|
+
# @param ids [String] Comma-delimited userIds.
|
|
2424
|
+
# @param [Hash] opts the optional parameters
|
|
2425
|
+
# @return [PageUsersInfoResponse]
|
|
2426
|
+
def get_users_info(tenant_id, ids, opts = {})
|
|
2427
|
+
data, _status_code, _headers = get_users_info_with_http_info(tenant_id, ids, opts)
|
|
2428
|
+
data
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2431
|
+
# Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).
|
|
2432
|
+
# @param tenant_id [String]
|
|
2433
|
+
# @param ids [String] Comma-delimited userIds.
|
|
2434
|
+
# @param [Hash] opts the optional parameters
|
|
2435
|
+
# @return [Array<(PageUsersInfoResponse, Integer, Hash)>] PageUsersInfoResponse data, response status code and response headers
|
|
2436
|
+
def get_users_info_with_http_info(tenant_id, ids, opts = {})
|
|
2437
|
+
if @api_client.config.debugging
|
|
2438
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_users_info ...'
|
|
2439
|
+
end
|
|
2440
|
+
# verify the required parameter 'tenant_id' is set
|
|
2441
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2442
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_users_info"
|
|
2443
|
+
end
|
|
2444
|
+
# verify the required parameter 'ids' is set
|
|
2445
|
+
if @api_client.config.client_side_validation && ids.nil?
|
|
2446
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling PublicApi.get_users_info"
|
|
2447
|
+
end
|
|
2448
|
+
# resource path
|
|
2449
|
+
local_var_path = '/pages/{tenantId}/users/info'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2450
|
+
|
|
2451
|
+
# query parameters
|
|
2452
|
+
query_params = opts[:query_params] || {}
|
|
2453
|
+
query_params[:'ids'] = ids
|
|
2454
|
+
|
|
2455
|
+
# header parameters
|
|
2456
|
+
header_params = opts[:header_params] || {}
|
|
2457
|
+
# HTTP header 'Accept' (if needed)
|
|
2458
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2459
|
+
|
|
2460
|
+
# form parameters
|
|
2461
|
+
form_params = opts[:form_params] || {}
|
|
2462
|
+
|
|
2463
|
+
# http body (model)
|
|
2464
|
+
post_body = opts[:debug_body]
|
|
2465
|
+
|
|
2466
|
+
# return_type
|
|
2467
|
+
return_type = opts[:debug_return_type] || 'PageUsersInfoResponse'
|
|
2468
|
+
|
|
2469
|
+
# auth_names
|
|
2470
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2471
|
+
|
|
2472
|
+
new_options = opts.merge(
|
|
2473
|
+
:operation => :"PublicApi.get_users_info",
|
|
2474
|
+
:header_params => header_params,
|
|
2475
|
+
:query_params => query_params,
|
|
2476
|
+
:form_params => form_params,
|
|
2477
|
+
:body => post_body,
|
|
2478
|
+
:auth_names => auth_names,
|
|
2479
|
+
:return_type => return_type
|
|
2480
|
+
)
|
|
2481
|
+
|
|
2482
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2483
|
+
if @api_client.config.debugging
|
|
2484
|
+
@api_client.config.logger.debug "API called: PublicApi#get_users_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2485
|
+
end
|
|
2486
|
+
return data, status_code, headers
|
|
2487
|
+
end
|
|
2488
|
+
|
|
2489
|
+
# @param tenant_id [String]
|
|
2490
|
+
# @param url_id [String]
|
|
2491
|
+
# @param [Hash] opts the optional parameters
|
|
2492
|
+
# @return [GetV1PageLikes]
|
|
2493
|
+
def get_v1_page_likes(tenant_id, url_id, opts = {})
|
|
2494
|
+
data, _status_code, _headers = get_v1_page_likes_with_http_info(tenant_id, url_id, opts)
|
|
2495
|
+
data
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2498
|
+
# @param tenant_id [String]
|
|
2499
|
+
# @param url_id [String]
|
|
2500
|
+
# @param [Hash] opts the optional parameters
|
|
2501
|
+
# @return [Array<(GetV1PageLikes, Integer, Hash)>] GetV1PageLikes data, response status code and response headers
|
|
2502
|
+
def get_v1_page_likes_with_http_info(tenant_id, url_id, opts = {})
|
|
2503
|
+
if @api_client.config.debugging
|
|
2504
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_v1_page_likes ...'
|
|
2505
|
+
end
|
|
2506
|
+
# verify the required parameter 'tenant_id' is set
|
|
2507
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2508
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_v1_page_likes"
|
|
2509
|
+
end
|
|
2510
|
+
# verify the required parameter 'url_id' is set
|
|
2511
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
2512
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_v1_page_likes"
|
|
2513
|
+
end
|
|
2514
|
+
# resource path
|
|
2515
|
+
local_var_path = '/page-reacts/v1/likes/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2516
|
+
|
|
2517
|
+
# query parameters
|
|
2518
|
+
query_params = opts[:query_params] || {}
|
|
2519
|
+
query_params[:'urlId'] = url_id
|
|
2520
|
+
|
|
2521
|
+
# header parameters
|
|
2522
|
+
header_params = opts[:header_params] || {}
|
|
2523
|
+
# HTTP header 'Accept' (if needed)
|
|
2524
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2525
|
+
|
|
2526
|
+
# form parameters
|
|
2527
|
+
form_params = opts[:form_params] || {}
|
|
2528
|
+
|
|
2529
|
+
# http body (model)
|
|
2530
|
+
post_body = opts[:debug_body]
|
|
2531
|
+
|
|
2532
|
+
# return_type
|
|
2533
|
+
return_type = opts[:debug_return_type] || 'GetV1PageLikes'
|
|
2534
|
+
|
|
2535
|
+
# auth_names
|
|
2536
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2537
|
+
|
|
2538
|
+
new_options = opts.merge(
|
|
2539
|
+
:operation => :"PublicApi.get_v1_page_likes",
|
|
2540
|
+
:header_params => header_params,
|
|
2541
|
+
:query_params => query_params,
|
|
2542
|
+
:form_params => form_params,
|
|
2543
|
+
:body => post_body,
|
|
2544
|
+
:auth_names => auth_names,
|
|
2545
|
+
:return_type => return_type
|
|
2546
|
+
)
|
|
2547
|
+
|
|
2548
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2549
|
+
if @api_client.config.debugging
|
|
2550
|
+
@api_client.config.logger.debug "API called: PublicApi#get_v1_page_likes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2551
|
+
end
|
|
2552
|
+
return data, status_code, headers
|
|
2553
|
+
end
|
|
2554
|
+
|
|
2555
|
+
# @param tenant_id [String]
|
|
2556
|
+
# @param url_id [String]
|
|
2557
|
+
# @param id [String]
|
|
2558
|
+
# @param [Hash] opts the optional parameters
|
|
2559
|
+
# @return [GetV2PageReactUsersResponse]
|
|
2560
|
+
def get_v2_page_react_users(tenant_id, url_id, id, opts = {})
|
|
2561
|
+
data, _status_code, _headers = get_v2_page_react_users_with_http_info(tenant_id, url_id, id, opts)
|
|
2562
|
+
data
|
|
2563
|
+
end
|
|
2564
|
+
|
|
2565
|
+
# @param tenant_id [String]
|
|
2566
|
+
# @param url_id [String]
|
|
2567
|
+
# @param id [String]
|
|
2568
|
+
# @param [Hash] opts the optional parameters
|
|
2569
|
+
# @return [Array<(GetV2PageReactUsersResponse, Integer, Hash)>] GetV2PageReactUsersResponse data, response status code and response headers
|
|
2570
|
+
def get_v2_page_react_users_with_http_info(tenant_id, url_id, id, opts = {})
|
|
2571
|
+
if @api_client.config.debugging
|
|
2572
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_v2_page_react_users ...'
|
|
2573
|
+
end
|
|
2574
|
+
# verify the required parameter 'tenant_id' is set
|
|
2575
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2576
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_v2_page_react_users"
|
|
2577
|
+
end
|
|
2578
|
+
# verify the required parameter 'url_id' is set
|
|
2579
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
2580
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_v2_page_react_users"
|
|
2581
|
+
end
|
|
2582
|
+
# verify the required parameter 'id' is set
|
|
2583
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2584
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PublicApi.get_v2_page_react_users"
|
|
2585
|
+
end
|
|
2586
|
+
# resource path
|
|
2587
|
+
local_var_path = '/page-reacts/v2/{tenantId}/list'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2588
|
+
|
|
2589
|
+
# query parameters
|
|
2590
|
+
query_params = opts[:query_params] || {}
|
|
2591
|
+
query_params[:'urlId'] = url_id
|
|
2592
|
+
query_params[:'id'] = id
|
|
2593
|
+
|
|
2594
|
+
# header parameters
|
|
2595
|
+
header_params = opts[:header_params] || {}
|
|
2596
|
+
# HTTP header 'Accept' (if needed)
|
|
2597
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2598
|
+
|
|
2599
|
+
# form parameters
|
|
2600
|
+
form_params = opts[:form_params] || {}
|
|
2601
|
+
|
|
2602
|
+
# http body (model)
|
|
2603
|
+
post_body = opts[:debug_body]
|
|
2604
|
+
|
|
2605
|
+
# return_type
|
|
2606
|
+
return_type = opts[:debug_return_type] || 'GetV2PageReactUsersResponse'
|
|
2607
|
+
|
|
2608
|
+
# auth_names
|
|
2609
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2610
|
+
|
|
2611
|
+
new_options = opts.merge(
|
|
2612
|
+
:operation => :"PublicApi.get_v2_page_react_users",
|
|
2613
|
+
:header_params => header_params,
|
|
2614
|
+
:query_params => query_params,
|
|
2615
|
+
:form_params => form_params,
|
|
2616
|
+
:body => post_body,
|
|
2617
|
+
:auth_names => auth_names,
|
|
2618
|
+
:return_type => return_type
|
|
2619
|
+
)
|
|
2620
|
+
|
|
2621
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2622
|
+
if @api_client.config.debugging
|
|
2623
|
+
@api_client.config.logger.debug "API called: PublicApi#get_v2_page_react_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2624
|
+
end
|
|
2625
|
+
return data, status_code, headers
|
|
2626
|
+
end
|
|
2627
|
+
|
|
2628
|
+
# @param tenant_id [String]
|
|
2629
|
+
# @param url_id [String]
|
|
2630
|
+
# @param [Hash] opts the optional parameters
|
|
2631
|
+
# @return [GetV2PageReacts]
|
|
2632
|
+
def get_v2_page_reacts(tenant_id, url_id, opts = {})
|
|
2633
|
+
data, _status_code, _headers = get_v2_page_reacts_with_http_info(tenant_id, url_id, opts)
|
|
2634
|
+
data
|
|
2635
|
+
end
|
|
2636
|
+
|
|
2637
|
+
# @param tenant_id [String]
|
|
2638
|
+
# @param url_id [String]
|
|
2639
|
+
# @param [Hash] opts the optional parameters
|
|
2640
|
+
# @return [Array<(GetV2PageReacts, Integer, Hash)>] GetV2PageReacts data, response status code and response headers
|
|
2641
|
+
def get_v2_page_reacts_with_http_info(tenant_id, url_id, opts = {})
|
|
2642
|
+
if @api_client.config.debugging
|
|
2643
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.get_v2_page_reacts ...'
|
|
2644
|
+
end
|
|
2645
|
+
# verify the required parameter 'tenant_id' is set
|
|
2646
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2647
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_v2_page_reacts"
|
|
2648
|
+
end
|
|
2649
|
+
# verify the required parameter 'url_id' is set
|
|
2650
|
+
if @api_client.config.client_side_validation && url_id.nil?
|
|
2651
|
+
fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.get_v2_page_reacts"
|
|
2652
|
+
end
|
|
2653
|
+
# resource path
|
|
2654
|
+
local_var_path = '/page-reacts/v2/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
|
|
2655
|
+
|
|
2656
|
+
# query parameters
|
|
2657
|
+
query_params = opts[:query_params] || {}
|
|
2658
|
+
query_params[:'urlId'] = url_id
|
|
2659
|
+
|
|
2660
|
+
# header parameters
|
|
2661
|
+
header_params = opts[:header_params] || {}
|
|
2662
|
+
# HTTP header 'Accept' (if needed)
|
|
2663
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2664
|
+
|
|
2665
|
+
# form parameters
|
|
2666
|
+
form_params = opts[:form_params] || {}
|
|
2667
|
+
|
|
2668
|
+
# http body (model)
|
|
2669
|
+
post_body = opts[:debug_body]
|
|
2670
|
+
|
|
2671
|
+
# return_type
|
|
2672
|
+
return_type = opts[:debug_return_type] || 'GetV2PageReacts'
|
|
2673
|
+
|
|
2674
|
+
# auth_names
|
|
2675
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2676
|
+
|
|
2677
|
+
new_options = opts.merge(
|
|
2678
|
+
:operation => :"PublicApi.get_v2_page_reacts",
|
|
2679
|
+
:header_params => header_params,
|
|
2680
|
+
:query_params => query_params,
|
|
2681
|
+
:form_params => form_params,
|
|
2682
|
+
:body => post_body,
|
|
2683
|
+
:auth_names => auth_names,
|
|
2684
|
+
:return_type => return_type
|
|
2685
|
+
)
|
|
2686
|
+
|
|
2687
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2688
|
+
if @api_client.config.debugging
|
|
2689
|
+
@api_client.config.logger.debug "API called: PublicApi#get_v2_page_reacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2690
|
+
end
|
|
2691
|
+
return data, status_code, headers
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2694
|
+
# @param tenant_id [String]
|
|
2695
|
+
# @param comment_id [String]
|
|
2696
|
+
# @param broadcast_id [String]
|
|
2697
|
+
# @param [Hash] opts the optional parameters
|
|
2698
|
+
# @option opts [String] :sso
|
|
2699
|
+
# @return [APIEmptyResponse]
|
|
2700
|
+
def lock_comment(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2701
|
+
data, _status_code, _headers = lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2702
|
+
data
|
|
2703
|
+
end
|
|
2704
|
+
|
|
2705
|
+
# @param tenant_id [String]
|
|
2706
|
+
# @param comment_id [String]
|
|
2707
|
+
# @param broadcast_id [String]
|
|
2708
|
+
# @param [Hash] opts the optional parameters
|
|
2709
|
+
# @option opts [String] :sso
|
|
2710
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2711
|
+
def lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2712
|
+
if @api_client.config.debugging
|
|
2713
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.lock_comment ...'
|
|
2714
|
+
end
|
|
2715
|
+
# verify the required parameter 'tenant_id' is set
|
|
2716
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2717
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.lock_comment"
|
|
2718
|
+
end
|
|
2719
|
+
# verify the required parameter 'comment_id' is set
|
|
1587
2720
|
if @api_client.config.client_side_validation && comment_id.nil?
|
|
1588
2721
|
fail ArgumentError, "Missing the required parameter 'comment_id' when calling PublicApi.lock_comment"
|
|
1589
2722
|
end
|
|
@@ -1611,7 +2744,7 @@ module FastCommentsClient
|
|
|
1611
2744
|
post_body = opts[:debug_body]
|
|
1612
2745
|
|
|
1613
2746
|
# return_type
|
|
1614
|
-
return_type = opts[:debug_return_type] || '
|
|
2747
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1615
2748
|
|
|
1616
2749
|
# auth_names
|
|
1617
2750
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1633,12 +2766,65 @@ module FastCommentsClient
|
|
|
1633
2766
|
return data, status_code, headers
|
|
1634
2767
|
end
|
|
1635
2768
|
|
|
2769
|
+
# @param [Hash] opts the optional parameters
|
|
2770
|
+
# @return [APIEmptyResponse]
|
|
2771
|
+
def logout_public(opts = {})
|
|
2772
|
+
data, _status_code, _headers = logout_public_with_http_info(opts)
|
|
2773
|
+
data
|
|
2774
|
+
end
|
|
2775
|
+
|
|
2776
|
+
# @param [Hash] opts the optional parameters
|
|
2777
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2778
|
+
def logout_public_with_http_info(opts = {})
|
|
2779
|
+
if @api_client.config.debugging
|
|
2780
|
+
@api_client.config.logger.debug 'Calling API: PublicApi.logout_public ...'
|
|
2781
|
+
end
|
|
2782
|
+
# resource path
|
|
2783
|
+
local_var_path = '/auth/logout'
|
|
2784
|
+
|
|
2785
|
+
# query parameters
|
|
2786
|
+
query_params = opts[:query_params] || {}
|
|
2787
|
+
|
|
2788
|
+
# header parameters
|
|
2789
|
+
header_params = opts[:header_params] || {}
|
|
2790
|
+
# HTTP header 'Accept' (if needed)
|
|
2791
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2792
|
+
|
|
2793
|
+
# form parameters
|
|
2794
|
+
form_params = opts[:form_params] || {}
|
|
2795
|
+
|
|
2796
|
+
# http body (model)
|
|
2797
|
+
post_body = opts[:debug_body]
|
|
2798
|
+
|
|
2799
|
+
# return_type
|
|
2800
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2801
|
+
|
|
2802
|
+
# auth_names
|
|
2803
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2804
|
+
|
|
2805
|
+
new_options = opts.merge(
|
|
2806
|
+
:operation => :"PublicApi.logout_public",
|
|
2807
|
+
:header_params => header_params,
|
|
2808
|
+
:query_params => query_params,
|
|
2809
|
+
:form_params => form_params,
|
|
2810
|
+
:body => post_body,
|
|
2811
|
+
:auth_names => auth_names,
|
|
2812
|
+
:return_type => return_type
|
|
2813
|
+
)
|
|
2814
|
+
|
|
2815
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2816
|
+
if @api_client.config.debugging
|
|
2817
|
+
@api_client.config.logger.debug "API called: PublicApi#logout_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2818
|
+
end
|
|
2819
|
+
return data, status_code, headers
|
|
2820
|
+
end
|
|
2821
|
+
|
|
1636
2822
|
# @param tenant_id [String]
|
|
1637
2823
|
# @param comment_id [String]
|
|
1638
2824
|
# @param broadcast_id [String]
|
|
1639
2825
|
# @param [Hash] opts the optional parameters
|
|
1640
2826
|
# @option opts [String] :sso
|
|
1641
|
-
# @return [
|
|
2827
|
+
# @return [ChangeCommentPinStatusResponse]
|
|
1642
2828
|
def pin_comment(tenant_id, comment_id, broadcast_id, opts = {})
|
|
1643
2829
|
data, _status_code, _headers = pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1644
2830
|
data
|
|
@@ -1649,7 +2835,7 @@ module FastCommentsClient
|
|
|
1649
2835
|
# @param broadcast_id [String]
|
|
1650
2836
|
# @param [Hash] opts the optional parameters
|
|
1651
2837
|
# @option opts [String] :sso
|
|
1652
|
-
# @return [Array<(
|
|
2838
|
+
# @return [Array<(ChangeCommentPinStatusResponse, Integer, Hash)>] ChangeCommentPinStatusResponse data, response status code and response headers
|
|
1653
2839
|
def pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
|
|
1654
2840
|
if @api_client.config.debugging
|
|
1655
2841
|
@api_client.config.logger.debug 'Calling API: PublicApi.pin_comment ...'
|
|
@@ -1686,7 +2872,7 @@ module FastCommentsClient
|
|
|
1686
2872
|
post_body = opts[:debug_body]
|
|
1687
2873
|
|
|
1688
2874
|
# return_type
|
|
1689
|
-
return_type = opts[:debug_return_type] || '
|
|
2875
|
+
return_type = opts[:debug_return_type] || 'ChangeCommentPinStatusResponse'
|
|
1690
2876
|
|
|
1691
2877
|
# auth_names
|
|
1692
2878
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1715,7 +2901,7 @@ module FastCommentsClient
|
|
|
1715
2901
|
# @option opts [Boolean] :is_undo
|
|
1716
2902
|
# @option opts [String] :broadcast_id
|
|
1717
2903
|
# @option opts [String] :sso
|
|
1718
|
-
# @return [
|
|
2904
|
+
# @return [ReactFeedPostResponse]
|
|
1719
2905
|
def react_feed_post_public(tenant_id, post_id, react_body_params, opts = {})
|
|
1720
2906
|
data, _status_code, _headers = react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts)
|
|
1721
2907
|
data
|
|
@@ -1728,7 +2914,7 @@ module FastCommentsClient
|
|
|
1728
2914
|
# @option opts [Boolean] :is_undo
|
|
1729
2915
|
# @option opts [String] :broadcast_id
|
|
1730
2916
|
# @option opts [String] :sso
|
|
1731
|
-
# @return [Array<(
|
|
2917
|
+
# @return [Array<(ReactFeedPostResponse, Integer, Hash)>] ReactFeedPostResponse data, response status code and response headers
|
|
1732
2918
|
def react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts = {})
|
|
1733
2919
|
if @api_client.config.debugging
|
|
1734
2920
|
@api_client.config.logger.debug 'Calling API: PublicApi.react_feed_post_public ...'
|
|
@@ -1771,7 +2957,7 @@ module FastCommentsClient
|
|
|
1771
2957
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(react_body_params)
|
|
1772
2958
|
|
|
1773
2959
|
# return_type
|
|
1774
|
-
return_type = opts[:debug_return_type] || '
|
|
2960
|
+
return_type = opts[:debug_return_type] || 'ReactFeedPostResponse'
|
|
1775
2961
|
|
|
1776
2962
|
# auth_names
|
|
1777
2963
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1796,7 +2982,7 @@ module FastCommentsClient
|
|
|
1796
2982
|
# @param tenant_id [String]
|
|
1797
2983
|
# @param [Hash] opts the optional parameters
|
|
1798
2984
|
# @option opts [String] :sso
|
|
1799
|
-
# @return [
|
|
2985
|
+
# @return [ResetUserNotificationsResponse]
|
|
1800
2986
|
def reset_user_notification_count(tenant_id, opts = {})
|
|
1801
2987
|
data, _status_code, _headers = reset_user_notification_count_with_http_info(tenant_id, opts)
|
|
1802
2988
|
data
|
|
@@ -1805,7 +2991,7 @@ module FastCommentsClient
|
|
|
1805
2991
|
# @param tenant_id [String]
|
|
1806
2992
|
# @param [Hash] opts the optional parameters
|
|
1807
2993
|
# @option opts [String] :sso
|
|
1808
|
-
# @return [Array<(
|
|
2994
|
+
# @return [Array<(ResetUserNotificationsResponse, Integer, Hash)>] ResetUserNotificationsResponse data, response status code and response headers
|
|
1809
2995
|
def reset_user_notification_count_with_http_info(tenant_id, opts = {})
|
|
1810
2996
|
if @api_client.config.debugging
|
|
1811
2997
|
@api_client.config.logger.debug 'Calling API: PublicApi.reset_user_notification_count ...'
|
|
@@ -1834,7 +3020,7 @@ module FastCommentsClient
|
|
|
1834
3020
|
post_body = opts[:debug_body]
|
|
1835
3021
|
|
|
1836
3022
|
# return_type
|
|
1837
|
-
return_type = opts[:debug_return_type] || '
|
|
3023
|
+
return_type = opts[:debug_return_type] || 'ResetUserNotificationsResponse'
|
|
1838
3024
|
|
|
1839
3025
|
# auth_names
|
|
1840
3026
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1864,7 +3050,7 @@ module FastCommentsClient
|
|
|
1864
3050
|
# @option opts [Boolean] :dm_only
|
|
1865
3051
|
# @option opts [Boolean] :no_dm
|
|
1866
3052
|
# @option opts [String] :sso
|
|
1867
|
-
# @return [
|
|
3053
|
+
# @return [ResetUserNotificationsResponse]
|
|
1868
3054
|
def reset_user_notifications(tenant_id, opts = {})
|
|
1869
3055
|
data, _status_code, _headers = reset_user_notifications_with_http_info(tenant_id, opts)
|
|
1870
3056
|
data
|
|
@@ -1878,7 +3064,7 @@ module FastCommentsClient
|
|
|
1878
3064
|
# @option opts [Boolean] :dm_only
|
|
1879
3065
|
# @option opts [Boolean] :no_dm
|
|
1880
3066
|
# @option opts [String] :sso
|
|
1881
|
-
# @return [Array<(
|
|
3067
|
+
# @return [Array<(ResetUserNotificationsResponse, Integer, Hash)>] ResetUserNotificationsResponse data, response status code and response headers
|
|
1882
3068
|
def reset_user_notifications_with_http_info(tenant_id, opts = {})
|
|
1883
3069
|
if @api_client.config.debugging
|
|
1884
3070
|
@api_client.config.logger.debug 'Calling API: PublicApi.reset_user_notifications ...'
|
|
@@ -1912,7 +3098,7 @@ module FastCommentsClient
|
|
|
1912
3098
|
post_body = opts[:debug_body]
|
|
1913
3099
|
|
|
1914
3100
|
# return_type
|
|
1915
|
-
return_type = opts[:debug_return_type] || '
|
|
3101
|
+
return_type = opts[:debug_return_type] || 'ResetUserNotificationsResponse'
|
|
1916
3102
|
|
|
1917
3103
|
# auth_names
|
|
1918
3104
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1941,7 +3127,7 @@ module FastCommentsClient
|
|
|
1941
3127
|
# @option opts [Array<String>] :mention_group_ids
|
|
1942
3128
|
# @option opts [String] :sso
|
|
1943
3129
|
# @option opts [String] :search_section
|
|
1944
|
-
# @return [
|
|
3130
|
+
# @return [SearchUsersResult]
|
|
1945
3131
|
def search_users(tenant_id, url_id, opts = {})
|
|
1946
3132
|
data, _status_code, _headers = search_users_with_http_info(tenant_id, url_id, opts)
|
|
1947
3133
|
data
|
|
@@ -1954,7 +3140,7 @@ module FastCommentsClient
|
|
|
1954
3140
|
# @option opts [Array<String>] :mention_group_ids
|
|
1955
3141
|
# @option opts [String] :sso
|
|
1956
3142
|
# @option opts [String] :search_section
|
|
1957
|
-
# @return [Array<(
|
|
3143
|
+
# @return [Array<(SearchUsersResult, Integer, Hash)>] SearchUsersResult data, response status code and response headers
|
|
1958
3144
|
def search_users_with_http_info(tenant_id, url_id, opts = {})
|
|
1959
3145
|
if @api_client.config.debugging
|
|
1960
3146
|
@api_client.config.logger.debug 'Calling API: PublicApi.search_users ...'
|
|
@@ -1994,7 +3180,7 @@ module FastCommentsClient
|
|
|
1994
3180
|
post_body = opts[:debug_body]
|
|
1995
3181
|
|
|
1996
3182
|
# return_type
|
|
1997
|
-
return_type = opts[:debug_return_type] || '
|
|
3183
|
+
return_type = opts[:debug_return_type] || 'SearchUsersResult'
|
|
1998
3184
|
|
|
1999
3185
|
# auth_names
|
|
2000
3186
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2023,7 +3209,7 @@ module FastCommentsClient
|
|
|
2023
3209
|
# @param [Hash] opts the optional parameters
|
|
2024
3210
|
# @option opts [String] :edit_key
|
|
2025
3211
|
# @option opts [String] :sso
|
|
2026
|
-
# @return [
|
|
3212
|
+
# @return [PublicAPISetCommentTextResponse]
|
|
2027
3213
|
def set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts = {})
|
|
2028
3214
|
data, _status_code, _headers = set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
2029
3215
|
data
|
|
@@ -2036,7 +3222,7 @@ module FastCommentsClient
|
|
|
2036
3222
|
# @param [Hash] opts the optional parameters
|
|
2037
3223
|
# @option opts [String] :edit_key
|
|
2038
3224
|
# @option opts [String] :sso
|
|
2039
|
-
# @return [Array<(
|
|
3225
|
+
# @return [Array<(PublicAPISetCommentTextResponse, Integer, Hash)>] PublicAPISetCommentTextResponse data, response status code and response headers
|
|
2040
3226
|
def set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts = {})
|
|
2041
3227
|
if @api_client.config.debugging
|
|
2042
3228
|
@api_client.config.logger.debug 'Calling API: PublicApi.set_comment_text ...'
|
|
@@ -2083,7 +3269,7 @@ module FastCommentsClient
|
|
|
2083
3269
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(comment_text_update_request)
|
|
2084
3270
|
|
|
2085
3271
|
# return_type
|
|
2086
|
-
return_type = opts[:debug_return_type] || '
|
|
3272
|
+
return_type = opts[:debug_return_type] || 'PublicAPISetCommentTextResponse'
|
|
2087
3273
|
|
|
2088
3274
|
# auth_names
|
|
2089
3275
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2110,7 +3296,7 @@ module FastCommentsClient
|
|
|
2110
3296
|
# @param public_block_from_comment_params [PublicBlockFromCommentParams]
|
|
2111
3297
|
# @param [Hash] opts the optional parameters
|
|
2112
3298
|
# @option opts [String] :sso
|
|
2113
|
-
# @return [
|
|
3299
|
+
# @return [UnblockSuccess]
|
|
2114
3300
|
def un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts = {})
|
|
2115
3301
|
data, _status_code, _headers = un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
2116
3302
|
data
|
|
@@ -2121,7 +3307,7 @@ module FastCommentsClient
|
|
|
2121
3307
|
# @param public_block_from_comment_params [PublicBlockFromCommentParams]
|
|
2122
3308
|
# @param [Hash] opts the optional parameters
|
|
2123
3309
|
# @option opts [String] :sso
|
|
2124
|
-
# @return [Array<(
|
|
3310
|
+
# @return [Array<(UnblockSuccess, Integer, Hash)>] UnblockSuccess data, response status code and response headers
|
|
2125
3311
|
def un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts = {})
|
|
2126
3312
|
if @api_client.config.debugging
|
|
2127
3313
|
@api_client.config.logger.debug 'Calling API: PublicApi.un_block_comment_public ...'
|
|
@@ -2163,7 +3349,7 @@ module FastCommentsClient
|
|
|
2163
3349
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(public_block_from_comment_params)
|
|
2164
3350
|
|
|
2165
3351
|
# return_type
|
|
2166
|
-
return_type = opts[:debug_return_type] || '
|
|
3352
|
+
return_type = opts[:debug_return_type] || 'UnblockSuccess'
|
|
2167
3353
|
|
|
2168
3354
|
# auth_names
|
|
2169
3355
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2190,7 +3376,7 @@ module FastCommentsClient
|
|
|
2190
3376
|
# @param broadcast_id [String]
|
|
2191
3377
|
# @param [Hash] opts the optional parameters
|
|
2192
3378
|
# @option opts [String] :sso
|
|
2193
|
-
# @return [
|
|
3379
|
+
# @return [APIEmptyResponse]
|
|
2194
3380
|
def un_lock_comment(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2195
3381
|
data, _status_code, _headers = un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2196
3382
|
data
|
|
@@ -2201,7 +3387,7 @@ module FastCommentsClient
|
|
|
2201
3387
|
# @param broadcast_id [String]
|
|
2202
3388
|
# @param [Hash] opts the optional parameters
|
|
2203
3389
|
# @option opts [String] :sso
|
|
2204
|
-
# @return [Array<(
|
|
3390
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2205
3391
|
def un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2206
3392
|
if @api_client.config.debugging
|
|
2207
3393
|
@api_client.config.logger.debug 'Calling API: PublicApi.un_lock_comment ...'
|
|
@@ -2238,7 +3424,7 @@ module FastCommentsClient
|
|
|
2238
3424
|
post_body = opts[:debug_body]
|
|
2239
3425
|
|
|
2240
3426
|
# return_type
|
|
2241
|
-
return_type = opts[:debug_return_type] || '
|
|
3427
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2242
3428
|
|
|
2243
3429
|
# auth_names
|
|
2244
3430
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2265,7 +3451,7 @@ module FastCommentsClient
|
|
|
2265
3451
|
# @param broadcast_id [String]
|
|
2266
3452
|
# @param [Hash] opts the optional parameters
|
|
2267
3453
|
# @option opts [String] :sso
|
|
2268
|
-
# @return [
|
|
3454
|
+
# @return [ChangeCommentPinStatusResponse]
|
|
2269
3455
|
def un_pin_comment(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2270
3456
|
data, _status_code, _headers = un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2271
3457
|
data
|
|
@@ -2276,7 +3462,7 @@ module FastCommentsClient
|
|
|
2276
3462
|
# @param broadcast_id [String]
|
|
2277
3463
|
# @param [Hash] opts the optional parameters
|
|
2278
3464
|
# @option opts [String] :sso
|
|
2279
|
-
# @return [Array<(
|
|
3465
|
+
# @return [Array<(ChangeCommentPinStatusResponse, Integer, Hash)>] ChangeCommentPinStatusResponse data, response status code and response headers
|
|
2280
3466
|
def un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
|
|
2281
3467
|
if @api_client.config.debugging
|
|
2282
3468
|
@api_client.config.logger.debug 'Calling API: PublicApi.un_pin_comment ...'
|
|
@@ -2313,7 +3499,7 @@ module FastCommentsClient
|
|
|
2313
3499
|
post_body = opts[:debug_body]
|
|
2314
3500
|
|
|
2315
3501
|
# return_type
|
|
2316
|
-
return_type = opts[:debug_return_type] || '
|
|
3502
|
+
return_type = opts[:debug_return_type] || 'ChangeCommentPinStatusResponse'
|
|
2317
3503
|
|
|
2318
3504
|
# auth_names
|
|
2319
3505
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2341,7 +3527,7 @@ module FastCommentsClient
|
|
|
2341
3527
|
# @param [Hash] opts the optional parameters
|
|
2342
3528
|
# @option opts [String] :broadcast_id
|
|
2343
3529
|
# @option opts [String] :sso
|
|
2344
|
-
# @return [
|
|
3530
|
+
# @return [CreateFeedPostResponse]
|
|
2345
3531
|
def update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts = {})
|
|
2346
3532
|
data, _status_code, _headers = update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
|
|
2347
3533
|
data
|
|
@@ -2353,7 +3539,7 @@ module FastCommentsClient
|
|
|
2353
3539
|
# @param [Hash] opts the optional parameters
|
|
2354
3540
|
# @option opts [String] :broadcast_id
|
|
2355
3541
|
# @option opts [String] :sso
|
|
2356
|
-
# @return [Array<(
|
|
3542
|
+
# @return [Array<(CreateFeedPostResponse, Integer, Hash)>] CreateFeedPostResponse data, response status code and response headers
|
|
2357
3543
|
def update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts = {})
|
|
2358
3544
|
if @api_client.config.debugging
|
|
2359
3545
|
@api_client.config.logger.debug 'Calling API: PublicApi.update_feed_post_public ...'
|
|
@@ -2395,7 +3581,7 @@ module FastCommentsClient
|
|
|
2395
3581
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_feed_post_params)
|
|
2396
3582
|
|
|
2397
3583
|
# return_type
|
|
2398
|
-
return_type = opts[:debug_return_type] || '
|
|
3584
|
+
return_type = opts[:debug_return_type] || 'CreateFeedPostResponse'
|
|
2399
3585
|
|
|
2400
3586
|
# auth_names
|
|
2401
3587
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2424,7 +3610,7 @@ module FastCommentsClient
|
|
|
2424
3610
|
# @param comment_id [String]
|
|
2425
3611
|
# @param [Hash] opts the optional parameters
|
|
2426
3612
|
# @option opts [String] :sso
|
|
2427
|
-
# @return [
|
|
3613
|
+
# @return [UpdateUserNotificationCommentSubscriptionStatusResponse]
|
|
2428
3614
|
def update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts = {})
|
|
2429
3615
|
data, _status_code, _headers = update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
|
|
2430
3616
|
data
|
|
@@ -2437,7 +3623,7 @@ module FastCommentsClient
|
|
|
2437
3623
|
# @param comment_id [String]
|
|
2438
3624
|
# @param [Hash] opts the optional parameters
|
|
2439
3625
|
# @option opts [String] :sso
|
|
2440
|
-
# @return [Array<(
|
|
3626
|
+
# @return [Array<(UpdateUserNotificationCommentSubscriptionStatusResponse, Integer, Hash)>] UpdateUserNotificationCommentSubscriptionStatusResponse data, response status code and response headers
|
|
2441
3627
|
def update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts = {})
|
|
2442
3628
|
if @api_client.config.debugging
|
|
2443
3629
|
@api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_comment_subscription_status ...'
|
|
@@ -2484,7 +3670,7 @@ module FastCommentsClient
|
|
|
2484
3670
|
post_body = opts[:debug_body]
|
|
2485
3671
|
|
|
2486
3672
|
# return_type
|
|
2487
|
-
return_type = opts[:debug_return_type] || '
|
|
3673
|
+
return_type = opts[:debug_return_type] || 'UpdateUserNotificationCommentSubscriptionStatusResponse'
|
|
2488
3674
|
|
|
2489
3675
|
# auth_names
|
|
2490
3676
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2514,7 +3700,7 @@ module FastCommentsClient
|
|
|
2514
3700
|
# @param subscribed_or_unsubscribed [String]
|
|
2515
3701
|
# @param [Hash] opts the optional parameters
|
|
2516
3702
|
# @option opts [String] :sso
|
|
2517
|
-
# @return [
|
|
3703
|
+
# @return [UpdateUserNotificationPageSubscriptionStatusResponse]
|
|
2518
3704
|
def update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts = {})
|
|
2519
3705
|
data, _status_code, _headers = update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
|
|
2520
3706
|
data
|
|
@@ -2528,7 +3714,7 @@ module FastCommentsClient
|
|
|
2528
3714
|
# @param subscribed_or_unsubscribed [String]
|
|
2529
3715
|
# @param [Hash] opts the optional parameters
|
|
2530
3716
|
# @option opts [String] :sso
|
|
2531
|
-
# @return [Array<(
|
|
3717
|
+
# @return [Array<(UpdateUserNotificationPageSubscriptionStatusResponse, Integer, Hash)>] UpdateUserNotificationPageSubscriptionStatusResponse data, response status code and response headers
|
|
2532
3718
|
def update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts = {})
|
|
2533
3719
|
if @api_client.config.debugging
|
|
2534
3720
|
@api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_page_subscription_status ...'
|
|
@@ -2581,7 +3767,7 @@ module FastCommentsClient
|
|
|
2581
3767
|
post_body = opts[:debug_body]
|
|
2582
3768
|
|
|
2583
3769
|
# return_type
|
|
2584
|
-
return_type = opts[:debug_return_type] || '
|
|
3770
|
+
return_type = opts[:debug_return_type] || 'UpdateUserNotificationPageSubscriptionStatusResponse'
|
|
2585
3771
|
|
|
2586
3772
|
# auth_names
|
|
2587
3773
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2608,7 +3794,7 @@ module FastCommentsClient
|
|
|
2608
3794
|
# @param new_status [String]
|
|
2609
3795
|
# @param [Hash] opts the optional parameters
|
|
2610
3796
|
# @option opts [String] :sso
|
|
2611
|
-
# @return [
|
|
3797
|
+
# @return [UpdateUserNotificationStatusResponse]
|
|
2612
3798
|
def update_user_notification_status(tenant_id, notification_id, new_status, opts = {})
|
|
2613
3799
|
data, _status_code, _headers = update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
|
|
2614
3800
|
data
|
|
@@ -2619,7 +3805,7 @@ module FastCommentsClient
|
|
|
2619
3805
|
# @param new_status [String]
|
|
2620
3806
|
# @param [Hash] opts the optional parameters
|
|
2621
3807
|
# @option opts [String] :sso
|
|
2622
|
-
# @return [Array<(
|
|
3808
|
+
# @return [Array<(UpdateUserNotificationStatusResponse, Integer, Hash)>] UpdateUserNotificationStatusResponse data, response status code and response headers
|
|
2623
3809
|
def update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts = {})
|
|
2624
3810
|
if @api_client.config.debugging
|
|
2625
3811
|
@api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_status ...'
|
|
@@ -2661,7 +3847,7 @@ module FastCommentsClient
|
|
|
2661
3847
|
post_body = opts[:debug_body]
|
|
2662
3848
|
|
|
2663
3849
|
# return_type
|
|
2664
|
-
return_type = opts[:debug_return_type] || '
|
|
3850
|
+
return_type = opts[:debug_return_type] || 'UpdateUserNotificationStatusResponse'
|
|
2665
3851
|
|
|
2666
3852
|
# auth_names
|
|
2667
3853
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -2770,7 +3956,7 @@ module FastCommentsClient
|
|
|
2770
3956
|
# @param [Hash] opts the optional parameters
|
|
2771
3957
|
# @option opts [String] :session_id
|
|
2772
3958
|
# @option opts [String] :sso
|
|
2773
|
-
# @return [
|
|
3959
|
+
# @return [VoteResponse]
|
|
2774
3960
|
def vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts = {})
|
|
2775
3961
|
data, _status_code, _headers = vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2776
3962
|
data
|
|
@@ -2784,7 +3970,7 @@ module FastCommentsClient
|
|
|
2784
3970
|
# @param [Hash] opts the optional parameters
|
|
2785
3971
|
# @option opts [String] :session_id
|
|
2786
3972
|
# @option opts [String] :sso
|
|
2787
|
-
# @return [Array<(
|
|
3973
|
+
# @return [Array<(VoteResponse, Integer, Hash)>] VoteResponse data, response status code and response headers
|
|
2788
3974
|
def vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts = {})
|
|
2789
3975
|
if @api_client.config.debugging
|
|
2790
3976
|
@api_client.config.logger.debug 'Calling API: PublicApi.vote_comment ...'
|
|
@@ -2836,7 +4022,7 @@ module FastCommentsClient
|
|
|
2836
4022
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(vote_body_params)
|
|
2837
4023
|
|
|
2838
4024
|
# return_type
|
|
2839
|
-
return_type = opts[:debug_return_type] || '
|
|
4025
|
+
return_type = opts[:debug_return_type] || 'VoteResponse'
|
|
2840
4026
|
|
|
2841
4027
|
# auth_names
|
|
2842
4028
|
auth_names = opts[:debug_auth_names] || []
|