fastcomments 1.2.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -9
- data/client/README.md +164 -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/AddDomainConfigResponse.md +24 -0
- 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/{AddDomainConfig200Response.md → AggregationAPIError.md} +6 -6
- 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} +5 -5
- 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 +422 -426
- 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} +5 -5
- data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +5 -5
- 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 +3098 -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/PostRemoveCommentApiResponse.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} +6 -6
- 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/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +419 -397
- data/client/lib/fastcomments-client/api/moderation_api.rb +3162 -0
- data/client/lib/fastcomments-client/api/public_api.rb +1497 -311
- data/client/lib/fastcomments-client/api_client.rb +1 -1
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/api_model_base.rb +1 -1
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +103 -0
- data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +4 -4
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +164 -0
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +190 -0
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +1 -1
- data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → aggregate_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +249 -0
- data/client/lib/fastcomments-client/models/aggregation_item.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_request.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_response.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_value.rb +1 -1
- data/client/lib/fastcomments-client/models/api_audit_log.rb +1 -1
- data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +176 -0
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +260 -0
- data/client/lib/fastcomments-client/models/api_banned_user.rb +381 -0
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +302 -0
- data/client/lib/fastcomments-client/models/api_comment.rb +17 -17
- data/client/lib/fastcomments-client/models/api_comment_base.rb +17 -17
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +1 -1
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +267 -0
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/api_empty_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_error.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +1 -1
- data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +198 -0
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +242 -0
- data/client/lib/fastcomments-client/models/api_page.rb +1 -1
- data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +5 -5
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +1 -1
- data/client/lib/fastcomments-client/models/api_ticket.rb +1 -1
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +1 -1
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +1 -1
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +1 -1
- data/client/lib/fastcomments-client/models/apisso_user.rb +1 -1
- data/client/lib/fastcomments-client/models/award_user_badge_response.rb +208 -0
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +191 -0
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +164 -0
- data/client/lib/fastcomments-client/models/banned_user_match.rb +198 -0
- data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +2 -2
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
- data/client/lib/fastcomments-client/models/billing_info.rb +1 -1
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +1 -1
- data/client/lib/fastcomments-client/models/block_success.rb +1 -1
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +217 -0
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +190 -0
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +1 -1
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +1 -1
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +1 -1
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +1 -1
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +1 -1
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +2 -2
- data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +2 -2
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +166 -0
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +302 -0
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +1 -1
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +1 -1
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +1 -1
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +1 -1
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_data.rb +15 -6
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +11 -2
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +1 -1
- 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 +1 -1
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +1 -1
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +166 -0
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +1 -1
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +1 -1
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +1 -1
- data/client/lib/fastcomments-client/models/create_comment_params.rb +12 -3
- data/client/lib/fastcomments-client/models/create_email_template_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +1 -1
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +14 -14
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +1 -1
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +1 -1
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +1 -1
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +195 -0
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +50 -2
- data/client/lib/fastcomments-client/models/custom_email_template.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +1 -1
- data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → delete_domain_config_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +4 -4
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +1 -1
- data/client/lib/fastcomments-client/models/event_log_entry.rb +1 -1
- data/client/lib/fastcomments-client/models/f_comment.rb +14 -5
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_post.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_post_link.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +1 -1
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +1 -1
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +1 -1
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +1 -1
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +190 -0
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +235 -0
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +188 -0
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +196 -0
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +149 -0
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/get_domain_config_response.rb +103 -0
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +103 -0
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +4 -4
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +4 -4
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +1 -1
- data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → get_gifs_trending_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_notifications_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_public_pages_response.rb +226 -0
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_question_results_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +214 -0
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_translations_response.rb +215 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +212 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +298 -0
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +214 -0
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_user_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +204 -0
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +290 -0
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +214 -0
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +209 -0
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +1 -1
- data/client/lib/fastcomments-client/models/get_votes_response.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +212 -0
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +212 -0
- data/client/lib/fastcomments-client/models/gif_search_response.rb +214 -0
- data/client/lib/fastcomments-client/models/{get_user200_response.rb → gif_search_response_images_inner_inner.rb} +4 -4
- data/client/lib/fastcomments-client/models/header_account_notification.rb +16 -5
- data/client/lib/fastcomments-client/models/header_state.rb +1 -1
- data/client/lib/fastcomments-client/models/ignored_response.rb +1 -1
- 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 +11 -2
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
- data/client/lib/fastcomments-client/models/media_asset.rb +1 -1
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/meta_item.rb +1 -1
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +214 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +680 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +225 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +212 -0
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +212 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +240 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +249 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +214 -0
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +212 -0
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +190 -0
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +225 -0
- data/client/lib/fastcomments-client/models/moderation_filter.rb +252 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +242 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +214 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +174 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +214 -0
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +195 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +210 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +214 -0
- data/client/lib/fastcomments-client/models/moderator.rb +1 -1
- data/client/lib/fastcomments-client/models/notification_and_count.rb +1 -1
- 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 +208 -0
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +214 -0
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +238 -0
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +290 -0
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +1 -1
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +103 -0
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +1 -1
- data/client/lib/fastcomments-client/models/post_remove_comment_api_response.rb +103 -0
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +240 -0
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +1 -1
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +1 -1
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +1 -1
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +1 -1
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +1 -1
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +1 -1
- data/client/lib/fastcomments-client/models/public_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/public_comment_base.rb +1 -1
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +1 -1
- data/client/lib/fastcomments-client/models/public_page.rb +268 -0
- data/client/lib/fastcomments-client/models/public_vote.rb +1 -1
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +103 -0
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/query_predicate.rb +1 -1
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +1 -1
- data/client/lib/fastcomments-client/models/question_config.rb +1 -1
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +1 -1
- data/client/lib/fastcomments-client/models/question_datum.rb +1 -1
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +1 -1
- 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 +1 -1
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +1 -1
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +3 -31
- data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +190 -0
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +197 -0
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +1 -1
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +1 -1
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +1 -1
- 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 +1 -1
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +1 -1
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +1 -1
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +1 -1
- data/client/lib/fastcomments-client/models/{create_tenant200_response.rb → save_comments_bulk_response.rb} +3 -3
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +1 -1
- data/client/lib/fastcomments-client/models/search_users_response.rb +1 -1
- data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +2 -3
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +1 -1
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +195 -0
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +164 -0
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +212 -0
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +1 -1
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +195 -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 +1 -1
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_badge.rb +564 -0
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_package.rb +68 -5
- data/client/lib/fastcomments-client/models/tos_config.rb +1 -1
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +1 -1
- data/client/lib/fastcomments-client/models/unblock_success.rb +1 -1
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +1 -1
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +1 -1
- data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +1 -1
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +1 -1
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +1 -1
- data/client/lib/fastcomments-client/models/update_email_template_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +1 -1
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +1 -1
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_notification_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +1 -1
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +1 -1
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +1 -1
- data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_comment_subscription_status_response.rb} +2 -3
- data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → update_user_notification_page_subscription_status_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → update_user_notification_status_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/upload_image_response.rb +1 -1
- data/client/lib/fastcomments-client/models/user.rb +11 -2
- data/client/lib/fastcomments-client/models/user_badge.rb +1 -1
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +1 -1
- data/client/lib/fastcomments-client/models/user_notification.rb +1 -1
- data/client/lib/fastcomments-client/models/user_notification_count.rb +1 -1
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +1 -1
- data/client/lib/fastcomments-client/models/user_presence_data.rb +1 -1
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_result.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +1 -1
- data/client/lib/fastcomments-client/models/user_session_info.rb +1 -1
- data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
- data/client/lib/fastcomments-client/models/vote_body_params.rb +1 -1
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +1 -1
- data/client/lib/fastcomments-client/models/vote_response.rb +1 -1
- data/client/lib/fastcomments-client/models/vote_response_user.rb +1 -1
- 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 +101 -98
- data/client/spec/api/default_api_spec.rb +107 -105
- data/client/spec/api/moderation_api_spec.rb +613 -0
- data/client/spec/api/public_api_spec.rb +253 -37
- data/client/spec/models/add_domain_config_params_spec.rb +1 -1
- 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/{create_tenant200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/add_page_api_response_spec.rb +1 -1
- data/client/spec/models/add_sso_user_api_response_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
- data/client/spec/models/aggregate_time_bucket_spec.rb +1 -1
- data/client/spec/models/aggregation_api_error_spec.rb +54 -0
- data/client/spec/models/aggregation_item_spec.rb +1 -1
- data/client/spec/models/aggregation_op_type_spec.rb +1 -1
- data/client/spec/models/aggregation_operation_spec.rb +1 -1
- data/client/spec/models/aggregation_request_sort_spec.rb +1 -1
- data/client/spec/models/aggregation_request_spec.rb +1 -1
- data/client/spec/models/aggregation_response_spec.rb +1 -1
- data/client/spec/models/aggregation_response_stats_spec.rb +1 -1
- data/client/spec/models/aggregation_value_spec.rb +1 -1
- data/client/spec/models/api_audit_log_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/api_comment_base_spec.rb +2 -2
- data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
- data/client/spec/models/api_comment_spec.rb +2 -2
- data/client/spec/models/api_create_user_badge_response_spec.rb +1 -1
- data/client/spec/models/api_domain_configuration_spec.rb +1 -1
- data/client/spec/models/api_empty_response_spec.rb +1 -1
- data/client/spec/models/api_empty_success_response_spec.rb +1 -1
- data/client/spec/models/api_error_spec.rb +1 -1
- data/client/spec/models/api_get_comment_response_spec.rb +1 -1
- data/client/spec/models/api_get_comments_response_spec.rb +1 -1
- data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +1 -1
- data/client/spec/models/api_get_user_badge_progress_response_spec.rb +1 -1
- data/client/spec/models/api_get_user_badge_response_spec.rb +1 -1
- data/client/spec/models/api_get_user_badges_response_spec.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/client/spec/models/api_tenant_daily_usage_spec.rb +1 -1
- data/client/spec/models/api_tenant_spec.rb +1 -1
- data/client/spec/models/api_ticket_detail_spec.rb +1 -1
- data/client/spec/models/api_ticket_file_spec.rb +1 -1
- data/client/spec/models/api_ticket_spec.rb +1 -1
- data/client/spec/models/api_user_subscription_spec.rb +1 -1
- data/client/spec/models/apisso_user_spec.rb +1 -1
- 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/{add_domain_config200_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 +1 -1
- data/client/spec/models/block_from_comment_params_spec.rb +1 -1
- data/client/spec/models/block_success_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +1 -1
- data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +1 -1
- data/client/spec/models/bulk_create_hash_tags_body_spec.rb +1 -1
- data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +1 -1
- data/client/spec/models/{add_hash_tags_bulk200_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 +1 -1
- 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 +1 -1
- data/client/spec/models/change_ticket_state_body_spec.rb +1 -1
- data/client/spec/models/change_ticket_state_response_spec.rb +1 -1
- data/client/spec/models/check_blocked_comments_response_spec.rb +1 -1
- data/client/spec/models/combine_question_results_with_comments_response_spec.rb +1 -1
- data/client/spec/models/comment_data_spec.rb +7 -1
- data/client/spec/models/comment_html_rendering_mode_spec.rb +1 -1
- data/client/spec/models/comment_log_data_spec.rb +7 -1
- data/client/spec/models/comment_log_entry_spec.rb +1 -1
- data/client/spec/models/comment_log_type_spec.rb +1 -1
- data/client/spec/models/comment_question_results_rendering_type_spec.rb +1 -1
- data/client/spec/models/comment_questions_required_spec.rb +1 -1
- data/client/spec/models/comment_text_update_request_spec.rb +1 -1
- data/client/spec/models/comment_thread_deletion_mode_spec.rb +1 -1
- data/client/spec/models/comment_user_badge_info_spec.rb +1 -1
- data/client/spec/models/comment_user_hash_tag_info_spec.rb +1 -1
- data/client/spec/models/comment_user_mention_info_spec.rb +1 -1
- data/client/spec/models/commenter_name_formats_spec.rb +1 -1
- data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
- data/client/spec/models/create_api_page_data_spec.rb +1 -1
- data/client/spec/models/create_api_user_subscription_data_spec.rb +1 -1
- data/client/spec/models/create_apisso_user_data_spec.rb +1 -1
- data/client/spec/models/create_comment_params_spec.rb +7 -1
- data/client/spec/models/create_email_template_body_spec.rb +1 -1
- data/client/spec/models/create_email_template_response_spec.rb +1 -1
- data/client/spec/models/create_feed_post_params_spec.rb +1 -1
- data/client/spec/models/create_feed_post_response_spec.rb +1 -1
- data/client/spec/models/create_feed_posts_response_spec.rb +1 -1
- data/client/spec/models/create_hash_tag_body_spec.rb +1 -1
- data/client/spec/models/create_hash_tag_response_spec.rb +1 -1
- data/client/spec/models/create_moderator_body_spec.rb +1 -1
- data/client/spec/models/create_moderator_response_spec.rb +1 -1
- data/client/spec/models/create_question_config_body_spec.rb +1 -1
- data/client/spec/models/create_question_config_response_spec.rb +1 -1
- data/client/spec/models/create_question_result_body_spec.rb +1 -1
- data/client/spec/models/create_question_result_response_spec.rb +1 -1
- data/client/spec/models/create_subscription_api_response_spec.rb +1 -1
- data/client/spec/models/create_tenant_body_spec.rb +1 -1
- data/client/spec/models/create_tenant_package_body_spec.rb +3 -3
- data/client/spec/models/create_tenant_package_response_spec.rb +1 -1
- data/client/spec/models/create_tenant_response_spec.rb +1 -1
- data/client/spec/models/create_tenant_user_body_spec.rb +1 -1
- data/client/spec/models/create_tenant_user_response_spec.rb +1 -1
- data/client/spec/models/create_ticket_body_spec.rb +1 -1
- data/client/spec/models/create_ticket_response_spec.rb +1 -1
- data/client/spec/models/create_user_badge_params_spec.rb +1 -1
- data/client/spec/models/create_v1_page_react_spec.rb +42 -0
- data/client/spec/models/custom_config_parameters_spec.rb +31 -1
- data/client/spec/models/custom_email_template_spec.rb +1 -1
- data/client/spec/models/delete_comment_action_spec.rb +1 -1
- data/client/spec/models/delete_comment_result_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/delete_sso_user_api_response_spec.rb +1 -1
- data/client/spec/models/delete_subscription_api_response_spec.rb +1 -1
- data/client/spec/models/deleted_comment_result_comment_spec.rb +1 -1
- data/client/spec/models/digest_email_frequency_spec.rb +1 -1
- data/client/spec/models/email_template_definition_spec.rb +1 -1
- data/client/spec/models/email_template_render_error_response_spec.rb +1 -1
- data/client/spec/models/event_log_entry_spec.rb +1 -1
- data/client/spec/models/f_comment_meta_spec.rb +1 -1
- data/client/spec/models/f_comment_spec.rb +7 -1
- data/client/spec/models/feed_post_link_spec.rb +1 -1
- data/client/spec/models/feed_post_media_item_asset_spec.rb +1 -1
- data/client/spec/models/feed_post_media_item_spec.rb +1 -1
- data/client/spec/models/feed_post_spec.rb +1 -1
- data/client/spec/models/feed_post_stats_spec.rb +1 -1
- data/client/spec/models/feed_posts_stats_response_spec.rb +1 -1
- data/client/spec/models/find_comments_by_range_item_spec.rb +1 -1
- data/client/spec/models/find_comments_by_range_response_spec.rb +1 -1
- data/client/spec/models/flag_comment_response_spec.rb +1 -1
- data/client/spec/models/get_audit_logs_response_spec.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
- data/client/spec/models/get_comments_response_public_comment_spec.rb +1 -1
- data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +1 -1
- data/client/spec/models/{add_hash_tag200_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/{delete_comment200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
- data/client/spec/models/get_email_template_definitions_response_spec.rb +1 -1
- data/client/spec/models/get_email_template_render_errors_response_spec.rb +1 -1
- data/client/spec/models/get_email_template_response_spec.rb +1 -1
- data/client/spec/models/get_email_templates_response_spec.rb +1 -1
- data/client/spec/models/get_event_log_response_spec.rb +1 -1
- data/client/spec/models/get_feed_posts_response_spec.rb +1 -1
- data/client/spec/models/{get_comment200_response_spec.rb → get_gifs_search_response_spec.rb} +3 -3
- data/client/spec/models/{create_ticket200_response_spec.rb → get_gifs_trending_response_spec.rb} +3 -3
- data/client/spec/models/get_hash_tags_response_spec.rb +1 -1
- data/client/spec/models/get_moderator_response_spec.rb +1 -1
- data/client/spec/models/get_moderators_response_spec.rb +1 -1
- data/client/spec/models/get_my_notifications_response_spec.rb +1 -1
- data/client/spec/models/get_notification_count_response_spec.rb +1 -1
- data/client/spec/models/get_notifications_response_spec.rb +1 -1
- data/client/spec/models/get_page_by_urlid_api_response_spec.rb +1 -1
- data/client/spec/models/get_pages_api_response_spec.rb +1 -1
- data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +1 -1
- data/client/spec/models/get_pending_webhook_events_response_spec.rb +1 -1
- data/client/spec/models/get_public_feed_posts_response_spec.rb +1 -1
- data/client/spec/models/get_public_pages_response_spec.rb +48 -0
- data/client/spec/models/get_question_config_response_spec.rb +1 -1
- data/client/spec/models/get_question_configs_response_spec.rb +1 -1
- data/client/spec/models/get_question_result_response_spec.rb +1 -1
- data/client/spec/models/get_question_results_response_spec.rb +1 -1
- data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +1 -1
- data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/get_tenant_daily_usages_response_spec.rb +1 -1
- data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
- data/client/spec/models/get_tenant_package_response_spec.rb +1 -1
- data/client/spec/models/get_tenant_packages_response_spec.rb +1 -1
- data/client/spec/models/get_tenant_response_spec.rb +1 -1
- data/client/spec/models/get_tenant_user_response_spec.rb +1 -1
- data/client/spec/models/get_tenant_users_response_spec.rb +1 -1
- data/client/spec/models/get_tenants_response_spec.rb +1 -1
- data/client/spec/models/get_ticket_response_spec.rb +1 -1
- data/client/spec/models/get_tickets_response_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/get_user_presence_statuses_response_spec.rb +1 -1
- data/client/spec/models/get_user_response_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/get_votes_response_spec.rb +1 -1
- data/client/spec/models/gif_get_large_response_spec.rb +42 -0
- data/client/spec/models/gif_rating_spec.rb +1 -1
- data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
- data/client/spec/models/{reset_user_notifications200_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 +7 -1
- data/client/spec/models/header_state_spec.rb +1 -1
- data/client/spec/models/ignored_response_spec.rb +1 -1
- data/client/spec/models/image_content_profanity_level_spec.rb +1 -1
- data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
- data/client/spec/models/imported_site_type_spec.rb +1 -1
- data/client/spec/models/live_event_extra_info_spec.rb +1 -1
- data/client/spec/models/live_event_spec.rb +7 -1
- data/client/spec/models/live_event_type_spec.rb +1 -1
- data/client/spec/models/media_asset_spec.rb +1 -1
- data/client/spec/models/mention_auto_complete_mode_spec.rb +1 -1
- data/client/spec/models/meta_item_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/notification_and_count_spec.rb +1 -1
- data/client/spec/models/notification_object_type_spec.rb +1 -1
- data/client/spec/models/notification_type_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/{create_feed_post200_response_spec.rb → patch_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/patch_page_api_response_spec.rb +1 -1
- data/client/spec/models/patch_sso_user_api_response_spec.rb +1 -1
- data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +1 -1
- data/client/spec/models/{delete_comment_vote200_response_spec.rb → post_remove_comment_api_response_spec.rb} +3 -3
- data/client/spec/models/pre_ban_summary_spec.rb +48 -0
- data/client/spec/models/pub_sub_comment_base_spec.rb +1 -1
- data/client/spec/models/pub_sub_comment_spec.rb +1 -1
- data/client/spec/models/pub_sub_vote_spec.rb +1 -1
- data/client/spec/models/public_api_delete_comment_response_spec.rb +1 -1
- data/client/spec/models/public_api_get_comment_text_response_spec.rb +1 -1
- data/client/spec/models/public_api_set_comment_text_response_spec.rb +1 -1
- data/client/spec/models/public_block_from_comment_params_spec.rb +1 -1
- data/client/spec/models/public_comment_base_spec.rb +1 -1
- data/client/spec/models/public_comment_spec.rb +1 -1
- data/client/spec/models/public_feed_posts_response_spec.rb +1 -1
- data/client/spec/models/public_page_spec.rb +60 -0
- data/client/spec/models/public_vote_spec.rb +1 -1
- data/client/spec/models/{flag_comment200_response_spec.rb → put_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/put_sso_user_api_response_spec.rb +1 -1
- data/client/spec/models/query_predicate_spec.rb +1 -1
- data/client/spec/models/query_predicate_value_spec.rb +1 -1
- data/client/spec/models/question_config_custom_options_inner_spec.rb +1 -1
- data/client/spec/models/question_config_spec.rb +1 -1
- data/client/spec/models/question_datum_spec.rb +1 -1
- data/client/spec/models/question_rendering_type_spec.rb +1 -1
- data/client/spec/models/question_result_aggregation_overall_spec.rb +1 -1
- data/client/spec/models/question_result_spec.rb +1 -1
- data/client/spec/models/question_sub_question_visibility_spec.rb +1 -1
- data/client/spec/models/question_when_save_spec.rb +1 -1
- data/client/spec/models/react_body_params_spec.rb +1 -1
- data/client/spec/models/react_feed_post_response_spec.rb +1 -1
- data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/render_email_template_response_spec.rb +1 -1
- data/client/spec/models/renderable_user_notification_spec.rb +1 -1
- data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +1 -1
- data/client/spec/models/repeat_comment_handling_action_spec.rb +1 -1
- data/client/spec/models/replace_tenant_package_body_spec.rb +1 -1
- data/client/spec/models/replace_tenant_user_body_spec.rb +1 -1
- data/client/spec/models/reset_user_notifications_response_spec.rb +1 -1
- data/client/spec/models/save_comment_response_optimized_spec.rb +1 -1
- data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
- data/client/spec/models/save_comments_response_with_presence_spec.rb +1 -1
- data/client/spec/models/search_users_response_spec.rb +1 -1
- data/client/spec/models/{get_votes200_response_spec.rb → search_users_result_spec.rb} +3 -3
- data/client/spec/models/search_users_sectioned_response_spec.rb +1 -1
- 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 +1 -1
- data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
- data/client/spec/models/size_preset_spec.rb +1 -1
- data/client/spec/models/sort_directions_spec.rb +1 -1
- data/client/spec/models/sortdir_spec.rb +1 -1
- data/client/spec/models/spam_rule_spec.rb +1 -1
- data/client/spec/models/sso_security_level_spec.rb +1 -1
- data/client/spec/models/tenant_badge_spec.rb +156 -0
- data/client/spec/models/tenant_hash_tag_spec.rb +1 -1
- data/client/spec/models/tenant_package_spec.rb +43 -1
- data/client/spec/models/tos_config_spec.rb +1 -1
- data/client/spec/models/un_block_from_comment_params_spec.rb +1 -1
- data/client/spec/models/unblock_success_spec.rb +1 -1
- data/client/spec/models/updatable_comment_params_spec.rb +1 -1
- data/client/spec/models/update_api_page_data_spec.rb +1 -1
- data/client/spec/models/update_api_user_subscription_data_spec.rb +1 -1
- data/client/spec/models/update_apisso_user_data_spec.rb +1 -1
- data/client/spec/models/update_domain_config_params_spec.rb +1 -1
- data/client/spec/models/update_email_template_body_spec.rb +1 -1
- data/client/spec/models/update_feed_post_params_spec.rb +1 -1
- data/client/spec/models/update_hash_tag_body_spec.rb +1 -1
- data/client/spec/models/update_hash_tag_response_spec.rb +1 -1
- data/client/spec/models/update_moderator_body_spec.rb +1 -1
- data/client/spec/models/update_notification_body_spec.rb +1 -1
- data/client/spec/models/update_question_config_body_spec.rb +1 -1
- data/client/spec/models/update_question_result_body_spec.rb +1 -1
- data/client/spec/models/update_subscription_api_response_spec.rb +1 -1
- data/client/spec/models/update_tenant_body_spec.rb +1 -1
- data/client/spec/models/update_tenant_package_body_spec.rb +1 -1
- data/client/spec/models/update_tenant_user_body_spec.rb +1 -1
- data/client/spec/models/update_user_badge_params_spec.rb +1 -1
- data/client/spec/models/update_user_notification_comment_subscription_status_response_spec.rb +21 -0
- data/client/spec/models/{aggregate_question_results200_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 +1 -1
- data/client/spec/models/user_badge_progress_spec.rb +1 -1
- data/client/spec/models/user_badge_spec.rb +1 -1
- data/client/spec/models/user_notification_count_spec.rb +1 -1
- data/client/spec/models/user_notification_spec.rb +1 -1
- data/client/spec/models/user_notification_write_response_spec.rb +1 -1
- data/client/spec/models/user_presence_data_spec.rb +1 -1
- data/client/spec/models/user_reacts_response_spec.rb +1 -1
- data/client/spec/models/user_search_result_spec.rb +1 -1
- data/client/spec/models/user_search_section_result_spec.rb +1 -1
- data/client/spec/models/user_search_section_spec.rb +1 -1
- data/client/spec/models/user_session_info_spec.rb +1 -1
- data/client/spec/models/user_spec.rb +7 -1
- data/client/spec/models/users_list_location_spec.rb +30 -0
- data/client/spec/models/vote_body_params_spec.rb +1 -1
- data/client/spec/models/vote_delete_response_spec.rb +1 -1
- data/client/spec/models/vote_response_spec.rb +1 -1
- data/client/spec/models/vote_response_user_spec.rb +1 -1
- data/client/spec/models/vote_style_spec.rb +1 -1
- data/client/spec/spec_helper.rb +1 -1
- data/lib/fastcomments.rb +1 -1
- metadata +302 -293
- 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/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_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_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_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_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_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/delete_feed_post_public200_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_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_tenant200_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_ticket200_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/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.23.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ module FastCommentsClient
|
|
|
22
22
|
# @param tenant_id [String]
|
|
23
23
|
# @param add_domain_config_params [AddDomainConfigParams]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @return [
|
|
25
|
+
# @return [AddDomainConfigResponse]
|
|
26
26
|
def add_domain_config(tenant_id, add_domain_config_params, opts = {})
|
|
27
27
|
data, _status_code, _headers = add_domain_config_with_http_info(tenant_id, add_domain_config_params, opts)
|
|
28
28
|
data
|
|
@@ -31,7 +31,7 @@ module FastCommentsClient
|
|
|
31
31
|
# @param tenant_id [String]
|
|
32
32
|
# @param add_domain_config_params [AddDomainConfigParams]
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
|
-
# @return [Array<(
|
|
34
|
+
# @return [Array<(AddDomainConfigResponse, Integer, Hash)>] AddDomainConfigResponse data, response status code and response headers
|
|
35
35
|
def add_domain_config_with_http_info(tenant_id, add_domain_config_params, opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
37
|
@api_client.config.logger.debug 'Calling API: DefaultApi.add_domain_config ...'
|
|
@@ -68,7 +68,7 @@ module FastCommentsClient
|
|
|
68
68
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(add_domain_config_params)
|
|
69
69
|
|
|
70
70
|
# return_type
|
|
71
|
-
return_type = opts[:debug_return_type] || '
|
|
71
|
+
return_type = opts[:debug_return_type] || 'AddDomainConfigResponse'
|
|
72
72
|
|
|
73
73
|
# auth_names
|
|
74
74
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -90,29 +90,33 @@ module FastCommentsClient
|
|
|
90
90
|
return data, status_code, headers
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
# @param tenant_id [String]
|
|
94
|
+
# @param create_hash_tag_body [CreateHashTagBody]
|
|
93
95
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
def add_hash_tag(opts = {})
|
|
98
|
-
data, _status_code, _headers = add_hash_tag_with_http_info(opts)
|
|
96
|
+
# @return [CreateHashTagResponse]
|
|
97
|
+
def add_hash_tag(tenant_id, create_hash_tag_body, opts = {})
|
|
98
|
+
data, _status_code, _headers = add_hash_tag_with_http_info(tenant_id, create_hash_tag_body, opts)
|
|
99
99
|
data
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
# @param tenant_id [String]
|
|
103
|
+
# @param create_hash_tag_body [CreateHashTagBody]
|
|
102
104
|
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @
|
|
104
|
-
|
|
105
|
-
# @return [Array<(AddHashTag200Response, Integer, Hash)>] AddHashTag200Response data, response status code and response headers
|
|
106
|
-
def add_hash_tag_with_http_info(opts = {})
|
|
105
|
+
# @return [Array<(CreateHashTagResponse, Integer, Hash)>] CreateHashTagResponse data, response status code and response headers
|
|
106
|
+
def add_hash_tag_with_http_info(tenant_id, create_hash_tag_body, opts = {})
|
|
107
107
|
if @api_client.config.debugging
|
|
108
108
|
@api_client.config.logger.debug 'Calling API: DefaultApi.add_hash_tag ...'
|
|
109
109
|
end
|
|
110
|
+
# verify the required parameter 'tenant_id' is set
|
|
111
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.add_hash_tag"
|
|
113
|
+
end
|
|
110
114
|
# resource path
|
|
111
115
|
local_var_path = '/api/v1/hash-tags'
|
|
112
116
|
|
|
113
117
|
# query parameters
|
|
114
118
|
query_params = opts[:query_params] || {}
|
|
115
|
-
query_params[:'tenantId'] =
|
|
119
|
+
query_params[:'tenantId'] = tenant_id
|
|
116
120
|
|
|
117
121
|
# header parameters
|
|
118
122
|
header_params = opts[:header_params] || {}
|
|
@@ -128,10 +132,10 @@ module FastCommentsClient
|
|
|
128
132
|
form_params = opts[:form_params] || {}
|
|
129
133
|
|
|
130
134
|
# http body (model)
|
|
131
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
135
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_hash_tag_body)
|
|
132
136
|
|
|
133
137
|
# return_type
|
|
134
|
-
return_type = opts[:debug_return_type] || '
|
|
138
|
+
return_type = opts[:debug_return_type] || 'CreateHashTagResponse'
|
|
135
139
|
|
|
136
140
|
# auth_names
|
|
137
141
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -153,29 +157,33 @@ module FastCommentsClient
|
|
|
153
157
|
return data, status_code, headers
|
|
154
158
|
end
|
|
155
159
|
|
|
160
|
+
# @param tenant_id [String]
|
|
161
|
+
# @param bulk_create_hash_tags_body [BulkCreateHashTagsBody]
|
|
156
162
|
# @param [Hash] opts the optional parameters
|
|
157
|
-
# @
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
def add_hash_tags_bulk(opts = {})
|
|
161
|
-
data, _status_code, _headers = add_hash_tags_bulk_with_http_info(opts)
|
|
163
|
+
# @return [BulkCreateHashTagsResponse]
|
|
164
|
+
def add_hash_tags_bulk(tenant_id, bulk_create_hash_tags_body, opts = {})
|
|
165
|
+
data, _status_code, _headers = add_hash_tags_bulk_with_http_info(tenant_id, bulk_create_hash_tags_body, opts)
|
|
162
166
|
data
|
|
163
167
|
end
|
|
164
168
|
|
|
169
|
+
# @param tenant_id [String]
|
|
170
|
+
# @param bulk_create_hash_tags_body [BulkCreateHashTagsBody]
|
|
165
171
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @
|
|
167
|
-
|
|
168
|
-
# @return [Array<(AddHashTagsBulk200Response, Integer, Hash)>] AddHashTagsBulk200Response data, response status code and response headers
|
|
169
|
-
def add_hash_tags_bulk_with_http_info(opts = {})
|
|
172
|
+
# @return [Array<(BulkCreateHashTagsResponse, Integer, Hash)>] BulkCreateHashTagsResponse data, response status code and response headers
|
|
173
|
+
def add_hash_tags_bulk_with_http_info(tenant_id, bulk_create_hash_tags_body, opts = {})
|
|
170
174
|
if @api_client.config.debugging
|
|
171
175
|
@api_client.config.logger.debug 'Calling API: DefaultApi.add_hash_tags_bulk ...'
|
|
172
176
|
end
|
|
177
|
+
# verify the required parameter 'tenant_id' is set
|
|
178
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.add_hash_tags_bulk"
|
|
180
|
+
end
|
|
173
181
|
# resource path
|
|
174
182
|
local_var_path = '/api/v1/hash-tags/bulk'
|
|
175
183
|
|
|
176
184
|
# query parameters
|
|
177
185
|
query_params = opts[:query_params] || {}
|
|
178
|
-
query_params[:'tenantId'] =
|
|
186
|
+
query_params[:'tenantId'] = tenant_id
|
|
179
187
|
|
|
180
188
|
# header parameters
|
|
181
189
|
header_params = opts[:header_params] || {}
|
|
@@ -191,10 +199,10 @@ module FastCommentsClient
|
|
|
191
199
|
form_params = opts[:form_params] || {}
|
|
192
200
|
|
|
193
201
|
# http body (model)
|
|
194
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
202
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bulk_create_hash_tags_body)
|
|
195
203
|
|
|
196
204
|
# return_type
|
|
197
|
-
return_type = opts[:debug_return_type] || '
|
|
205
|
+
return_type = opts[:debug_return_type] || 'BulkCreateHashTagsResponse'
|
|
198
206
|
|
|
199
207
|
# auth_names
|
|
200
208
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -364,7 +372,7 @@ module FastCommentsClient
|
|
|
364
372
|
# @param [Hash] opts the optional parameters
|
|
365
373
|
# @option opts [String] :parent_tenant_id
|
|
366
374
|
# @option opts [Boolean] :include_stats
|
|
367
|
-
# @return [
|
|
375
|
+
# @return [AggregateResponse]
|
|
368
376
|
def aggregate(tenant_id, aggregation_request, opts = {})
|
|
369
377
|
data, _status_code, _headers = aggregate_with_http_info(tenant_id, aggregation_request, opts)
|
|
370
378
|
data
|
|
@@ -376,7 +384,7 @@ module FastCommentsClient
|
|
|
376
384
|
# @param [Hash] opts the optional parameters
|
|
377
385
|
# @option opts [String] :parent_tenant_id
|
|
378
386
|
# @option opts [Boolean] :include_stats
|
|
379
|
-
# @return [Array<(
|
|
387
|
+
# @return [Array<(AggregateResponse, Integer, Hash)>] AggregateResponse data, response status code and response headers
|
|
380
388
|
def aggregate_with_http_info(tenant_id, aggregation_request, opts = {})
|
|
381
389
|
if @api_client.config.debugging
|
|
382
390
|
@api_client.config.logger.debug 'Calling API: DefaultApi.aggregate ...'
|
|
@@ -415,7 +423,7 @@ module FastCommentsClient
|
|
|
415
423
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(aggregation_request)
|
|
416
424
|
|
|
417
425
|
# return_type
|
|
418
|
-
return_type = opts[:debug_return_type] || '
|
|
426
|
+
return_type = opts[:debug_return_type] || 'AggregateResponse'
|
|
419
427
|
|
|
420
428
|
# auth_names
|
|
421
429
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -445,7 +453,7 @@ module FastCommentsClient
|
|
|
445
453
|
# @option opts [AggregateTimeBucket] :time_bucket
|
|
446
454
|
# @option opts [Time] :start_date
|
|
447
455
|
# @option opts [Boolean] :force_recalculate
|
|
448
|
-
# @return [
|
|
456
|
+
# @return [AggregateQuestionResultsResponse]
|
|
449
457
|
def aggregate_question_results(tenant_id, opts = {})
|
|
450
458
|
data, _status_code, _headers = aggregate_question_results_with_http_info(tenant_id, opts)
|
|
451
459
|
data
|
|
@@ -459,7 +467,7 @@ module FastCommentsClient
|
|
|
459
467
|
# @option opts [AggregateTimeBucket] :time_bucket
|
|
460
468
|
# @option opts [Time] :start_date
|
|
461
469
|
# @option opts [Boolean] :force_recalculate
|
|
462
|
-
# @return [Array<(
|
|
470
|
+
# @return [Array<(AggregateQuestionResultsResponse, Integer, Hash)>] AggregateQuestionResultsResponse data, response status code and response headers
|
|
463
471
|
def aggregate_question_results_with_http_info(tenant_id, opts = {})
|
|
464
472
|
if @api_client.config.debugging
|
|
465
473
|
@api_client.config.logger.debug 'Calling API: DefaultApi.aggregate_question_results ...'
|
|
@@ -493,7 +501,7 @@ module FastCommentsClient
|
|
|
493
501
|
post_body = opts[:debug_body]
|
|
494
502
|
|
|
495
503
|
# return_type
|
|
496
|
-
return_type = opts[:debug_return_type] || '
|
|
504
|
+
return_type = opts[:debug_return_type] || 'AggregateQuestionResultsResponse'
|
|
497
505
|
|
|
498
506
|
# auth_names
|
|
499
507
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -521,7 +529,7 @@ module FastCommentsClient
|
|
|
521
529
|
# @param [Hash] opts the optional parameters
|
|
522
530
|
# @option opts [String] :user_id
|
|
523
531
|
# @option opts [String] :anon_user_id
|
|
524
|
-
# @return [
|
|
532
|
+
# @return [BlockSuccess]
|
|
525
533
|
def block_user_from_comment(tenant_id, id, block_from_comment_params, opts = {})
|
|
526
534
|
data, _status_code, _headers = block_user_from_comment_with_http_info(tenant_id, id, block_from_comment_params, opts)
|
|
527
535
|
data
|
|
@@ -533,7 +541,7 @@ module FastCommentsClient
|
|
|
533
541
|
# @param [Hash] opts the optional parameters
|
|
534
542
|
# @option opts [String] :user_id
|
|
535
543
|
# @option opts [String] :anon_user_id
|
|
536
|
-
# @return [Array<(
|
|
544
|
+
# @return [Array<(BlockSuccess, Integer, Hash)>] BlockSuccess data, response status code and response headers
|
|
537
545
|
def block_user_from_comment_with_http_info(tenant_id, id, block_from_comment_params, opts = {})
|
|
538
546
|
if @api_client.config.debugging
|
|
539
547
|
@api_client.config.logger.debug 'Calling API: DefaultApi.block_user_from_comment ...'
|
|
@@ -551,7 +559,7 @@ module FastCommentsClient
|
|
|
551
559
|
fail ArgumentError, "Missing the required parameter 'block_from_comment_params' when calling DefaultApi.block_user_from_comment"
|
|
552
560
|
end
|
|
553
561
|
# resource path
|
|
554
|
-
local_var_path = '/api/v1/comments/{id}/block'.sub('{
|
|
562
|
+
local_var_path = '/api/v1/comments/{id}/block'.sub('{id}', CGI.escape(id.to_s))
|
|
555
563
|
|
|
556
564
|
# query parameters
|
|
557
565
|
query_params = opts[:query_params] || {}
|
|
@@ -576,7 +584,7 @@ module FastCommentsClient
|
|
|
576
584
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(block_from_comment_params)
|
|
577
585
|
|
|
578
586
|
# return_type
|
|
579
|
-
return_type = opts[:debug_return_type] || '
|
|
587
|
+
return_type = opts[:debug_return_type] || 'BlockSuccess'
|
|
580
588
|
|
|
581
589
|
# auth_names
|
|
582
590
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -602,7 +610,7 @@ module FastCommentsClient
|
|
|
602
610
|
# @param bulk_aggregate_question_results_request [BulkAggregateQuestionResultsRequest]
|
|
603
611
|
# @param [Hash] opts the optional parameters
|
|
604
612
|
# @option opts [Boolean] :force_recalculate
|
|
605
|
-
# @return [
|
|
613
|
+
# @return [BulkAggregateQuestionResultsResponse]
|
|
606
614
|
def bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, opts = {})
|
|
607
615
|
data, _status_code, _headers = bulk_aggregate_question_results_with_http_info(tenant_id, bulk_aggregate_question_results_request, opts)
|
|
608
616
|
data
|
|
@@ -612,7 +620,7 @@ module FastCommentsClient
|
|
|
612
620
|
# @param bulk_aggregate_question_results_request [BulkAggregateQuestionResultsRequest]
|
|
613
621
|
# @param [Hash] opts the optional parameters
|
|
614
622
|
# @option opts [Boolean] :force_recalculate
|
|
615
|
-
# @return [Array<(
|
|
623
|
+
# @return [Array<(BulkAggregateQuestionResultsResponse, Integer, Hash)>] BulkAggregateQuestionResultsResponse data, response status code and response headers
|
|
616
624
|
def bulk_aggregate_question_results_with_http_info(tenant_id, bulk_aggregate_question_results_request, opts = {})
|
|
617
625
|
if @api_client.config.debugging
|
|
618
626
|
@api_client.config.logger.debug 'Calling API: DefaultApi.bulk_aggregate_question_results ...'
|
|
@@ -650,7 +658,7 @@ module FastCommentsClient
|
|
|
650
658
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(bulk_aggregate_question_results_request)
|
|
651
659
|
|
|
652
660
|
# return_type
|
|
653
|
-
return_type = opts[:debug_return_type] || '
|
|
661
|
+
return_type = opts[:debug_return_type] || 'BulkAggregateQuestionResultsResponse'
|
|
654
662
|
|
|
655
663
|
# auth_names
|
|
656
664
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -677,7 +685,7 @@ module FastCommentsClient
|
|
|
677
685
|
# @param id [String]
|
|
678
686
|
# @param change_ticket_state_body [ChangeTicketStateBody]
|
|
679
687
|
# @param [Hash] opts the optional parameters
|
|
680
|
-
# @return [
|
|
688
|
+
# @return [ChangeTicketStateResponse]
|
|
681
689
|
def change_ticket_state(tenant_id, user_id, id, change_ticket_state_body, opts = {})
|
|
682
690
|
data, _status_code, _headers = change_ticket_state_with_http_info(tenant_id, user_id, id, change_ticket_state_body, opts)
|
|
683
691
|
data
|
|
@@ -688,7 +696,7 @@ module FastCommentsClient
|
|
|
688
696
|
# @param id [String]
|
|
689
697
|
# @param change_ticket_state_body [ChangeTicketStateBody]
|
|
690
698
|
# @param [Hash] opts the optional parameters
|
|
691
|
-
# @return [Array<(
|
|
699
|
+
# @return [Array<(ChangeTicketStateResponse, Integer, Hash)>] ChangeTicketStateResponse data, response status code and response headers
|
|
692
700
|
def change_ticket_state_with_http_info(tenant_id, user_id, id, change_ticket_state_body, opts = {})
|
|
693
701
|
if @api_client.config.debugging
|
|
694
702
|
@api_client.config.logger.debug 'Calling API: DefaultApi.change_ticket_state ...'
|
|
@@ -710,7 +718,7 @@ module FastCommentsClient
|
|
|
710
718
|
fail ArgumentError, "Missing the required parameter 'change_ticket_state_body' when calling DefaultApi.change_ticket_state"
|
|
711
719
|
end
|
|
712
720
|
# resource path
|
|
713
|
-
local_var_path = '/api/v1/tickets/{id}/state'.sub('{
|
|
721
|
+
local_var_path = '/api/v1/tickets/{id}/state'.sub('{id}', CGI.escape(id.to_s))
|
|
714
722
|
|
|
715
723
|
# query parameters
|
|
716
724
|
query_params = opts[:query_params] || {}
|
|
@@ -734,7 +742,7 @@ module FastCommentsClient
|
|
|
734
742
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(change_ticket_state_body)
|
|
735
743
|
|
|
736
744
|
# return_type
|
|
737
|
-
return_type = opts[:debug_return_type] || '
|
|
745
|
+
return_type = opts[:debug_return_type] || 'ChangeTicketStateResponse'
|
|
738
746
|
|
|
739
747
|
# auth_names
|
|
740
748
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -766,7 +774,7 @@ module FastCommentsClient
|
|
|
766
774
|
# @option opts [Float] :min_value
|
|
767
775
|
# @option opts [Float] :max_value
|
|
768
776
|
# @option opts [Float] :limit
|
|
769
|
-
# @return [
|
|
777
|
+
# @return [CombineQuestionResultsWithCommentsResponse]
|
|
770
778
|
def combine_comments_with_question_results(tenant_id, opts = {})
|
|
771
779
|
data, _status_code, _headers = combine_comments_with_question_results_with_http_info(tenant_id, opts)
|
|
772
780
|
data
|
|
@@ -782,7 +790,7 @@ module FastCommentsClient
|
|
|
782
790
|
# @option opts [Float] :min_value
|
|
783
791
|
# @option opts [Float] :max_value
|
|
784
792
|
# @option opts [Float] :limit
|
|
785
|
-
# @return [Array<(
|
|
793
|
+
# @return [Array<(CombineQuestionResultsWithCommentsResponse, Integer, Hash)>] CombineQuestionResultsWithCommentsResponse data, response status code and response headers
|
|
786
794
|
def combine_comments_with_question_results_with_http_info(tenant_id, opts = {})
|
|
787
795
|
if @api_client.config.debugging
|
|
788
796
|
@api_client.config.logger.debug 'Calling API: DefaultApi.combine_comments_with_question_results ...'
|
|
@@ -818,7 +826,7 @@ module FastCommentsClient
|
|
|
818
826
|
post_body = opts[:debug_body]
|
|
819
827
|
|
|
820
828
|
# return_type
|
|
821
|
-
return_type = opts[:debug_return_type] || '
|
|
829
|
+
return_type = opts[:debug_return_type] || 'CombineQuestionResultsWithCommentsResponse'
|
|
822
830
|
|
|
823
831
|
# auth_names
|
|
824
832
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -843,7 +851,7 @@ module FastCommentsClient
|
|
|
843
851
|
# @param tenant_id [String]
|
|
844
852
|
# @param create_email_template_body [CreateEmailTemplateBody]
|
|
845
853
|
# @param [Hash] opts the optional parameters
|
|
846
|
-
# @return [
|
|
854
|
+
# @return [CreateEmailTemplateResponse]
|
|
847
855
|
def create_email_template(tenant_id, create_email_template_body, opts = {})
|
|
848
856
|
data, _status_code, _headers = create_email_template_with_http_info(tenant_id, create_email_template_body, opts)
|
|
849
857
|
data
|
|
@@ -852,7 +860,7 @@ module FastCommentsClient
|
|
|
852
860
|
# @param tenant_id [String]
|
|
853
861
|
# @param create_email_template_body [CreateEmailTemplateBody]
|
|
854
862
|
# @param [Hash] opts the optional parameters
|
|
855
|
-
# @return [Array<(
|
|
863
|
+
# @return [Array<(CreateEmailTemplateResponse, Integer, Hash)>] CreateEmailTemplateResponse data, response status code and response headers
|
|
856
864
|
def create_email_template_with_http_info(tenant_id, create_email_template_body, opts = {})
|
|
857
865
|
if @api_client.config.debugging
|
|
858
866
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_email_template ...'
|
|
@@ -889,7 +897,7 @@ module FastCommentsClient
|
|
|
889
897
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_email_template_body)
|
|
890
898
|
|
|
891
899
|
# return_type
|
|
892
|
-
return_type = opts[:debug_return_type] || '
|
|
900
|
+
return_type = opts[:debug_return_type] || 'CreateEmailTemplateResponse'
|
|
893
901
|
|
|
894
902
|
# auth_names
|
|
895
903
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -918,7 +926,7 @@ module FastCommentsClient
|
|
|
918
926
|
# @option opts [Boolean] :is_live
|
|
919
927
|
# @option opts [Boolean] :do_spam_check
|
|
920
928
|
# @option opts [Boolean] :skip_dup_check
|
|
921
|
-
# @return [
|
|
929
|
+
# @return [CreateFeedPostsResponse]
|
|
922
930
|
def create_feed_post(tenant_id, create_feed_post_params, opts = {})
|
|
923
931
|
data, _status_code, _headers = create_feed_post_with_http_info(tenant_id, create_feed_post_params, opts)
|
|
924
932
|
data
|
|
@@ -931,7 +939,7 @@ module FastCommentsClient
|
|
|
931
939
|
# @option opts [Boolean] :is_live
|
|
932
940
|
# @option opts [Boolean] :do_spam_check
|
|
933
941
|
# @option opts [Boolean] :skip_dup_check
|
|
934
|
-
# @return [Array<(
|
|
942
|
+
# @return [Array<(CreateFeedPostsResponse, Integer, Hash)>] CreateFeedPostsResponse data, response status code and response headers
|
|
935
943
|
def create_feed_post_with_http_info(tenant_id, create_feed_post_params, opts = {})
|
|
936
944
|
if @api_client.config.debugging
|
|
937
945
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_feed_post ...'
|
|
@@ -972,7 +980,7 @@ module FastCommentsClient
|
|
|
972
980
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_feed_post_params)
|
|
973
981
|
|
|
974
982
|
# return_type
|
|
975
|
-
return_type = opts[:debug_return_type] || '
|
|
983
|
+
return_type = opts[:debug_return_type] || 'CreateFeedPostsResponse'
|
|
976
984
|
|
|
977
985
|
# auth_names
|
|
978
986
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -997,7 +1005,7 @@ module FastCommentsClient
|
|
|
997
1005
|
# @param tenant_id [String]
|
|
998
1006
|
# @param create_moderator_body [CreateModeratorBody]
|
|
999
1007
|
# @param [Hash] opts the optional parameters
|
|
1000
|
-
# @return [
|
|
1008
|
+
# @return [CreateModeratorResponse]
|
|
1001
1009
|
def create_moderator(tenant_id, create_moderator_body, opts = {})
|
|
1002
1010
|
data, _status_code, _headers = create_moderator_with_http_info(tenant_id, create_moderator_body, opts)
|
|
1003
1011
|
data
|
|
@@ -1006,7 +1014,7 @@ module FastCommentsClient
|
|
|
1006
1014
|
# @param tenant_id [String]
|
|
1007
1015
|
# @param create_moderator_body [CreateModeratorBody]
|
|
1008
1016
|
# @param [Hash] opts the optional parameters
|
|
1009
|
-
# @return [Array<(
|
|
1017
|
+
# @return [Array<(CreateModeratorResponse, Integer, Hash)>] CreateModeratorResponse data, response status code and response headers
|
|
1010
1018
|
def create_moderator_with_http_info(tenant_id, create_moderator_body, opts = {})
|
|
1011
1019
|
if @api_client.config.debugging
|
|
1012
1020
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_moderator ...'
|
|
@@ -1043,7 +1051,7 @@ module FastCommentsClient
|
|
|
1043
1051
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_moderator_body)
|
|
1044
1052
|
|
|
1045
1053
|
# return_type
|
|
1046
|
-
return_type = opts[:debug_return_type] || '
|
|
1054
|
+
return_type = opts[:debug_return_type] || 'CreateModeratorResponse'
|
|
1047
1055
|
|
|
1048
1056
|
# auth_names
|
|
1049
1057
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1068,7 +1076,7 @@ module FastCommentsClient
|
|
|
1068
1076
|
# @param tenant_id [String]
|
|
1069
1077
|
# @param create_question_config_body [CreateQuestionConfigBody]
|
|
1070
1078
|
# @param [Hash] opts the optional parameters
|
|
1071
|
-
# @return [
|
|
1079
|
+
# @return [CreateQuestionConfigResponse]
|
|
1072
1080
|
def create_question_config(tenant_id, create_question_config_body, opts = {})
|
|
1073
1081
|
data, _status_code, _headers = create_question_config_with_http_info(tenant_id, create_question_config_body, opts)
|
|
1074
1082
|
data
|
|
@@ -1077,7 +1085,7 @@ module FastCommentsClient
|
|
|
1077
1085
|
# @param tenant_id [String]
|
|
1078
1086
|
# @param create_question_config_body [CreateQuestionConfigBody]
|
|
1079
1087
|
# @param [Hash] opts the optional parameters
|
|
1080
|
-
# @return [Array<(
|
|
1088
|
+
# @return [Array<(CreateQuestionConfigResponse, Integer, Hash)>] CreateQuestionConfigResponse data, response status code and response headers
|
|
1081
1089
|
def create_question_config_with_http_info(tenant_id, create_question_config_body, opts = {})
|
|
1082
1090
|
if @api_client.config.debugging
|
|
1083
1091
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_question_config ...'
|
|
@@ -1114,7 +1122,7 @@ module FastCommentsClient
|
|
|
1114
1122
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_question_config_body)
|
|
1115
1123
|
|
|
1116
1124
|
# return_type
|
|
1117
|
-
return_type = opts[:debug_return_type] || '
|
|
1125
|
+
return_type = opts[:debug_return_type] || 'CreateQuestionConfigResponse'
|
|
1118
1126
|
|
|
1119
1127
|
# auth_names
|
|
1120
1128
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1139,7 +1147,7 @@ module FastCommentsClient
|
|
|
1139
1147
|
# @param tenant_id [String]
|
|
1140
1148
|
# @param create_question_result_body [CreateQuestionResultBody]
|
|
1141
1149
|
# @param [Hash] opts the optional parameters
|
|
1142
|
-
# @return [
|
|
1150
|
+
# @return [CreateQuestionResultResponse]
|
|
1143
1151
|
def create_question_result(tenant_id, create_question_result_body, opts = {})
|
|
1144
1152
|
data, _status_code, _headers = create_question_result_with_http_info(tenant_id, create_question_result_body, opts)
|
|
1145
1153
|
data
|
|
@@ -1148,7 +1156,7 @@ module FastCommentsClient
|
|
|
1148
1156
|
# @param tenant_id [String]
|
|
1149
1157
|
# @param create_question_result_body [CreateQuestionResultBody]
|
|
1150
1158
|
# @param [Hash] opts the optional parameters
|
|
1151
|
-
# @return [Array<(
|
|
1159
|
+
# @return [Array<(CreateQuestionResultResponse, Integer, Hash)>] CreateQuestionResultResponse data, response status code and response headers
|
|
1152
1160
|
def create_question_result_with_http_info(tenant_id, create_question_result_body, opts = {})
|
|
1153
1161
|
if @api_client.config.debugging
|
|
1154
1162
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_question_result ...'
|
|
@@ -1185,7 +1193,7 @@ module FastCommentsClient
|
|
|
1185
1193
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_question_result_body)
|
|
1186
1194
|
|
|
1187
1195
|
# return_type
|
|
1188
|
-
return_type = opts[:debug_return_type] || '
|
|
1196
|
+
return_type = opts[:debug_return_type] || 'CreateQuestionResultResponse'
|
|
1189
1197
|
|
|
1190
1198
|
# auth_names
|
|
1191
1199
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1281,7 +1289,7 @@ module FastCommentsClient
|
|
|
1281
1289
|
# @param tenant_id [String]
|
|
1282
1290
|
# @param create_tenant_body [CreateTenantBody]
|
|
1283
1291
|
# @param [Hash] opts the optional parameters
|
|
1284
|
-
# @return [
|
|
1292
|
+
# @return [CreateTenantResponse]
|
|
1285
1293
|
def create_tenant(tenant_id, create_tenant_body, opts = {})
|
|
1286
1294
|
data, _status_code, _headers = create_tenant_with_http_info(tenant_id, create_tenant_body, opts)
|
|
1287
1295
|
data
|
|
@@ -1290,7 +1298,7 @@ module FastCommentsClient
|
|
|
1290
1298
|
# @param tenant_id [String]
|
|
1291
1299
|
# @param create_tenant_body [CreateTenantBody]
|
|
1292
1300
|
# @param [Hash] opts the optional parameters
|
|
1293
|
-
# @return [Array<(
|
|
1301
|
+
# @return [Array<(CreateTenantResponse, Integer, Hash)>] CreateTenantResponse data, response status code and response headers
|
|
1294
1302
|
def create_tenant_with_http_info(tenant_id, create_tenant_body, opts = {})
|
|
1295
1303
|
if @api_client.config.debugging
|
|
1296
1304
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant ...'
|
|
@@ -1327,7 +1335,7 @@ module FastCommentsClient
|
|
|
1327
1335
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_body)
|
|
1328
1336
|
|
|
1329
1337
|
# return_type
|
|
1330
|
-
return_type = opts[:debug_return_type] || '
|
|
1338
|
+
return_type = opts[:debug_return_type] || 'CreateTenantResponse'
|
|
1331
1339
|
|
|
1332
1340
|
# auth_names
|
|
1333
1341
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1352,7 +1360,7 @@ module FastCommentsClient
|
|
|
1352
1360
|
# @param tenant_id [String]
|
|
1353
1361
|
# @param create_tenant_package_body [CreateTenantPackageBody]
|
|
1354
1362
|
# @param [Hash] opts the optional parameters
|
|
1355
|
-
# @return [
|
|
1363
|
+
# @return [CreateTenantPackageResponse]
|
|
1356
1364
|
def create_tenant_package(tenant_id, create_tenant_package_body, opts = {})
|
|
1357
1365
|
data, _status_code, _headers = create_tenant_package_with_http_info(tenant_id, create_tenant_package_body, opts)
|
|
1358
1366
|
data
|
|
@@ -1361,7 +1369,7 @@ module FastCommentsClient
|
|
|
1361
1369
|
# @param tenant_id [String]
|
|
1362
1370
|
# @param create_tenant_package_body [CreateTenantPackageBody]
|
|
1363
1371
|
# @param [Hash] opts the optional parameters
|
|
1364
|
-
# @return [Array<(
|
|
1372
|
+
# @return [Array<(CreateTenantPackageResponse, Integer, Hash)>] CreateTenantPackageResponse data, response status code and response headers
|
|
1365
1373
|
def create_tenant_package_with_http_info(tenant_id, create_tenant_package_body, opts = {})
|
|
1366
1374
|
if @api_client.config.debugging
|
|
1367
1375
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant_package ...'
|
|
@@ -1398,7 +1406,7 @@ module FastCommentsClient
|
|
|
1398
1406
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_package_body)
|
|
1399
1407
|
|
|
1400
1408
|
# return_type
|
|
1401
|
-
return_type = opts[:debug_return_type] || '
|
|
1409
|
+
return_type = opts[:debug_return_type] || 'CreateTenantPackageResponse'
|
|
1402
1410
|
|
|
1403
1411
|
# auth_names
|
|
1404
1412
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1423,7 +1431,7 @@ module FastCommentsClient
|
|
|
1423
1431
|
# @param tenant_id [String]
|
|
1424
1432
|
# @param create_tenant_user_body [CreateTenantUserBody]
|
|
1425
1433
|
# @param [Hash] opts the optional parameters
|
|
1426
|
-
# @return [
|
|
1434
|
+
# @return [CreateTenantUserResponse]
|
|
1427
1435
|
def create_tenant_user(tenant_id, create_tenant_user_body, opts = {})
|
|
1428
1436
|
data, _status_code, _headers = create_tenant_user_with_http_info(tenant_id, create_tenant_user_body, opts)
|
|
1429
1437
|
data
|
|
@@ -1432,7 +1440,7 @@ module FastCommentsClient
|
|
|
1432
1440
|
# @param tenant_id [String]
|
|
1433
1441
|
# @param create_tenant_user_body [CreateTenantUserBody]
|
|
1434
1442
|
# @param [Hash] opts the optional parameters
|
|
1435
|
-
# @return [Array<(
|
|
1443
|
+
# @return [Array<(CreateTenantUserResponse, Integer, Hash)>] CreateTenantUserResponse data, response status code and response headers
|
|
1436
1444
|
def create_tenant_user_with_http_info(tenant_id, create_tenant_user_body, opts = {})
|
|
1437
1445
|
if @api_client.config.debugging
|
|
1438
1446
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant_user ...'
|
|
@@ -1469,7 +1477,7 @@ module FastCommentsClient
|
|
|
1469
1477
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_user_body)
|
|
1470
1478
|
|
|
1471
1479
|
# return_type
|
|
1472
|
-
return_type = opts[:debug_return_type] || '
|
|
1480
|
+
return_type = opts[:debug_return_type] || 'CreateTenantUserResponse'
|
|
1473
1481
|
|
|
1474
1482
|
# auth_names
|
|
1475
1483
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1495,7 +1503,7 @@ module FastCommentsClient
|
|
|
1495
1503
|
# @param user_id [String]
|
|
1496
1504
|
# @param create_ticket_body [CreateTicketBody]
|
|
1497
1505
|
# @param [Hash] opts the optional parameters
|
|
1498
|
-
# @return [
|
|
1506
|
+
# @return [CreateTicketResponse]
|
|
1499
1507
|
def create_ticket(tenant_id, user_id, create_ticket_body, opts = {})
|
|
1500
1508
|
data, _status_code, _headers = create_ticket_with_http_info(tenant_id, user_id, create_ticket_body, opts)
|
|
1501
1509
|
data
|
|
@@ -1505,7 +1513,7 @@ module FastCommentsClient
|
|
|
1505
1513
|
# @param user_id [String]
|
|
1506
1514
|
# @param create_ticket_body [CreateTicketBody]
|
|
1507
1515
|
# @param [Hash] opts the optional parameters
|
|
1508
|
-
# @return [Array<(
|
|
1516
|
+
# @return [Array<(CreateTicketResponse, Integer, Hash)>] CreateTicketResponse data, response status code and response headers
|
|
1509
1517
|
def create_ticket_with_http_info(tenant_id, user_id, create_ticket_body, opts = {})
|
|
1510
1518
|
if @api_client.config.debugging
|
|
1511
1519
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_ticket ...'
|
|
@@ -1547,7 +1555,7 @@ module FastCommentsClient
|
|
|
1547
1555
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_ticket_body)
|
|
1548
1556
|
|
|
1549
1557
|
# return_type
|
|
1550
|
-
return_type = opts[:debug_return_type] || '
|
|
1558
|
+
return_type = opts[:debug_return_type] || 'CreateTicketResponse'
|
|
1551
1559
|
|
|
1552
1560
|
# auth_names
|
|
1553
1561
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1572,7 +1580,7 @@ module FastCommentsClient
|
|
|
1572
1580
|
# @param tenant_id [String]
|
|
1573
1581
|
# @param create_user_badge_params [CreateUserBadgeParams]
|
|
1574
1582
|
# @param [Hash] opts the optional parameters
|
|
1575
|
-
# @return [
|
|
1583
|
+
# @return [APICreateUserBadgeResponse]
|
|
1576
1584
|
def create_user_badge(tenant_id, create_user_badge_params, opts = {})
|
|
1577
1585
|
data, _status_code, _headers = create_user_badge_with_http_info(tenant_id, create_user_badge_params, opts)
|
|
1578
1586
|
data
|
|
@@ -1581,7 +1589,7 @@ module FastCommentsClient
|
|
|
1581
1589
|
# @param tenant_id [String]
|
|
1582
1590
|
# @param create_user_badge_params [CreateUserBadgeParams]
|
|
1583
1591
|
# @param [Hash] opts the optional parameters
|
|
1584
|
-
# @return [Array<(
|
|
1592
|
+
# @return [Array<(APICreateUserBadgeResponse, Integer, Hash)>] APICreateUserBadgeResponse data, response status code and response headers
|
|
1585
1593
|
def create_user_badge_with_http_info(tenant_id, create_user_badge_params, opts = {})
|
|
1586
1594
|
if @api_client.config.debugging
|
|
1587
1595
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_user_badge ...'
|
|
@@ -1618,7 +1626,7 @@ module FastCommentsClient
|
|
|
1618
1626
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_user_badge_params)
|
|
1619
1627
|
|
|
1620
1628
|
# return_type
|
|
1621
|
-
return_type = opts[:debug_return_type] || '
|
|
1629
|
+
return_type = opts[:debug_return_type] || 'APICreateUserBadgeResponse'
|
|
1622
1630
|
|
|
1623
1631
|
# auth_names
|
|
1624
1632
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1646,7 +1654,7 @@ module FastCommentsClient
|
|
|
1646
1654
|
# @param [Hash] opts the optional parameters
|
|
1647
1655
|
# @option opts [String] :user_id
|
|
1648
1656
|
# @option opts [String] :anon_user_id
|
|
1649
|
-
# @return [
|
|
1657
|
+
# @return [VoteResponse]
|
|
1650
1658
|
def create_vote(tenant_id, comment_id, direction, opts = {})
|
|
1651
1659
|
data, _status_code, _headers = create_vote_with_http_info(tenant_id, comment_id, direction, opts)
|
|
1652
1660
|
data
|
|
@@ -1658,7 +1666,7 @@ module FastCommentsClient
|
|
|
1658
1666
|
# @param [Hash] opts the optional parameters
|
|
1659
1667
|
# @option opts [String] :user_id
|
|
1660
1668
|
# @option opts [String] :anon_user_id
|
|
1661
|
-
# @return [Array<(
|
|
1669
|
+
# @return [Array<(VoteResponse, Integer, Hash)>] VoteResponse data, response status code and response headers
|
|
1662
1670
|
def create_vote_with_http_info(tenant_id, comment_id, direction, opts = {})
|
|
1663
1671
|
if @api_client.config.debugging
|
|
1664
1672
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_vote ...'
|
|
@@ -1703,7 +1711,7 @@ module FastCommentsClient
|
|
|
1703
1711
|
post_body = opts[:debug_body]
|
|
1704
1712
|
|
|
1705
1713
|
# return_type
|
|
1706
|
-
return_type = opts[:debug_return_type] || '
|
|
1714
|
+
return_type = opts[:debug_return_type] || 'VoteResponse'
|
|
1707
1715
|
|
|
1708
1716
|
# auth_names
|
|
1709
1717
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1730,7 +1738,7 @@ module FastCommentsClient
|
|
|
1730
1738
|
# @param [Hash] opts the optional parameters
|
|
1731
1739
|
# @option opts [String] :context_user_id
|
|
1732
1740
|
# @option opts [Boolean] :is_live
|
|
1733
|
-
# @return [
|
|
1741
|
+
# @return [DeleteCommentResult]
|
|
1734
1742
|
def delete_comment(tenant_id, id, opts = {})
|
|
1735
1743
|
data, _status_code, _headers = delete_comment_with_http_info(tenant_id, id, opts)
|
|
1736
1744
|
data
|
|
@@ -1741,7 +1749,7 @@ module FastCommentsClient
|
|
|
1741
1749
|
# @param [Hash] opts the optional parameters
|
|
1742
1750
|
# @option opts [String] :context_user_id
|
|
1743
1751
|
# @option opts [Boolean] :is_live
|
|
1744
|
-
# @return [Array<(
|
|
1752
|
+
# @return [Array<(DeleteCommentResult, Integer, Hash)>] DeleteCommentResult data, response status code and response headers
|
|
1745
1753
|
def delete_comment_with_http_info(tenant_id, id, opts = {})
|
|
1746
1754
|
if @api_client.config.debugging
|
|
1747
1755
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_comment ...'
|
|
@@ -1755,7 +1763,7 @@ module FastCommentsClient
|
|
|
1755
1763
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_comment"
|
|
1756
1764
|
end
|
|
1757
1765
|
# resource path
|
|
1758
|
-
local_var_path = '/api/v1/comments/{id}'.sub('{
|
|
1766
|
+
local_var_path = '/api/v1/comments/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
1759
1767
|
|
|
1760
1768
|
# query parameters
|
|
1761
1769
|
query_params = opts[:query_params] || {}
|
|
@@ -1775,7 +1783,7 @@ module FastCommentsClient
|
|
|
1775
1783
|
post_body = opts[:debug_body]
|
|
1776
1784
|
|
|
1777
1785
|
# return_type
|
|
1778
|
-
return_type = opts[:debug_return_type] || '
|
|
1786
|
+
return_type = opts[:debug_return_type] || 'DeleteCommentResult'
|
|
1779
1787
|
|
|
1780
1788
|
# auth_names
|
|
1781
1789
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1800,7 +1808,7 @@ module FastCommentsClient
|
|
|
1800
1808
|
# @param tenant_id [String]
|
|
1801
1809
|
# @param domain [String]
|
|
1802
1810
|
# @param [Hash] opts the optional parameters
|
|
1803
|
-
# @return [
|
|
1811
|
+
# @return [DeleteDomainConfigResponse]
|
|
1804
1812
|
def delete_domain_config(tenant_id, domain, opts = {})
|
|
1805
1813
|
data, _status_code, _headers = delete_domain_config_with_http_info(tenant_id, domain, opts)
|
|
1806
1814
|
data
|
|
@@ -1809,7 +1817,7 @@ module FastCommentsClient
|
|
|
1809
1817
|
# @param tenant_id [String]
|
|
1810
1818
|
# @param domain [String]
|
|
1811
1819
|
# @param [Hash] opts the optional parameters
|
|
1812
|
-
# @return [Array<(
|
|
1820
|
+
# @return [Array<(DeleteDomainConfigResponse, Integer, Hash)>] DeleteDomainConfigResponse data, response status code and response headers
|
|
1813
1821
|
def delete_domain_config_with_http_info(tenant_id, domain, opts = {})
|
|
1814
1822
|
if @api_client.config.debugging
|
|
1815
1823
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_domain_config ...'
|
|
@@ -1823,7 +1831,7 @@ module FastCommentsClient
|
|
|
1823
1831
|
fail ArgumentError, "Missing the required parameter 'domain' when calling DefaultApi.delete_domain_config"
|
|
1824
1832
|
end
|
|
1825
1833
|
# resource path
|
|
1826
|
-
local_var_path = '/api/v1/domain-configs/{domain}'.sub('{
|
|
1834
|
+
local_var_path = '/api/v1/domain-configs/{domain}'.sub('{domain}', CGI.escape(domain.to_s))
|
|
1827
1835
|
|
|
1828
1836
|
# query parameters
|
|
1829
1837
|
query_params = opts[:query_params] || {}
|
|
@@ -1841,7 +1849,7 @@ module FastCommentsClient
|
|
|
1841
1849
|
post_body = opts[:debug_body]
|
|
1842
1850
|
|
|
1843
1851
|
# return_type
|
|
1844
|
-
return_type = opts[:debug_return_type] || '
|
|
1852
|
+
return_type = opts[:debug_return_type] || 'DeleteDomainConfigResponse'
|
|
1845
1853
|
|
|
1846
1854
|
# auth_names
|
|
1847
1855
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1866,7 +1874,7 @@ module FastCommentsClient
|
|
|
1866
1874
|
# @param tenant_id [String]
|
|
1867
1875
|
# @param id [String]
|
|
1868
1876
|
# @param [Hash] opts the optional parameters
|
|
1869
|
-
# @return [
|
|
1877
|
+
# @return [APIEmptyResponse]
|
|
1870
1878
|
def delete_email_template(tenant_id, id, opts = {})
|
|
1871
1879
|
data, _status_code, _headers = delete_email_template_with_http_info(tenant_id, id, opts)
|
|
1872
1880
|
data
|
|
@@ -1875,7 +1883,7 @@ module FastCommentsClient
|
|
|
1875
1883
|
# @param tenant_id [String]
|
|
1876
1884
|
# @param id [String]
|
|
1877
1885
|
# @param [Hash] opts the optional parameters
|
|
1878
|
-
# @return [Array<(
|
|
1886
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1879
1887
|
def delete_email_template_with_http_info(tenant_id, id, opts = {})
|
|
1880
1888
|
if @api_client.config.debugging
|
|
1881
1889
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_email_template ...'
|
|
@@ -1889,7 +1897,7 @@ module FastCommentsClient
|
|
|
1889
1897
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_email_template"
|
|
1890
1898
|
end
|
|
1891
1899
|
# resource path
|
|
1892
|
-
local_var_path = '/api/v1/email-templates/{id}'.sub('{
|
|
1900
|
+
local_var_path = '/api/v1/email-templates/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
1893
1901
|
|
|
1894
1902
|
# query parameters
|
|
1895
1903
|
query_params = opts[:query_params] || {}
|
|
@@ -1907,7 +1915,7 @@ module FastCommentsClient
|
|
|
1907
1915
|
post_body = opts[:debug_body]
|
|
1908
1916
|
|
|
1909
1917
|
# return_type
|
|
1910
|
-
return_type = opts[:debug_return_type] || '
|
|
1918
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1911
1919
|
|
|
1912
1920
|
# auth_names
|
|
1913
1921
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1933,7 +1941,7 @@ module FastCommentsClient
|
|
|
1933
1941
|
# @param id [String]
|
|
1934
1942
|
# @param error_id [String]
|
|
1935
1943
|
# @param [Hash] opts the optional parameters
|
|
1936
|
-
# @return [
|
|
1944
|
+
# @return [APIEmptyResponse]
|
|
1937
1945
|
def delete_email_template_render_error(tenant_id, id, error_id, opts = {})
|
|
1938
1946
|
data, _status_code, _headers = delete_email_template_render_error_with_http_info(tenant_id, id, error_id, opts)
|
|
1939
1947
|
data
|
|
@@ -1943,7 +1951,7 @@ module FastCommentsClient
|
|
|
1943
1951
|
# @param id [String]
|
|
1944
1952
|
# @param error_id [String]
|
|
1945
1953
|
# @param [Hash] opts the optional parameters
|
|
1946
|
-
# @return [Array<(
|
|
1954
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1947
1955
|
def delete_email_template_render_error_with_http_info(tenant_id, id, error_id, opts = {})
|
|
1948
1956
|
if @api_client.config.debugging
|
|
1949
1957
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_email_template_render_error ...'
|
|
@@ -1961,7 +1969,7 @@ module FastCommentsClient
|
|
|
1961
1969
|
fail ArgumentError, "Missing the required parameter 'error_id' when calling DefaultApi.delete_email_template_render_error"
|
|
1962
1970
|
end
|
|
1963
1971
|
# resource path
|
|
1964
|
-
local_var_path = '/api/v1/email-templates/{id}/render-errors/{errorId}'.sub('{
|
|
1972
|
+
local_var_path = '/api/v1/email-templates/{id}/render-errors/{errorId}'.sub('{id}', CGI.escape(id.to_s)).sub('{errorId}', CGI.escape(error_id.to_s))
|
|
1965
1973
|
|
|
1966
1974
|
# query parameters
|
|
1967
1975
|
query_params = opts[:query_params] || {}
|
|
@@ -1979,7 +1987,7 @@ module FastCommentsClient
|
|
|
1979
1987
|
post_body = opts[:debug_body]
|
|
1980
1988
|
|
|
1981
1989
|
# return_type
|
|
1982
|
-
return_type = opts[:debug_return_type] || '
|
|
1990
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1983
1991
|
|
|
1984
1992
|
# auth_names
|
|
1985
1993
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2001,35 +2009,39 @@ module FastCommentsClient
|
|
|
2001
2009
|
return data, status_code, headers
|
|
2002
2010
|
end
|
|
2003
2011
|
|
|
2012
|
+
# @param tenant_id [String]
|
|
2004
2013
|
# @param tag [String]
|
|
2014
|
+
# @param delete_hash_tag_request_body [DeleteHashTagRequestBody]
|
|
2005
2015
|
# @param [Hash] opts the optional parameters
|
|
2006
|
-
# @
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
def delete_hash_tag(tag, opts = {})
|
|
2010
|
-
data, _status_code, _headers = delete_hash_tag_with_http_info(tag, opts)
|
|
2016
|
+
# @return [APIEmptyResponse]
|
|
2017
|
+
def delete_hash_tag(tenant_id, tag, delete_hash_tag_request_body, opts = {})
|
|
2018
|
+
data, _status_code, _headers = delete_hash_tag_with_http_info(tenant_id, tag, delete_hash_tag_request_body, opts)
|
|
2011
2019
|
data
|
|
2012
2020
|
end
|
|
2013
2021
|
|
|
2022
|
+
# @param tenant_id [String]
|
|
2014
2023
|
# @param tag [String]
|
|
2024
|
+
# @param delete_hash_tag_request_body [DeleteHashTagRequestBody]
|
|
2015
2025
|
# @param [Hash] opts the optional parameters
|
|
2016
|
-
# @
|
|
2017
|
-
|
|
2018
|
-
# @return [Array<(FlagCommentPublic200Response, Integer, Hash)>] FlagCommentPublic200Response data, response status code and response headers
|
|
2019
|
-
def delete_hash_tag_with_http_info(tag, opts = {})
|
|
2026
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2027
|
+
def delete_hash_tag_with_http_info(tenant_id, tag, delete_hash_tag_request_body, opts = {})
|
|
2020
2028
|
if @api_client.config.debugging
|
|
2021
2029
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_hash_tag ...'
|
|
2022
2030
|
end
|
|
2031
|
+
# verify the required parameter 'tenant_id' is set
|
|
2032
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
2033
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.delete_hash_tag"
|
|
2034
|
+
end
|
|
2023
2035
|
# verify the required parameter 'tag' is set
|
|
2024
2036
|
if @api_client.config.client_side_validation && tag.nil?
|
|
2025
2037
|
fail ArgumentError, "Missing the required parameter 'tag' when calling DefaultApi.delete_hash_tag"
|
|
2026
2038
|
end
|
|
2027
2039
|
# resource path
|
|
2028
|
-
local_var_path = '/api/v1/hash-tags/{tag}'.sub('{
|
|
2040
|
+
local_var_path = '/api/v1/hash-tags/{tag}'.sub('{tag}', CGI.escape(tag.to_s))
|
|
2029
2041
|
|
|
2030
2042
|
# query parameters
|
|
2031
2043
|
query_params = opts[:query_params] || {}
|
|
2032
|
-
query_params[:'tenantId'] =
|
|
2044
|
+
query_params[:'tenantId'] = tenant_id
|
|
2033
2045
|
|
|
2034
2046
|
# header parameters
|
|
2035
2047
|
header_params = opts[:header_params] || {}
|
|
@@ -2045,10 +2057,10 @@ module FastCommentsClient
|
|
|
2045
2057
|
form_params = opts[:form_params] || {}
|
|
2046
2058
|
|
|
2047
2059
|
# http body (model)
|
|
2048
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
2060
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(delete_hash_tag_request_body)
|
|
2049
2061
|
|
|
2050
2062
|
# return_type
|
|
2051
|
-
return_type = opts[:debug_return_type] || '
|
|
2063
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2052
2064
|
|
|
2053
2065
|
# auth_names
|
|
2054
2066
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2074,7 +2086,7 @@ module FastCommentsClient
|
|
|
2074
2086
|
# @param id [String]
|
|
2075
2087
|
# @param [Hash] opts the optional parameters
|
|
2076
2088
|
# @option opts [String] :send_email
|
|
2077
|
-
# @return [
|
|
2089
|
+
# @return [APIEmptyResponse]
|
|
2078
2090
|
def delete_moderator(tenant_id, id, opts = {})
|
|
2079
2091
|
data, _status_code, _headers = delete_moderator_with_http_info(tenant_id, id, opts)
|
|
2080
2092
|
data
|
|
@@ -2084,7 +2096,7 @@ module FastCommentsClient
|
|
|
2084
2096
|
# @param id [String]
|
|
2085
2097
|
# @param [Hash] opts the optional parameters
|
|
2086
2098
|
# @option opts [String] :send_email
|
|
2087
|
-
# @return [Array<(
|
|
2099
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2088
2100
|
def delete_moderator_with_http_info(tenant_id, id, opts = {})
|
|
2089
2101
|
if @api_client.config.debugging
|
|
2090
2102
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_moderator ...'
|
|
@@ -2098,7 +2110,7 @@ module FastCommentsClient
|
|
|
2098
2110
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_moderator"
|
|
2099
2111
|
end
|
|
2100
2112
|
# resource path
|
|
2101
|
-
local_var_path = '/api/v1/moderators/{id}'.sub('{
|
|
2113
|
+
local_var_path = '/api/v1/moderators/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2102
2114
|
|
|
2103
2115
|
# query parameters
|
|
2104
2116
|
query_params = opts[:query_params] || {}
|
|
@@ -2117,7 +2129,7 @@ module FastCommentsClient
|
|
|
2117
2129
|
post_body = opts[:debug_body]
|
|
2118
2130
|
|
|
2119
2131
|
# return_type
|
|
2120
|
-
return_type = opts[:debug_return_type] || '
|
|
2132
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2121
2133
|
|
|
2122
2134
|
# auth_names
|
|
2123
2135
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2142,7 +2154,7 @@ module FastCommentsClient
|
|
|
2142
2154
|
# @param tenant_id [String]
|
|
2143
2155
|
# @param id [String]
|
|
2144
2156
|
# @param [Hash] opts the optional parameters
|
|
2145
|
-
# @return [
|
|
2157
|
+
# @return [APIEmptyResponse]
|
|
2146
2158
|
def delete_notification_count(tenant_id, id, opts = {})
|
|
2147
2159
|
data, _status_code, _headers = delete_notification_count_with_http_info(tenant_id, id, opts)
|
|
2148
2160
|
data
|
|
@@ -2151,7 +2163,7 @@ module FastCommentsClient
|
|
|
2151
2163
|
# @param tenant_id [String]
|
|
2152
2164
|
# @param id [String]
|
|
2153
2165
|
# @param [Hash] opts the optional parameters
|
|
2154
|
-
# @return [Array<(
|
|
2166
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2155
2167
|
def delete_notification_count_with_http_info(tenant_id, id, opts = {})
|
|
2156
2168
|
if @api_client.config.debugging
|
|
2157
2169
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_notification_count ...'
|
|
@@ -2165,7 +2177,7 @@ module FastCommentsClient
|
|
|
2165
2177
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_notification_count"
|
|
2166
2178
|
end
|
|
2167
2179
|
# resource path
|
|
2168
|
-
local_var_path = '/api/v1/notification-count/{id}'.sub('{
|
|
2180
|
+
local_var_path = '/api/v1/notification-count/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2169
2181
|
|
|
2170
2182
|
# query parameters
|
|
2171
2183
|
query_params = opts[:query_params] || {}
|
|
@@ -2183,7 +2195,7 @@ module FastCommentsClient
|
|
|
2183
2195
|
post_body = opts[:debug_body]
|
|
2184
2196
|
|
|
2185
2197
|
# return_type
|
|
2186
|
-
return_type = opts[:debug_return_type] || '
|
|
2198
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2187
2199
|
|
|
2188
2200
|
# auth_names
|
|
2189
2201
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2231,7 +2243,7 @@ module FastCommentsClient
|
|
|
2231
2243
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_page"
|
|
2232
2244
|
end
|
|
2233
2245
|
# resource path
|
|
2234
|
-
local_var_path = '/api/v1/pages/{id}'.sub('{
|
|
2246
|
+
local_var_path = '/api/v1/pages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2235
2247
|
|
|
2236
2248
|
# query parameters
|
|
2237
2249
|
query_params = opts[:query_params] || {}
|
|
@@ -2274,7 +2286,7 @@ module FastCommentsClient
|
|
|
2274
2286
|
# @param tenant_id [String]
|
|
2275
2287
|
# @param id [String]
|
|
2276
2288
|
# @param [Hash] opts the optional parameters
|
|
2277
|
-
# @return [
|
|
2289
|
+
# @return [APIEmptyResponse]
|
|
2278
2290
|
def delete_pending_webhook_event(tenant_id, id, opts = {})
|
|
2279
2291
|
data, _status_code, _headers = delete_pending_webhook_event_with_http_info(tenant_id, id, opts)
|
|
2280
2292
|
data
|
|
@@ -2283,7 +2295,7 @@ module FastCommentsClient
|
|
|
2283
2295
|
# @param tenant_id [String]
|
|
2284
2296
|
# @param id [String]
|
|
2285
2297
|
# @param [Hash] opts the optional parameters
|
|
2286
|
-
# @return [Array<(
|
|
2298
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2287
2299
|
def delete_pending_webhook_event_with_http_info(tenant_id, id, opts = {})
|
|
2288
2300
|
if @api_client.config.debugging
|
|
2289
2301
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_pending_webhook_event ...'
|
|
@@ -2297,7 +2309,7 @@ module FastCommentsClient
|
|
|
2297
2309
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_pending_webhook_event"
|
|
2298
2310
|
end
|
|
2299
2311
|
# resource path
|
|
2300
|
-
local_var_path = '/api/v1/pending-webhook-events/{id}'.sub('{
|
|
2312
|
+
local_var_path = '/api/v1/pending-webhook-events/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2301
2313
|
|
|
2302
2314
|
# query parameters
|
|
2303
2315
|
query_params = opts[:query_params] || {}
|
|
@@ -2315,7 +2327,7 @@ module FastCommentsClient
|
|
|
2315
2327
|
post_body = opts[:debug_body]
|
|
2316
2328
|
|
|
2317
2329
|
# return_type
|
|
2318
|
-
return_type = opts[:debug_return_type] || '
|
|
2330
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2319
2331
|
|
|
2320
2332
|
# auth_names
|
|
2321
2333
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2340,7 +2352,7 @@ module FastCommentsClient
|
|
|
2340
2352
|
# @param tenant_id [String]
|
|
2341
2353
|
# @param id [String]
|
|
2342
2354
|
# @param [Hash] opts the optional parameters
|
|
2343
|
-
# @return [
|
|
2355
|
+
# @return [APIEmptyResponse]
|
|
2344
2356
|
def delete_question_config(tenant_id, id, opts = {})
|
|
2345
2357
|
data, _status_code, _headers = delete_question_config_with_http_info(tenant_id, id, opts)
|
|
2346
2358
|
data
|
|
@@ -2349,7 +2361,7 @@ module FastCommentsClient
|
|
|
2349
2361
|
# @param tenant_id [String]
|
|
2350
2362
|
# @param id [String]
|
|
2351
2363
|
# @param [Hash] opts the optional parameters
|
|
2352
|
-
# @return [Array<(
|
|
2364
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2353
2365
|
def delete_question_config_with_http_info(tenant_id, id, opts = {})
|
|
2354
2366
|
if @api_client.config.debugging
|
|
2355
2367
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_question_config ...'
|
|
@@ -2363,7 +2375,7 @@ module FastCommentsClient
|
|
|
2363
2375
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_question_config"
|
|
2364
2376
|
end
|
|
2365
2377
|
# resource path
|
|
2366
|
-
local_var_path = '/api/v1/question-configs/{id}'.sub('{
|
|
2378
|
+
local_var_path = '/api/v1/question-configs/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2367
2379
|
|
|
2368
2380
|
# query parameters
|
|
2369
2381
|
query_params = opts[:query_params] || {}
|
|
@@ -2381,7 +2393,7 @@ module FastCommentsClient
|
|
|
2381
2393
|
post_body = opts[:debug_body]
|
|
2382
2394
|
|
|
2383
2395
|
# return_type
|
|
2384
|
-
return_type = opts[:debug_return_type] || '
|
|
2396
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2385
2397
|
|
|
2386
2398
|
# auth_names
|
|
2387
2399
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2406,7 +2418,7 @@ module FastCommentsClient
|
|
|
2406
2418
|
# @param tenant_id [String]
|
|
2407
2419
|
# @param id [String]
|
|
2408
2420
|
# @param [Hash] opts the optional parameters
|
|
2409
|
-
# @return [
|
|
2421
|
+
# @return [APIEmptyResponse]
|
|
2410
2422
|
def delete_question_result(tenant_id, id, opts = {})
|
|
2411
2423
|
data, _status_code, _headers = delete_question_result_with_http_info(tenant_id, id, opts)
|
|
2412
2424
|
data
|
|
@@ -2415,7 +2427,7 @@ module FastCommentsClient
|
|
|
2415
2427
|
# @param tenant_id [String]
|
|
2416
2428
|
# @param id [String]
|
|
2417
2429
|
# @param [Hash] opts the optional parameters
|
|
2418
|
-
# @return [Array<(
|
|
2430
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2419
2431
|
def delete_question_result_with_http_info(tenant_id, id, opts = {})
|
|
2420
2432
|
if @api_client.config.debugging
|
|
2421
2433
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_question_result ...'
|
|
@@ -2429,7 +2441,7 @@ module FastCommentsClient
|
|
|
2429
2441
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_question_result"
|
|
2430
2442
|
end
|
|
2431
2443
|
# resource path
|
|
2432
|
-
local_var_path = '/api/v1/question-results/{id}'.sub('{
|
|
2444
|
+
local_var_path = '/api/v1/question-results/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2433
2445
|
|
|
2434
2446
|
# query parameters
|
|
2435
2447
|
query_params = opts[:query_params] || {}
|
|
@@ -2447,7 +2459,7 @@ module FastCommentsClient
|
|
|
2447
2459
|
post_body = opts[:debug_body]
|
|
2448
2460
|
|
|
2449
2461
|
# return_type
|
|
2450
|
-
return_type = opts[:debug_return_type] || '
|
|
2462
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2451
2463
|
|
|
2452
2464
|
# auth_names
|
|
2453
2465
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2499,7 +2511,7 @@ module FastCommentsClient
|
|
|
2499
2511
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_sso_user"
|
|
2500
2512
|
end
|
|
2501
2513
|
# resource path
|
|
2502
|
-
local_var_path = '/api/v1/sso-users/{id}'.sub('{
|
|
2514
|
+
local_var_path = '/api/v1/sso-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2503
2515
|
|
|
2504
2516
|
# query parameters
|
|
2505
2517
|
query_params = opts[:query_params] || {}
|
|
@@ -2569,7 +2581,7 @@ module FastCommentsClient
|
|
|
2569
2581
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_subscription"
|
|
2570
2582
|
end
|
|
2571
2583
|
# resource path
|
|
2572
|
-
local_var_path = '/api/v1/subscriptions/{id}'.sub('{
|
|
2584
|
+
local_var_path = '/api/v1/subscriptions/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2573
2585
|
|
|
2574
2586
|
# query parameters
|
|
2575
2587
|
query_params = opts[:query_params] || {}
|
|
@@ -2614,7 +2626,7 @@ module FastCommentsClient
|
|
|
2614
2626
|
# @param id [String]
|
|
2615
2627
|
# @param [Hash] opts the optional parameters
|
|
2616
2628
|
# @option opts [String] :sure
|
|
2617
|
-
# @return [
|
|
2629
|
+
# @return [APIEmptyResponse]
|
|
2618
2630
|
def delete_tenant(tenant_id, id, opts = {})
|
|
2619
2631
|
data, _status_code, _headers = delete_tenant_with_http_info(tenant_id, id, opts)
|
|
2620
2632
|
data
|
|
@@ -2624,7 +2636,7 @@ module FastCommentsClient
|
|
|
2624
2636
|
# @param id [String]
|
|
2625
2637
|
# @param [Hash] opts the optional parameters
|
|
2626
2638
|
# @option opts [String] :sure
|
|
2627
|
-
# @return [Array<(
|
|
2639
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2628
2640
|
def delete_tenant_with_http_info(tenant_id, id, opts = {})
|
|
2629
2641
|
if @api_client.config.debugging
|
|
2630
2642
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant ...'
|
|
@@ -2638,7 +2650,7 @@ module FastCommentsClient
|
|
|
2638
2650
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_tenant"
|
|
2639
2651
|
end
|
|
2640
2652
|
# resource path
|
|
2641
|
-
local_var_path = '/api/v1/tenants/{id}'.sub('{
|
|
2653
|
+
local_var_path = '/api/v1/tenants/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2642
2654
|
|
|
2643
2655
|
# query parameters
|
|
2644
2656
|
query_params = opts[:query_params] || {}
|
|
@@ -2657,7 +2669,7 @@ module FastCommentsClient
|
|
|
2657
2669
|
post_body = opts[:debug_body]
|
|
2658
2670
|
|
|
2659
2671
|
# return_type
|
|
2660
|
-
return_type = opts[:debug_return_type] || '
|
|
2672
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2661
2673
|
|
|
2662
2674
|
# auth_names
|
|
2663
2675
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2682,7 +2694,7 @@ module FastCommentsClient
|
|
|
2682
2694
|
# @param tenant_id [String]
|
|
2683
2695
|
# @param id [String]
|
|
2684
2696
|
# @param [Hash] opts the optional parameters
|
|
2685
|
-
# @return [
|
|
2697
|
+
# @return [APIEmptyResponse]
|
|
2686
2698
|
def delete_tenant_package(tenant_id, id, opts = {})
|
|
2687
2699
|
data, _status_code, _headers = delete_tenant_package_with_http_info(tenant_id, id, opts)
|
|
2688
2700
|
data
|
|
@@ -2691,7 +2703,7 @@ module FastCommentsClient
|
|
|
2691
2703
|
# @param tenant_id [String]
|
|
2692
2704
|
# @param id [String]
|
|
2693
2705
|
# @param [Hash] opts the optional parameters
|
|
2694
|
-
# @return [Array<(
|
|
2706
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2695
2707
|
def delete_tenant_package_with_http_info(tenant_id, id, opts = {})
|
|
2696
2708
|
if @api_client.config.debugging
|
|
2697
2709
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant_package ...'
|
|
@@ -2705,7 +2717,7 @@ module FastCommentsClient
|
|
|
2705
2717
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_tenant_package"
|
|
2706
2718
|
end
|
|
2707
2719
|
# resource path
|
|
2708
|
-
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{
|
|
2720
|
+
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2709
2721
|
|
|
2710
2722
|
# query parameters
|
|
2711
2723
|
query_params = opts[:query_params] || {}
|
|
@@ -2723,7 +2735,7 @@ module FastCommentsClient
|
|
|
2723
2735
|
post_body = opts[:debug_body]
|
|
2724
2736
|
|
|
2725
2737
|
# return_type
|
|
2726
|
-
return_type = opts[:debug_return_type] || '
|
|
2738
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2727
2739
|
|
|
2728
2740
|
# auth_names
|
|
2729
2741
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2750,7 +2762,7 @@ module FastCommentsClient
|
|
|
2750
2762
|
# @param [Hash] opts the optional parameters
|
|
2751
2763
|
# @option opts [String] :delete_comments
|
|
2752
2764
|
# @option opts [String] :comment_delete_mode
|
|
2753
|
-
# @return [
|
|
2765
|
+
# @return [APIEmptyResponse]
|
|
2754
2766
|
def delete_tenant_user(tenant_id, id, opts = {})
|
|
2755
2767
|
data, _status_code, _headers = delete_tenant_user_with_http_info(tenant_id, id, opts)
|
|
2756
2768
|
data
|
|
@@ -2761,7 +2773,7 @@ module FastCommentsClient
|
|
|
2761
2773
|
# @param [Hash] opts the optional parameters
|
|
2762
2774
|
# @option opts [String] :delete_comments
|
|
2763
2775
|
# @option opts [String] :comment_delete_mode
|
|
2764
|
-
# @return [Array<(
|
|
2776
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2765
2777
|
def delete_tenant_user_with_http_info(tenant_id, id, opts = {})
|
|
2766
2778
|
if @api_client.config.debugging
|
|
2767
2779
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant_user ...'
|
|
@@ -2775,7 +2787,7 @@ module FastCommentsClient
|
|
|
2775
2787
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_tenant_user"
|
|
2776
2788
|
end
|
|
2777
2789
|
# resource path
|
|
2778
|
-
local_var_path = '/api/v1/tenant-users/{id}'.sub('{
|
|
2790
|
+
local_var_path = '/api/v1/tenant-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2779
2791
|
|
|
2780
2792
|
# query parameters
|
|
2781
2793
|
query_params = opts[:query_params] || {}
|
|
@@ -2795,7 +2807,7 @@ module FastCommentsClient
|
|
|
2795
2807
|
post_body = opts[:debug_body]
|
|
2796
2808
|
|
|
2797
2809
|
# return_type
|
|
2798
|
-
return_type = opts[:debug_return_type] || '
|
|
2810
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2799
2811
|
|
|
2800
2812
|
# auth_names
|
|
2801
2813
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2820,7 +2832,7 @@ module FastCommentsClient
|
|
|
2820
2832
|
# @param tenant_id [String]
|
|
2821
2833
|
# @param id [String]
|
|
2822
2834
|
# @param [Hash] opts the optional parameters
|
|
2823
|
-
# @return [
|
|
2835
|
+
# @return [APIEmptySuccessResponse]
|
|
2824
2836
|
def delete_user_badge(tenant_id, id, opts = {})
|
|
2825
2837
|
data, _status_code, _headers = delete_user_badge_with_http_info(tenant_id, id, opts)
|
|
2826
2838
|
data
|
|
@@ -2829,7 +2841,7 @@ module FastCommentsClient
|
|
|
2829
2841
|
# @param tenant_id [String]
|
|
2830
2842
|
# @param id [String]
|
|
2831
2843
|
# @param [Hash] opts the optional parameters
|
|
2832
|
-
# @return [Array<(
|
|
2844
|
+
# @return [Array<(APIEmptySuccessResponse, Integer, Hash)>] APIEmptySuccessResponse data, response status code and response headers
|
|
2833
2845
|
def delete_user_badge_with_http_info(tenant_id, id, opts = {})
|
|
2834
2846
|
if @api_client.config.debugging
|
|
2835
2847
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_user_badge ...'
|
|
@@ -2843,7 +2855,7 @@ module FastCommentsClient
|
|
|
2843
2855
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_user_badge"
|
|
2844
2856
|
end
|
|
2845
2857
|
# resource path
|
|
2846
|
-
local_var_path = '/api/v1/user-badges/{id}'.sub('{
|
|
2858
|
+
local_var_path = '/api/v1/user-badges/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2847
2859
|
|
|
2848
2860
|
# query parameters
|
|
2849
2861
|
query_params = opts[:query_params] || {}
|
|
@@ -2861,7 +2873,7 @@ module FastCommentsClient
|
|
|
2861
2873
|
post_body = opts[:debug_body]
|
|
2862
2874
|
|
|
2863
2875
|
# return_type
|
|
2864
|
-
return_type = opts[:debug_return_type] || '
|
|
2876
|
+
return_type = opts[:debug_return_type] || 'APIEmptySuccessResponse'
|
|
2865
2877
|
|
|
2866
2878
|
# auth_names
|
|
2867
2879
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2887,7 +2899,7 @@ module FastCommentsClient
|
|
|
2887
2899
|
# @param id [String]
|
|
2888
2900
|
# @param [Hash] opts the optional parameters
|
|
2889
2901
|
# @option opts [String] :edit_key
|
|
2890
|
-
# @return [
|
|
2902
|
+
# @return [VoteDeleteResponse]
|
|
2891
2903
|
def delete_vote(tenant_id, id, opts = {})
|
|
2892
2904
|
data, _status_code, _headers = delete_vote_with_http_info(tenant_id, id, opts)
|
|
2893
2905
|
data
|
|
@@ -2897,7 +2909,7 @@ module FastCommentsClient
|
|
|
2897
2909
|
# @param id [String]
|
|
2898
2910
|
# @param [Hash] opts the optional parameters
|
|
2899
2911
|
# @option opts [String] :edit_key
|
|
2900
|
-
# @return [Array<(
|
|
2912
|
+
# @return [Array<(VoteDeleteResponse, Integer, Hash)>] VoteDeleteResponse data, response status code and response headers
|
|
2901
2913
|
def delete_vote_with_http_info(tenant_id, id, opts = {})
|
|
2902
2914
|
if @api_client.config.debugging
|
|
2903
2915
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_vote ...'
|
|
@@ -2911,7 +2923,7 @@ module FastCommentsClient
|
|
|
2911
2923
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.delete_vote"
|
|
2912
2924
|
end
|
|
2913
2925
|
# resource path
|
|
2914
|
-
local_var_path = '/api/v1/votes/{id}'.sub('{
|
|
2926
|
+
local_var_path = '/api/v1/votes/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
2915
2927
|
|
|
2916
2928
|
# query parameters
|
|
2917
2929
|
query_params = opts[:query_params] || {}
|
|
@@ -2930,7 +2942,7 @@ module FastCommentsClient
|
|
|
2930
2942
|
post_body = opts[:debug_body]
|
|
2931
2943
|
|
|
2932
2944
|
# return_type
|
|
2933
|
-
return_type = opts[:debug_return_type] || '
|
|
2945
|
+
return_type = opts[:debug_return_type] || 'VoteDeleteResponse'
|
|
2934
2946
|
|
|
2935
2947
|
# auth_names
|
|
2936
2948
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2957,7 +2969,7 @@ module FastCommentsClient
|
|
|
2957
2969
|
# @param [Hash] opts the optional parameters
|
|
2958
2970
|
# @option opts [String] :user_id
|
|
2959
2971
|
# @option opts [String] :anon_user_id
|
|
2960
|
-
# @return [
|
|
2972
|
+
# @return [FlagCommentResponse]
|
|
2961
2973
|
def flag_comment(tenant_id, id, opts = {})
|
|
2962
2974
|
data, _status_code, _headers = flag_comment_with_http_info(tenant_id, id, opts)
|
|
2963
2975
|
data
|
|
@@ -2968,7 +2980,7 @@ module FastCommentsClient
|
|
|
2968
2980
|
# @param [Hash] opts the optional parameters
|
|
2969
2981
|
# @option opts [String] :user_id
|
|
2970
2982
|
# @option opts [String] :anon_user_id
|
|
2971
|
-
# @return [Array<(
|
|
2983
|
+
# @return [Array<(FlagCommentResponse, Integer, Hash)>] FlagCommentResponse data, response status code and response headers
|
|
2972
2984
|
def flag_comment_with_http_info(tenant_id, id, opts = {})
|
|
2973
2985
|
if @api_client.config.debugging
|
|
2974
2986
|
@api_client.config.logger.debug 'Calling API: DefaultApi.flag_comment ...'
|
|
@@ -2982,7 +2994,7 @@ module FastCommentsClient
|
|
|
2982
2994
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.flag_comment"
|
|
2983
2995
|
end
|
|
2984
2996
|
# resource path
|
|
2985
|
-
local_var_path = '/api/v1/comments/{id}/flag'.sub('{
|
|
2997
|
+
local_var_path = '/api/v1/comments/{id}/flag'.sub('{id}', CGI.escape(id.to_s))
|
|
2986
2998
|
|
|
2987
2999
|
# query parameters
|
|
2988
3000
|
query_params = opts[:query_params] || {}
|
|
@@ -3002,7 +3014,7 @@ module FastCommentsClient
|
|
|
3002
3014
|
post_body = opts[:debug_body]
|
|
3003
3015
|
|
|
3004
3016
|
# return_type
|
|
3005
|
-
return_type = opts[:debug_return_type] || '
|
|
3017
|
+
return_type = opts[:debug_return_type] || 'FlagCommentResponse'
|
|
3006
3018
|
|
|
3007
3019
|
# auth_names
|
|
3008
3020
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3031,7 +3043,7 @@ module FastCommentsClient
|
|
|
3031
3043
|
# @option opts [SORTDIR] :order
|
|
3032
3044
|
# @option opts [Float] :after
|
|
3033
3045
|
# @option opts [Float] :before
|
|
3034
|
-
# @return [
|
|
3046
|
+
# @return [GetAuditLogsResponse]
|
|
3035
3047
|
def get_audit_logs(tenant_id, opts = {})
|
|
3036
3048
|
data, _status_code, _headers = get_audit_logs_with_http_info(tenant_id, opts)
|
|
3037
3049
|
data
|
|
@@ -3044,7 +3056,7 @@ module FastCommentsClient
|
|
|
3044
3056
|
# @option opts [SORTDIR] :order
|
|
3045
3057
|
# @option opts [Float] :after
|
|
3046
3058
|
# @option opts [Float] :before
|
|
3047
|
-
# @return [Array<(
|
|
3059
|
+
# @return [Array<(GetAuditLogsResponse, Integer, Hash)>] GetAuditLogsResponse data, response status code and response headers
|
|
3048
3060
|
def get_audit_logs_with_http_info(tenant_id, opts = {})
|
|
3049
3061
|
if @api_client.config.debugging
|
|
3050
3062
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_audit_logs ...'
|
|
@@ -3077,7 +3089,7 @@ module FastCommentsClient
|
|
|
3077
3089
|
post_body = opts[:debug_body]
|
|
3078
3090
|
|
|
3079
3091
|
# return_type
|
|
3080
|
-
return_type = opts[:debug_return_type] || '
|
|
3092
|
+
return_type = opts[:debug_return_type] || 'GetAuditLogsResponse'
|
|
3081
3093
|
|
|
3082
3094
|
# auth_names
|
|
3083
3095
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3102,7 +3114,7 @@ module FastCommentsClient
|
|
|
3102
3114
|
# @param tenant_id [String]
|
|
3103
3115
|
# @param id [String]
|
|
3104
3116
|
# @param [Hash] opts the optional parameters
|
|
3105
|
-
# @return [
|
|
3117
|
+
# @return [GetCachedNotificationCountResponse]
|
|
3106
3118
|
def get_cached_notification_count(tenant_id, id, opts = {})
|
|
3107
3119
|
data, _status_code, _headers = get_cached_notification_count_with_http_info(tenant_id, id, opts)
|
|
3108
3120
|
data
|
|
@@ -3111,7 +3123,7 @@ module FastCommentsClient
|
|
|
3111
3123
|
# @param tenant_id [String]
|
|
3112
3124
|
# @param id [String]
|
|
3113
3125
|
# @param [Hash] opts the optional parameters
|
|
3114
|
-
# @return [Array<(
|
|
3126
|
+
# @return [Array<(GetCachedNotificationCountResponse, Integer, Hash)>] GetCachedNotificationCountResponse data, response status code and response headers
|
|
3115
3127
|
def get_cached_notification_count_with_http_info(tenant_id, id, opts = {})
|
|
3116
3128
|
if @api_client.config.debugging
|
|
3117
3129
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_cached_notification_count ...'
|
|
@@ -3125,7 +3137,7 @@ module FastCommentsClient
|
|
|
3125
3137
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_cached_notification_count"
|
|
3126
3138
|
end
|
|
3127
3139
|
# resource path
|
|
3128
|
-
local_var_path = '/api/v1/notification-count/{id}'.sub('{
|
|
3140
|
+
local_var_path = '/api/v1/notification-count/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
3129
3141
|
|
|
3130
3142
|
# query parameters
|
|
3131
3143
|
query_params = opts[:query_params] || {}
|
|
@@ -3143,7 +3155,7 @@ module FastCommentsClient
|
|
|
3143
3155
|
post_body = opts[:debug_body]
|
|
3144
3156
|
|
|
3145
3157
|
# return_type
|
|
3146
|
-
return_type = opts[:debug_return_type] || '
|
|
3158
|
+
return_type = opts[:debug_return_type] || 'GetCachedNotificationCountResponse'
|
|
3147
3159
|
|
|
3148
3160
|
# auth_names
|
|
3149
3161
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3168,7 +3180,7 @@ module FastCommentsClient
|
|
|
3168
3180
|
# @param tenant_id [String]
|
|
3169
3181
|
# @param id [String]
|
|
3170
3182
|
# @param [Hash] opts the optional parameters
|
|
3171
|
-
# @return [
|
|
3183
|
+
# @return [APIGetCommentResponse]
|
|
3172
3184
|
def get_comment(tenant_id, id, opts = {})
|
|
3173
3185
|
data, _status_code, _headers = get_comment_with_http_info(tenant_id, id, opts)
|
|
3174
3186
|
data
|
|
@@ -3177,7 +3189,7 @@ module FastCommentsClient
|
|
|
3177
3189
|
# @param tenant_id [String]
|
|
3178
3190
|
# @param id [String]
|
|
3179
3191
|
# @param [Hash] opts the optional parameters
|
|
3180
|
-
# @return [Array<(
|
|
3192
|
+
# @return [Array<(APIGetCommentResponse, Integer, Hash)>] APIGetCommentResponse data, response status code and response headers
|
|
3181
3193
|
def get_comment_with_http_info(tenant_id, id, opts = {})
|
|
3182
3194
|
if @api_client.config.debugging
|
|
3183
3195
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_comment ...'
|
|
@@ -3191,7 +3203,7 @@ module FastCommentsClient
|
|
|
3191
3203
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_comment"
|
|
3192
3204
|
end
|
|
3193
3205
|
# resource path
|
|
3194
|
-
local_var_path = '/api/v1/comments/{id}'.sub('{
|
|
3206
|
+
local_var_path = '/api/v1/comments/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
3195
3207
|
|
|
3196
3208
|
# query parameters
|
|
3197
3209
|
query_params = opts[:query_params] || {}
|
|
@@ -3209,7 +3221,7 @@ module FastCommentsClient
|
|
|
3209
3221
|
post_body = opts[:debug_body]
|
|
3210
3222
|
|
|
3211
3223
|
# return_type
|
|
3212
|
-
return_type = opts[:debug_return_type] || '
|
|
3224
|
+
return_type = opts[:debug_return_type] || 'APIGetCommentResponse'
|
|
3213
3225
|
|
|
3214
3226
|
# auth_names
|
|
3215
3227
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3247,7 +3259,9 @@ module FastCommentsClient
|
|
|
3247
3259
|
# @option opts [String] :hash_tag
|
|
3248
3260
|
# @option opts [String] :parent_id
|
|
3249
3261
|
# @option opts [SortDirections] :direction
|
|
3250
|
-
# @
|
|
3262
|
+
# @option opts [Integer] :from_date
|
|
3263
|
+
# @option opts [Integer] :to_date
|
|
3264
|
+
# @return [APIGetCommentsResponse]
|
|
3251
3265
|
def get_comments(tenant_id, opts = {})
|
|
3252
3266
|
data, _status_code, _headers = get_comments_with_http_info(tenant_id, opts)
|
|
3253
3267
|
data
|
|
@@ -3269,7 +3283,9 @@ module FastCommentsClient
|
|
|
3269
3283
|
# @option opts [String] :hash_tag
|
|
3270
3284
|
# @option opts [String] :parent_id
|
|
3271
3285
|
# @option opts [SortDirections] :direction
|
|
3272
|
-
# @
|
|
3286
|
+
# @option opts [Integer] :from_date
|
|
3287
|
+
# @option opts [Integer] :to_date
|
|
3288
|
+
# @return [Array<(APIGetCommentsResponse, Integer, Hash)>] APIGetCommentsResponse data, response status code and response headers
|
|
3273
3289
|
def get_comments_with_http_info(tenant_id, opts = {})
|
|
3274
3290
|
if @api_client.config.debugging
|
|
3275
3291
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_comments ...'
|
|
@@ -3298,6 +3314,8 @@ module FastCommentsClient
|
|
|
3298
3314
|
query_params[:'hashTag'] = opts[:'hash_tag'] if !opts[:'hash_tag'].nil?
|
|
3299
3315
|
query_params[:'parentId'] = opts[:'parent_id'] if !opts[:'parent_id'].nil?
|
|
3300
3316
|
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
|
3317
|
+
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
|
3318
|
+
query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
|
3301
3319
|
|
|
3302
3320
|
# header parameters
|
|
3303
3321
|
header_params = opts[:header_params] || {}
|
|
@@ -3311,7 +3329,7 @@ module FastCommentsClient
|
|
|
3311
3329
|
post_body = opts[:debug_body]
|
|
3312
3330
|
|
|
3313
3331
|
# return_type
|
|
3314
|
-
return_type = opts[:debug_return_type] || '
|
|
3332
|
+
return_type = opts[:debug_return_type] || 'APIGetCommentsResponse'
|
|
3315
3333
|
|
|
3316
3334
|
# auth_names
|
|
3317
3335
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3336,7 +3354,7 @@ module FastCommentsClient
|
|
|
3336
3354
|
# @param tenant_id [String]
|
|
3337
3355
|
# @param domain [String]
|
|
3338
3356
|
# @param [Hash] opts the optional parameters
|
|
3339
|
-
# @return [
|
|
3357
|
+
# @return [GetDomainConfigResponse]
|
|
3340
3358
|
def get_domain_config(tenant_id, domain, opts = {})
|
|
3341
3359
|
data, _status_code, _headers = get_domain_config_with_http_info(tenant_id, domain, opts)
|
|
3342
3360
|
data
|
|
@@ -3345,7 +3363,7 @@ module FastCommentsClient
|
|
|
3345
3363
|
# @param tenant_id [String]
|
|
3346
3364
|
# @param domain [String]
|
|
3347
3365
|
# @param [Hash] opts the optional parameters
|
|
3348
|
-
# @return [Array<(
|
|
3366
|
+
# @return [Array<(GetDomainConfigResponse, Integer, Hash)>] GetDomainConfigResponse data, response status code and response headers
|
|
3349
3367
|
def get_domain_config_with_http_info(tenant_id, domain, opts = {})
|
|
3350
3368
|
if @api_client.config.debugging
|
|
3351
3369
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_domain_config ...'
|
|
@@ -3359,7 +3377,7 @@ module FastCommentsClient
|
|
|
3359
3377
|
fail ArgumentError, "Missing the required parameter 'domain' when calling DefaultApi.get_domain_config"
|
|
3360
3378
|
end
|
|
3361
3379
|
# resource path
|
|
3362
|
-
local_var_path = '/api/v1/domain-configs/{domain}'.sub('{
|
|
3380
|
+
local_var_path = '/api/v1/domain-configs/{domain}'.sub('{domain}', CGI.escape(domain.to_s))
|
|
3363
3381
|
|
|
3364
3382
|
# query parameters
|
|
3365
3383
|
query_params = opts[:query_params] || {}
|
|
@@ -3377,7 +3395,7 @@ module FastCommentsClient
|
|
|
3377
3395
|
post_body = opts[:debug_body]
|
|
3378
3396
|
|
|
3379
3397
|
# return_type
|
|
3380
|
-
return_type = opts[:debug_return_type] || '
|
|
3398
|
+
return_type = opts[:debug_return_type] || 'GetDomainConfigResponse'
|
|
3381
3399
|
|
|
3382
3400
|
# auth_names
|
|
3383
3401
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3401,7 +3419,7 @@ module FastCommentsClient
|
|
|
3401
3419
|
|
|
3402
3420
|
# @param tenant_id [String]
|
|
3403
3421
|
# @param [Hash] opts the optional parameters
|
|
3404
|
-
# @return [
|
|
3422
|
+
# @return [GetDomainConfigsResponse]
|
|
3405
3423
|
def get_domain_configs(tenant_id, opts = {})
|
|
3406
3424
|
data, _status_code, _headers = get_domain_configs_with_http_info(tenant_id, opts)
|
|
3407
3425
|
data
|
|
@@ -3409,7 +3427,7 @@ module FastCommentsClient
|
|
|
3409
3427
|
|
|
3410
3428
|
# @param tenant_id [String]
|
|
3411
3429
|
# @param [Hash] opts the optional parameters
|
|
3412
|
-
# @return [Array<(
|
|
3430
|
+
# @return [Array<(GetDomainConfigsResponse, Integer, Hash)>] GetDomainConfigsResponse data, response status code and response headers
|
|
3413
3431
|
def get_domain_configs_with_http_info(tenant_id, opts = {})
|
|
3414
3432
|
if @api_client.config.debugging
|
|
3415
3433
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_domain_configs ...'
|
|
@@ -3437,7 +3455,7 @@ module FastCommentsClient
|
|
|
3437
3455
|
post_body = opts[:debug_body]
|
|
3438
3456
|
|
|
3439
3457
|
# return_type
|
|
3440
|
-
return_type = opts[:debug_return_type] || '
|
|
3458
|
+
return_type = opts[:debug_return_type] || 'GetDomainConfigsResponse'
|
|
3441
3459
|
|
|
3442
3460
|
# auth_names
|
|
3443
3461
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3462,7 +3480,7 @@ module FastCommentsClient
|
|
|
3462
3480
|
# @param tenant_id [String]
|
|
3463
3481
|
# @param id [String]
|
|
3464
3482
|
# @param [Hash] opts the optional parameters
|
|
3465
|
-
# @return [
|
|
3483
|
+
# @return [GetEmailTemplateResponse]
|
|
3466
3484
|
def get_email_template(tenant_id, id, opts = {})
|
|
3467
3485
|
data, _status_code, _headers = get_email_template_with_http_info(tenant_id, id, opts)
|
|
3468
3486
|
data
|
|
@@ -3471,7 +3489,7 @@ module FastCommentsClient
|
|
|
3471
3489
|
# @param tenant_id [String]
|
|
3472
3490
|
# @param id [String]
|
|
3473
3491
|
# @param [Hash] opts the optional parameters
|
|
3474
|
-
# @return [Array<(
|
|
3492
|
+
# @return [Array<(GetEmailTemplateResponse, Integer, Hash)>] GetEmailTemplateResponse data, response status code and response headers
|
|
3475
3493
|
def get_email_template_with_http_info(tenant_id, id, opts = {})
|
|
3476
3494
|
if @api_client.config.debugging
|
|
3477
3495
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template ...'
|
|
@@ -3485,7 +3503,7 @@ module FastCommentsClient
|
|
|
3485
3503
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_email_template"
|
|
3486
3504
|
end
|
|
3487
3505
|
# resource path
|
|
3488
|
-
local_var_path = '/api/v1/email-templates/{id}'.sub('{
|
|
3506
|
+
local_var_path = '/api/v1/email-templates/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
3489
3507
|
|
|
3490
3508
|
# query parameters
|
|
3491
3509
|
query_params = opts[:query_params] || {}
|
|
@@ -3503,7 +3521,7 @@ module FastCommentsClient
|
|
|
3503
3521
|
post_body = opts[:debug_body]
|
|
3504
3522
|
|
|
3505
3523
|
# return_type
|
|
3506
|
-
return_type = opts[:debug_return_type] || '
|
|
3524
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateResponse'
|
|
3507
3525
|
|
|
3508
3526
|
# auth_names
|
|
3509
3527
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3527,7 +3545,7 @@ module FastCommentsClient
|
|
|
3527
3545
|
|
|
3528
3546
|
# @param tenant_id [String]
|
|
3529
3547
|
# @param [Hash] opts the optional parameters
|
|
3530
|
-
# @return [
|
|
3548
|
+
# @return [GetEmailTemplateDefinitionsResponse]
|
|
3531
3549
|
def get_email_template_definitions(tenant_id, opts = {})
|
|
3532
3550
|
data, _status_code, _headers = get_email_template_definitions_with_http_info(tenant_id, opts)
|
|
3533
3551
|
data
|
|
@@ -3535,7 +3553,7 @@ module FastCommentsClient
|
|
|
3535
3553
|
|
|
3536
3554
|
# @param tenant_id [String]
|
|
3537
3555
|
# @param [Hash] opts the optional parameters
|
|
3538
|
-
# @return [Array<(
|
|
3556
|
+
# @return [Array<(GetEmailTemplateDefinitionsResponse, Integer, Hash)>] GetEmailTemplateDefinitionsResponse data, response status code and response headers
|
|
3539
3557
|
def get_email_template_definitions_with_http_info(tenant_id, opts = {})
|
|
3540
3558
|
if @api_client.config.debugging
|
|
3541
3559
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template_definitions ...'
|
|
@@ -3563,7 +3581,7 @@ module FastCommentsClient
|
|
|
3563
3581
|
post_body = opts[:debug_body]
|
|
3564
3582
|
|
|
3565
3583
|
# return_type
|
|
3566
|
-
return_type = opts[:debug_return_type] || '
|
|
3584
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateDefinitionsResponse'
|
|
3567
3585
|
|
|
3568
3586
|
# auth_names
|
|
3569
3587
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3589,7 +3607,7 @@ module FastCommentsClient
|
|
|
3589
3607
|
# @param id [String]
|
|
3590
3608
|
# @param [Hash] opts the optional parameters
|
|
3591
3609
|
# @option opts [Float] :skip
|
|
3592
|
-
# @return [
|
|
3610
|
+
# @return [GetEmailTemplateRenderErrorsResponse]
|
|
3593
3611
|
def get_email_template_render_errors(tenant_id, id, opts = {})
|
|
3594
3612
|
data, _status_code, _headers = get_email_template_render_errors_with_http_info(tenant_id, id, opts)
|
|
3595
3613
|
data
|
|
@@ -3599,7 +3617,7 @@ module FastCommentsClient
|
|
|
3599
3617
|
# @param id [String]
|
|
3600
3618
|
# @param [Hash] opts the optional parameters
|
|
3601
3619
|
# @option opts [Float] :skip
|
|
3602
|
-
# @return [Array<(
|
|
3620
|
+
# @return [Array<(GetEmailTemplateRenderErrorsResponse, Integer, Hash)>] GetEmailTemplateRenderErrorsResponse data, response status code and response headers
|
|
3603
3621
|
def get_email_template_render_errors_with_http_info(tenant_id, id, opts = {})
|
|
3604
3622
|
if @api_client.config.debugging
|
|
3605
3623
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template_render_errors ...'
|
|
@@ -3613,7 +3631,7 @@ module FastCommentsClient
|
|
|
3613
3631
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_email_template_render_errors"
|
|
3614
3632
|
end
|
|
3615
3633
|
# resource path
|
|
3616
|
-
local_var_path = '/api/v1/email-templates/{id}/render-errors'.sub('{
|
|
3634
|
+
local_var_path = '/api/v1/email-templates/{id}/render-errors'.sub('{id}', CGI.escape(id.to_s))
|
|
3617
3635
|
|
|
3618
3636
|
# query parameters
|
|
3619
3637
|
query_params = opts[:query_params] || {}
|
|
@@ -3632,7 +3650,7 @@ module FastCommentsClient
|
|
|
3632
3650
|
post_body = opts[:debug_body]
|
|
3633
3651
|
|
|
3634
3652
|
# return_type
|
|
3635
|
-
return_type = opts[:debug_return_type] || '
|
|
3653
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateRenderErrorsResponse'
|
|
3636
3654
|
|
|
3637
3655
|
# auth_names
|
|
3638
3656
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3657,7 +3675,7 @@ module FastCommentsClient
|
|
|
3657
3675
|
# @param tenant_id [String]
|
|
3658
3676
|
# @param [Hash] opts the optional parameters
|
|
3659
3677
|
# @option opts [Float] :skip
|
|
3660
|
-
# @return [
|
|
3678
|
+
# @return [GetEmailTemplatesResponse]
|
|
3661
3679
|
def get_email_templates(tenant_id, opts = {})
|
|
3662
3680
|
data, _status_code, _headers = get_email_templates_with_http_info(tenant_id, opts)
|
|
3663
3681
|
data
|
|
@@ -3666,7 +3684,7 @@ module FastCommentsClient
|
|
|
3666
3684
|
# @param tenant_id [String]
|
|
3667
3685
|
# @param [Hash] opts the optional parameters
|
|
3668
3686
|
# @option opts [Float] :skip
|
|
3669
|
-
# @return [Array<(
|
|
3687
|
+
# @return [Array<(GetEmailTemplatesResponse, Integer, Hash)>] GetEmailTemplatesResponse data, response status code and response headers
|
|
3670
3688
|
def get_email_templates_with_http_info(tenant_id, opts = {})
|
|
3671
3689
|
if @api_client.config.debugging
|
|
3672
3690
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_templates ...'
|
|
@@ -3695,7 +3713,7 @@ module FastCommentsClient
|
|
|
3695
3713
|
post_body = opts[:debug_body]
|
|
3696
3714
|
|
|
3697
3715
|
# return_type
|
|
3698
|
-
return_type = opts[:debug_return_type] || '
|
|
3716
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplatesResponse'
|
|
3699
3717
|
|
|
3700
3718
|
# auth_names
|
|
3701
3719
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3723,7 +3741,7 @@ module FastCommentsClient
|
|
|
3723
3741
|
# @option opts [String] :after_id
|
|
3724
3742
|
# @option opts [Integer] :limit
|
|
3725
3743
|
# @option opts [Array<String>] :tags
|
|
3726
|
-
# @return [
|
|
3744
|
+
# @return [GetFeedPostsResponse]
|
|
3727
3745
|
def get_feed_posts(tenant_id, opts = {})
|
|
3728
3746
|
data, _status_code, _headers = get_feed_posts_with_http_info(tenant_id, opts)
|
|
3729
3747
|
data
|
|
@@ -3735,7 +3753,7 @@ module FastCommentsClient
|
|
|
3735
3753
|
# @option opts [String] :after_id
|
|
3736
3754
|
# @option opts [Integer] :limit
|
|
3737
3755
|
# @option opts [Array<String>] :tags
|
|
3738
|
-
# @return [Array<(
|
|
3756
|
+
# @return [Array<(GetFeedPostsResponse, Integer, Hash)>] GetFeedPostsResponse data, response status code and response headers
|
|
3739
3757
|
def get_feed_posts_with_http_info(tenant_id, opts = {})
|
|
3740
3758
|
if @api_client.config.debugging
|
|
3741
3759
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_feed_posts ...'
|
|
@@ -3766,7 +3784,7 @@ module FastCommentsClient
|
|
|
3766
3784
|
post_body = opts[:debug_body]
|
|
3767
3785
|
|
|
3768
3786
|
# return_type
|
|
3769
|
-
return_type = opts[:debug_return_type] || '
|
|
3787
|
+
return_type = opts[:debug_return_type] || 'GetFeedPostsResponse'
|
|
3770
3788
|
|
|
3771
3789
|
# auth_names
|
|
3772
3790
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3791,7 +3809,7 @@ module FastCommentsClient
|
|
|
3791
3809
|
# @param tenant_id [String]
|
|
3792
3810
|
# @param [Hash] opts the optional parameters
|
|
3793
3811
|
# @option opts [Float] :page
|
|
3794
|
-
# @return [
|
|
3812
|
+
# @return [GetHashTagsResponse]
|
|
3795
3813
|
def get_hash_tags(tenant_id, opts = {})
|
|
3796
3814
|
data, _status_code, _headers = get_hash_tags_with_http_info(tenant_id, opts)
|
|
3797
3815
|
data
|
|
@@ -3800,7 +3818,7 @@ module FastCommentsClient
|
|
|
3800
3818
|
# @param tenant_id [String]
|
|
3801
3819
|
# @param [Hash] opts the optional parameters
|
|
3802
3820
|
# @option opts [Float] :page
|
|
3803
|
-
# @return [Array<(
|
|
3821
|
+
# @return [Array<(GetHashTagsResponse, Integer, Hash)>] GetHashTagsResponse data, response status code and response headers
|
|
3804
3822
|
def get_hash_tags_with_http_info(tenant_id, opts = {})
|
|
3805
3823
|
if @api_client.config.debugging
|
|
3806
3824
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_hash_tags ...'
|
|
@@ -3829,7 +3847,7 @@ module FastCommentsClient
|
|
|
3829
3847
|
post_body = opts[:debug_body]
|
|
3830
3848
|
|
|
3831
3849
|
# return_type
|
|
3832
|
-
return_type = opts[:debug_return_type] || '
|
|
3850
|
+
return_type = opts[:debug_return_type] || 'GetHashTagsResponse'
|
|
3833
3851
|
|
|
3834
3852
|
# auth_names
|
|
3835
3853
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3854,7 +3872,7 @@ module FastCommentsClient
|
|
|
3854
3872
|
# @param tenant_id [String]
|
|
3855
3873
|
# @param id [String]
|
|
3856
3874
|
# @param [Hash] opts the optional parameters
|
|
3857
|
-
# @return [
|
|
3875
|
+
# @return [GetModeratorResponse]
|
|
3858
3876
|
def get_moderator(tenant_id, id, opts = {})
|
|
3859
3877
|
data, _status_code, _headers = get_moderator_with_http_info(tenant_id, id, opts)
|
|
3860
3878
|
data
|
|
@@ -3863,7 +3881,7 @@ module FastCommentsClient
|
|
|
3863
3881
|
# @param tenant_id [String]
|
|
3864
3882
|
# @param id [String]
|
|
3865
3883
|
# @param [Hash] opts the optional parameters
|
|
3866
|
-
# @return [Array<(
|
|
3884
|
+
# @return [Array<(GetModeratorResponse, Integer, Hash)>] GetModeratorResponse data, response status code and response headers
|
|
3867
3885
|
def get_moderator_with_http_info(tenant_id, id, opts = {})
|
|
3868
3886
|
if @api_client.config.debugging
|
|
3869
3887
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_moderator ...'
|
|
@@ -3877,7 +3895,7 @@ module FastCommentsClient
|
|
|
3877
3895
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_moderator"
|
|
3878
3896
|
end
|
|
3879
3897
|
# resource path
|
|
3880
|
-
local_var_path = '/api/v1/moderators/{id}'.sub('{
|
|
3898
|
+
local_var_path = '/api/v1/moderators/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
3881
3899
|
|
|
3882
3900
|
# query parameters
|
|
3883
3901
|
query_params = opts[:query_params] || {}
|
|
@@ -3895,7 +3913,7 @@ module FastCommentsClient
|
|
|
3895
3913
|
post_body = opts[:debug_body]
|
|
3896
3914
|
|
|
3897
3915
|
# return_type
|
|
3898
|
-
return_type = opts[:debug_return_type] || '
|
|
3916
|
+
return_type = opts[:debug_return_type] || 'GetModeratorResponse'
|
|
3899
3917
|
|
|
3900
3918
|
# auth_names
|
|
3901
3919
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3920,7 +3938,7 @@ module FastCommentsClient
|
|
|
3920
3938
|
# @param tenant_id [String]
|
|
3921
3939
|
# @param [Hash] opts the optional parameters
|
|
3922
3940
|
# @option opts [Float] :skip
|
|
3923
|
-
# @return [
|
|
3941
|
+
# @return [GetModeratorsResponse]
|
|
3924
3942
|
def get_moderators(tenant_id, opts = {})
|
|
3925
3943
|
data, _status_code, _headers = get_moderators_with_http_info(tenant_id, opts)
|
|
3926
3944
|
data
|
|
@@ -3929,7 +3947,7 @@ module FastCommentsClient
|
|
|
3929
3947
|
# @param tenant_id [String]
|
|
3930
3948
|
# @param [Hash] opts the optional parameters
|
|
3931
3949
|
# @option opts [Float] :skip
|
|
3932
|
-
# @return [Array<(
|
|
3950
|
+
# @return [Array<(GetModeratorsResponse, Integer, Hash)>] GetModeratorsResponse data, response status code and response headers
|
|
3933
3951
|
def get_moderators_with_http_info(tenant_id, opts = {})
|
|
3934
3952
|
if @api_client.config.debugging
|
|
3935
3953
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_moderators ...'
|
|
@@ -3958,7 +3976,7 @@ module FastCommentsClient
|
|
|
3958
3976
|
post_body = opts[:debug_body]
|
|
3959
3977
|
|
|
3960
3978
|
# return_type
|
|
3961
|
-
return_type = opts[:debug_return_type] || '
|
|
3979
|
+
return_type = opts[:debug_return_type] || 'GetModeratorsResponse'
|
|
3962
3980
|
|
|
3963
3981
|
# auth_names
|
|
3964
3982
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3987,7 +4005,7 @@ module FastCommentsClient
|
|
|
3987
4005
|
# @option opts [String] :from_comment_id
|
|
3988
4006
|
# @option opts [Boolean] :viewed
|
|
3989
4007
|
# @option opts [String] :type
|
|
3990
|
-
# @return [
|
|
4008
|
+
# @return [GetNotificationCountResponse]
|
|
3991
4009
|
def get_notification_count(tenant_id, opts = {})
|
|
3992
4010
|
data, _status_code, _headers = get_notification_count_with_http_info(tenant_id, opts)
|
|
3993
4011
|
data
|
|
@@ -4000,7 +4018,7 @@ module FastCommentsClient
|
|
|
4000
4018
|
# @option opts [String] :from_comment_id
|
|
4001
4019
|
# @option opts [Boolean] :viewed
|
|
4002
4020
|
# @option opts [String] :type
|
|
4003
|
-
# @return [Array<(
|
|
4021
|
+
# @return [Array<(GetNotificationCountResponse, Integer, Hash)>] GetNotificationCountResponse data, response status code and response headers
|
|
4004
4022
|
def get_notification_count_with_http_info(tenant_id, opts = {})
|
|
4005
4023
|
if @api_client.config.debugging
|
|
4006
4024
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_notification_count ...'
|
|
@@ -4033,7 +4051,7 @@ module FastCommentsClient
|
|
|
4033
4051
|
post_body = opts[:debug_body]
|
|
4034
4052
|
|
|
4035
4053
|
# return_type
|
|
4036
|
-
return_type = opts[:debug_return_type] || '
|
|
4054
|
+
return_type = opts[:debug_return_type] || 'GetNotificationCountResponse'
|
|
4037
4055
|
|
|
4038
4056
|
# auth_names
|
|
4039
4057
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4063,7 +4081,7 @@ module FastCommentsClient
|
|
|
4063
4081
|
# @option opts [Boolean] :viewed
|
|
4064
4082
|
# @option opts [String] :type
|
|
4065
4083
|
# @option opts [Float] :skip
|
|
4066
|
-
# @return [
|
|
4084
|
+
# @return [GetNotificationsResponse]
|
|
4067
4085
|
def get_notifications(tenant_id, opts = {})
|
|
4068
4086
|
data, _status_code, _headers = get_notifications_with_http_info(tenant_id, opts)
|
|
4069
4087
|
data
|
|
@@ -4077,7 +4095,7 @@ module FastCommentsClient
|
|
|
4077
4095
|
# @option opts [Boolean] :viewed
|
|
4078
4096
|
# @option opts [String] :type
|
|
4079
4097
|
# @option opts [Float] :skip
|
|
4080
|
-
# @return [Array<(
|
|
4098
|
+
# @return [Array<(GetNotificationsResponse, Integer, Hash)>] GetNotificationsResponse data, response status code and response headers
|
|
4081
4099
|
def get_notifications_with_http_info(tenant_id, opts = {})
|
|
4082
4100
|
if @api_client.config.debugging
|
|
4083
4101
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_notifications ...'
|
|
@@ -4111,7 +4129,7 @@ module FastCommentsClient
|
|
|
4111
4129
|
post_body = opts[:debug_body]
|
|
4112
4130
|
|
|
4113
4131
|
# return_type
|
|
4114
|
-
return_type = opts[:debug_return_type] || '
|
|
4132
|
+
return_type = opts[:debug_return_type] || 'GetNotificationsResponse'
|
|
4115
4133
|
|
|
4116
4134
|
# auth_names
|
|
4117
4135
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4268,7 +4286,7 @@ module FastCommentsClient
|
|
|
4268
4286
|
# @option opts [String] :type
|
|
4269
4287
|
# @option opts [String] :domain
|
|
4270
4288
|
# @option opts [Float] :attempt_count_gt
|
|
4271
|
-
# @return [
|
|
4289
|
+
# @return [GetPendingWebhookEventCountResponse]
|
|
4272
4290
|
def get_pending_webhook_event_count(tenant_id, opts = {})
|
|
4273
4291
|
data, _status_code, _headers = get_pending_webhook_event_count_with_http_info(tenant_id, opts)
|
|
4274
4292
|
data
|
|
@@ -4282,7 +4300,7 @@ module FastCommentsClient
|
|
|
4282
4300
|
# @option opts [String] :type
|
|
4283
4301
|
# @option opts [String] :domain
|
|
4284
4302
|
# @option opts [Float] :attempt_count_gt
|
|
4285
|
-
# @return [Array<(
|
|
4303
|
+
# @return [Array<(GetPendingWebhookEventCountResponse, Integer, Hash)>] GetPendingWebhookEventCountResponse data, response status code and response headers
|
|
4286
4304
|
def get_pending_webhook_event_count_with_http_info(tenant_id, opts = {})
|
|
4287
4305
|
if @api_client.config.debugging
|
|
4288
4306
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_pending_webhook_event_count ...'
|
|
@@ -4316,7 +4334,7 @@ module FastCommentsClient
|
|
|
4316
4334
|
post_body = opts[:debug_body]
|
|
4317
4335
|
|
|
4318
4336
|
# return_type
|
|
4319
|
-
return_type = opts[:debug_return_type] || '
|
|
4337
|
+
return_type = opts[:debug_return_type] || 'GetPendingWebhookEventCountResponse'
|
|
4320
4338
|
|
|
4321
4339
|
# auth_names
|
|
4322
4340
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4347,7 +4365,7 @@ module FastCommentsClient
|
|
|
4347
4365
|
# @option opts [String] :domain
|
|
4348
4366
|
# @option opts [Float] :attempt_count_gt
|
|
4349
4367
|
# @option opts [Float] :skip
|
|
4350
|
-
# @return [
|
|
4368
|
+
# @return [GetPendingWebhookEventsResponse]
|
|
4351
4369
|
def get_pending_webhook_events(tenant_id, opts = {})
|
|
4352
4370
|
data, _status_code, _headers = get_pending_webhook_events_with_http_info(tenant_id, opts)
|
|
4353
4371
|
data
|
|
@@ -4362,7 +4380,7 @@ module FastCommentsClient
|
|
|
4362
4380
|
# @option opts [String] :domain
|
|
4363
4381
|
# @option opts [Float] :attempt_count_gt
|
|
4364
4382
|
# @option opts [Float] :skip
|
|
4365
|
-
# @return [Array<(
|
|
4383
|
+
# @return [Array<(GetPendingWebhookEventsResponse, Integer, Hash)>] GetPendingWebhookEventsResponse data, response status code and response headers
|
|
4366
4384
|
def get_pending_webhook_events_with_http_info(tenant_id, opts = {})
|
|
4367
4385
|
if @api_client.config.debugging
|
|
4368
4386
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_pending_webhook_events ...'
|
|
@@ -4397,7 +4415,7 @@ module FastCommentsClient
|
|
|
4397
4415
|
post_body = opts[:debug_body]
|
|
4398
4416
|
|
|
4399
4417
|
# return_type
|
|
4400
|
-
return_type = opts[:debug_return_type] || '
|
|
4418
|
+
return_type = opts[:debug_return_type] || 'GetPendingWebhookEventsResponse'
|
|
4401
4419
|
|
|
4402
4420
|
# auth_names
|
|
4403
4421
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4422,7 +4440,7 @@ module FastCommentsClient
|
|
|
4422
4440
|
# @param tenant_id [String]
|
|
4423
4441
|
# @param id [String]
|
|
4424
4442
|
# @param [Hash] opts the optional parameters
|
|
4425
|
-
# @return [
|
|
4443
|
+
# @return [GetQuestionConfigResponse]
|
|
4426
4444
|
def get_question_config(tenant_id, id, opts = {})
|
|
4427
4445
|
data, _status_code, _headers = get_question_config_with_http_info(tenant_id, id, opts)
|
|
4428
4446
|
data
|
|
@@ -4431,7 +4449,7 @@ module FastCommentsClient
|
|
|
4431
4449
|
# @param tenant_id [String]
|
|
4432
4450
|
# @param id [String]
|
|
4433
4451
|
# @param [Hash] opts the optional parameters
|
|
4434
|
-
# @return [Array<(
|
|
4452
|
+
# @return [Array<(GetQuestionConfigResponse, Integer, Hash)>] GetQuestionConfigResponse data, response status code and response headers
|
|
4435
4453
|
def get_question_config_with_http_info(tenant_id, id, opts = {})
|
|
4436
4454
|
if @api_client.config.debugging
|
|
4437
4455
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_config ...'
|
|
@@ -4445,7 +4463,7 @@ module FastCommentsClient
|
|
|
4445
4463
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_question_config"
|
|
4446
4464
|
end
|
|
4447
4465
|
# resource path
|
|
4448
|
-
local_var_path = '/api/v1/question-configs/{id}'.sub('{
|
|
4466
|
+
local_var_path = '/api/v1/question-configs/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
4449
4467
|
|
|
4450
4468
|
# query parameters
|
|
4451
4469
|
query_params = opts[:query_params] || {}
|
|
@@ -4463,7 +4481,7 @@ module FastCommentsClient
|
|
|
4463
4481
|
post_body = opts[:debug_body]
|
|
4464
4482
|
|
|
4465
4483
|
# return_type
|
|
4466
|
-
return_type = opts[:debug_return_type] || '
|
|
4484
|
+
return_type = opts[:debug_return_type] || 'GetQuestionConfigResponse'
|
|
4467
4485
|
|
|
4468
4486
|
# auth_names
|
|
4469
4487
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4488,7 +4506,7 @@ module FastCommentsClient
|
|
|
4488
4506
|
# @param tenant_id [String]
|
|
4489
4507
|
# @param [Hash] opts the optional parameters
|
|
4490
4508
|
# @option opts [Float] :skip
|
|
4491
|
-
# @return [
|
|
4509
|
+
# @return [GetQuestionConfigsResponse]
|
|
4492
4510
|
def get_question_configs(tenant_id, opts = {})
|
|
4493
4511
|
data, _status_code, _headers = get_question_configs_with_http_info(tenant_id, opts)
|
|
4494
4512
|
data
|
|
@@ -4497,7 +4515,7 @@ module FastCommentsClient
|
|
|
4497
4515
|
# @param tenant_id [String]
|
|
4498
4516
|
# @param [Hash] opts the optional parameters
|
|
4499
4517
|
# @option opts [Float] :skip
|
|
4500
|
-
# @return [Array<(
|
|
4518
|
+
# @return [Array<(GetQuestionConfigsResponse, Integer, Hash)>] GetQuestionConfigsResponse data, response status code and response headers
|
|
4501
4519
|
def get_question_configs_with_http_info(tenant_id, opts = {})
|
|
4502
4520
|
if @api_client.config.debugging
|
|
4503
4521
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_configs ...'
|
|
@@ -4526,7 +4544,7 @@ module FastCommentsClient
|
|
|
4526
4544
|
post_body = opts[:debug_body]
|
|
4527
4545
|
|
|
4528
4546
|
# return_type
|
|
4529
|
-
return_type = opts[:debug_return_type] || '
|
|
4547
|
+
return_type = opts[:debug_return_type] || 'GetQuestionConfigsResponse'
|
|
4530
4548
|
|
|
4531
4549
|
# auth_names
|
|
4532
4550
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4551,7 +4569,7 @@ module FastCommentsClient
|
|
|
4551
4569
|
# @param tenant_id [String]
|
|
4552
4570
|
# @param id [String]
|
|
4553
4571
|
# @param [Hash] opts the optional parameters
|
|
4554
|
-
# @return [
|
|
4572
|
+
# @return [GetQuestionResultResponse]
|
|
4555
4573
|
def get_question_result(tenant_id, id, opts = {})
|
|
4556
4574
|
data, _status_code, _headers = get_question_result_with_http_info(tenant_id, id, opts)
|
|
4557
4575
|
data
|
|
@@ -4560,7 +4578,7 @@ module FastCommentsClient
|
|
|
4560
4578
|
# @param tenant_id [String]
|
|
4561
4579
|
# @param id [String]
|
|
4562
4580
|
# @param [Hash] opts the optional parameters
|
|
4563
|
-
# @return [Array<(
|
|
4581
|
+
# @return [Array<(GetQuestionResultResponse, Integer, Hash)>] GetQuestionResultResponse data, response status code and response headers
|
|
4564
4582
|
def get_question_result_with_http_info(tenant_id, id, opts = {})
|
|
4565
4583
|
if @api_client.config.debugging
|
|
4566
4584
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_result ...'
|
|
@@ -4574,7 +4592,7 @@ module FastCommentsClient
|
|
|
4574
4592
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_question_result"
|
|
4575
4593
|
end
|
|
4576
4594
|
# resource path
|
|
4577
|
-
local_var_path = '/api/v1/question-results/{id}'.sub('{
|
|
4595
|
+
local_var_path = '/api/v1/question-results/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
4578
4596
|
|
|
4579
4597
|
# query parameters
|
|
4580
4598
|
query_params = opts[:query_params] || {}
|
|
@@ -4592,7 +4610,7 @@ module FastCommentsClient
|
|
|
4592
4610
|
post_body = opts[:debug_body]
|
|
4593
4611
|
|
|
4594
4612
|
# return_type
|
|
4595
|
-
return_type = opts[:debug_return_type] || '
|
|
4613
|
+
return_type = opts[:debug_return_type] || 'GetQuestionResultResponse'
|
|
4596
4614
|
|
|
4597
4615
|
# auth_names
|
|
4598
4616
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4622,7 +4640,7 @@ module FastCommentsClient
|
|
|
4622
4640
|
# @option opts [String] :question_id
|
|
4623
4641
|
# @option opts [String] :question_ids
|
|
4624
4642
|
# @option opts [Float] :skip
|
|
4625
|
-
# @return [
|
|
4643
|
+
# @return [GetQuestionResultsResponse]
|
|
4626
4644
|
def get_question_results(tenant_id, opts = {})
|
|
4627
4645
|
data, _status_code, _headers = get_question_results_with_http_info(tenant_id, opts)
|
|
4628
4646
|
data
|
|
@@ -4636,7 +4654,7 @@ module FastCommentsClient
|
|
|
4636
4654
|
# @option opts [String] :question_id
|
|
4637
4655
|
# @option opts [String] :question_ids
|
|
4638
4656
|
# @option opts [Float] :skip
|
|
4639
|
-
# @return [Array<(
|
|
4657
|
+
# @return [Array<(GetQuestionResultsResponse, Integer, Hash)>] GetQuestionResultsResponse data, response status code and response headers
|
|
4640
4658
|
def get_question_results_with_http_info(tenant_id, opts = {})
|
|
4641
4659
|
if @api_client.config.debugging
|
|
4642
4660
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_results ...'
|
|
@@ -4670,7 +4688,7 @@ module FastCommentsClient
|
|
|
4670
4688
|
post_body = opts[:debug_body]
|
|
4671
4689
|
|
|
4672
4690
|
# return_type
|
|
4673
|
-
return_type = opts[:debug_return_type] || '
|
|
4691
|
+
return_type = opts[:debug_return_type] || 'GetQuestionResultsResponse'
|
|
4674
4692
|
|
|
4675
4693
|
# auth_names
|
|
4676
4694
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4718,7 +4736,7 @@ module FastCommentsClient
|
|
|
4718
4736
|
fail ArgumentError, "Missing the required parameter 'email' when calling DefaultApi.get_sso_user_by_email"
|
|
4719
4737
|
end
|
|
4720
4738
|
# resource path
|
|
4721
|
-
local_var_path = '/api/v1/sso-users/by-email/{email}'.sub('{
|
|
4739
|
+
local_var_path = '/api/v1/sso-users/by-email/{email}'.sub('{email}', CGI.escape(email.to_s))
|
|
4722
4740
|
|
|
4723
4741
|
# query parameters
|
|
4724
4742
|
query_params = opts[:query_params] || {}
|
|
@@ -4784,7 +4802,7 @@ module FastCommentsClient
|
|
|
4784
4802
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_sso_user_by_id"
|
|
4785
4803
|
end
|
|
4786
4804
|
# resource path
|
|
4787
|
-
local_var_path = '/api/v1/sso-users/by-id/{id}'.sub('{
|
|
4805
|
+
local_var_path = '/api/v1/sso-users/by-id/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
4788
4806
|
|
|
4789
4807
|
# query parameters
|
|
4790
4808
|
query_params = opts[:query_params] || {}
|
|
@@ -4827,7 +4845,7 @@ module FastCommentsClient
|
|
|
4827
4845
|
# @param tenant_id [String]
|
|
4828
4846
|
# @param [Hash] opts the optional parameters
|
|
4829
4847
|
# @option opts [Integer] :skip
|
|
4830
|
-
# @return [
|
|
4848
|
+
# @return [GetSSOUsersResponse]
|
|
4831
4849
|
def get_sso_users(tenant_id, opts = {})
|
|
4832
4850
|
data, _status_code, _headers = get_sso_users_with_http_info(tenant_id, opts)
|
|
4833
4851
|
data
|
|
@@ -4836,7 +4854,7 @@ module FastCommentsClient
|
|
|
4836
4854
|
# @param tenant_id [String]
|
|
4837
4855
|
# @param [Hash] opts the optional parameters
|
|
4838
4856
|
# @option opts [Integer] :skip
|
|
4839
|
-
# @return [Array<(
|
|
4857
|
+
# @return [Array<(GetSSOUsersResponse, Integer, Hash)>] GetSSOUsersResponse data, response status code and response headers
|
|
4840
4858
|
def get_sso_users_with_http_info(tenant_id, opts = {})
|
|
4841
4859
|
if @api_client.config.debugging
|
|
4842
4860
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_sso_users ...'
|
|
@@ -4865,7 +4883,7 @@ module FastCommentsClient
|
|
|
4865
4883
|
post_body = opts[:debug_body]
|
|
4866
4884
|
|
|
4867
4885
|
# return_type
|
|
4868
|
-
return_type = opts[:debug_return_type] || '
|
|
4886
|
+
return_type = opts[:debug_return_type] || 'GetSSOUsersResponse'
|
|
4869
4887
|
|
|
4870
4888
|
# auth_names
|
|
4871
4889
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4953,7 +4971,7 @@ module FastCommentsClient
|
|
|
4953
4971
|
# @param tenant_id [String]
|
|
4954
4972
|
# @param id [String]
|
|
4955
4973
|
# @param [Hash] opts the optional parameters
|
|
4956
|
-
# @return [
|
|
4974
|
+
# @return [GetTenantResponse]
|
|
4957
4975
|
def get_tenant(tenant_id, id, opts = {})
|
|
4958
4976
|
data, _status_code, _headers = get_tenant_with_http_info(tenant_id, id, opts)
|
|
4959
4977
|
data
|
|
@@ -4962,7 +4980,7 @@ module FastCommentsClient
|
|
|
4962
4980
|
# @param tenant_id [String]
|
|
4963
4981
|
# @param id [String]
|
|
4964
4982
|
# @param [Hash] opts the optional parameters
|
|
4965
|
-
# @return [Array<(
|
|
4983
|
+
# @return [Array<(GetTenantResponse, Integer, Hash)>] GetTenantResponse data, response status code and response headers
|
|
4966
4984
|
def get_tenant_with_http_info(tenant_id, id, opts = {})
|
|
4967
4985
|
if @api_client.config.debugging
|
|
4968
4986
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant ...'
|
|
@@ -4976,7 +4994,7 @@ module FastCommentsClient
|
|
|
4976
4994
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_tenant"
|
|
4977
4995
|
end
|
|
4978
4996
|
# resource path
|
|
4979
|
-
local_var_path = '/api/v1/tenants/{id}'.sub('{
|
|
4997
|
+
local_var_path = '/api/v1/tenants/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
4980
4998
|
|
|
4981
4999
|
# query parameters
|
|
4982
5000
|
query_params = opts[:query_params] || {}
|
|
@@ -4994,7 +5012,7 @@ module FastCommentsClient
|
|
|
4994
5012
|
post_body = opts[:debug_body]
|
|
4995
5013
|
|
|
4996
5014
|
# return_type
|
|
4997
|
-
return_type = opts[:debug_return_type] || '
|
|
5015
|
+
return_type = opts[:debug_return_type] || 'GetTenantResponse'
|
|
4998
5016
|
|
|
4999
5017
|
# auth_names
|
|
5000
5018
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5022,7 +5040,7 @@ module FastCommentsClient
|
|
|
5022
5040
|
# @option opts [Float] :month_number
|
|
5023
5041
|
# @option opts [Float] :day_number
|
|
5024
5042
|
# @option opts [Float] :skip
|
|
5025
|
-
# @return [
|
|
5043
|
+
# @return [GetTenantDailyUsagesResponse]
|
|
5026
5044
|
def get_tenant_daily_usages(tenant_id, opts = {})
|
|
5027
5045
|
data, _status_code, _headers = get_tenant_daily_usages_with_http_info(tenant_id, opts)
|
|
5028
5046
|
data
|
|
@@ -5034,7 +5052,7 @@ module FastCommentsClient
|
|
|
5034
5052
|
# @option opts [Float] :month_number
|
|
5035
5053
|
# @option opts [Float] :day_number
|
|
5036
5054
|
# @option opts [Float] :skip
|
|
5037
|
-
# @return [Array<(
|
|
5055
|
+
# @return [Array<(GetTenantDailyUsagesResponse, Integer, Hash)>] GetTenantDailyUsagesResponse data, response status code and response headers
|
|
5038
5056
|
def get_tenant_daily_usages_with_http_info(tenant_id, opts = {})
|
|
5039
5057
|
if @api_client.config.debugging
|
|
5040
5058
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_daily_usages ...'
|
|
@@ -5066,7 +5084,7 @@ module FastCommentsClient
|
|
|
5066
5084
|
post_body = opts[:debug_body]
|
|
5067
5085
|
|
|
5068
5086
|
# return_type
|
|
5069
|
-
return_type = opts[:debug_return_type] || '
|
|
5087
|
+
return_type = opts[:debug_return_type] || 'GetTenantDailyUsagesResponse'
|
|
5070
5088
|
|
|
5071
5089
|
# auth_names
|
|
5072
5090
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5091,7 +5109,7 @@ module FastCommentsClient
|
|
|
5091
5109
|
# @param tenant_id [String]
|
|
5092
5110
|
# @param id [String]
|
|
5093
5111
|
# @param [Hash] opts the optional parameters
|
|
5094
|
-
# @return [
|
|
5112
|
+
# @return [GetTenantPackageResponse]
|
|
5095
5113
|
def get_tenant_package(tenant_id, id, opts = {})
|
|
5096
5114
|
data, _status_code, _headers = get_tenant_package_with_http_info(tenant_id, id, opts)
|
|
5097
5115
|
data
|
|
@@ -5100,7 +5118,7 @@ module FastCommentsClient
|
|
|
5100
5118
|
# @param tenant_id [String]
|
|
5101
5119
|
# @param id [String]
|
|
5102
5120
|
# @param [Hash] opts the optional parameters
|
|
5103
|
-
# @return [Array<(
|
|
5121
|
+
# @return [Array<(GetTenantPackageResponse, Integer, Hash)>] GetTenantPackageResponse data, response status code and response headers
|
|
5104
5122
|
def get_tenant_package_with_http_info(tenant_id, id, opts = {})
|
|
5105
5123
|
if @api_client.config.debugging
|
|
5106
5124
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_package ...'
|
|
@@ -5114,7 +5132,7 @@ module FastCommentsClient
|
|
|
5114
5132
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_tenant_package"
|
|
5115
5133
|
end
|
|
5116
5134
|
# resource path
|
|
5117
|
-
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{
|
|
5135
|
+
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5118
5136
|
|
|
5119
5137
|
# query parameters
|
|
5120
5138
|
query_params = opts[:query_params] || {}
|
|
@@ -5132,7 +5150,7 @@ module FastCommentsClient
|
|
|
5132
5150
|
post_body = opts[:debug_body]
|
|
5133
5151
|
|
|
5134
5152
|
# return_type
|
|
5135
|
-
return_type = opts[:debug_return_type] || '
|
|
5153
|
+
return_type = opts[:debug_return_type] || 'GetTenantPackageResponse'
|
|
5136
5154
|
|
|
5137
5155
|
# auth_names
|
|
5138
5156
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5157,7 +5175,7 @@ module FastCommentsClient
|
|
|
5157
5175
|
# @param tenant_id [String]
|
|
5158
5176
|
# @param [Hash] opts the optional parameters
|
|
5159
5177
|
# @option opts [Float] :skip
|
|
5160
|
-
# @return [
|
|
5178
|
+
# @return [GetTenantPackagesResponse]
|
|
5161
5179
|
def get_tenant_packages(tenant_id, opts = {})
|
|
5162
5180
|
data, _status_code, _headers = get_tenant_packages_with_http_info(tenant_id, opts)
|
|
5163
5181
|
data
|
|
@@ -5166,7 +5184,7 @@ module FastCommentsClient
|
|
|
5166
5184
|
# @param tenant_id [String]
|
|
5167
5185
|
# @param [Hash] opts the optional parameters
|
|
5168
5186
|
# @option opts [Float] :skip
|
|
5169
|
-
# @return [Array<(
|
|
5187
|
+
# @return [Array<(GetTenantPackagesResponse, Integer, Hash)>] GetTenantPackagesResponse data, response status code and response headers
|
|
5170
5188
|
def get_tenant_packages_with_http_info(tenant_id, opts = {})
|
|
5171
5189
|
if @api_client.config.debugging
|
|
5172
5190
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_packages ...'
|
|
@@ -5195,7 +5213,7 @@ module FastCommentsClient
|
|
|
5195
5213
|
post_body = opts[:debug_body]
|
|
5196
5214
|
|
|
5197
5215
|
# return_type
|
|
5198
|
-
return_type = opts[:debug_return_type] || '
|
|
5216
|
+
return_type = opts[:debug_return_type] || 'GetTenantPackagesResponse'
|
|
5199
5217
|
|
|
5200
5218
|
# auth_names
|
|
5201
5219
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5220,7 +5238,7 @@ module FastCommentsClient
|
|
|
5220
5238
|
# @param tenant_id [String]
|
|
5221
5239
|
# @param id [String]
|
|
5222
5240
|
# @param [Hash] opts the optional parameters
|
|
5223
|
-
# @return [
|
|
5241
|
+
# @return [GetTenantUserResponse]
|
|
5224
5242
|
def get_tenant_user(tenant_id, id, opts = {})
|
|
5225
5243
|
data, _status_code, _headers = get_tenant_user_with_http_info(tenant_id, id, opts)
|
|
5226
5244
|
data
|
|
@@ -5229,7 +5247,7 @@ module FastCommentsClient
|
|
|
5229
5247
|
# @param tenant_id [String]
|
|
5230
5248
|
# @param id [String]
|
|
5231
5249
|
# @param [Hash] opts the optional parameters
|
|
5232
|
-
# @return [Array<(
|
|
5250
|
+
# @return [Array<(GetTenantUserResponse, Integer, Hash)>] GetTenantUserResponse data, response status code and response headers
|
|
5233
5251
|
def get_tenant_user_with_http_info(tenant_id, id, opts = {})
|
|
5234
5252
|
if @api_client.config.debugging
|
|
5235
5253
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_user ...'
|
|
@@ -5243,7 +5261,7 @@ module FastCommentsClient
|
|
|
5243
5261
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_tenant_user"
|
|
5244
5262
|
end
|
|
5245
5263
|
# resource path
|
|
5246
|
-
local_var_path = '/api/v1/tenant-users/{id}'.sub('{
|
|
5264
|
+
local_var_path = '/api/v1/tenant-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5247
5265
|
|
|
5248
5266
|
# query parameters
|
|
5249
5267
|
query_params = opts[:query_params] || {}
|
|
@@ -5261,7 +5279,7 @@ module FastCommentsClient
|
|
|
5261
5279
|
post_body = opts[:debug_body]
|
|
5262
5280
|
|
|
5263
5281
|
# return_type
|
|
5264
|
-
return_type = opts[:debug_return_type] || '
|
|
5282
|
+
return_type = opts[:debug_return_type] || 'GetTenantUserResponse'
|
|
5265
5283
|
|
|
5266
5284
|
# auth_names
|
|
5267
5285
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5286,7 +5304,7 @@ module FastCommentsClient
|
|
|
5286
5304
|
# @param tenant_id [String]
|
|
5287
5305
|
# @param [Hash] opts the optional parameters
|
|
5288
5306
|
# @option opts [Float] :skip
|
|
5289
|
-
# @return [
|
|
5307
|
+
# @return [GetTenantUsersResponse]
|
|
5290
5308
|
def get_tenant_users(tenant_id, opts = {})
|
|
5291
5309
|
data, _status_code, _headers = get_tenant_users_with_http_info(tenant_id, opts)
|
|
5292
5310
|
data
|
|
@@ -5295,7 +5313,7 @@ module FastCommentsClient
|
|
|
5295
5313
|
# @param tenant_id [String]
|
|
5296
5314
|
# @param [Hash] opts the optional parameters
|
|
5297
5315
|
# @option opts [Float] :skip
|
|
5298
|
-
# @return [Array<(
|
|
5316
|
+
# @return [Array<(GetTenantUsersResponse, Integer, Hash)>] GetTenantUsersResponse data, response status code and response headers
|
|
5299
5317
|
def get_tenant_users_with_http_info(tenant_id, opts = {})
|
|
5300
5318
|
if @api_client.config.debugging
|
|
5301
5319
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_users ...'
|
|
@@ -5324,7 +5342,7 @@ module FastCommentsClient
|
|
|
5324
5342
|
post_body = opts[:debug_body]
|
|
5325
5343
|
|
|
5326
5344
|
# return_type
|
|
5327
|
-
return_type = opts[:debug_return_type] || '
|
|
5345
|
+
return_type = opts[:debug_return_type] || 'GetTenantUsersResponse'
|
|
5328
5346
|
|
|
5329
5347
|
# auth_names
|
|
5330
5348
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5350,7 +5368,7 @@ module FastCommentsClient
|
|
|
5350
5368
|
# @param [Hash] opts the optional parameters
|
|
5351
5369
|
# @option opts [String] :meta
|
|
5352
5370
|
# @option opts [Float] :skip
|
|
5353
|
-
# @return [
|
|
5371
|
+
# @return [GetTenantsResponse]
|
|
5354
5372
|
def get_tenants(tenant_id, opts = {})
|
|
5355
5373
|
data, _status_code, _headers = get_tenants_with_http_info(tenant_id, opts)
|
|
5356
5374
|
data
|
|
@@ -5360,7 +5378,7 @@ module FastCommentsClient
|
|
|
5360
5378
|
# @param [Hash] opts the optional parameters
|
|
5361
5379
|
# @option opts [String] :meta
|
|
5362
5380
|
# @option opts [Float] :skip
|
|
5363
|
-
# @return [Array<(
|
|
5381
|
+
# @return [Array<(GetTenantsResponse, Integer, Hash)>] GetTenantsResponse data, response status code and response headers
|
|
5364
5382
|
def get_tenants_with_http_info(tenant_id, opts = {})
|
|
5365
5383
|
if @api_client.config.debugging
|
|
5366
5384
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenants ...'
|
|
@@ -5390,7 +5408,7 @@ module FastCommentsClient
|
|
|
5390
5408
|
post_body = opts[:debug_body]
|
|
5391
5409
|
|
|
5392
5410
|
# return_type
|
|
5393
|
-
return_type = opts[:debug_return_type] || '
|
|
5411
|
+
return_type = opts[:debug_return_type] || 'GetTenantsResponse'
|
|
5394
5412
|
|
|
5395
5413
|
# auth_names
|
|
5396
5414
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5416,7 +5434,7 @@ module FastCommentsClient
|
|
|
5416
5434
|
# @param id [String]
|
|
5417
5435
|
# @param [Hash] opts the optional parameters
|
|
5418
5436
|
# @option opts [String] :user_id
|
|
5419
|
-
# @return [
|
|
5437
|
+
# @return [GetTicketResponse]
|
|
5420
5438
|
def get_ticket(tenant_id, id, opts = {})
|
|
5421
5439
|
data, _status_code, _headers = get_ticket_with_http_info(tenant_id, id, opts)
|
|
5422
5440
|
data
|
|
@@ -5426,7 +5444,7 @@ module FastCommentsClient
|
|
|
5426
5444
|
# @param id [String]
|
|
5427
5445
|
# @param [Hash] opts the optional parameters
|
|
5428
5446
|
# @option opts [String] :user_id
|
|
5429
|
-
# @return [Array<(
|
|
5447
|
+
# @return [Array<(GetTicketResponse, Integer, Hash)>] GetTicketResponse data, response status code and response headers
|
|
5430
5448
|
def get_ticket_with_http_info(tenant_id, id, opts = {})
|
|
5431
5449
|
if @api_client.config.debugging
|
|
5432
5450
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_ticket ...'
|
|
@@ -5440,7 +5458,7 @@ module FastCommentsClient
|
|
|
5440
5458
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_ticket"
|
|
5441
5459
|
end
|
|
5442
5460
|
# resource path
|
|
5443
|
-
local_var_path = '/api/v1/tickets/{id}'.sub('{
|
|
5461
|
+
local_var_path = '/api/v1/tickets/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5444
5462
|
|
|
5445
5463
|
# query parameters
|
|
5446
5464
|
query_params = opts[:query_params] || {}
|
|
@@ -5459,7 +5477,7 @@ module FastCommentsClient
|
|
|
5459
5477
|
post_body = opts[:debug_body]
|
|
5460
5478
|
|
|
5461
5479
|
# return_type
|
|
5462
|
-
return_type = opts[:debug_return_type] || '
|
|
5480
|
+
return_type = opts[:debug_return_type] || 'GetTicketResponse'
|
|
5463
5481
|
|
|
5464
5482
|
# auth_names
|
|
5465
5483
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5487,7 +5505,7 @@ module FastCommentsClient
|
|
|
5487
5505
|
# @option opts [Float] :state
|
|
5488
5506
|
# @option opts [Float] :skip
|
|
5489
5507
|
# @option opts [Float] :limit
|
|
5490
|
-
# @return [
|
|
5508
|
+
# @return [GetTicketsResponse]
|
|
5491
5509
|
def get_tickets(tenant_id, opts = {})
|
|
5492
5510
|
data, _status_code, _headers = get_tickets_with_http_info(tenant_id, opts)
|
|
5493
5511
|
data
|
|
@@ -5499,7 +5517,7 @@ module FastCommentsClient
|
|
|
5499
5517
|
# @option opts [Float] :state
|
|
5500
5518
|
# @option opts [Float] :skip
|
|
5501
5519
|
# @option opts [Float] :limit
|
|
5502
|
-
# @return [Array<(
|
|
5520
|
+
# @return [Array<(GetTicketsResponse, Integer, Hash)>] GetTicketsResponse data, response status code and response headers
|
|
5503
5521
|
def get_tickets_with_http_info(tenant_id, opts = {})
|
|
5504
5522
|
if @api_client.config.debugging
|
|
5505
5523
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tickets ...'
|
|
@@ -5531,7 +5549,7 @@ module FastCommentsClient
|
|
|
5531
5549
|
post_body = opts[:debug_body]
|
|
5532
5550
|
|
|
5533
5551
|
# return_type
|
|
5534
|
-
return_type = opts[:debug_return_type] || '
|
|
5552
|
+
return_type = opts[:debug_return_type] || 'GetTicketsResponse'
|
|
5535
5553
|
|
|
5536
5554
|
# auth_names
|
|
5537
5555
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5556,7 +5574,7 @@ module FastCommentsClient
|
|
|
5556
5574
|
# @param tenant_id [String]
|
|
5557
5575
|
# @param id [String]
|
|
5558
5576
|
# @param [Hash] opts the optional parameters
|
|
5559
|
-
# @return [
|
|
5577
|
+
# @return [GetUserResponse]
|
|
5560
5578
|
def get_user(tenant_id, id, opts = {})
|
|
5561
5579
|
data, _status_code, _headers = get_user_with_http_info(tenant_id, id, opts)
|
|
5562
5580
|
data
|
|
@@ -5565,7 +5583,7 @@ module FastCommentsClient
|
|
|
5565
5583
|
# @param tenant_id [String]
|
|
5566
5584
|
# @param id [String]
|
|
5567
5585
|
# @param [Hash] opts the optional parameters
|
|
5568
|
-
# @return [Array<(
|
|
5586
|
+
# @return [Array<(GetUserResponse, Integer, Hash)>] GetUserResponse data, response status code and response headers
|
|
5569
5587
|
def get_user_with_http_info(tenant_id, id, opts = {})
|
|
5570
5588
|
if @api_client.config.debugging
|
|
5571
5589
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user ...'
|
|
@@ -5579,7 +5597,7 @@ module FastCommentsClient
|
|
|
5579
5597
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_user"
|
|
5580
5598
|
end
|
|
5581
5599
|
# resource path
|
|
5582
|
-
local_var_path = '/api/v1/users/{id}'.sub('{
|
|
5600
|
+
local_var_path = '/api/v1/users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5583
5601
|
|
|
5584
5602
|
# query parameters
|
|
5585
5603
|
query_params = opts[:query_params] || {}
|
|
@@ -5597,7 +5615,7 @@ module FastCommentsClient
|
|
|
5597
5615
|
post_body = opts[:debug_body]
|
|
5598
5616
|
|
|
5599
5617
|
# return_type
|
|
5600
|
-
return_type = opts[:debug_return_type] || '
|
|
5618
|
+
return_type = opts[:debug_return_type] || 'GetUserResponse'
|
|
5601
5619
|
|
|
5602
5620
|
# auth_names
|
|
5603
5621
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5622,7 +5640,7 @@ module FastCommentsClient
|
|
|
5622
5640
|
# @param tenant_id [String]
|
|
5623
5641
|
# @param id [String]
|
|
5624
5642
|
# @param [Hash] opts the optional parameters
|
|
5625
|
-
# @return [
|
|
5643
|
+
# @return [APIGetUserBadgeResponse]
|
|
5626
5644
|
def get_user_badge(tenant_id, id, opts = {})
|
|
5627
5645
|
data, _status_code, _headers = get_user_badge_with_http_info(tenant_id, id, opts)
|
|
5628
5646
|
data
|
|
@@ -5631,7 +5649,7 @@ module FastCommentsClient
|
|
|
5631
5649
|
# @param tenant_id [String]
|
|
5632
5650
|
# @param id [String]
|
|
5633
5651
|
# @param [Hash] opts the optional parameters
|
|
5634
|
-
# @return [Array<(
|
|
5652
|
+
# @return [Array<(APIGetUserBadgeResponse, Integer, Hash)>] APIGetUserBadgeResponse data, response status code and response headers
|
|
5635
5653
|
def get_user_badge_with_http_info(tenant_id, id, opts = {})
|
|
5636
5654
|
if @api_client.config.debugging
|
|
5637
5655
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge ...'
|
|
@@ -5645,7 +5663,7 @@ module FastCommentsClient
|
|
|
5645
5663
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_user_badge"
|
|
5646
5664
|
end
|
|
5647
5665
|
# resource path
|
|
5648
|
-
local_var_path = '/api/v1/user-badges/{id}'.sub('{
|
|
5666
|
+
local_var_path = '/api/v1/user-badges/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5649
5667
|
|
|
5650
5668
|
# query parameters
|
|
5651
5669
|
query_params = opts[:query_params] || {}
|
|
@@ -5663,7 +5681,7 @@ module FastCommentsClient
|
|
|
5663
5681
|
post_body = opts[:debug_body]
|
|
5664
5682
|
|
|
5665
5683
|
# return_type
|
|
5666
|
-
return_type = opts[:debug_return_type] || '
|
|
5684
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeResponse'
|
|
5667
5685
|
|
|
5668
5686
|
# auth_names
|
|
5669
5687
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5688,7 +5706,7 @@ module FastCommentsClient
|
|
|
5688
5706
|
# @param tenant_id [String]
|
|
5689
5707
|
# @param id [String]
|
|
5690
5708
|
# @param [Hash] opts the optional parameters
|
|
5691
|
-
# @return [
|
|
5709
|
+
# @return [APIGetUserBadgeProgressResponse]
|
|
5692
5710
|
def get_user_badge_progress_by_id(tenant_id, id, opts = {})
|
|
5693
5711
|
data, _status_code, _headers = get_user_badge_progress_by_id_with_http_info(tenant_id, id, opts)
|
|
5694
5712
|
data
|
|
@@ -5697,7 +5715,7 @@ module FastCommentsClient
|
|
|
5697
5715
|
# @param tenant_id [String]
|
|
5698
5716
|
# @param id [String]
|
|
5699
5717
|
# @param [Hash] opts the optional parameters
|
|
5700
|
-
# @return [Array<(
|
|
5718
|
+
# @return [Array<(APIGetUserBadgeProgressResponse, Integer, Hash)>] APIGetUserBadgeProgressResponse data, response status code and response headers
|
|
5701
5719
|
def get_user_badge_progress_by_id_with_http_info(tenant_id, id, opts = {})
|
|
5702
5720
|
if @api_client.config.debugging
|
|
5703
5721
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_by_id ...'
|
|
@@ -5711,7 +5729,7 @@ module FastCommentsClient
|
|
|
5711
5729
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_user_badge_progress_by_id"
|
|
5712
5730
|
end
|
|
5713
5731
|
# resource path
|
|
5714
|
-
local_var_path = '/api/v1/user-badge-progress/{id}'.sub('{
|
|
5732
|
+
local_var_path = '/api/v1/user-badge-progress/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
5715
5733
|
|
|
5716
5734
|
# query parameters
|
|
5717
5735
|
query_params = opts[:query_params] || {}
|
|
@@ -5729,7 +5747,7 @@ module FastCommentsClient
|
|
|
5729
5747
|
post_body = opts[:debug_body]
|
|
5730
5748
|
|
|
5731
5749
|
# return_type
|
|
5732
|
-
return_type = opts[:debug_return_type] || '
|
|
5750
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressResponse'
|
|
5733
5751
|
|
|
5734
5752
|
# auth_names
|
|
5735
5753
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5754,7 +5772,7 @@ module FastCommentsClient
|
|
|
5754
5772
|
# @param tenant_id [String]
|
|
5755
5773
|
# @param user_id [String]
|
|
5756
5774
|
# @param [Hash] opts the optional parameters
|
|
5757
|
-
# @return [
|
|
5775
|
+
# @return [APIGetUserBadgeProgressResponse]
|
|
5758
5776
|
def get_user_badge_progress_by_user_id(tenant_id, user_id, opts = {})
|
|
5759
5777
|
data, _status_code, _headers = get_user_badge_progress_by_user_id_with_http_info(tenant_id, user_id, opts)
|
|
5760
5778
|
data
|
|
@@ -5763,7 +5781,7 @@ module FastCommentsClient
|
|
|
5763
5781
|
# @param tenant_id [String]
|
|
5764
5782
|
# @param user_id [String]
|
|
5765
5783
|
# @param [Hash] opts the optional parameters
|
|
5766
|
-
# @return [Array<(
|
|
5784
|
+
# @return [Array<(APIGetUserBadgeProgressResponse, Integer, Hash)>] APIGetUserBadgeProgressResponse data, response status code and response headers
|
|
5767
5785
|
def get_user_badge_progress_by_user_id_with_http_info(tenant_id, user_id, opts = {})
|
|
5768
5786
|
if @api_client.config.debugging
|
|
5769
5787
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_by_user_id ...'
|
|
@@ -5777,7 +5795,7 @@ module FastCommentsClient
|
|
|
5777
5795
|
fail ArgumentError, "Missing the required parameter 'user_id' when calling DefaultApi.get_user_badge_progress_by_user_id"
|
|
5778
5796
|
end
|
|
5779
5797
|
# resource path
|
|
5780
|
-
local_var_path = '/api/v1/user-badge-progress/user/{userId}'.sub('{
|
|
5798
|
+
local_var_path = '/api/v1/user-badge-progress/user/{userId}'.sub('{userId}', CGI.escape(user_id.to_s))
|
|
5781
5799
|
|
|
5782
5800
|
# query parameters
|
|
5783
5801
|
query_params = opts[:query_params] || {}
|
|
@@ -5795,7 +5813,7 @@ module FastCommentsClient
|
|
|
5795
5813
|
post_body = opts[:debug_body]
|
|
5796
5814
|
|
|
5797
5815
|
# return_type
|
|
5798
|
-
return_type = opts[:debug_return_type] || '
|
|
5816
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressResponse'
|
|
5799
5817
|
|
|
5800
5818
|
# auth_names
|
|
5801
5819
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5822,7 +5840,7 @@ module FastCommentsClient
|
|
|
5822
5840
|
# @option opts [String] :user_id
|
|
5823
5841
|
# @option opts [Float] :limit
|
|
5824
5842
|
# @option opts [Float] :skip
|
|
5825
|
-
# @return [
|
|
5843
|
+
# @return [APIGetUserBadgeProgressListResponse]
|
|
5826
5844
|
def get_user_badge_progress_list(tenant_id, opts = {})
|
|
5827
5845
|
data, _status_code, _headers = get_user_badge_progress_list_with_http_info(tenant_id, opts)
|
|
5828
5846
|
data
|
|
@@ -5833,7 +5851,7 @@ module FastCommentsClient
|
|
|
5833
5851
|
# @option opts [String] :user_id
|
|
5834
5852
|
# @option opts [Float] :limit
|
|
5835
5853
|
# @option opts [Float] :skip
|
|
5836
|
-
# @return [Array<(
|
|
5854
|
+
# @return [Array<(APIGetUserBadgeProgressListResponse, Integer, Hash)>] APIGetUserBadgeProgressListResponse data, response status code and response headers
|
|
5837
5855
|
def get_user_badge_progress_list_with_http_info(tenant_id, opts = {})
|
|
5838
5856
|
if @api_client.config.debugging
|
|
5839
5857
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_list ...'
|
|
@@ -5864,7 +5882,7 @@ module FastCommentsClient
|
|
|
5864
5882
|
post_body = opts[:debug_body]
|
|
5865
5883
|
|
|
5866
5884
|
# return_type
|
|
5867
|
-
return_type = opts[:debug_return_type] || '
|
|
5885
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressListResponse'
|
|
5868
5886
|
|
|
5869
5887
|
# auth_names
|
|
5870
5888
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5894,7 +5912,7 @@ module FastCommentsClient
|
|
|
5894
5912
|
# @option opts [Boolean] :displayed_on_comments
|
|
5895
5913
|
# @option opts [Float] :limit
|
|
5896
5914
|
# @option opts [Float] :skip
|
|
5897
|
-
# @return [
|
|
5915
|
+
# @return [APIGetUserBadgesResponse]
|
|
5898
5916
|
def get_user_badges(tenant_id, opts = {})
|
|
5899
5917
|
data, _status_code, _headers = get_user_badges_with_http_info(tenant_id, opts)
|
|
5900
5918
|
data
|
|
@@ -5908,7 +5926,7 @@ module FastCommentsClient
|
|
|
5908
5926
|
# @option opts [Boolean] :displayed_on_comments
|
|
5909
5927
|
# @option opts [Float] :limit
|
|
5910
5928
|
# @option opts [Float] :skip
|
|
5911
|
-
# @return [Array<(
|
|
5929
|
+
# @return [Array<(APIGetUserBadgesResponse, Integer, Hash)>] APIGetUserBadgesResponse data, response status code and response headers
|
|
5912
5930
|
def get_user_badges_with_http_info(tenant_id, opts = {})
|
|
5913
5931
|
if @api_client.config.debugging
|
|
5914
5932
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badges ...'
|
|
@@ -5942,7 +5960,7 @@ module FastCommentsClient
|
|
|
5942
5960
|
post_body = opts[:debug_body]
|
|
5943
5961
|
|
|
5944
5962
|
# return_type
|
|
5945
|
-
return_type = opts[:debug_return_type] || '
|
|
5963
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgesResponse'
|
|
5946
5964
|
|
|
5947
5965
|
# auth_names
|
|
5948
5966
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5967,7 +5985,7 @@ module FastCommentsClient
|
|
|
5967
5985
|
# @param tenant_id [String]
|
|
5968
5986
|
# @param url_id [String]
|
|
5969
5987
|
# @param [Hash] opts the optional parameters
|
|
5970
|
-
# @return [
|
|
5988
|
+
# @return [GetVotesResponse]
|
|
5971
5989
|
def get_votes(tenant_id, url_id, opts = {})
|
|
5972
5990
|
data, _status_code, _headers = get_votes_with_http_info(tenant_id, url_id, opts)
|
|
5973
5991
|
data
|
|
@@ -5976,7 +5994,7 @@ module FastCommentsClient
|
|
|
5976
5994
|
# @param tenant_id [String]
|
|
5977
5995
|
# @param url_id [String]
|
|
5978
5996
|
# @param [Hash] opts the optional parameters
|
|
5979
|
-
# @return [Array<(
|
|
5997
|
+
# @return [Array<(GetVotesResponse, Integer, Hash)>] GetVotesResponse data, response status code and response headers
|
|
5980
5998
|
def get_votes_with_http_info(tenant_id, url_id, opts = {})
|
|
5981
5999
|
if @api_client.config.debugging
|
|
5982
6000
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_votes ...'
|
|
@@ -6009,7 +6027,7 @@ module FastCommentsClient
|
|
|
6009
6027
|
post_body = opts[:debug_body]
|
|
6010
6028
|
|
|
6011
6029
|
# return_type
|
|
6012
|
-
return_type = opts[:debug_return_type] || '
|
|
6030
|
+
return_type = opts[:debug_return_type] || 'GetVotesResponse'
|
|
6013
6031
|
|
|
6014
6032
|
# auth_names
|
|
6015
6033
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6036,7 +6054,7 @@ module FastCommentsClient
|
|
|
6036
6054
|
# @param [Hash] opts the optional parameters
|
|
6037
6055
|
# @option opts [String] :user_id
|
|
6038
6056
|
# @option opts [String] :anon_user_id
|
|
6039
|
-
# @return [
|
|
6057
|
+
# @return [GetVotesForUserResponse]
|
|
6040
6058
|
def get_votes_for_user(tenant_id, url_id, opts = {})
|
|
6041
6059
|
data, _status_code, _headers = get_votes_for_user_with_http_info(tenant_id, url_id, opts)
|
|
6042
6060
|
data
|
|
@@ -6047,7 +6065,7 @@ module FastCommentsClient
|
|
|
6047
6065
|
# @param [Hash] opts the optional parameters
|
|
6048
6066
|
# @option opts [String] :user_id
|
|
6049
6067
|
# @option opts [String] :anon_user_id
|
|
6050
|
-
# @return [Array<(
|
|
6068
|
+
# @return [Array<(GetVotesForUserResponse, Integer, Hash)>] GetVotesForUserResponse data, response status code and response headers
|
|
6051
6069
|
def get_votes_for_user_with_http_info(tenant_id, url_id, opts = {})
|
|
6052
6070
|
if @api_client.config.debugging
|
|
6053
6071
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_votes_for_user ...'
|
|
@@ -6082,7 +6100,7 @@ module FastCommentsClient
|
|
|
6082
6100
|
post_body = opts[:debug_body]
|
|
6083
6101
|
|
|
6084
6102
|
# return_type
|
|
6085
|
-
return_type = opts[:debug_return_type] || '
|
|
6103
|
+
return_type = opts[:debug_return_type] || 'GetVotesForUserResponse'
|
|
6086
6104
|
|
|
6087
6105
|
# auth_names
|
|
6088
6106
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6108,7 +6126,7 @@ module FastCommentsClient
|
|
|
6108
6126
|
# @param domain_to_update [String]
|
|
6109
6127
|
# @param patch_domain_config_params [PatchDomainConfigParams]
|
|
6110
6128
|
# @param [Hash] opts the optional parameters
|
|
6111
|
-
# @return [
|
|
6129
|
+
# @return [PatchDomainConfigResponse]
|
|
6112
6130
|
def patch_domain_config(tenant_id, domain_to_update, patch_domain_config_params, opts = {})
|
|
6113
6131
|
data, _status_code, _headers = patch_domain_config_with_http_info(tenant_id, domain_to_update, patch_domain_config_params, opts)
|
|
6114
6132
|
data
|
|
@@ -6118,7 +6136,7 @@ module FastCommentsClient
|
|
|
6118
6136
|
# @param domain_to_update [String]
|
|
6119
6137
|
# @param patch_domain_config_params [PatchDomainConfigParams]
|
|
6120
6138
|
# @param [Hash] opts the optional parameters
|
|
6121
|
-
# @return [Array<(
|
|
6139
|
+
# @return [Array<(PatchDomainConfigResponse, Integer, Hash)>] PatchDomainConfigResponse data, response status code and response headers
|
|
6122
6140
|
def patch_domain_config_with_http_info(tenant_id, domain_to_update, patch_domain_config_params, opts = {})
|
|
6123
6141
|
if @api_client.config.debugging
|
|
6124
6142
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_domain_config ...'
|
|
@@ -6136,7 +6154,7 @@ module FastCommentsClient
|
|
|
6136
6154
|
fail ArgumentError, "Missing the required parameter 'patch_domain_config_params' when calling DefaultApi.patch_domain_config"
|
|
6137
6155
|
end
|
|
6138
6156
|
# resource path
|
|
6139
|
-
local_var_path = '/api/v1/domain-configs/{domainToUpdate}'.sub('{
|
|
6157
|
+
local_var_path = '/api/v1/domain-configs/{domainToUpdate}'.sub('{domainToUpdate}', CGI.escape(domain_to_update.to_s))
|
|
6140
6158
|
|
|
6141
6159
|
# query parameters
|
|
6142
6160
|
query_params = opts[:query_params] || {}
|
|
@@ -6159,7 +6177,7 @@ module FastCommentsClient
|
|
|
6159
6177
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_domain_config_params)
|
|
6160
6178
|
|
|
6161
6179
|
# return_type
|
|
6162
|
-
return_type = opts[:debug_return_type] || '
|
|
6180
|
+
return_type = opts[:debug_return_type] || 'PatchDomainConfigResponse'
|
|
6163
6181
|
|
|
6164
6182
|
# auth_names
|
|
6165
6183
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6181,35 +6199,39 @@ module FastCommentsClient
|
|
|
6181
6199
|
return data, status_code, headers
|
|
6182
6200
|
end
|
|
6183
6201
|
|
|
6202
|
+
# @param tenant_id [String]
|
|
6184
6203
|
# @param tag [String]
|
|
6204
|
+
# @param update_hash_tag_body [UpdateHashTagBody]
|
|
6185
6205
|
# @param [Hash] opts the optional parameters
|
|
6186
|
-
# @
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
def patch_hash_tag(tag, opts = {})
|
|
6190
|
-
data, _status_code, _headers = patch_hash_tag_with_http_info(tag, opts)
|
|
6206
|
+
# @return [UpdateHashTagResponse]
|
|
6207
|
+
def patch_hash_tag(tenant_id, tag, update_hash_tag_body, opts = {})
|
|
6208
|
+
data, _status_code, _headers = patch_hash_tag_with_http_info(tenant_id, tag, update_hash_tag_body, opts)
|
|
6191
6209
|
data
|
|
6192
6210
|
end
|
|
6193
6211
|
|
|
6212
|
+
# @param tenant_id [String]
|
|
6194
6213
|
# @param tag [String]
|
|
6214
|
+
# @param update_hash_tag_body [UpdateHashTagBody]
|
|
6195
6215
|
# @param [Hash] opts the optional parameters
|
|
6196
|
-
# @
|
|
6197
|
-
|
|
6198
|
-
# @return [Array<(PatchHashTag200Response, Integer, Hash)>] PatchHashTag200Response data, response status code and response headers
|
|
6199
|
-
def patch_hash_tag_with_http_info(tag, opts = {})
|
|
6216
|
+
# @return [Array<(UpdateHashTagResponse, Integer, Hash)>] UpdateHashTagResponse data, response status code and response headers
|
|
6217
|
+
def patch_hash_tag_with_http_info(tenant_id, tag, update_hash_tag_body, opts = {})
|
|
6200
6218
|
if @api_client.config.debugging
|
|
6201
6219
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_hash_tag ...'
|
|
6202
6220
|
end
|
|
6221
|
+
# verify the required parameter 'tenant_id' is set
|
|
6222
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
6223
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.patch_hash_tag"
|
|
6224
|
+
end
|
|
6203
6225
|
# verify the required parameter 'tag' is set
|
|
6204
6226
|
if @api_client.config.client_side_validation && tag.nil?
|
|
6205
6227
|
fail ArgumentError, "Missing the required parameter 'tag' when calling DefaultApi.patch_hash_tag"
|
|
6206
6228
|
end
|
|
6207
6229
|
# resource path
|
|
6208
|
-
local_var_path = '/api/v1/hash-tags/{tag}'.sub('{
|
|
6230
|
+
local_var_path = '/api/v1/hash-tags/{tag}'.sub('{tag}', CGI.escape(tag.to_s))
|
|
6209
6231
|
|
|
6210
6232
|
# query parameters
|
|
6211
6233
|
query_params = opts[:query_params] || {}
|
|
6212
|
-
query_params[:'tenantId'] =
|
|
6234
|
+
query_params[:'tenantId'] = tenant_id
|
|
6213
6235
|
|
|
6214
6236
|
# header parameters
|
|
6215
6237
|
header_params = opts[:header_params] || {}
|
|
@@ -6225,10 +6247,10 @@ module FastCommentsClient
|
|
|
6225
6247
|
form_params = opts[:form_params] || {}
|
|
6226
6248
|
|
|
6227
6249
|
# http body (model)
|
|
6228
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
6250
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_hash_tag_body)
|
|
6229
6251
|
|
|
6230
6252
|
# return_type
|
|
6231
|
-
return_type = opts[:debug_return_type] || '
|
|
6253
|
+
return_type = opts[:debug_return_type] || 'UpdateHashTagResponse'
|
|
6232
6254
|
|
|
6233
6255
|
# auth_names
|
|
6234
6256
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6282,7 +6304,7 @@ module FastCommentsClient
|
|
|
6282
6304
|
fail ArgumentError, "Missing the required parameter 'update_api_page_data' when calling DefaultApi.patch_page"
|
|
6283
6305
|
end
|
|
6284
6306
|
# resource path
|
|
6285
|
-
local_var_path = '/api/v1/pages/{id}'.sub('{
|
|
6307
|
+
local_var_path = '/api/v1/pages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
6286
6308
|
|
|
6287
6309
|
# query parameters
|
|
6288
6310
|
query_params = opts[:query_params] || {}
|
|
@@ -6361,7 +6383,7 @@ module FastCommentsClient
|
|
|
6361
6383
|
fail ArgumentError, "Missing the required parameter 'update_apisso_user_data' when calling DefaultApi.patch_sso_user"
|
|
6362
6384
|
end
|
|
6363
6385
|
# resource path
|
|
6364
|
-
local_var_path = '/api/v1/sso-users/{id}'.sub('{
|
|
6386
|
+
local_var_path = '/api/v1/sso-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
6365
6387
|
|
|
6366
6388
|
# query parameters
|
|
6367
6389
|
query_params = opts[:query_params] || {}
|
|
@@ -6411,7 +6433,7 @@ module FastCommentsClient
|
|
|
6411
6433
|
# @param domain_to_update [String]
|
|
6412
6434
|
# @param update_domain_config_params [UpdateDomainConfigParams]
|
|
6413
6435
|
# @param [Hash] opts the optional parameters
|
|
6414
|
-
# @return [
|
|
6436
|
+
# @return [PutDomainConfigResponse]
|
|
6415
6437
|
def put_domain_config(tenant_id, domain_to_update, update_domain_config_params, opts = {})
|
|
6416
6438
|
data, _status_code, _headers = put_domain_config_with_http_info(tenant_id, domain_to_update, update_domain_config_params, opts)
|
|
6417
6439
|
data
|
|
@@ -6421,7 +6443,7 @@ module FastCommentsClient
|
|
|
6421
6443
|
# @param domain_to_update [String]
|
|
6422
6444
|
# @param update_domain_config_params [UpdateDomainConfigParams]
|
|
6423
6445
|
# @param [Hash] opts the optional parameters
|
|
6424
|
-
# @return [Array<(
|
|
6446
|
+
# @return [Array<(PutDomainConfigResponse, Integer, Hash)>] PutDomainConfigResponse data, response status code and response headers
|
|
6425
6447
|
def put_domain_config_with_http_info(tenant_id, domain_to_update, update_domain_config_params, opts = {})
|
|
6426
6448
|
if @api_client.config.debugging
|
|
6427
6449
|
@api_client.config.logger.debug 'Calling API: DefaultApi.put_domain_config ...'
|
|
@@ -6439,7 +6461,7 @@ module FastCommentsClient
|
|
|
6439
6461
|
fail ArgumentError, "Missing the required parameter 'update_domain_config_params' when calling DefaultApi.put_domain_config"
|
|
6440
6462
|
end
|
|
6441
6463
|
# resource path
|
|
6442
|
-
local_var_path = '/api/v1/domain-configs/{domainToUpdate}'.sub('{
|
|
6464
|
+
local_var_path = '/api/v1/domain-configs/{domainToUpdate}'.sub('{domainToUpdate}', CGI.escape(domain_to_update.to_s))
|
|
6443
6465
|
|
|
6444
6466
|
# query parameters
|
|
6445
6467
|
query_params = opts[:query_params] || {}
|
|
@@ -6462,7 +6484,7 @@ module FastCommentsClient
|
|
|
6462
6484
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_domain_config_params)
|
|
6463
6485
|
|
|
6464
6486
|
# return_type
|
|
6465
|
-
return_type = opts[:debug_return_type] || '
|
|
6487
|
+
return_type = opts[:debug_return_type] || 'PutDomainConfigResponse'
|
|
6466
6488
|
|
|
6467
6489
|
# auth_names
|
|
6468
6490
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6518,7 +6540,7 @@ module FastCommentsClient
|
|
|
6518
6540
|
fail ArgumentError, "Missing the required parameter 'update_apisso_user_data' when calling DefaultApi.put_sso_user"
|
|
6519
6541
|
end
|
|
6520
6542
|
# resource path
|
|
6521
|
-
local_var_path = '/api/v1/sso-users/{id}'.sub('{
|
|
6543
|
+
local_var_path = '/api/v1/sso-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
6522
6544
|
|
|
6523
6545
|
# query parameters
|
|
6524
6546
|
query_params = opts[:query_params] || {}
|
|
@@ -6568,7 +6590,7 @@ module FastCommentsClient
|
|
|
6568
6590
|
# @param render_email_template_body [RenderEmailTemplateBody]
|
|
6569
6591
|
# @param [Hash] opts the optional parameters
|
|
6570
6592
|
# @option opts [String] :locale
|
|
6571
|
-
# @return [
|
|
6593
|
+
# @return [RenderEmailTemplateResponse]
|
|
6572
6594
|
def render_email_template(tenant_id, render_email_template_body, opts = {})
|
|
6573
6595
|
data, _status_code, _headers = render_email_template_with_http_info(tenant_id, render_email_template_body, opts)
|
|
6574
6596
|
data
|
|
@@ -6578,7 +6600,7 @@ module FastCommentsClient
|
|
|
6578
6600
|
# @param render_email_template_body [RenderEmailTemplateBody]
|
|
6579
6601
|
# @param [Hash] opts the optional parameters
|
|
6580
6602
|
# @option opts [String] :locale
|
|
6581
|
-
# @return [Array<(
|
|
6603
|
+
# @return [Array<(RenderEmailTemplateResponse, Integer, Hash)>] RenderEmailTemplateResponse data, response status code and response headers
|
|
6582
6604
|
def render_email_template_with_http_info(tenant_id, render_email_template_body, opts = {})
|
|
6583
6605
|
if @api_client.config.debugging
|
|
6584
6606
|
@api_client.config.logger.debug 'Calling API: DefaultApi.render_email_template ...'
|
|
@@ -6616,7 +6638,7 @@ module FastCommentsClient
|
|
|
6616
6638
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(render_email_template_body)
|
|
6617
6639
|
|
|
6618
6640
|
# return_type
|
|
6619
|
-
return_type = opts[:debug_return_type] || '
|
|
6641
|
+
return_type = opts[:debug_return_type] || 'RenderEmailTemplateResponse'
|
|
6620
6642
|
|
|
6621
6643
|
# auth_names
|
|
6622
6644
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6642,7 +6664,7 @@ module FastCommentsClient
|
|
|
6642
6664
|
# @param id [String]
|
|
6643
6665
|
# @param replace_tenant_package_body [ReplaceTenantPackageBody]
|
|
6644
6666
|
# @param [Hash] opts the optional parameters
|
|
6645
|
-
# @return [
|
|
6667
|
+
# @return [APIEmptyResponse]
|
|
6646
6668
|
def replace_tenant_package(tenant_id, id, replace_tenant_package_body, opts = {})
|
|
6647
6669
|
data, _status_code, _headers = replace_tenant_package_with_http_info(tenant_id, id, replace_tenant_package_body, opts)
|
|
6648
6670
|
data
|
|
@@ -6652,7 +6674,7 @@ module FastCommentsClient
|
|
|
6652
6674
|
# @param id [String]
|
|
6653
6675
|
# @param replace_tenant_package_body [ReplaceTenantPackageBody]
|
|
6654
6676
|
# @param [Hash] opts the optional parameters
|
|
6655
|
-
# @return [Array<(
|
|
6677
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6656
6678
|
def replace_tenant_package_with_http_info(tenant_id, id, replace_tenant_package_body, opts = {})
|
|
6657
6679
|
if @api_client.config.debugging
|
|
6658
6680
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_tenant_package ...'
|
|
@@ -6670,7 +6692,7 @@ module FastCommentsClient
|
|
|
6670
6692
|
fail ArgumentError, "Missing the required parameter 'replace_tenant_package_body' when calling DefaultApi.replace_tenant_package"
|
|
6671
6693
|
end
|
|
6672
6694
|
# resource path
|
|
6673
|
-
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{
|
|
6695
|
+
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
6674
6696
|
|
|
6675
6697
|
# query parameters
|
|
6676
6698
|
query_params = opts[:query_params] || {}
|
|
@@ -6693,7 +6715,7 @@ module FastCommentsClient
|
|
|
6693
6715
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(replace_tenant_package_body)
|
|
6694
6716
|
|
|
6695
6717
|
# return_type
|
|
6696
|
-
return_type = opts[:debug_return_type] || '
|
|
6718
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6697
6719
|
|
|
6698
6720
|
# auth_names
|
|
6699
6721
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6720,7 +6742,7 @@ module FastCommentsClient
|
|
|
6720
6742
|
# @param replace_tenant_user_body [ReplaceTenantUserBody]
|
|
6721
6743
|
# @param [Hash] opts the optional parameters
|
|
6722
6744
|
# @option opts [String] :update_comments
|
|
6723
|
-
# @return [
|
|
6745
|
+
# @return [APIEmptyResponse]
|
|
6724
6746
|
def replace_tenant_user(tenant_id, id, replace_tenant_user_body, opts = {})
|
|
6725
6747
|
data, _status_code, _headers = replace_tenant_user_with_http_info(tenant_id, id, replace_tenant_user_body, opts)
|
|
6726
6748
|
data
|
|
@@ -6731,7 +6753,7 @@ module FastCommentsClient
|
|
|
6731
6753
|
# @param replace_tenant_user_body [ReplaceTenantUserBody]
|
|
6732
6754
|
# @param [Hash] opts the optional parameters
|
|
6733
6755
|
# @option opts [String] :update_comments
|
|
6734
|
-
# @return [Array<(
|
|
6756
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6735
6757
|
def replace_tenant_user_with_http_info(tenant_id, id, replace_tenant_user_body, opts = {})
|
|
6736
6758
|
if @api_client.config.debugging
|
|
6737
6759
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_tenant_user ...'
|
|
@@ -6749,7 +6771,7 @@ module FastCommentsClient
|
|
|
6749
6771
|
fail ArgumentError, "Missing the required parameter 'replace_tenant_user_body' when calling DefaultApi.replace_tenant_user"
|
|
6750
6772
|
end
|
|
6751
6773
|
# resource path
|
|
6752
|
-
local_var_path = '/api/v1/tenant-users/{id}'.sub('{
|
|
6774
|
+
local_var_path = '/api/v1/tenant-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
6753
6775
|
|
|
6754
6776
|
# query parameters
|
|
6755
6777
|
query_params = opts[:query_params] || {}
|
|
@@ -6773,7 +6795,7 @@ module FastCommentsClient
|
|
|
6773
6795
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(replace_tenant_user_body)
|
|
6774
6796
|
|
|
6775
6797
|
# return_type
|
|
6776
|
-
return_type = opts[:debug_return_type] || '
|
|
6798
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6777
6799
|
|
|
6778
6800
|
# auth_names
|
|
6779
6801
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6802,7 +6824,7 @@ module FastCommentsClient
|
|
|
6802
6824
|
# @option opts [Boolean] :do_spam_check
|
|
6803
6825
|
# @option opts [Boolean] :send_emails
|
|
6804
6826
|
# @option opts [Boolean] :populate_notifications
|
|
6805
|
-
# @return [
|
|
6827
|
+
# @return [APISaveCommentResponse]
|
|
6806
6828
|
def save_comment(tenant_id, create_comment_params, opts = {})
|
|
6807
6829
|
data, _status_code, _headers = save_comment_with_http_info(tenant_id, create_comment_params, opts)
|
|
6808
6830
|
data
|
|
@@ -6815,7 +6837,7 @@ module FastCommentsClient
|
|
|
6815
6837
|
# @option opts [Boolean] :do_spam_check
|
|
6816
6838
|
# @option opts [Boolean] :send_emails
|
|
6817
6839
|
# @option opts [Boolean] :populate_notifications
|
|
6818
|
-
# @return [Array<(
|
|
6840
|
+
# @return [Array<(APISaveCommentResponse, Integer, Hash)>] APISaveCommentResponse data, response status code and response headers
|
|
6819
6841
|
def save_comment_with_http_info(tenant_id, create_comment_params, opts = {})
|
|
6820
6842
|
if @api_client.config.debugging
|
|
6821
6843
|
@api_client.config.logger.debug 'Calling API: DefaultApi.save_comment ...'
|
|
@@ -6856,7 +6878,7 @@ module FastCommentsClient
|
|
|
6856
6878
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_comment_params)
|
|
6857
6879
|
|
|
6858
6880
|
# return_type
|
|
6859
|
-
return_type = opts[:debug_return_type] || '
|
|
6881
|
+
return_type = opts[:debug_return_type] || 'APISaveCommentResponse'
|
|
6860
6882
|
|
|
6861
6883
|
# auth_names
|
|
6862
6884
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6885,7 +6907,7 @@ module FastCommentsClient
|
|
|
6885
6907
|
# @option opts [Boolean] :do_spam_check
|
|
6886
6908
|
# @option opts [Boolean] :send_emails
|
|
6887
6909
|
# @option opts [Boolean] :populate_notifications
|
|
6888
|
-
# @return [Array<
|
|
6910
|
+
# @return [Array<SaveCommentsBulkResponse>]
|
|
6889
6911
|
def save_comments_bulk(tenant_id, create_comment_params, opts = {})
|
|
6890
6912
|
data, _status_code, _headers = save_comments_bulk_with_http_info(tenant_id, create_comment_params, opts)
|
|
6891
6913
|
data
|
|
@@ -6898,7 +6920,7 @@ module FastCommentsClient
|
|
|
6898
6920
|
# @option opts [Boolean] :do_spam_check
|
|
6899
6921
|
# @option opts [Boolean] :send_emails
|
|
6900
6922
|
# @option opts [Boolean] :populate_notifications
|
|
6901
|
-
# @return [Array<(Array<
|
|
6923
|
+
# @return [Array<(Array<SaveCommentsBulkResponse>, Integer, Hash)>] Array<SaveCommentsBulkResponse> data, response status code and response headers
|
|
6902
6924
|
def save_comments_bulk_with_http_info(tenant_id, create_comment_params, opts = {})
|
|
6903
6925
|
if @api_client.config.debugging
|
|
6904
6926
|
@api_client.config.logger.debug 'Calling API: DefaultApi.save_comments_bulk ...'
|
|
@@ -6939,7 +6961,7 @@ module FastCommentsClient
|
|
|
6939
6961
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_comment_params)
|
|
6940
6962
|
|
|
6941
6963
|
# return_type
|
|
6942
|
-
return_type = opts[:debug_return_type] || 'Array<
|
|
6964
|
+
return_type = opts[:debug_return_type] || 'Array<SaveCommentsBulkResponse>'
|
|
6943
6965
|
|
|
6944
6966
|
# auth_names
|
|
6945
6967
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6965,7 +6987,7 @@ module FastCommentsClient
|
|
|
6965
6987
|
# @param id [String]
|
|
6966
6988
|
# @param from_name [String]
|
|
6967
6989
|
# @param [Hash] opts the optional parameters
|
|
6968
|
-
# @return [
|
|
6990
|
+
# @return [APIEmptyResponse]
|
|
6969
6991
|
def send_invite(tenant_id, id, from_name, opts = {})
|
|
6970
6992
|
data, _status_code, _headers = send_invite_with_http_info(tenant_id, id, from_name, opts)
|
|
6971
6993
|
data
|
|
@@ -6975,7 +6997,7 @@ module FastCommentsClient
|
|
|
6975
6997
|
# @param id [String]
|
|
6976
6998
|
# @param from_name [String]
|
|
6977
6999
|
# @param [Hash] opts the optional parameters
|
|
6978
|
-
# @return [Array<(
|
|
7000
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6979
7001
|
def send_invite_with_http_info(tenant_id, id, from_name, opts = {})
|
|
6980
7002
|
if @api_client.config.debugging
|
|
6981
7003
|
@api_client.config.logger.debug 'Calling API: DefaultApi.send_invite ...'
|
|
@@ -6993,7 +7015,7 @@ module FastCommentsClient
|
|
|
6993
7015
|
fail ArgumentError, "Missing the required parameter 'from_name' when calling DefaultApi.send_invite"
|
|
6994
7016
|
end
|
|
6995
7017
|
# resource path
|
|
6996
|
-
local_var_path = '/api/v1/moderators/{id}/send-invite'.sub('{
|
|
7018
|
+
local_var_path = '/api/v1/moderators/{id}/send-invite'.sub('{id}', CGI.escape(id.to_s))
|
|
6997
7019
|
|
|
6998
7020
|
# query parameters
|
|
6999
7021
|
query_params = opts[:query_params] || {}
|
|
@@ -7012,7 +7034,7 @@ module FastCommentsClient
|
|
|
7012
7034
|
post_body = opts[:debug_body]
|
|
7013
7035
|
|
|
7014
7036
|
# return_type
|
|
7015
|
-
return_type = opts[:debug_return_type] || '
|
|
7037
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7016
7038
|
|
|
7017
7039
|
# auth_names
|
|
7018
7040
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7038,7 +7060,7 @@ module FastCommentsClient
|
|
|
7038
7060
|
# @param id [String]
|
|
7039
7061
|
# @param [Hash] opts the optional parameters
|
|
7040
7062
|
# @option opts [String] :redirect_url
|
|
7041
|
-
# @return [
|
|
7063
|
+
# @return [APIEmptyResponse]
|
|
7042
7064
|
def send_login_link(tenant_id, id, opts = {})
|
|
7043
7065
|
data, _status_code, _headers = send_login_link_with_http_info(tenant_id, id, opts)
|
|
7044
7066
|
data
|
|
@@ -7048,7 +7070,7 @@ module FastCommentsClient
|
|
|
7048
7070
|
# @param id [String]
|
|
7049
7071
|
# @param [Hash] opts the optional parameters
|
|
7050
7072
|
# @option opts [String] :redirect_url
|
|
7051
|
-
# @return [Array<(
|
|
7073
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7052
7074
|
def send_login_link_with_http_info(tenant_id, id, opts = {})
|
|
7053
7075
|
if @api_client.config.debugging
|
|
7054
7076
|
@api_client.config.logger.debug 'Calling API: DefaultApi.send_login_link ...'
|
|
@@ -7062,7 +7084,7 @@ module FastCommentsClient
|
|
|
7062
7084
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.send_login_link"
|
|
7063
7085
|
end
|
|
7064
7086
|
# resource path
|
|
7065
|
-
local_var_path = '/api/v1/tenant-users/{id}/send-login-link'.sub('{
|
|
7087
|
+
local_var_path = '/api/v1/tenant-users/{id}/send-login-link'.sub('{id}', CGI.escape(id.to_s))
|
|
7066
7088
|
|
|
7067
7089
|
# query parameters
|
|
7068
7090
|
query_params = opts[:query_params] || {}
|
|
@@ -7081,7 +7103,7 @@ module FastCommentsClient
|
|
|
7081
7103
|
post_body = opts[:debug_body]
|
|
7082
7104
|
|
|
7083
7105
|
# return_type
|
|
7084
|
-
return_type = opts[:debug_return_type] || '
|
|
7106
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7085
7107
|
|
|
7086
7108
|
# auth_names
|
|
7087
7109
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7109,7 +7131,7 @@ module FastCommentsClient
|
|
|
7109
7131
|
# @param [Hash] opts the optional parameters
|
|
7110
7132
|
# @option opts [String] :user_id
|
|
7111
7133
|
# @option opts [String] :anon_user_id
|
|
7112
|
-
# @return [
|
|
7134
|
+
# @return [UnblockSuccess]
|
|
7113
7135
|
def un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, opts = {})
|
|
7114
7136
|
data, _status_code, _headers = un_block_user_from_comment_with_http_info(tenant_id, id, un_block_from_comment_params, opts)
|
|
7115
7137
|
data
|
|
@@ -7121,7 +7143,7 @@ module FastCommentsClient
|
|
|
7121
7143
|
# @param [Hash] opts the optional parameters
|
|
7122
7144
|
# @option opts [String] :user_id
|
|
7123
7145
|
# @option opts [String] :anon_user_id
|
|
7124
|
-
# @return [Array<(
|
|
7146
|
+
# @return [Array<(UnblockSuccess, Integer, Hash)>] UnblockSuccess data, response status code and response headers
|
|
7125
7147
|
def un_block_user_from_comment_with_http_info(tenant_id, id, un_block_from_comment_params, opts = {})
|
|
7126
7148
|
if @api_client.config.debugging
|
|
7127
7149
|
@api_client.config.logger.debug 'Calling API: DefaultApi.un_block_user_from_comment ...'
|
|
@@ -7139,7 +7161,7 @@ module FastCommentsClient
|
|
|
7139
7161
|
fail ArgumentError, "Missing the required parameter 'un_block_from_comment_params' when calling DefaultApi.un_block_user_from_comment"
|
|
7140
7162
|
end
|
|
7141
7163
|
# resource path
|
|
7142
|
-
local_var_path = '/api/v1/comments/{id}/un-block'.sub('{
|
|
7164
|
+
local_var_path = '/api/v1/comments/{id}/un-block'.sub('{id}', CGI.escape(id.to_s))
|
|
7143
7165
|
|
|
7144
7166
|
# query parameters
|
|
7145
7167
|
query_params = opts[:query_params] || {}
|
|
@@ -7164,7 +7186,7 @@ module FastCommentsClient
|
|
|
7164
7186
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(un_block_from_comment_params)
|
|
7165
7187
|
|
|
7166
7188
|
# return_type
|
|
7167
|
-
return_type = opts[:debug_return_type] || '
|
|
7189
|
+
return_type = opts[:debug_return_type] || 'UnblockSuccess'
|
|
7168
7190
|
|
|
7169
7191
|
# auth_names
|
|
7170
7192
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7191,7 +7213,7 @@ module FastCommentsClient
|
|
|
7191
7213
|
# @param [Hash] opts the optional parameters
|
|
7192
7214
|
# @option opts [String] :user_id
|
|
7193
7215
|
# @option opts [String] :anon_user_id
|
|
7194
|
-
# @return [
|
|
7216
|
+
# @return [FlagCommentResponse]
|
|
7195
7217
|
def un_flag_comment(tenant_id, id, opts = {})
|
|
7196
7218
|
data, _status_code, _headers = un_flag_comment_with_http_info(tenant_id, id, opts)
|
|
7197
7219
|
data
|
|
@@ -7202,7 +7224,7 @@ module FastCommentsClient
|
|
|
7202
7224
|
# @param [Hash] opts the optional parameters
|
|
7203
7225
|
# @option opts [String] :user_id
|
|
7204
7226
|
# @option opts [String] :anon_user_id
|
|
7205
|
-
# @return [Array<(
|
|
7227
|
+
# @return [Array<(FlagCommentResponse, Integer, Hash)>] FlagCommentResponse data, response status code and response headers
|
|
7206
7228
|
def un_flag_comment_with_http_info(tenant_id, id, opts = {})
|
|
7207
7229
|
if @api_client.config.debugging
|
|
7208
7230
|
@api_client.config.logger.debug 'Calling API: DefaultApi.un_flag_comment ...'
|
|
@@ -7216,7 +7238,7 @@ module FastCommentsClient
|
|
|
7216
7238
|
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.un_flag_comment"
|
|
7217
7239
|
end
|
|
7218
7240
|
# resource path
|
|
7219
|
-
local_var_path = '/api/v1/comments/{id}/un-flag'.sub('{
|
|
7241
|
+
local_var_path = '/api/v1/comments/{id}/un-flag'.sub('{id}', CGI.escape(id.to_s))
|
|
7220
7242
|
|
|
7221
7243
|
# query parameters
|
|
7222
7244
|
query_params = opts[:query_params] || {}
|
|
@@ -7236,7 +7258,7 @@ module FastCommentsClient
|
|
|
7236
7258
|
post_body = opts[:debug_body]
|
|
7237
7259
|
|
|
7238
7260
|
# return_type
|
|
7239
|
-
return_type = opts[:debug_return_type] || '
|
|
7261
|
+
return_type = opts[:debug_return_type] || 'FlagCommentResponse'
|
|
7240
7262
|
|
|
7241
7263
|
# auth_names
|
|
7242
7264
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7265,7 +7287,7 @@ module FastCommentsClient
|
|
|
7265
7287
|
# @option opts [String] :context_user_id
|
|
7266
7288
|
# @option opts [Boolean] :do_spam_check
|
|
7267
7289
|
# @option opts [Boolean] :is_live
|
|
7268
|
-
# @return [
|
|
7290
|
+
# @return [APIEmptyResponse]
|
|
7269
7291
|
def update_comment(tenant_id, id, updatable_comment_params, opts = {})
|
|
7270
7292
|
data, _status_code, _headers = update_comment_with_http_info(tenant_id, id, updatable_comment_params, opts)
|
|
7271
7293
|
data
|
|
@@ -7278,7 +7300,7 @@ module FastCommentsClient
|
|
|
7278
7300
|
# @option opts [String] :context_user_id
|
|
7279
7301
|
# @option opts [Boolean] :do_spam_check
|
|
7280
7302
|
# @option opts [Boolean] :is_live
|
|
7281
|
-
# @return [Array<(
|
|
7303
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7282
7304
|
def update_comment_with_http_info(tenant_id, id, updatable_comment_params, opts = {})
|
|
7283
7305
|
if @api_client.config.debugging
|
|
7284
7306
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_comment ...'
|
|
@@ -7296,7 +7318,7 @@ module FastCommentsClient
|
|
|
7296
7318
|
fail ArgumentError, "Missing the required parameter 'updatable_comment_params' when calling DefaultApi.update_comment"
|
|
7297
7319
|
end
|
|
7298
7320
|
# resource path
|
|
7299
|
-
local_var_path = '/api/v1/comments/{id}'.sub('{
|
|
7321
|
+
local_var_path = '/api/v1/comments/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7300
7322
|
|
|
7301
7323
|
# query parameters
|
|
7302
7324
|
query_params = opts[:query_params] || {}
|
|
@@ -7322,7 +7344,7 @@ module FastCommentsClient
|
|
|
7322
7344
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(updatable_comment_params)
|
|
7323
7345
|
|
|
7324
7346
|
# return_type
|
|
7325
|
-
return_type = opts[:debug_return_type] || '
|
|
7347
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7326
7348
|
|
|
7327
7349
|
# auth_names
|
|
7328
7350
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7348,7 +7370,7 @@ module FastCommentsClient
|
|
|
7348
7370
|
# @param id [String]
|
|
7349
7371
|
# @param update_email_template_body [UpdateEmailTemplateBody]
|
|
7350
7372
|
# @param [Hash] opts the optional parameters
|
|
7351
|
-
# @return [
|
|
7373
|
+
# @return [APIEmptyResponse]
|
|
7352
7374
|
def update_email_template(tenant_id, id, update_email_template_body, opts = {})
|
|
7353
7375
|
data, _status_code, _headers = update_email_template_with_http_info(tenant_id, id, update_email_template_body, opts)
|
|
7354
7376
|
data
|
|
@@ -7358,7 +7380,7 @@ module FastCommentsClient
|
|
|
7358
7380
|
# @param id [String]
|
|
7359
7381
|
# @param update_email_template_body [UpdateEmailTemplateBody]
|
|
7360
7382
|
# @param [Hash] opts the optional parameters
|
|
7361
|
-
# @return [Array<(
|
|
7383
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7362
7384
|
def update_email_template_with_http_info(tenant_id, id, update_email_template_body, opts = {})
|
|
7363
7385
|
if @api_client.config.debugging
|
|
7364
7386
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_email_template ...'
|
|
@@ -7376,7 +7398,7 @@ module FastCommentsClient
|
|
|
7376
7398
|
fail ArgumentError, "Missing the required parameter 'update_email_template_body' when calling DefaultApi.update_email_template"
|
|
7377
7399
|
end
|
|
7378
7400
|
# resource path
|
|
7379
|
-
local_var_path = '/api/v1/email-templates/{id}'.sub('{
|
|
7401
|
+
local_var_path = '/api/v1/email-templates/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7380
7402
|
|
|
7381
7403
|
# query parameters
|
|
7382
7404
|
query_params = opts[:query_params] || {}
|
|
@@ -7399,7 +7421,7 @@ module FastCommentsClient
|
|
|
7399
7421
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_email_template_body)
|
|
7400
7422
|
|
|
7401
7423
|
# return_type
|
|
7402
|
-
return_type = opts[:debug_return_type] || '
|
|
7424
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7403
7425
|
|
|
7404
7426
|
# auth_names
|
|
7405
7427
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7425,7 +7447,7 @@ module FastCommentsClient
|
|
|
7425
7447
|
# @param id [String]
|
|
7426
7448
|
# @param feed_post [FeedPost]
|
|
7427
7449
|
# @param [Hash] opts the optional parameters
|
|
7428
|
-
# @return [
|
|
7450
|
+
# @return [APIEmptyResponse]
|
|
7429
7451
|
def update_feed_post(tenant_id, id, feed_post, opts = {})
|
|
7430
7452
|
data, _status_code, _headers = update_feed_post_with_http_info(tenant_id, id, feed_post, opts)
|
|
7431
7453
|
data
|
|
@@ -7435,7 +7457,7 @@ module FastCommentsClient
|
|
|
7435
7457
|
# @param id [String]
|
|
7436
7458
|
# @param feed_post [FeedPost]
|
|
7437
7459
|
# @param [Hash] opts the optional parameters
|
|
7438
|
-
# @return [Array<(
|
|
7460
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7439
7461
|
def update_feed_post_with_http_info(tenant_id, id, feed_post, opts = {})
|
|
7440
7462
|
if @api_client.config.debugging
|
|
7441
7463
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_feed_post ...'
|
|
@@ -7453,7 +7475,7 @@ module FastCommentsClient
|
|
|
7453
7475
|
fail ArgumentError, "Missing the required parameter 'feed_post' when calling DefaultApi.update_feed_post"
|
|
7454
7476
|
end
|
|
7455
7477
|
# resource path
|
|
7456
|
-
local_var_path = '/api/v1/feed-posts/{id}'.sub('{
|
|
7478
|
+
local_var_path = '/api/v1/feed-posts/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7457
7479
|
|
|
7458
7480
|
# query parameters
|
|
7459
7481
|
query_params = opts[:query_params] || {}
|
|
@@ -7476,7 +7498,7 @@ module FastCommentsClient
|
|
|
7476
7498
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(feed_post)
|
|
7477
7499
|
|
|
7478
7500
|
# return_type
|
|
7479
|
-
return_type = opts[:debug_return_type] || '
|
|
7501
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7480
7502
|
|
|
7481
7503
|
# auth_names
|
|
7482
7504
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7502,7 +7524,7 @@ module FastCommentsClient
|
|
|
7502
7524
|
# @param id [String]
|
|
7503
7525
|
# @param update_moderator_body [UpdateModeratorBody]
|
|
7504
7526
|
# @param [Hash] opts the optional parameters
|
|
7505
|
-
# @return [
|
|
7527
|
+
# @return [APIEmptyResponse]
|
|
7506
7528
|
def update_moderator(tenant_id, id, update_moderator_body, opts = {})
|
|
7507
7529
|
data, _status_code, _headers = update_moderator_with_http_info(tenant_id, id, update_moderator_body, opts)
|
|
7508
7530
|
data
|
|
@@ -7512,7 +7534,7 @@ module FastCommentsClient
|
|
|
7512
7534
|
# @param id [String]
|
|
7513
7535
|
# @param update_moderator_body [UpdateModeratorBody]
|
|
7514
7536
|
# @param [Hash] opts the optional parameters
|
|
7515
|
-
# @return [Array<(
|
|
7537
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7516
7538
|
def update_moderator_with_http_info(tenant_id, id, update_moderator_body, opts = {})
|
|
7517
7539
|
if @api_client.config.debugging
|
|
7518
7540
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_moderator ...'
|
|
@@ -7530,7 +7552,7 @@ module FastCommentsClient
|
|
|
7530
7552
|
fail ArgumentError, "Missing the required parameter 'update_moderator_body' when calling DefaultApi.update_moderator"
|
|
7531
7553
|
end
|
|
7532
7554
|
# resource path
|
|
7533
|
-
local_var_path = '/api/v1/moderators/{id}'.sub('{
|
|
7555
|
+
local_var_path = '/api/v1/moderators/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7534
7556
|
|
|
7535
7557
|
# query parameters
|
|
7536
7558
|
query_params = opts[:query_params] || {}
|
|
@@ -7553,7 +7575,7 @@ module FastCommentsClient
|
|
|
7553
7575
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_moderator_body)
|
|
7554
7576
|
|
|
7555
7577
|
# return_type
|
|
7556
|
-
return_type = opts[:debug_return_type] || '
|
|
7578
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7557
7579
|
|
|
7558
7580
|
# auth_names
|
|
7559
7581
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7580,7 +7602,7 @@ module FastCommentsClient
|
|
|
7580
7602
|
# @param update_notification_body [UpdateNotificationBody]
|
|
7581
7603
|
# @param [Hash] opts the optional parameters
|
|
7582
7604
|
# @option opts [String] :user_id
|
|
7583
|
-
# @return [
|
|
7605
|
+
# @return [APIEmptyResponse]
|
|
7584
7606
|
def update_notification(tenant_id, id, update_notification_body, opts = {})
|
|
7585
7607
|
data, _status_code, _headers = update_notification_with_http_info(tenant_id, id, update_notification_body, opts)
|
|
7586
7608
|
data
|
|
@@ -7591,7 +7613,7 @@ module FastCommentsClient
|
|
|
7591
7613
|
# @param update_notification_body [UpdateNotificationBody]
|
|
7592
7614
|
# @param [Hash] opts the optional parameters
|
|
7593
7615
|
# @option opts [String] :user_id
|
|
7594
|
-
# @return [Array<(
|
|
7616
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7595
7617
|
def update_notification_with_http_info(tenant_id, id, update_notification_body, opts = {})
|
|
7596
7618
|
if @api_client.config.debugging
|
|
7597
7619
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_notification ...'
|
|
@@ -7609,7 +7631,7 @@ module FastCommentsClient
|
|
|
7609
7631
|
fail ArgumentError, "Missing the required parameter 'update_notification_body' when calling DefaultApi.update_notification"
|
|
7610
7632
|
end
|
|
7611
7633
|
# resource path
|
|
7612
|
-
local_var_path = '/api/v1/notifications/{id}'.sub('{
|
|
7634
|
+
local_var_path = '/api/v1/notifications/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7613
7635
|
|
|
7614
7636
|
# query parameters
|
|
7615
7637
|
query_params = opts[:query_params] || {}
|
|
@@ -7633,7 +7655,7 @@ module FastCommentsClient
|
|
|
7633
7655
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_notification_body)
|
|
7634
7656
|
|
|
7635
7657
|
# return_type
|
|
7636
|
-
return_type = opts[:debug_return_type] || '
|
|
7658
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7637
7659
|
|
|
7638
7660
|
# auth_names
|
|
7639
7661
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7659,7 +7681,7 @@ module FastCommentsClient
|
|
|
7659
7681
|
# @param id [String]
|
|
7660
7682
|
# @param update_question_config_body [UpdateQuestionConfigBody]
|
|
7661
7683
|
# @param [Hash] opts the optional parameters
|
|
7662
|
-
# @return [
|
|
7684
|
+
# @return [APIEmptyResponse]
|
|
7663
7685
|
def update_question_config(tenant_id, id, update_question_config_body, opts = {})
|
|
7664
7686
|
data, _status_code, _headers = update_question_config_with_http_info(tenant_id, id, update_question_config_body, opts)
|
|
7665
7687
|
data
|
|
@@ -7669,7 +7691,7 @@ module FastCommentsClient
|
|
|
7669
7691
|
# @param id [String]
|
|
7670
7692
|
# @param update_question_config_body [UpdateQuestionConfigBody]
|
|
7671
7693
|
# @param [Hash] opts the optional parameters
|
|
7672
|
-
# @return [Array<(
|
|
7694
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7673
7695
|
def update_question_config_with_http_info(tenant_id, id, update_question_config_body, opts = {})
|
|
7674
7696
|
if @api_client.config.debugging
|
|
7675
7697
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_question_config ...'
|
|
@@ -7687,7 +7709,7 @@ module FastCommentsClient
|
|
|
7687
7709
|
fail ArgumentError, "Missing the required parameter 'update_question_config_body' when calling DefaultApi.update_question_config"
|
|
7688
7710
|
end
|
|
7689
7711
|
# resource path
|
|
7690
|
-
local_var_path = '/api/v1/question-configs/{id}'.sub('{
|
|
7712
|
+
local_var_path = '/api/v1/question-configs/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7691
7713
|
|
|
7692
7714
|
# query parameters
|
|
7693
7715
|
query_params = opts[:query_params] || {}
|
|
@@ -7710,7 +7732,7 @@ module FastCommentsClient
|
|
|
7710
7732
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_question_config_body)
|
|
7711
7733
|
|
|
7712
7734
|
# return_type
|
|
7713
|
-
return_type = opts[:debug_return_type] || '
|
|
7735
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7714
7736
|
|
|
7715
7737
|
# auth_names
|
|
7716
7738
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7736,7 +7758,7 @@ module FastCommentsClient
|
|
|
7736
7758
|
# @param id [String]
|
|
7737
7759
|
# @param update_question_result_body [UpdateQuestionResultBody]
|
|
7738
7760
|
# @param [Hash] opts the optional parameters
|
|
7739
|
-
# @return [
|
|
7761
|
+
# @return [APIEmptyResponse]
|
|
7740
7762
|
def update_question_result(tenant_id, id, update_question_result_body, opts = {})
|
|
7741
7763
|
data, _status_code, _headers = update_question_result_with_http_info(tenant_id, id, update_question_result_body, opts)
|
|
7742
7764
|
data
|
|
@@ -7746,7 +7768,7 @@ module FastCommentsClient
|
|
|
7746
7768
|
# @param id [String]
|
|
7747
7769
|
# @param update_question_result_body [UpdateQuestionResultBody]
|
|
7748
7770
|
# @param [Hash] opts the optional parameters
|
|
7749
|
-
# @return [Array<(
|
|
7771
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7750
7772
|
def update_question_result_with_http_info(tenant_id, id, update_question_result_body, opts = {})
|
|
7751
7773
|
if @api_client.config.debugging
|
|
7752
7774
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_question_result ...'
|
|
@@ -7764,7 +7786,7 @@ module FastCommentsClient
|
|
|
7764
7786
|
fail ArgumentError, "Missing the required parameter 'update_question_result_body' when calling DefaultApi.update_question_result"
|
|
7765
7787
|
end
|
|
7766
7788
|
# resource path
|
|
7767
|
-
local_var_path = '/api/v1/question-results/{id}'.sub('{
|
|
7789
|
+
local_var_path = '/api/v1/question-results/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7768
7790
|
|
|
7769
7791
|
# query parameters
|
|
7770
7792
|
query_params = opts[:query_params] || {}
|
|
@@ -7787,7 +7809,7 @@ module FastCommentsClient
|
|
|
7787
7809
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_question_result_body)
|
|
7788
7810
|
|
|
7789
7811
|
# return_type
|
|
7790
|
-
return_type = opts[:debug_return_type] || '
|
|
7812
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7791
7813
|
|
|
7792
7814
|
# auth_names
|
|
7793
7815
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7843,7 +7865,7 @@ module FastCommentsClient
|
|
|
7843
7865
|
fail ArgumentError, "Missing the required parameter 'update_api_user_subscription_data' when calling DefaultApi.update_subscription"
|
|
7844
7866
|
end
|
|
7845
7867
|
# resource path
|
|
7846
|
-
local_var_path = '/api/v1/subscriptions/{id}'.sub('{
|
|
7868
|
+
local_var_path = '/api/v1/subscriptions/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7847
7869
|
|
|
7848
7870
|
# query parameters
|
|
7849
7871
|
query_params = opts[:query_params] || {}
|
|
@@ -7893,7 +7915,7 @@ module FastCommentsClient
|
|
|
7893
7915
|
# @param id [String]
|
|
7894
7916
|
# @param update_tenant_body [UpdateTenantBody]
|
|
7895
7917
|
# @param [Hash] opts the optional parameters
|
|
7896
|
-
# @return [
|
|
7918
|
+
# @return [APIEmptyResponse]
|
|
7897
7919
|
def update_tenant(tenant_id, id, update_tenant_body, opts = {})
|
|
7898
7920
|
data, _status_code, _headers = update_tenant_with_http_info(tenant_id, id, update_tenant_body, opts)
|
|
7899
7921
|
data
|
|
@@ -7903,7 +7925,7 @@ module FastCommentsClient
|
|
|
7903
7925
|
# @param id [String]
|
|
7904
7926
|
# @param update_tenant_body [UpdateTenantBody]
|
|
7905
7927
|
# @param [Hash] opts the optional parameters
|
|
7906
|
-
# @return [Array<(
|
|
7928
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7907
7929
|
def update_tenant_with_http_info(tenant_id, id, update_tenant_body, opts = {})
|
|
7908
7930
|
if @api_client.config.debugging
|
|
7909
7931
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant ...'
|
|
@@ -7921,7 +7943,7 @@ module FastCommentsClient
|
|
|
7921
7943
|
fail ArgumentError, "Missing the required parameter 'update_tenant_body' when calling DefaultApi.update_tenant"
|
|
7922
7944
|
end
|
|
7923
7945
|
# resource path
|
|
7924
|
-
local_var_path = '/api/v1/tenants/{id}'.sub('{
|
|
7946
|
+
local_var_path = '/api/v1/tenants/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
7925
7947
|
|
|
7926
7948
|
# query parameters
|
|
7927
7949
|
query_params = opts[:query_params] || {}
|
|
@@ -7944,7 +7966,7 @@ module FastCommentsClient
|
|
|
7944
7966
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_body)
|
|
7945
7967
|
|
|
7946
7968
|
# return_type
|
|
7947
|
-
return_type = opts[:debug_return_type] || '
|
|
7969
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7948
7970
|
|
|
7949
7971
|
# auth_names
|
|
7950
7972
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7970,7 +7992,7 @@ module FastCommentsClient
|
|
|
7970
7992
|
# @param id [String]
|
|
7971
7993
|
# @param update_tenant_package_body [UpdateTenantPackageBody]
|
|
7972
7994
|
# @param [Hash] opts the optional parameters
|
|
7973
|
-
# @return [
|
|
7995
|
+
# @return [APIEmptyResponse]
|
|
7974
7996
|
def update_tenant_package(tenant_id, id, update_tenant_package_body, opts = {})
|
|
7975
7997
|
data, _status_code, _headers = update_tenant_package_with_http_info(tenant_id, id, update_tenant_package_body, opts)
|
|
7976
7998
|
data
|
|
@@ -7980,7 +8002,7 @@ module FastCommentsClient
|
|
|
7980
8002
|
# @param id [String]
|
|
7981
8003
|
# @param update_tenant_package_body [UpdateTenantPackageBody]
|
|
7982
8004
|
# @param [Hash] opts the optional parameters
|
|
7983
|
-
# @return [Array<(
|
|
8005
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7984
8006
|
def update_tenant_package_with_http_info(tenant_id, id, update_tenant_package_body, opts = {})
|
|
7985
8007
|
if @api_client.config.debugging
|
|
7986
8008
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant_package ...'
|
|
@@ -7998,7 +8020,7 @@ module FastCommentsClient
|
|
|
7998
8020
|
fail ArgumentError, "Missing the required parameter 'update_tenant_package_body' when calling DefaultApi.update_tenant_package"
|
|
7999
8021
|
end
|
|
8000
8022
|
# resource path
|
|
8001
|
-
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{
|
|
8023
|
+
local_var_path = '/api/v1/tenant-packages/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
8002
8024
|
|
|
8003
8025
|
# query parameters
|
|
8004
8026
|
query_params = opts[:query_params] || {}
|
|
@@ -8021,7 +8043,7 @@ module FastCommentsClient
|
|
|
8021
8043
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_package_body)
|
|
8022
8044
|
|
|
8023
8045
|
# return_type
|
|
8024
|
-
return_type = opts[:debug_return_type] || '
|
|
8046
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
8025
8047
|
|
|
8026
8048
|
# auth_names
|
|
8027
8049
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -8048,7 +8070,7 @@ module FastCommentsClient
|
|
|
8048
8070
|
# @param update_tenant_user_body [UpdateTenantUserBody]
|
|
8049
8071
|
# @param [Hash] opts the optional parameters
|
|
8050
8072
|
# @option opts [String] :update_comments
|
|
8051
|
-
# @return [
|
|
8073
|
+
# @return [APIEmptyResponse]
|
|
8052
8074
|
def update_tenant_user(tenant_id, id, update_tenant_user_body, opts = {})
|
|
8053
8075
|
data, _status_code, _headers = update_tenant_user_with_http_info(tenant_id, id, update_tenant_user_body, opts)
|
|
8054
8076
|
data
|
|
@@ -8059,7 +8081,7 @@ module FastCommentsClient
|
|
|
8059
8081
|
# @param update_tenant_user_body [UpdateTenantUserBody]
|
|
8060
8082
|
# @param [Hash] opts the optional parameters
|
|
8061
8083
|
# @option opts [String] :update_comments
|
|
8062
|
-
# @return [Array<(
|
|
8084
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
8063
8085
|
def update_tenant_user_with_http_info(tenant_id, id, update_tenant_user_body, opts = {})
|
|
8064
8086
|
if @api_client.config.debugging
|
|
8065
8087
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant_user ...'
|
|
@@ -8077,7 +8099,7 @@ module FastCommentsClient
|
|
|
8077
8099
|
fail ArgumentError, "Missing the required parameter 'update_tenant_user_body' when calling DefaultApi.update_tenant_user"
|
|
8078
8100
|
end
|
|
8079
8101
|
# resource path
|
|
8080
|
-
local_var_path = '/api/v1/tenant-users/{id}'.sub('{
|
|
8102
|
+
local_var_path = '/api/v1/tenant-users/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
8081
8103
|
|
|
8082
8104
|
# query parameters
|
|
8083
8105
|
query_params = opts[:query_params] || {}
|
|
@@ -8101,7 +8123,7 @@ module FastCommentsClient
|
|
|
8101
8123
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_user_body)
|
|
8102
8124
|
|
|
8103
8125
|
# return_type
|
|
8104
|
-
return_type = opts[:debug_return_type] || '
|
|
8126
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
8105
8127
|
|
|
8106
8128
|
# auth_names
|
|
8107
8129
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -8127,7 +8149,7 @@ module FastCommentsClient
|
|
|
8127
8149
|
# @param id [String]
|
|
8128
8150
|
# @param update_user_badge_params [UpdateUserBadgeParams]
|
|
8129
8151
|
# @param [Hash] opts the optional parameters
|
|
8130
|
-
# @return [
|
|
8152
|
+
# @return [APIEmptySuccessResponse]
|
|
8131
8153
|
def update_user_badge(tenant_id, id, update_user_badge_params, opts = {})
|
|
8132
8154
|
data, _status_code, _headers = update_user_badge_with_http_info(tenant_id, id, update_user_badge_params, opts)
|
|
8133
8155
|
data
|
|
@@ -8137,7 +8159,7 @@ module FastCommentsClient
|
|
|
8137
8159
|
# @param id [String]
|
|
8138
8160
|
# @param update_user_badge_params [UpdateUserBadgeParams]
|
|
8139
8161
|
# @param [Hash] opts the optional parameters
|
|
8140
|
-
# @return [Array<(
|
|
8162
|
+
# @return [Array<(APIEmptySuccessResponse, Integer, Hash)>] APIEmptySuccessResponse data, response status code and response headers
|
|
8141
8163
|
def update_user_badge_with_http_info(tenant_id, id, update_user_badge_params, opts = {})
|
|
8142
8164
|
if @api_client.config.debugging
|
|
8143
8165
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_user_badge ...'
|
|
@@ -8155,7 +8177,7 @@ module FastCommentsClient
|
|
|
8155
8177
|
fail ArgumentError, "Missing the required parameter 'update_user_badge_params' when calling DefaultApi.update_user_badge"
|
|
8156
8178
|
end
|
|
8157
8179
|
# resource path
|
|
8158
|
-
local_var_path = '/api/v1/user-badges/{id}'.sub('{
|
|
8180
|
+
local_var_path = '/api/v1/user-badges/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
8159
8181
|
|
|
8160
8182
|
# query parameters
|
|
8161
8183
|
query_params = opts[:query_params] || {}
|
|
@@ -8178,7 +8200,7 @@ module FastCommentsClient
|
|
|
8178
8200
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_user_badge_params)
|
|
8179
8201
|
|
|
8180
8202
|
# return_type
|
|
8181
|
-
return_type = opts[:debug_return_type] || '
|
|
8203
|
+
return_type = opts[:debug_return_type] || 'APIEmptySuccessResponse'
|
|
8182
8204
|
|
|
8183
8205
|
# auth_names
|
|
8184
8206
|
auth_names = opts[:debug_auth_names] || ['api_key']
|