fastcomments 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +27 -3
- data/client/README.md +188 -98
- 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 +3 -3
- data/client/docs/APICommentBase.md +3 -3
- data/client/docs/APICommentBaseMeta.md +20 -0
- 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/APITicket.md +34 -0
- data/client/docs/APITicketDetail.md +42 -0
- data/client/docs/APITicketFile.md +36 -0
- data/client/docs/APIUserSubscription.md +2 -0
- data/client/docs/{AddDomainConfig200Response.md → AddDomainConfigResponse.md} +2 -2
- data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
- data/client/docs/AdjustCommentVotesParams.md +18 -0
- data/client/docs/AdjustVotesResponse.md +20 -0
- data/client/docs/AggregateResponse.md +28 -0
- data/client/docs/AggregationAPIError.md +24 -0
- data/client/docs/AwardUserBadgeResponse.md +22 -0
- data/client/docs/BanUserFromCommentResult.md +24 -0
- data/client/docs/BanUserUndoParams.md +18 -0
- data/client/docs/BannedUserMatch.md +20 -0
- data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
- data/client/docs/BannedUserMatchType.md +15 -0
- data/client/docs/BuildModerationFilterParams.md +26 -0
- data/client/docs/BuildModerationFilterResponse.md +20 -0
- data/client/docs/BulkCreateHashTagsResponse.md +1 -1
- data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +2 -2
- data/client/docs/BulkPreBanParams.md +18 -0
- data/client/docs/BulkPreBanSummary.md +28 -0
- data/client/docs/ChangeTicketStateBody.md +18 -0
- data/client/docs/ChangeTicketStateResponse.md +20 -0
- data/client/docs/CommentData.md +6 -2
- data/client/docs/CommentLogData.md +2 -0
- data/client/docs/CommentsByIdsParams.md +18 -0
- data/client/docs/CreateAPIUserSubscriptionData.md +2 -0
- data/client/docs/CreateCommentParams.md +5 -1
- data/client/docs/CreateTenantPackageBody.md +6 -4
- data/client/docs/CreateTicketBody.md +18 -0
- data/client/docs/CreateTicketResponse.md +20 -0
- data/client/docs/CreateV1PageReact.md +20 -0
- data/client/docs/CustomConfigParameters.md +31 -1
- data/client/docs/DefaultApi.md +771 -383
- 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 +5 -1
- data/client/docs/FCommentMeta.md +2 -0
- data/client/docs/GetBannedUsersCountResponse.md +20 -0
- data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
- data/client/docs/GetCommentBanStatusResponse.md +22 -0
- data/client/docs/GetCommentTextResponse.md +20 -0
- data/client/docs/GetCommentsForUserResponse.md +18 -0
- data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
- data/client/docs/GetGifsSearchResponse.md +22 -0
- data/client/docs/GetGifsTrendingResponse.md +22 -0
- data/client/docs/GetPublicPagesResponse.md +22 -0
- data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
- data/client/docs/GetTenantManualBadgesResponse.md +20 -0
- data/client/docs/GetTicketResponse.md +22 -0
- data/client/docs/GetTicketsResponse.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 +36 -0
- data/client/docs/HeaderState.md +3 -1
- data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
- data/client/docs/LiveEvent.md +2 -0
- data/client/docs/MentionAutoCompleteMode.md +15 -0
- data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIComment.md +100 -0
- data/client/docs/ModerationAPICommentLog.md +24 -0
- data/client/docs/ModerationAPICommentResponse.md +20 -0
- data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
- data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
- data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
- data/client/docs/ModerationApi.md +2990 -0
- data/client/docs/ModerationCommentSearchResponse.md +20 -0
- data/client/docs/ModerationExportResponse.md +20 -0
- data/client/docs/ModerationExportStatusResponse.md +24 -0
- data/client/docs/ModerationFilter.md +40 -0
- data/client/docs/ModerationPageSearchProjected.md +24 -0
- data/client/docs/ModerationPageSearchResponse.md +20 -0
- data/client/docs/ModerationSiteSearchProjected.md +20 -0
- data/client/docs/ModerationSiteSearchResponse.md +20 -0
- data/client/docs/ModerationSuggestResponse.md +24 -0
- data/client/docs/ModerationUserSearchProjected.md +24 -0
- data/client/docs/ModerationUserSearchResponse.md +20 -0
- data/client/docs/Moderator.md +3 -1
- data/client/docs/PageUserEntry.md +24 -0
- data/client/docs/PageUsersInfoResponse.md +20 -0
- data/client/docs/PageUsersOfflineResponse.md +24 -0
- data/client/docs/PageUsersOnlineResponse.md +28 -0
- data/client/docs/PagesSortBy.md +15 -0
- data/client/docs/PatchDomainConfigResponse.md +24 -0
- data/client/docs/PostRemoveCommentResponse.md +20 -0
- data/client/docs/PreBanSummary.md +22 -0
- data/client/docs/PublicApi.md +1517 -331
- 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/ReplaceTenantPackageBody.md +2 -0
- data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
- data/client/docs/SearchUsersResult.md +22 -0
- data/client/docs/SearchUsersSectionedResponse.md +20 -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/TOSConfig.md +22 -0
- data/client/docs/TenantBadge.md +58 -0
- data/client/docs/TenantPackage.md +19 -1
- data/client/docs/UpdatableCommentParams.md +1 -1
- data/client/docs/UpdateAPIUserSubscriptionData.md +18 -0
- data/client/docs/UpdateSubscriptionAPIResponse.md +24 -0
- data/client/docs/UpdateTenantPackageBody.md +2 -0
- 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 +19 -1
- data/client/docs/UserBadge.md +3 -1
- data/client/docs/UserBadgeProgress.md +3 -1
- data/client/docs/UserSearchSection.md +15 -0
- data/client/docs/UserSearchSectionResult.md +20 -0
- data/client/docs/UserSessionInfo.md +2 -0
- data/client/docs/UsersListLocation.md +15 -0
- data/client/docs/VoteResponse.md +1 -1
- data/client/docs/VoteResponseStatus.md +15 -0
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +678 -289
- data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
- data/client/lib/fastcomments-client/api/public_api.rb +1492 -299
- data/client/lib/fastcomments-client/api_client.rb +3 -7
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +237 -0
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +263 -0
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → aggregate_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +322 -0
- data/client/lib/fastcomments-client/models/aggregation_item.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_value.rb +75 -2
- data/client/lib/fastcomments-client/models/api_audit_log.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +249 -0
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +333 -0
- data/client/lib/fastcomments-client/models/api_banned_user.rb +454 -0
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +375 -0
- data/client/lib/fastcomments-client/models/api_comment.rb +92 -19
- data/client/lib/fastcomments-client/models/api_comment_base.rb +92 -19
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +229 -0
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +340 -0
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_error.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +271 -0
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +315 -0
- data/client/lib/fastcomments-client/models/api_page.rb +75 -2
- data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +78 -5
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +75 -2
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket.rb +447 -0
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +505 -0
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +454 -0
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +85 -3
- data/client/lib/fastcomments-client/models/apisso_user.rb +75 -2
- data/client/lib/fastcomments-client/models/award_user_badge_response.rb +281 -0
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +264 -0
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +237 -0
- data/client/lib/fastcomments-client/models/banned_user_match.rb +271 -0
- data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +4 -3
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
- data/client/lib/fastcomments-client/models/billing_info.rb +75 -2
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/block_success.rb +75 -2
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +290 -0
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +263 -0
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +76 -3
- data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +4 -3
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +239 -0
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +375 -0
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +75 -2
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +237 -0
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +285 -0
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_data.rb +97 -6
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +85 -3
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_text_update_request.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +75 -2
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +239 -0
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +85 -3
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_comment_params.rb +95 -4
- data/client/lib/fastcomments-client/models/create_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +97 -15
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +237 -0
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +285 -0
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +268 -0
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +220 -6
- data/client/lib/fastcomments-client/models/custom_email_template.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +223 -0
- data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +77 -4
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +75 -2
- data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +75 -2
- data/client/lib/fastcomments-client/models/event_log_entry.rb +75 -2
- data/client/lib/fastcomments-client/models/f_comment.rb +97 -6
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +85 -3
- data/client/lib/fastcomments-client/models/feed_post.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_link.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +75 -2
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +263 -0
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +308 -0
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +261 -0
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +269 -0
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +222 -0
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_pages_response.rb +299 -0
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +313 -0
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_translations_response.rb +288 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +285 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +371 -0
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +277 -0
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +363 -0
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +282 -0
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_votes_response.rb +75 -2
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → gif_search_response_images_inner_inner.rb} +6 -5
- data/client/lib/fastcomments-client/models/header_account_notification.rb +406 -0
- data/client/lib/fastcomments-client/models/header_state.rb +107 -6
- data/client/lib/fastcomments-client/models/ignored_response.rb +75 -2
- data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
- data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +42 -0
- data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event.rb +85 -3
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +75 -2
- data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
- data/client/lib/fastcomments-client/models/media_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +41 -0
- data/client/lib/fastcomments-client/models/meta_item.rb +75 -2
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +753 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +313 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +322 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +263 -0
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_filter.rb +325 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +315 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +247 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +268 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +283 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderator.rb +89 -7
- data/client/lib/fastcomments-client/models/notification_and_count.rb +75 -2
- data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
- data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
- data/client/lib/fastcomments-client/models/page_user_entry.rb +281 -0
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +287 -0
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +311 -0
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +363 -0
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +75 -2
- data/client/lib/fastcomments-client/models/post_remove_comment_response.rb +104 -0
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +313 -0
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_page.rb +341 -0
- data/client/lib/fastcomments-client/models/public_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +3 -2
- data/client/lib/fastcomments-client/models/question_config.rb +75 -2
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/question_datum.rb +75 -2
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +75 -2
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +75 -2
- data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
- data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
- data/client/lib/fastcomments-client/models/react_body_params.rb +75 -2
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +77 -32
- data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +263 -0
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +270 -0
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +75 -2
- data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
- data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
- data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +85 -3
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +75 -2
- data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → save_comments_bulk_response.rb} +5 -4
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +75 -2
- data/client/lib/fastcomments-client/models/search_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/search_users_result.rb +104 -0
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +287 -0
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +268 -0
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +237 -0
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +285 -0
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +75 -2
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +268 -0
- data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
- data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
- data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
- data/client/lib/fastcomments-client/models/spam_rule.rb +75 -2
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_badge.rb +637 -0
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +75 -2
- data/client/lib/fastcomments-client/models/tenant_package.rb +177 -6
- data/client/lib/fastcomments-client/models/tos_config.rb +241 -0
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/unblock_success.rb +75 -2
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +76 -3
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → update_api_user_subscription_data.rb} +84 -14
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_notification_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +264 -0
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +85 -3
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_status_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/upload_image_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user.rb +160 -6
- data/client/lib/fastcomments-client/models/user_badge.rb +89 -6
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +88 -6
- data/client/lib/fastcomments-client/models/user_notification.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_count.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_presence_data.rb +75 -2
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_result.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_section.rb +41 -0
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +287 -0
- data/client/lib/fastcomments-client/models/user_session_info.rb +85 -3
- data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
- data/client/lib/fastcomments-client/models/vote_body_params.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_response.rb +81 -32
- data/client/lib/fastcomments-client/models/{checked_comments_for_blocked200_response.rb → vote_response_status.rb} +6 -5
- data/client/lib/fastcomments-client/models/vote_response_user.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
- data/client/lib/fastcomments-client/version.rb +2 -2
- data/client/lib/fastcomments-client.rb +120 -95
- data/client/spec/api/default_api_spec.rb +163 -97
- data/client/spec/api/moderation_api_spec.rb +559 -0
- data/client/spec/api/public_api_spec.rb +254 -37
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_votes200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/add_page_api_response_spec.rb +2 -2
- data/client/spec/models/add_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/adjust_comment_votes_params_spec.rb +36 -0
- data/client/spec/models/adjust_votes_response_spec.rb +42 -0
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_api_error_spec.rb +54 -0
- data/client/spec/models/aggregation_item_spec.rb +2 -2
- data/client/spec/models/aggregation_op_type_spec.rb +2 -2
- data/client/spec/models/aggregation_operation_spec.rb +2 -2
- data/client/spec/models/aggregation_request_sort_spec.rb +2 -2
- data/client/spec/models/aggregation_request_spec.rb +2 -2
- data/client/spec/models/aggregation_response_spec.rb +2 -2
- data/client/spec/models/aggregation_response_stats_spec.rb +2 -2
- data/client/spec/models/aggregation_value_spec.rb +2 -2
- data/client/spec/models/api_audit_log_spec.rb +2 -2
- data/client/spec/models/api_ban_user_change_log_spec.rb +54 -0
- data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
- data/client/spec/models/api_banned_user_spec.rb +108 -0
- data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
- data/client/spec/models/api_comment_base_meta_spec.rb +42 -0
- data/client/spec/models/api_comment_base_spec.rb +3 -3
- data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
- data/client/spec/models/api_comment_spec.rb +3 -3
- data/client/spec/models/api_create_user_badge_response_spec.rb +2 -2
- data/client/spec/models/api_domain_configuration_spec.rb +2 -2
- data/client/spec/models/api_empty_response_spec.rb +2 -2
- data/client/spec/models/api_empty_success_response_spec.rb +2 -2
- data/client/spec/models/api_error_spec.rb +2 -2
- data/client/spec/models/api_get_comment_response_spec.rb +2 -2
- data/client/spec/models/api_get_comments_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badges_response_spec.rb +2 -2
- data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +42 -0
- data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
- data/client/spec/models/api_status_spec.rb +2 -2
- data/client/spec/models/api_tenant_daily_usage_spec.rb +2 -2
- data/client/spec/models/api_tenant_spec.rb +2 -2
- data/client/spec/models/api_ticket_detail_spec.rb +108 -0
- data/client/spec/models/api_ticket_file_spec.rb +90 -0
- data/client/spec/models/api_ticket_spec.rb +84 -0
- data/client/spec/models/api_user_subscription_spec.rb +8 -2
- data/client/spec/models/apisso_user_spec.rb +2 -2
- data/client/spec/models/award_user_badge_response_spec.rb +48 -0
- data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
- data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
- data/client/spec/models/{create_tenant200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
- data/client/spec/models/banned_user_match_spec.rb +42 -0
- data/client/spec/models/banned_user_match_type_spec.rb +30 -0
- data/client/spec/models/billing_info_spec.rb +2 -2
- data/client/spec/models/block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/block_success_spec.rb +2 -2
- data/client/spec/models/build_moderation_filter_params_spec.rb +60 -0
- data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
- data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_body_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +2 -2
- data/client/spec/models/{add_hash_tag200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
- data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
- data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
- data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
- data/client/spec/models/change_ticket_state_body_spec.rb +36 -0
- data/client/spec/models/change_ticket_state_response_spec.rb +42 -0
- data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
- data/client/spec/models/combine_question_results_with_comments_response_spec.rb +2 -2
- data/client/spec/models/comment_data_spec.rb +14 -2
- data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
- data/client/spec/models/comment_log_data_spec.rb +8 -2
- data/client/spec/models/comment_log_entry_spec.rb +2 -2
- data/client/spec/models/comment_log_type_spec.rb +2 -2
- data/client/spec/models/comment_question_results_rendering_type_spec.rb +2 -2
- data/client/spec/models/comment_questions_required_spec.rb +2 -2
- data/client/spec/models/comment_text_update_request_spec.rb +2 -2
- data/client/spec/models/comment_thread_deletion_mode_spec.rb +2 -2
- data/client/spec/models/comment_user_badge_info_spec.rb +2 -2
- data/client/spec/models/comment_user_hash_tag_info_spec.rb +2 -2
- data/client/spec/models/comment_user_mention_info_spec.rb +2 -2
- data/client/spec/models/commenter_name_formats_spec.rb +2 -2
- data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
- data/client/spec/models/create_api_page_data_spec.rb +2 -2
- data/client/spec/models/create_api_user_subscription_data_spec.rb +8 -2
- data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/create_comment_params_spec.rb +14 -2
- data/client/spec/models/create_email_template_body_spec.rb +2 -2
- data/client/spec/models/create_email_template_response_spec.rb +2 -2
- data/client/spec/models/create_feed_post_params_spec.rb +2 -2
- data/client/spec/models/create_feed_post_response_spec.rb +2 -2
- data/client/spec/models/create_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/create_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/create_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/create_moderator_body_spec.rb +2 -2
- data/client/spec/models/create_moderator_response_spec.rb +2 -2
- data/client/spec/models/create_question_config_body_spec.rb +2 -2
- data/client/spec/models/create_question_config_response_spec.rb +2 -2
- data/client/spec/models/create_question_result_body_spec.rb +2 -2
- data/client/spec/models/create_question_result_response_spec.rb +2 -2
- data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_package_body_spec.rb +10 -4
- data/client/spec/models/create_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/create_ticket_body_spec.rb +36 -0
- data/client/spec/models/create_ticket_response_spec.rb +42 -0
- data/client/spec/models/create_user_badge_params_spec.rb +2 -2
- data/client/spec/models/create_v1_page_react_spec.rb +42 -0
- data/client/spec/models/custom_config_parameters_spec.rb +92 -2
- data/client/spec/models/custom_email_template_spec.rb +2 -2
- data/client/spec/models/delete_comment_action_spec.rb +2 -2
- data/client/spec/models/delete_comment_result_spec.rb +2 -2
- data/client/spec/models/{delete_domain_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
- data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
- data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
- data/client/spec/models/delete_page_api_response_spec.rb +2 -2
- data/client/spec/models/delete_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/delete_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/deleted_comment_result_comment_spec.rb +2 -2
- data/client/spec/models/digest_email_frequency_spec.rb +2 -2
- data/client/spec/models/email_template_definition_spec.rb +2 -2
- data/client/spec/models/email_template_render_error_response_spec.rb +2 -2
- data/client/spec/models/event_log_entry_spec.rb +2 -2
- data/client/spec/models/f_comment_meta_spec.rb +8 -2
- data/client/spec/models/f_comment_spec.rb +14 -2
- data/client/spec/models/feed_post_link_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_asset_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_spec.rb +2 -2
- data/client/spec/models/feed_post_spec.rb +2 -2
- data/client/spec/models/feed_post_stats_spec.rb +2 -2
- data/client/spec/models/feed_posts_stats_response_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_item_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_response_spec.rb +2 -2
- data/client/spec/models/flag_comment_response_spec.rb +2 -2
- data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
- data/client/spec/models/get_banned_users_count_response_spec.rb +42 -0
- data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
- data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
- data/client/spec/models/get_comment_text_response_spec.rb +42 -0
- data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
- data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
- data/client/spec/models/get_comments_response_public_comment_spec.rb +2 -2
- data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +2 -2
- data/client/spec/models/{get_tenant200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
- data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_tenants200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
- data/client/spec/models/get_email_template_definitions_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_render_errors_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_response_spec.rb +2 -2
- data/client/spec/models/get_email_templates_response_spec.rb +2 -2
- data/client/spec/models/get_event_log_response_spec.rb +2 -2
- data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_gifs_search_response_spec.rb +21 -0
- data/client/spec/models/get_gifs_trending_response_spec.rb +21 -0
- data/client/spec/models/get_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/get_moderator_response_spec.rb +2 -2
- data/client/spec/models/get_moderators_response_spec.rb +2 -2
- data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_page_by_urlid_api_response_spec.rb +2 -2
- data/client/spec/models/get_pages_api_response_spec.rb +2 -2
- data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +2 -2
- data/client/spec/models/get_pending_webhook_events_response_spec.rb +2 -2
- data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_public_pages_response_spec.rb +48 -0
- data/client/spec/models/get_question_config_response_spec.rb +2 -2
- data/client/spec/models/get_question_configs_response_spec.rb +2 -2
- data/client/spec/models/get_question_result_response_spec.rb +2 -2
- data/client/spec/models/get_question_results_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +2 -2
- data/client/spec/models/{get_sso_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
- data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_daily_usages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
- data/client/spec/models/get_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_packages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_users_response_spec.rb +2 -2
- data/client/spec/models/get_tenants_response_spec.rb +2 -2
- data/client/spec/models/get_ticket_response_spec.rb +48 -0
- data/client/spec/models/get_tickets_response_spec.rb +42 -0
- data/client/spec/models/get_translations_response_spec.rb +42 -0
- data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
- data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
- data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
- data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
- data/client/spec/models/get_user_response_spec.rb +2 -2
- data/client/spec/models/get_user_trust_factor_response_spec.rb +48 -0
- data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
- data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
- data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
- data/client/spec/models/get_votes_for_user_response_spec.rb +2 -2
- data/client/spec/models/get_votes_response_spec.rb +2 -2
- data/client/spec/models/gif_get_large_response_spec.rb +42 -0
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
- data/client/spec/models/{add_domain_config200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
- data/client/spec/models/gif_search_response_spec.rb +42 -0
- data/client/spec/models/header_account_notification_spec.rb +90 -0
- data/client/spec/models/header_state_spec.rb +8 -2
- data/client/spec/models/ignored_response_spec.rb +2 -2
- data/client/spec/models/image_content_profanity_level_spec.rb +2 -2
- data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
- data/client/spec/models/imported_site_type_spec.rb +2 -2
- data/client/spec/models/live_event_extra_info_spec.rb +2 -2
- data/client/spec/models/live_event_spec.rb +8 -2
- data/client/spec/models/live_event_type_spec.rb +2 -2
- data/client/spec/models/media_asset_spec.rb +2 -2
- data/client/spec/models/mention_auto_complete_mode_spec.rb +30 -0
- data/client/spec/models/meta_item_spec.rb +2 -2
- data/client/spec/models/moderation_api_child_comments_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
- data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_comment_spec.rb +282 -0
- data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
- data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
- data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
- data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
- data/client/spec/models/moderation_filter_spec.rb +102 -0
- data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
- data/client/spec/models/moderator_spec.rb +8 -2
- data/client/spec/models/notification_and_count_spec.rb +2 -2
- data/client/spec/models/notification_object_type_spec.rb +2 -2
- data/client/spec/models/notification_type_spec.rb +2 -2
- data/client/spec/models/page_user_entry_spec.rb +54 -0
- data/client/spec/models/page_users_info_response_spec.rb +42 -0
- data/client/spec/models/page_users_offline_response_spec.rb +54 -0
- data/client/spec/models/page_users_online_response_spec.rb +66 -0
- data/client/spec/models/pages_sort_by_spec.rb +30 -0
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_response_spec.rb +21 -0
- data/client/spec/models/patch_page_api_response_spec.rb +2 -2
- data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +2 -2
- data/client/spec/models/post_remove_comment_response_spec.rb +21 -0
- data/client/spec/models/pre_ban_summary_spec.rb +48 -0
- data/client/spec/models/pub_sub_comment_base_spec.rb +2 -2
- data/client/spec/models/pub_sub_comment_spec.rb +2 -2
- data/client/spec/models/pub_sub_vote_spec.rb +2 -2
- data/client/spec/models/public_api_delete_comment_response_spec.rb +2 -2
- data/client/spec/models/public_api_get_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_api_set_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/public_comment_base_spec.rb +2 -2
- data/client/spec/models/public_comment_spec.rb +2 -2
- data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/public_page_spec.rb +60 -0
- data/client/spec/models/public_vote_spec.rb +2 -2
- data/client/spec/models/put_domain_config_response_spec.rb +21 -0
- data/client/spec/models/put_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/query_predicate_spec.rb +2 -2
- data/client/spec/models/query_predicate_value_spec.rb +1 -1
- data/client/spec/models/question_config_custom_options_inner_spec.rb +2 -2
- data/client/spec/models/question_config_spec.rb +2 -2
- data/client/spec/models/question_datum_spec.rb +2 -2
- data/client/spec/models/question_rendering_type_spec.rb +2 -2
- data/client/spec/models/question_result_aggregation_overall_spec.rb +2 -2
- data/client/spec/models/question_result_spec.rb +2 -2
- data/client/spec/models/question_sub_question_visibility_spec.rb +2 -2
- data/client/spec/models/question_when_save_spec.rb +2 -2
- data/client/spec/models/react_body_params_spec.rb +2 -2
- data/client/spec/models/react_feed_post_response_spec.rb +2 -2
- data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +2 -2
- data/client/spec/models/remove_comment_action_response_spec.rb +42 -0
- data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
- data/client/spec/models/render_email_template_body_spec.rb +2 -2
- data/client/spec/models/render_email_template_response_spec.rb +2 -2
- data/client/spec/models/renderable_user_notification_spec.rb +2 -2
- data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +2 -2
- data/client/spec/models/repeat_comment_handling_action_spec.rb +2 -2
- data/client/spec/models/replace_tenant_package_body_spec.rb +8 -2
- data/client/spec/models/replace_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
- data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
- data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
- data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
- data/client/spec/models/search_users_response_spec.rb +2 -2
- data/client/spec/models/search_users_result_spec.rb +21 -0
- data/client/spec/models/search_users_sectioned_response_spec.rb +42 -0
- data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_params_spec.rb +36 -0
- data/client/spec/models/set_comment_text_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
- data/client/spec/models/size_preset_spec.rb +2 -2
- data/client/spec/models/sort_directions_spec.rb +2 -2
- data/client/spec/models/sortdir_spec.rb +2 -2
- data/client/spec/models/spam_rule_spec.rb +2 -2
- data/client/spec/models/sso_security_level_spec.rb +2 -2
- data/client/spec/models/tenant_badge_spec.rb +156 -0
- data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
- data/client/spec/models/tenant_package_spec.rb +56 -2
- data/client/spec/models/tos_config_spec.rb +48 -0
- data/client/spec/models/un_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/unblock_success_spec.rb +2 -2
- data/client/spec/models/updatable_comment_params_spec.rb +2 -2
- data/client/spec/models/update_api_page_data_spec.rb +2 -2
- data/client/spec/models/update_api_user_subscription_data_spec.rb +36 -0
- data/client/spec/models/update_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/update_domain_config_params_spec.rb +2 -2
- data/client/spec/models/update_email_template_body_spec.rb +2 -2
- data/client/spec/models/update_feed_post_params_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/update_moderator_body_spec.rb +2 -2
- data/client/spec/models/update_notification_body_spec.rb +2 -2
- data/client/spec/models/update_question_config_body_spec.rb +2 -2
- data/client/spec/models/update_question_result_body_spec.rb +2 -2
- data/client/spec/models/update_subscription_api_response_spec.rb +54 -0
- data/client/spec/models/update_tenant_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_package_body_spec.rb +8 -2
- data/client/spec/models/update_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/update_user_badge_params_spec.rb +2 -2
- data/client/spec/models/{aggregate_question_results200_response_spec.rb → update_user_notification_comment_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
- data/client/spec/models/upload_image_response_spec.rb +2 -2
- data/client/spec/models/user_badge_progress_spec.rb +8 -2
- data/client/spec/models/user_badge_spec.rb +8 -2
- data/client/spec/models/user_notification_count_spec.rb +2 -2
- data/client/spec/models/user_notification_spec.rb +2 -2
- data/client/spec/models/user_notification_write_response_spec.rb +2 -2
- data/client/spec/models/user_presence_data_spec.rb +2 -2
- data/client/spec/models/user_reacts_response_spec.rb +2 -2
- data/client/spec/models/user_search_result_spec.rb +2 -2
- data/client/spec/models/user_search_section_result_spec.rb +42 -0
- data/client/spec/models/user_search_section_spec.rb +30 -0
- data/client/spec/models/user_session_info_spec.rb +8 -2
- data/client/spec/models/user_spec.rb +56 -2
- data/client/spec/models/users_list_location_spec.rb +30 -0
- data/client/spec/models/vote_body_params_spec.rb +2 -2
- data/client/spec/models/vote_delete_response_spec.rb +2 -2
- data/client/spec/models/vote_response_spec.rb +2 -6
- data/client/spec/models/vote_response_status_spec.rb +21 -0
- data/client/spec/models/vote_response_user_spec.rb +2 -2
- data/client/spec/models/vote_style_spec.rb +2 -2
- data/client/spec/spec_helper.rb +1 -1
- data/lib/fastcomments.rb +1 -1
- metadata +359 -282
- 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/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/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/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 -34
- data/client/docs/SetCommentText200Response.md +0 -34
- data/client/docs/UnBlockCommentPublic200Response.md +0 -34
- data/client/docs/UpdateUserBadge200Response.md +0 -32
- data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
- data/client/docs/VoteComment200Response.md +0 -40
- data/client/lib/fastcomments-client/api_model_base.rb +0 -88
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_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_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/search_users200_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/checked_comments_for_blocked200_response_spec.rb +0 -21
- data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
- data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/create_email_template200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/create_moderator200_response_spec.rb +0 -21
- data/client/spec/models/create_question_config200_response_spec.rb +0 -21
- data/client/spec/models/create_question_result200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_vote200_response_spec.rb +0 -21
- data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
- data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_comment200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
- data/client/spec/models/get_comments200_response_spec.rb +0 -21
- data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
- data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
- data/client/spec/models/get_event_log200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
- data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
- data/client/spec/models/get_moderator200_response_spec.rb +0 -21
- data/client/spec/models/get_moderators200_response_spec.rb +0 -21
- data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
- data/client/spec/models/get_question_config200_response_spec.rb +0 -21
- data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_question_result200_response_spec.rb +0 -21
- data/client/spec/models/get_question_results200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
- data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
- data/client/spec/models/lock_comment200_response_spec.rb +0 -21
- data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
- data/client/spec/models/pin_comment200_response_spec.rb +0 -21
- data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
- data/client/spec/models/render_email_template200_response_spec.rb +0 -21
- data/client/spec/models/reset_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/save_comment200_response_spec.rb +0 -21
- data/client/spec/models/search_users200_response_spec.rb +0 -21
- data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/vote_comment200_response_spec.rb +0 -21
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.14.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -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']
|
|
@@ -93,7 +93,7 @@ module FastCommentsClient
|
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @option opts [String] :tenant_id
|
|
95
95
|
# @option opts [CreateHashTagBody] :create_hash_tag_body
|
|
96
|
-
# @return [
|
|
96
|
+
# @return [CreateHashTagResponse]
|
|
97
97
|
def add_hash_tag(opts = {})
|
|
98
98
|
data, _status_code, _headers = add_hash_tag_with_http_info(opts)
|
|
99
99
|
data
|
|
@@ -102,7 +102,7 @@ module FastCommentsClient
|
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @option opts [String] :tenant_id
|
|
104
104
|
# @option opts [CreateHashTagBody] :create_hash_tag_body
|
|
105
|
-
# @return [Array<(
|
|
105
|
+
# @return [Array<(CreateHashTagResponse, Integer, Hash)>] CreateHashTagResponse data, response status code and response headers
|
|
106
106
|
def add_hash_tag_with_http_info(opts = {})
|
|
107
107
|
if @api_client.config.debugging
|
|
108
108
|
@api_client.config.logger.debug 'Calling API: DefaultApi.add_hash_tag ...'
|
|
@@ -131,7 +131,7 @@ module FastCommentsClient
|
|
|
131
131
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_hash_tag_body'])
|
|
132
132
|
|
|
133
133
|
# return_type
|
|
134
|
-
return_type = opts[:debug_return_type] || '
|
|
134
|
+
return_type = opts[:debug_return_type] || 'CreateHashTagResponse'
|
|
135
135
|
|
|
136
136
|
# auth_names
|
|
137
137
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -156,7 +156,7 @@ module FastCommentsClient
|
|
|
156
156
|
# @param [Hash] opts the optional parameters
|
|
157
157
|
# @option opts [String] :tenant_id
|
|
158
158
|
# @option opts [BulkCreateHashTagsBody] :bulk_create_hash_tags_body
|
|
159
|
-
# @return [
|
|
159
|
+
# @return [BulkCreateHashTagsResponse]
|
|
160
160
|
def add_hash_tags_bulk(opts = {})
|
|
161
161
|
data, _status_code, _headers = add_hash_tags_bulk_with_http_info(opts)
|
|
162
162
|
data
|
|
@@ -165,7 +165,7 @@ module FastCommentsClient
|
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
|
166
166
|
# @option opts [String] :tenant_id
|
|
167
167
|
# @option opts [BulkCreateHashTagsBody] :bulk_create_hash_tags_body
|
|
168
|
-
# @return [Array<(
|
|
168
|
+
# @return [Array<(BulkCreateHashTagsResponse, Integer, Hash)>] BulkCreateHashTagsResponse data, response status code and response headers
|
|
169
169
|
def add_hash_tags_bulk_with_http_info(opts = {})
|
|
170
170
|
if @api_client.config.debugging
|
|
171
171
|
@api_client.config.logger.debug 'Calling API: DefaultApi.add_hash_tags_bulk ...'
|
|
@@ -194,7 +194,7 @@ module FastCommentsClient
|
|
|
194
194
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'bulk_create_hash_tags_body'])
|
|
195
195
|
|
|
196
196
|
# return_type
|
|
197
|
-
return_type = opts[:debug_return_type] || '
|
|
197
|
+
return_type = opts[:debug_return_type] || 'BulkCreateHashTagsResponse'
|
|
198
198
|
|
|
199
199
|
# auth_names
|
|
200
200
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -364,7 +364,7 @@ module FastCommentsClient
|
|
|
364
364
|
# @param [Hash] opts the optional parameters
|
|
365
365
|
# @option opts [String] :parent_tenant_id
|
|
366
366
|
# @option opts [Boolean] :include_stats
|
|
367
|
-
# @return [
|
|
367
|
+
# @return [AggregateResponse]
|
|
368
368
|
def aggregate(tenant_id, aggregation_request, opts = {})
|
|
369
369
|
data, _status_code, _headers = aggregate_with_http_info(tenant_id, aggregation_request, opts)
|
|
370
370
|
data
|
|
@@ -376,7 +376,7 @@ module FastCommentsClient
|
|
|
376
376
|
# @param [Hash] opts the optional parameters
|
|
377
377
|
# @option opts [String] :parent_tenant_id
|
|
378
378
|
# @option opts [Boolean] :include_stats
|
|
379
|
-
# @return [Array<(
|
|
379
|
+
# @return [Array<(AggregateResponse, Integer, Hash)>] AggregateResponse data, response status code and response headers
|
|
380
380
|
def aggregate_with_http_info(tenant_id, aggregation_request, opts = {})
|
|
381
381
|
if @api_client.config.debugging
|
|
382
382
|
@api_client.config.logger.debug 'Calling API: DefaultApi.aggregate ...'
|
|
@@ -415,7 +415,7 @@ module FastCommentsClient
|
|
|
415
415
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(aggregation_request)
|
|
416
416
|
|
|
417
417
|
# return_type
|
|
418
|
-
return_type = opts[:debug_return_type] || '
|
|
418
|
+
return_type = opts[:debug_return_type] || 'AggregateResponse'
|
|
419
419
|
|
|
420
420
|
# auth_names
|
|
421
421
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -445,7 +445,7 @@ module FastCommentsClient
|
|
|
445
445
|
# @option opts [AggregateTimeBucket] :time_bucket
|
|
446
446
|
# @option opts [Time] :start_date
|
|
447
447
|
# @option opts [Boolean] :force_recalculate
|
|
448
|
-
# @return [
|
|
448
|
+
# @return [AggregateQuestionResultsResponse]
|
|
449
449
|
def aggregate_question_results(tenant_id, opts = {})
|
|
450
450
|
data, _status_code, _headers = aggregate_question_results_with_http_info(tenant_id, opts)
|
|
451
451
|
data
|
|
@@ -459,7 +459,7 @@ module FastCommentsClient
|
|
|
459
459
|
# @option opts [AggregateTimeBucket] :time_bucket
|
|
460
460
|
# @option opts [Time] :start_date
|
|
461
461
|
# @option opts [Boolean] :force_recalculate
|
|
462
|
-
# @return [Array<(
|
|
462
|
+
# @return [Array<(AggregateQuestionResultsResponse, Integer, Hash)>] AggregateQuestionResultsResponse data, response status code and response headers
|
|
463
463
|
def aggregate_question_results_with_http_info(tenant_id, opts = {})
|
|
464
464
|
if @api_client.config.debugging
|
|
465
465
|
@api_client.config.logger.debug 'Calling API: DefaultApi.aggregate_question_results ...'
|
|
@@ -493,7 +493,7 @@ module FastCommentsClient
|
|
|
493
493
|
post_body = opts[:debug_body]
|
|
494
494
|
|
|
495
495
|
# return_type
|
|
496
|
-
return_type = opts[:debug_return_type] || '
|
|
496
|
+
return_type = opts[:debug_return_type] || 'AggregateQuestionResultsResponse'
|
|
497
497
|
|
|
498
498
|
# auth_names
|
|
499
499
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -521,7 +521,7 @@ module FastCommentsClient
|
|
|
521
521
|
# @param [Hash] opts the optional parameters
|
|
522
522
|
# @option opts [String] :user_id
|
|
523
523
|
# @option opts [String] :anon_user_id
|
|
524
|
-
# @return [
|
|
524
|
+
# @return [BlockSuccess]
|
|
525
525
|
def block_user_from_comment(tenant_id, id, block_from_comment_params, opts = {})
|
|
526
526
|
data, _status_code, _headers = block_user_from_comment_with_http_info(tenant_id, id, block_from_comment_params, opts)
|
|
527
527
|
data
|
|
@@ -533,7 +533,7 @@ module FastCommentsClient
|
|
|
533
533
|
# @param [Hash] opts the optional parameters
|
|
534
534
|
# @option opts [String] :user_id
|
|
535
535
|
# @option opts [String] :anon_user_id
|
|
536
|
-
# @return [Array<(
|
|
536
|
+
# @return [Array<(BlockSuccess, Integer, Hash)>] BlockSuccess data, response status code and response headers
|
|
537
537
|
def block_user_from_comment_with_http_info(tenant_id, id, block_from_comment_params, opts = {})
|
|
538
538
|
if @api_client.config.debugging
|
|
539
539
|
@api_client.config.logger.debug 'Calling API: DefaultApi.block_user_from_comment ...'
|
|
@@ -576,7 +576,7 @@ module FastCommentsClient
|
|
|
576
576
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(block_from_comment_params)
|
|
577
577
|
|
|
578
578
|
# return_type
|
|
579
|
-
return_type = opts[:debug_return_type] || '
|
|
579
|
+
return_type = opts[:debug_return_type] || 'BlockSuccess'
|
|
580
580
|
|
|
581
581
|
# auth_names
|
|
582
582
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -602,7 +602,7 @@ module FastCommentsClient
|
|
|
602
602
|
# @param bulk_aggregate_question_results_request [BulkAggregateQuestionResultsRequest]
|
|
603
603
|
# @param [Hash] opts the optional parameters
|
|
604
604
|
# @option opts [Boolean] :force_recalculate
|
|
605
|
-
# @return [
|
|
605
|
+
# @return [BulkAggregateQuestionResultsResponse]
|
|
606
606
|
def bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, opts = {})
|
|
607
607
|
data, _status_code, _headers = bulk_aggregate_question_results_with_http_info(tenant_id, bulk_aggregate_question_results_request, opts)
|
|
608
608
|
data
|
|
@@ -612,7 +612,7 @@ module FastCommentsClient
|
|
|
612
612
|
# @param bulk_aggregate_question_results_request [BulkAggregateQuestionResultsRequest]
|
|
613
613
|
# @param [Hash] opts the optional parameters
|
|
614
614
|
# @option opts [Boolean] :force_recalculate
|
|
615
|
-
# @return [Array<(
|
|
615
|
+
# @return [Array<(BulkAggregateQuestionResultsResponse, Integer, Hash)>] BulkAggregateQuestionResultsResponse data, response status code and response headers
|
|
616
616
|
def bulk_aggregate_question_results_with_http_info(tenant_id, bulk_aggregate_question_results_request, opts = {})
|
|
617
617
|
if @api_client.config.debugging
|
|
618
618
|
@api_client.config.logger.debug 'Calling API: DefaultApi.bulk_aggregate_question_results ...'
|
|
@@ -650,7 +650,7 @@ module FastCommentsClient
|
|
|
650
650
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(bulk_aggregate_question_results_request)
|
|
651
651
|
|
|
652
652
|
# return_type
|
|
653
|
-
return_type = opts[:debug_return_type] || '
|
|
653
|
+
return_type = opts[:debug_return_type] || 'BulkAggregateQuestionResultsResponse'
|
|
654
654
|
|
|
655
655
|
# auth_names
|
|
656
656
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -672,6 +672,90 @@ module FastCommentsClient
|
|
|
672
672
|
return data, status_code, headers
|
|
673
673
|
end
|
|
674
674
|
|
|
675
|
+
# @param tenant_id [String]
|
|
676
|
+
# @param user_id [String]
|
|
677
|
+
# @param id [String]
|
|
678
|
+
# @param change_ticket_state_body [ChangeTicketStateBody]
|
|
679
|
+
# @param [Hash] opts the optional parameters
|
|
680
|
+
# @return [ChangeTicketStateResponse]
|
|
681
|
+
def change_ticket_state(tenant_id, user_id, id, change_ticket_state_body, opts = {})
|
|
682
|
+
data, _status_code, _headers = change_ticket_state_with_http_info(tenant_id, user_id, id, change_ticket_state_body, opts)
|
|
683
|
+
data
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
# @param tenant_id [String]
|
|
687
|
+
# @param user_id [String]
|
|
688
|
+
# @param id [String]
|
|
689
|
+
# @param change_ticket_state_body [ChangeTicketStateBody]
|
|
690
|
+
# @param [Hash] opts the optional parameters
|
|
691
|
+
# @return [Array<(ChangeTicketStateResponse, Integer, Hash)>] ChangeTicketStateResponse data, response status code and response headers
|
|
692
|
+
def change_ticket_state_with_http_info(tenant_id, user_id, id, change_ticket_state_body, opts = {})
|
|
693
|
+
if @api_client.config.debugging
|
|
694
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.change_ticket_state ...'
|
|
695
|
+
end
|
|
696
|
+
# verify the required parameter 'tenant_id' is set
|
|
697
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
698
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.change_ticket_state"
|
|
699
|
+
end
|
|
700
|
+
# verify the required parameter 'user_id' is set
|
|
701
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
|
702
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling DefaultApi.change_ticket_state"
|
|
703
|
+
end
|
|
704
|
+
# verify the required parameter 'id' is set
|
|
705
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
706
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.change_ticket_state"
|
|
707
|
+
end
|
|
708
|
+
# verify the required parameter 'change_ticket_state_body' is set
|
|
709
|
+
if @api_client.config.client_side_validation && change_ticket_state_body.nil?
|
|
710
|
+
fail ArgumentError, "Missing the required parameter 'change_ticket_state_body' when calling DefaultApi.change_ticket_state"
|
|
711
|
+
end
|
|
712
|
+
# resource path
|
|
713
|
+
local_var_path = '/api/v1/tickets/{id}/state'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
714
|
+
|
|
715
|
+
# query parameters
|
|
716
|
+
query_params = opts[:query_params] || {}
|
|
717
|
+
query_params[:'tenantId'] = tenant_id
|
|
718
|
+
query_params[:'userId'] = user_id
|
|
719
|
+
|
|
720
|
+
# header parameters
|
|
721
|
+
header_params = opts[:header_params] || {}
|
|
722
|
+
# HTTP header 'Accept' (if needed)
|
|
723
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
724
|
+
# HTTP header 'Content-Type'
|
|
725
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
726
|
+
if !content_type.nil?
|
|
727
|
+
header_params['Content-Type'] = content_type
|
|
728
|
+
end
|
|
729
|
+
|
|
730
|
+
# form parameters
|
|
731
|
+
form_params = opts[:form_params] || {}
|
|
732
|
+
|
|
733
|
+
# http body (model)
|
|
734
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(change_ticket_state_body)
|
|
735
|
+
|
|
736
|
+
# return_type
|
|
737
|
+
return_type = opts[:debug_return_type] || 'ChangeTicketStateResponse'
|
|
738
|
+
|
|
739
|
+
# auth_names
|
|
740
|
+
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
741
|
+
|
|
742
|
+
new_options = opts.merge(
|
|
743
|
+
:operation => :"DefaultApi.change_ticket_state",
|
|
744
|
+
:header_params => header_params,
|
|
745
|
+
:query_params => query_params,
|
|
746
|
+
:form_params => form_params,
|
|
747
|
+
:body => post_body,
|
|
748
|
+
:auth_names => auth_names,
|
|
749
|
+
:return_type => return_type
|
|
750
|
+
)
|
|
751
|
+
|
|
752
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
753
|
+
if @api_client.config.debugging
|
|
754
|
+
@api_client.config.logger.debug "API called: DefaultApi#change_ticket_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
755
|
+
end
|
|
756
|
+
return data, status_code, headers
|
|
757
|
+
end
|
|
758
|
+
|
|
675
759
|
# @param tenant_id [String]
|
|
676
760
|
# @param [Hash] opts the optional parameters
|
|
677
761
|
# @option opts [String] :question_id
|
|
@@ -682,7 +766,7 @@ module FastCommentsClient
|
|
|
682
766
|
# @option opts [Float] :min_value
|
|
683
767
|
# @option opts [Float] :max_value
|
|
684
768
|
# @option opts [Float] :limit
|
|
685
|
-
# @return [
|
|
769
|
+
# @return [CombineQuestionResultsWithCommentsResponse]
|
|
686
770
|
def combine_comments_with_question_results(tenant_id, opts = {})
|
|
687
771
|
data, _status_code, _headers = combine_comments_with_question_results_with_http_info(tenant_id, opts)
|
|
688
772
|
data
|
|
@@ -698,7 +782,7 @@ module FastCommentsClient
|
|
|
698
782
|
# @option opts [Float] :min_value
|
|
699
783
|
# @option opts [Float] :max_value
|
|
700
784
|
# @option opts [Float] :limit
|
|
701
|
-
# @return [Array<(
|
|
785
|
+
# @return [Array<(CombineQuestionResultsWithCommentsResponse, Integer, Hash)>] CombineQuestionResultsWithCommentsResponse data, response status code and response headers
|
|
702
786
|
def combine_comments_with_question_results_with_http_info(tenant_id, opts = {})
|
|
703
787
|
if @api_client.config.debugging
|
|
704
788
|
@api_client.config.logger.debug 'Calling API: DefaultApi.combine_comments_with_question_results ...'
|
|
@@ -734,7 +818,7 @@ module FastCommentsClient
|
|
|
734
818
|
post_body = opts[:debug_body]
|
|
735
819
|
|
|
736
820
|
# return_type
|
|
737
|
-
return_type = opts[:debug_return_type] || '
|
|
821
|
+
return_type = opts[:debug_return_type] || 'CombineQuestionResultsWithCommentsResponse'
|
|
738
822
|
|
|
739
823
|
# auth_names
|
|
740
824
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -759,7 +843,7 @@ module FastCommentsClient
|
|
|
759
843
|
# @param tenant_id [String]
|
|
760
844
|
# @param create_email_template_body [CreateEmailTemplateBody]
|
|
761
845
|
# @param [Hash] opts the optional parameters
|
|
762
|
-
# @return [
|
|
846
|
+
# @return [CreateEmailTemplateResponse]
|
|
763
847
|
def create_email_template(tenant_id, create_email_template_body, opts = {})
|
|
764
848
|
data, _status_code, _headers = create_email_template_with_http_info(tenant_id, create_email_template_body, opts)
|
|
765
849
|
data
|
|
@@ -768,7 +852,7 @@ module FastCommentsClient
|
|
|
768
852
|
# @param tenant_id [String]
|
|
769
853
|
# @param create_email_template_body [CreateEmailTemplateBody]
|
|
770
854
|
# @param [Hash] opts the optional parameters
|
|
771
|
-
# @return [Array<(
|
|
855
|
+
# @return [Array<(CreateEmailTemplateResponse, Integer, Hash)>] CreateEmailTemplateResponse data, response status code and response headers
|
|
772
856
|
def create_email_template_with_http_info(tenant_id, create_email_template_body, opts = {})
|
|
773
857
|
if @api_client.config.debugging
|
|
774
858
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_email_template ...'
|
|
@@ -805,7 +889,7 @@ module FastCommentsClient
|
|
|
805
889
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_email_template_body)
|
|
806
890
|
|
|
807
891
|
# return_type
|
|
808
|
-
return_type = opts[:debug_return_type] || '
|
|
892
|
+
return_type = opts[:debug_return_type] || 'CreateEmailTemplateResponse'
|
|
809
893
|
|
|
810
894
|
# auth_names
|
|
811
895
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -834,7 +918,7 @@ module FastCommentsClient
|
|
|
834
918
|
# @option opts [Boolean] :is_live
|
|
835
919
|
# @option opts [Boolean] :do_spam_check
|
|
836
920
|
# @option opts [Boolean] :skip_dup_check
|
|
837
|
-
# @return [
|
|
921
|
+
# @return [CreateFeedPostsResponse]
|
|
838
922
|
def create_feed_post(tenant_id, create_feed_post_params, opts = {})
|
|
839
923
|
data, _status_code, _headers = create_feed_post_with_http_info(tenant_id, create_feed_post_params, opts)
|
|
840
924
|
data
|
|
@@ -847,7 +931,7 @@ module FastCommentsClient
|
|
|
847
931
|
# @option opts [Boolean] :is_live
|
|
848
932
|
# @option opts [Boolean] :do_spam_check
|
|
849
933
|
# @option opts [Boolean] :skip_dup_check
|
|
850
|
-
# @return [Array<(
|
|
934
|
+
# @return [Array<(CreateFeedPostsResponse, Integer, Hash)>] CreateFeedPostsResponse data, response status code and response headers
|
|
851
935
|
def create_feed_post_with_http_info(tenant_id, create_feed_post_params, opts = {})
|
|
852
936
|
if @api_client.config.debugging
|
|
853
937
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_feed_post ...'
|
|
@@ -888,7 +972,7 @@ module FastCommentsClient
|
|
|
888
972
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_feed_post_params)
|
|
889
973
|
|
|
890
974
|
# return_type
|
|
891
|
-
return_type = opts[:debug_return_type] || '
|
|
975
|
+
return_type = opts[:debug_return_type] || 'CreateFeedPostsResponse'
|
|
892
976
|
|
|
893
977
|
# auth_names
|
|
894
978
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -913,7 +997,7 @@ module FastCommentsClient
|
|
|
913
997
|
# @param tenant_id [String]
|
|
914
998
|
# @param create_moderator_body [CreateModeratorBody]
|
|
915
999
|
# @param [Hash] opts the optional parameters
|
|
916
|
-
# @return [
|
|
1000
|
+
# @return [CreateModeratorResponse]
|
|
917
1001
|
def create_moderator(tenant_id, create_moderator_body, opts = {})
|
|
918
1002
|
data, _status_code, _headers = create_moderator_with_http_info(tenant_id, create_moderator_body, opts)
|
|
919
1003
|
data
|
|
@@ -922,7 +1006,7 @@ module FastCommentsClient
|
|
|
922
1006
|
# @param tenant_id [String]
|
|
923
1007
|
# @param create_moderator_body [CreateModeratorBody]
|
|
924
1008
|
# @param [Hash] opts the optional parameters
|
|
925
|
-
# @return [Array<(
|
|
1009
|
+
# @return [Array<(CreateModeratorResponse, Integer, Hash)>] CreateModeratorResponse data, response status code and response headers
|
|
926
1010
|
def create_moderator_with_http_info(tenant_id, create_moderator_body, opts = {})
|
|
927
1011
|
if @api_client.config.debugging
|
|
928
1012
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_moderator ...'
|
|
@@ -959,7 +1043,7 @@ module FastCommentsClient
|
|
|
959
1043
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_moderator_body)
|
|
960
1044
|
|
|
961
1045
|
# return_type
|
|
962
|
-
return_type = opts[:debug_return_type] || '
|
|
1046
|
+
return_type = opts[:debug_return_type] || 'CreateModeratorResponse'
|
|
963
1047
|
|
|
964
1048
|
# auth_names
|
|
965
1049
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -984,7 +1068,7 @@ module FastCommentsClient
|
|
|
984
1068
|
# @param tenant_id [String]
|
|
985
1069
|
# @param create_question_config_body [CreateQuestionConfigBody]
|
|
986
1070
|
# @param [Hash] opts the optional parameters
|
|
987
|
-
# @return [
|
|
1071
|
+
# @return [CreateQuestionConfigResponse]
|
|
988
1072
|
def create_question_config(tenant_id, create_question_config_body, opts = {})
|
|
989
1073
|
data, _status_code, _headers = create_question_config_with_http_info(tenant_id, create_question_config_body, opts)
|
|
990
1074
|
data
|
|
@@ -993,7 +1077,7 @@ module FastCommentsClient
|
|
|
993
1077
|
# @param tenant_id [String]
|
|
994
1078
|
# @param create_question_config_body [CreateQuestionConfigBody]
|
|
995
1079
|
# @param [Hash] opts the optional parameters
|
|
996
|
-
# @return [Array<(
|
|
1080
|
+
# @return [Array<(CreateQuestionConfigResponse, Integer, Hash)>] CreateQuestionConfigResponse data, response status code and response headers
|
|
997
1081
|
def create_question_config_with_http_info(tenant_id, create_question_config_body, opts = {})
|
|
998
1082
|
if @api_client.config.debugging
|
|
999
1083
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_question_config ...'
|
|
@@ -1030,7 +1114,7 @@ module FastCommentsClient
|
|
|
1030
1114
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_question_config_body)
|
|
1031
1115
|
|
|
1032
1116
|
# return_type
|
|
1033
|
-
return_type = opts[:debug_return_type] || '
|
|
1117
|
+
return_type = opts[:debug_return_type] || 'CreateQuestionConfigResponse'
|
|
1034
1118
|
|
|
1035
1119
|
# auth_names
|
|
1036
1120
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1055,7 +1139,7 @@ module FastCommentsClient
|
|
|
1055
1139
|
# @param tenant_id [String]
|
|
1056
1140
|
# @param create_question_result_body [CreateQuestionResultBody]
|
|
1057
1141
|
# @param [Hash] opts the optional parameters
|
|
1058
|
-
# @return [
|
|
1142
|
+
# @return [CreateQuestionResultResponse]
|
|
1059
1143
|
def create_question_result(tenant_id, create_question_result_body, opts = {})
|
|
1060
1144
|
data, _status_code, _headers = create_question_result_with_http_info(tenant_id, create_question_result_body, opts)
|
|
1061
1145
|
data
|
|
@@ -1064,7 +1148,7 @@ module FastCommentsClient
|
|
|
1064
1148
|
# @param tenant_id [String]
|
|
1065
1149
|
# @param create_question_result_body [CreateQuestionResultBody]
|
|
1066
1150
|
# @param [Hash] opts the optional parameters
|
|
1067
|
-
# @return [Array<(
|
|
1151
|
+
# @return [Array<(CreateQuestionResultResponse, Integer, Hash)>] CreateQuestionResultResponse data, response status code and response headers
|
|
1068
1152
|
def create_question_result_with_http_info(tenant_id, create_question_result_body, opts = {})
|
|
1069
1153
|
if @api_client.config.debugging
|
|
1070
1154
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_question_result ...'
|
|
@@ -1101,7 +1185,7 @@ module FastCommentsClient
|
|
|
1101
1185
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_question_result_body)
|
|
1102
1186
|
|
|
1103
1187
|
# return_type
|
|
1104
|
-
return_type = opts[:debug_return_type] || '
|
|
1188
|
+
return_type = opts[:debug_return_type] || 'CreateQuestionResultResponse'
|
|
1105
1189
|
|
|
1106
1190
|
# auth_names
|
|
1107
1191
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1197,7 +1281,7 @@ module FastCommentsClient
|
|
|
1197
1281
|
# @param tenant_id [String]
|
|
1198
1282
|
# @param create_tenant_body [CreateTenantBody]
|
|
1199
1283
|
# @param [Hash] opts the optional parameters
|
|
1200
|
-
# @return [
|
|
1284
|
+
# @return [CreateTenantResponse]
|
|
1201
1285
|
def create_tenant(tenant_id, create_tenant_body, opts = {})
|
|
1202
1286
|
data, _status_code, _headers = create_tenant_with_http_info(tenant_id, create_tenant_body, opts)
|
|
1203
1287
|
data
|
|
@@ -1206,7 +1290,7 @@ module FastCommentsClient
|
|
|
1206
1290
|
# @param tenant_id [String]
|
|
1207
1291
|
# @param create_tenant_body [CreateTenantBody]
|
|
1208
1292
|
# @param [Hash] opts the optional parameters
|
|
1209
|
-
# @return [Array<(
|
|
1293
|
+
# @return [Array<(CreateTenantResponse, Integer, Hash)>] CreateTenantResponse data, response status code and response headers
|
|
1210
1294
|
def create_tenant_with_http_info(tenant_id, create_tenant_body, opts = {})
|
|
1211
1295
|
if @api_client.config.debugging
|
|
1212
1296
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant ...'
|
|
@@ -1243,7 +1327,7 @@ module FastCommentsClient
|
|
|
1243
1327
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_body)
|
|
1244
1328
|
|
|
1245
1329
|
# return_type
|
|
1246
|
-
return_type = opts[:debug_return_type] || '
|
|
1330
|
+
return_type = opts[:debug_return_type] || 'CreateTenantResponse'
|
|
1247
1331
|
|
|
1248
1332
|
# auth_names
|
|
1249
1333
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1268,7 +1352,7 @@ module FastCommentsClient
|
|
|
1268
1352
|
# @param tenant_id [String]
|
|
1269
1353
|
# @param create_tenant_package_body [CreateTenantPackageBody]
|
|
1270
1354
|
# @param [Hash] opts the optional parameters
|
|
1271
|
-
# @return [
|
|
1355
|
+
# @return [CreateTenantPackageResponse]
|
|
1272
1356
|
def create_tenant_package(tenant_id, create_tenant_package_body, opts = {})
|
|
1273
1357
|
data, _status_code, _headers = create_tenant_package_with_http_info(tenant_id, create_tenant_package_body, opts)
|
|
1274
1358
|
data
|
|
@@ -1277,7 +1361,7 @@ module FastCommentsClient
|
|
|
1277
1361
|
# @param tenant_id [String]
|
|
1278
1362
|
# @param create_tenant_package_body [CreateTenantPackageBody]
|
|
1279
1363
|
# @param [Hash] opts the optional parameters
|
|
1280
|
-
# @return [Array<(
|
|
1364
|
+
# @return [Array<(CreateTenantPackageResponse, Integer, Hash)>] CreateTenantPackageResponse data, response status code and response headers
|
|
1281
1365
|
def create_tenant_package_with_http_info(tenant_id, create_tenant_package_body, opts = {})
|
|
1282
1366
|
if @api_client.config.debugging
|
|
1283
1367
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant_package ...'
|
|
@@ -1314,7 +1398,7 @@ module FastCommentsClient
|
|
|
1314
1398
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_package_body)
|
|
1315
1399
|
|
|
1316
1400
|
# return_type
|
|
1317
|
-
return_type = opts[:debug_return_type] || '
|
|
1401
|
+
return_type = opts[:debug_return_type] || 'CreateTenantPackageResponse'
|
|
1318
1402
|
|
|
1319
1403
|
# auth_names
|
|
1320
1404
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1339,7 +1423,7 @@ module FastCommentsClient
|
|
|
1339
1423
|
# @param tenant_id [String]
|
|
1340
1424
|
# @param create_tenant_user_body [CreateTenantUserBody]
|
|
1341
1425
|
# @param [Hash] opts the optional parameters
|
|
1342
|
-
# @return [
|
|
1426
|
+
# @return [CreateTenantUserResponse]
|
|
1343
1427
|
def create_tenant_user(tenant_id, create_tenant_user_body, opts = {})
|
|
1344
1428
|
data, _status_code, _headers = create_tenant_user_with_http_info(tenant_id, create_tenant_user_body, opts)
|
|
1345
1429
|
data
|
|
@@ -1348,7 +1432,7 @@ module FastCommentsClient
|
|
|
1348
1432
|
# @param tenant_id [String]
|
|
1349
1433
|
# @param create_tenant_user_body [CreateTenantUserBody]
|
|
1350
1434
|
# @param [Hash] opts the optional parameters
|
|
1351
|
-
# @return [Array<(
|
|
1435
|
+
# @return [Array<(CreateTenantUserResponse, Integer, Hash)>] CreateTenantUserResponse data, response status code and response headers
|
|
1352
1436
|
def create_tenant_user_with_http_info(tenant_id, create_tenant_user_body, opts = {})
|
|
1353
1437
|
if @api_client.config.debugging
|
|
1354
1438
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_tenant_user ...'
|
|
@@ -1385,7 +1469,7 @@ module FastCommentsClient
|
|
|
1385
1469
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_tenant_user_body)
|
|
1386
1470
|
|
|
1387
1471
|
# return_type
|
|
1388
|
-
return_type = opts[:debug_return_type] || '
|
|
1472
|
+
return_type = opts[:debug_return_type] || 'CreateTenantUserResponse'
|
|
1389
1473
|
|
|
1390
1474
|
# auth_names
|
|
1391
1475
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1407,10 +1491,88 @@ module FastCommentsClient
|
|
|
1407
1491
|
return data, status_code, headers
|
|
1408
1492
|
end
|
|
1409
1493
|
|
|
1494
|
+
# @param tenant_id [String]
|
|
1495
|
+
# @param user_id [String]
|
|
1496
|
+
# @param create_ticket_body [CreateTicketBody]
|
|
1497
|
+
# @param [Hash] opts the optional parameters
|
|
1498
|
+
# @return [CreateTicketResponse]
|
|
1499
|
+
def create_ticket(tenant_id, user_id, create_ticket_body, opts = {})
|
|
1500
|
+
data, _status_code, _headers = create_ticket_with_http_info(tenant_id, user_id, create_ticket_body, opts)
|
|
1501
|
+
data
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
# @param tenant_id [String]
|
|
1505
|
+
# @param user_id [String]
|
|
1506
|
+
# @param create_ticket_body [CreateTicketBody]
|
|
1507
|
+
# @param [Hash] opts the optional parameters
|
|
1508
|
+
# @return [Array<(CreateTicketResponse, Integer, Hash)>] CreateTicketResponse data, response status code and response headers
|
|
1509
|
+
def create_ticket_with_http_info(tenant_id, user_id, create_ticket_body, opts = {})
|
|
1510
|
+
if @api_client.config.debugging
|
|
1511
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.create_ticket ...'
|
|
1512
|
+
end
|
|
1513
|
+
# verify the required parameter 'tenant_id' is set
|
|
1514
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
1515
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.create_ticket"
|
|
1516
|
+
end
|
|
1517
|
+
# verify the required parameter 'user_id' is set
|
|
1518
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
|
1519
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling DefaultApi.create_ticket"
|
|
1520
|
+
end
|
|
1521
|
+
# verify the required parameter 'create_ticket_body' is set
|
|
1522
|
+
if @api_client.config.client_side_validation && create_ticket_body.nil?
|
|
1523
|
+
fail ArgumentError, "Missing the required parameter 'create_ticket_body' when calling DefaultApi.create_ticket"
|
|
1524
|
+
end
|
|
1525
|
+
# resource path
|
|
1526
|
+
local_var_path = '/api/v1/tickets'
|
|
1527
|
+
|
|
1528
|
+
# query parameters
|
|
1529
|
+
query_params = opts[:query_params] || {}
|
|
1530
|
+
query_params[:'tenantId'] = tenant_id
|
|
1531
|
+
query_params[:'userId'] = user_id
|
|
1532
|
+
|
|
1533
|
+
# header parameters
|
|
1534
|
+
header_params = opts[:header_params] || {}
|
|
1535
|
+
# HTTP header 'Accept' (if needed)
|
|
1536
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1537
|
+
# HTTP header 'Content-Type'
|
|
1538
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1539
|
+
if !content_type.nil?
|
|
1540
|
+
header_params['Content-Type'] = content_type
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
# form parameters
|
|
1544
|
+
form_params = opts[:form_params] || {}
|
|
1545
|
+
|
|
1546
|
+
# http body (model)
|
|
1547
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_ticket_body)
|
|
1548
|
+
|
|
1549
|
+
# return_type
|
|
1550
|
+
return_type = opts[:debug_return_type] || 'CreateTicketResponse'
|
|
1551
|
+
|
|
1552
|
+
# auth_names
|
|
1553
|
+
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
1554
|
+
|
|
1555
|
+
new_options = opts.merge(
|
|
1556
|
+
:operation => :"DefaultApi.create_ticket",
|
|
1557
|
+
:header_params => header_params,
|
|
1558
|
+
:query_params => query_params,
|
|
1559
|
+
:form_params => form_params,
|
|
1560
|
+
:body => post_body,
|
|
1561
|
+
:auth_names => auth_names,
|
|
1562
|
+
:return_type => return_type
|
|
1563
|
+
)
|
|
1564
|
+
|
|
1565
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1566
|
+
if @api_client.config.debugging
|
|
1567
|
+
@api_client.config.logger.debug "API called: DefaultApi#create_ticket\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1568
|
+
end
|
|
1569
|
+
return data, status_code, headers
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1410
1572
|
# @param tenant_id [String]
|
|
1411
1573
|
# @param create_user_badge_params [CreateUserBadgeParams]
|
|
1412
1574
|
# @param [Hash] opts the optional parameters
|
|
1413
|
-
# @return [
|
|
1575
|
+
# @return [APICreateUserBadgeResponse]
|
|
1414
1576
|
def create_user_badge(tenant_id, create_user_badge_params, opts = {})
|
|
1415
1577
|
data, _status_code, _headers = create_user_badge_with_http_info(tenant_id, create_user_badge_params, opts)
|
|
1416
1578
|
data
|
|
@@ -1419,7 +1581,7 @@ module FastCommentsClient
|
|
|
1419
1581
|
# @param tenant_id [String]
|
|
1420
1582
|
# @param create_user_badge_params [CreateUserBadgeParams]
|
|
1421
1583
|
# @param [Hash] opts the optional parameters
|
|
1422
|
-
# @return [Array<(
|
|
1584
|
+
# @return [Array<(APICreateUserBadgeResponse, Integer, Hash)>] APICreateUserBadgeResponse data, response status code and response headers
|
|
1423
1585
|
def create_user_badge_with_http_info(tenant_id, create_user_badge_params, opts = {})
|
|
1424
1586
|
if @api_client.config.debugging
|
|
1425
1587
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_user_badge ...'
|
|
@@ -1456,7 +1618,7 @@ module FastCommentsClient
|
|
|
1456
1618
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_user_badge_params)
|
|
1457
1619
|
|
|
1458
1620
|
# return_type
|
|
1459
|
-
return_type = opts[:debug_return_type] || '
|
|
1621
|
+
return_type = opts[:debug_return_type] || 'APICreateUserBadgeResponse'
|
|
1460
1622
|
|
|
1461
1623
|
# auth_names
|
|
1462
1624
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1484,7 +1646,7 @@ module FastCommentsClient
|
|
|
1484
1646
|
# @param [Hash] opts the optional parameters
|
|
1485
1647
|
# @option opts [String] :user_id
|
|
1486
1648
|
# @option opts [String] :anon_user_id
|
|
1487
|
-
# @return [
|
|
1649
|
+
# @return [VoteResponse]
|
|
1488
1650
|
def create_vote(tenant_id, comment_id, direction, opts = {})
|
|
1489
1651
|
data, _status_code, _headers = create_vote_with_http_info(tenant_id, comment_id, direction, opts)
|
|
1490
1652
|
data
|
|
@@ -1496,7 +1658,7 @@ module FastCommentsClient
|
|
|
1496
1658
|
# @param [Hash] opts the optional parameters
|
|
1497
1659
|
# @option opts [String] :user_id
|
|
1498
1660
|
# @option opts [String] :anon_user_id
|
|
1499
|
-
# @return [Array<(
|
|
1661
|
+
# @return [Array<(VoteResponse, Integer, Hash)>] VoteResponse data, response status code and response headers
|
|
1500
1662
|
def create_vote_with_http_info(tenant_id, comment_id, direction, opts = {})
|
|
1501
1663
|
if @api_client.config.debugging
|
|
1502
1664
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_vote ...'
|
|
@@ -1541,7 +1703,7 @@ module FastCommentsClient
|
|
|
1541
1703
|
post_body = opts[:debug_body]
|
|
1542
1704
|
|
|
1543
1705
|
# return_type
|
|
1544
|
-
return_type = opts[:debug_return_type] || '
|
|
1706
|
+
return_type = opts[:debug_return_type] || 'VoteResponse'
|
|
1545
1707
|
|
|
1546
1708
|
# auth_names
|
|
1547
1709
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1568,7 +1730,7 @@ module FastCommentsClient
|
|
|
1568
1730
|
# @param [Hash] opts the optional parameters
|
|
1569
1731
|
# @option opts [String] :context_user_id
|
|
1570
1732
|
# @option opts [Boolean] :is_live
|
|
1571
|
-
# @return [
|
|
1733
|
+
# @return [DeleteCommentResult]
|
|
1572
1734
|
def delete_comment(tenant_id, id, opts = {})
|
|
1573
1735
|
data, _status_code, _headers = delete_comment_with_http_info(tenant_id, id, opts)
|
|
1574
1736
|
data
|
|
@@ -1579,7 +1741,7 @@ module FastCommentsClient
|
|
|
1579
1741
|
# @param [Hash] opts the optional parameters
|
|
1580
1742
|
# @option opts [String] :context_user_id
|
|
1581
1743
|
# @option opts [Boolean] :is_live
|
|
1582
|
-
# @return [Array<(
|
|
1744
|
+
# @return [Array<(DeleteCommentResult, Integer, Hash)>] DeleteCommentResult data, response status code and response headers
|
|
1583
1745
|
def delete_comment_with_http_info(tenant_id, id, opts = {})
|
|
1584
1746
|
if @api_client.config.debugging
|
|
1585
1747
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_comment ...'
|
|
@@ -1613,7 +1775,7 @@ module FastCommentsClient
|
|
|
1613
1775
|
post_body = opts[:debug_body]
|
|
1614
1776
|
|
|
1615
1777
|
# return_type
|
|
1616
|
-
return_type = opts[:debug_return_type] || '
|
|
1778
|
+
return_type = opts[:debug_return_type] || 'DeleteCommentResult'
|
|
1617
1779
|
|
|
1618
1780
|
# auth_names
|
|
1619
1781
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1638,7 +1800,7 @@ module FastCommentsClient
|
|
|
1638
1800
|
# @param tenant_id [String]
|
|
1639
1801
|
# @param domain [String]
|
|
1640
1802
|
# @param [Hash] opts the optional parameters
|
|
1641
|
-
# @return [
|
|
1803
|
+
# @return [DeleteDomainConfigResponse]
|
|
1642
1804
|
def delete_domain_config(tenant_id, domain, opts = {})
|
|
1643
1805
|
data, _status_code, _headers = delete_domain_config_with_http_info(tenant_id, domain, opts)
|
|
1644
1806
|
data
|
|
@@ -1647,7 +1809,7 @@ module FastCommentsClient
|
|
|
1647
1809
|
# @param tenant_id [String]
|
|
1648
1810
|
# @param domain [String]
|
|
1649
1811
|
# @param [Hash] opts the optional parameters
|
|
1650
|
-
# @return [Array<(
|
|
1812
|
+
# @return [Array<(DeleteDomainConfigResponse, Integer, Hash)>] DeleteDomainConfigResponse data, response status code and response headers
|
|
1651
1813
|
def delete_domain_config_with_http_info(tenant_id, domain, opts = {})
|
|
1652
1814
|
if @api_client.config.debugging
|
|
1653
1815
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_domain_config ...'
|
|
@@ -1679,7 +1841,7 @@ module FastCommentsClient
|
|
|
1679
1841
|
post_body = opts[:debug_body]
|
|
1680
1842
|
|
|
1681
1843
|
# return_type
|
|
1682
|
-
return_type = opts[:debug_return_type] || '
|
|
1844
|
+
return_type = opts[:debug_return_type] || 'DeleteDomainConfigResponse'
|
|
1683
1845
|
|
|
1684
1846
|
# auth_names
|
|
1685
1847
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1704,7 +1866,7 @@ module FastCommentsClient
|
|
|
1704
1866
|
# @param tenant_id [String]
|
|
1705
1867
|
# @param id [String]
|
|
1706
1868
|
# @param [Hash] opts the optional parameters
|
|
1707
|
-
# @return [
|
|
1869
|
+
# @return [APIEmptyResponse]
|
|
1708
1870
|
def delete_email_template(tenant_id, id, opts = {})
|
|
1709
1871
|
data, _status_code, _headers = delete_email_template_with_http_info(tenant_id, id, opts)
|
|
1710
1872
|
data
|
|
@@ -1713,7 +1875,7 @@ module FastCommentsClient
|
|
|
1713
1875
|
# @param tenant_id [String]
|
|
1714
1876
|
# @param id [String]
|
|
1715
1877
|
# @param [Hash] opts the optional parameters
|
|
1716
|
-
# @return [Array<(
|
|
1878
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1717
1879
|
def delete_email_template_with_http_info(tenant_id, id, opts = {})
|
|
1718
1880
|
if @api_client.config.debugging
|
|
1719
1881
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_email_template ...'
|
|
@@ -1745,7 +1907,7 @@ module FastCommentsClient
|
|
|
1745
1907
|
post_body = opts[:debug_body]
|
|
1746
1908
|
|
|
1747
1909
|
# return_type
|
|
1748
|
-
return_type = opts[:debug_return_type] || '
|
|
1910
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1749
1911
|
|
|
1750
1912
|
# auth_names
|
|
1751
1913
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1771,7 +1933,7 @@ module FastCommentsClient
|
|
|
1771
1933
|
# @param id [String]
|
|
1772
1934
|
# @param error_id [String]
|
|
1773
1935
|
# @param [Hash] opts the optional parameters
|
|
1774
|
-
# @return [
|
|
1936
|
+
# @return [APIEmptyResponse]
|
|
1775
1937
|
def delete_email_template_render_error(tenant_id, id, error_id, opts = {})
|
|
1776
1938
|
data, _status_code, _headers = delete_email_template_render_error_with_http_info(tenant_id, id, error_id, opts)
|
|
1777
1939
|
data
|
|
@@ -1781,7 +1943,7 @@ module FastCommentsClient
|
|
|
1781
1943
|
# @param id [String]
|
|
1782
1944
|
# @param error_id [String]
|
|
1783
1945
|
# @param [Hash] opts the optional parameters
|
|
1784
|
-
# @return [Array<(
|
|
1946
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1785
1947
|
def delete_email_template_render_error_with_http_info(tenant_id, id, error_id, opts = {})
|
|
1786
1948
|
if @api_client.config.debugging
|
|
1787
1949
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_email_template_render_error ...'
|
|
@@ -1817,7 +1979,7 @@ module FastCommentsClient
|
|
|
1817
1979
|
post_body = opts[:debug_body]
|
|
1818
1980
|
|
|
1819
1981
|
# return_type
|
|
1820
|
-
return_type = opts[:debug_return_type] || '
|
|
1982
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1821
1983
|
|
|
1822
1984
|
# auth_names
|
|
1823
1985
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1842,8 +2004,8 @@ module FastCommentsClient
|
|
|
1842
2004
|
# @param tag [String]
|
|
1843
2005
|
# @param [Hash] opts the optional parameters
|
|
1844
2006
|
# @option opts [String] :tenant_id
|
|
1845
|
-
# @option opts [
|
|
1846
|
-
# @return [
|
|
2007
|
+
# @option opts [DeleteHashTagRequestBody] :delete_hash_tag_request_body
|
|
2008
|
+
# @return [APIEmptyResponse]
|
|
1847
2009
|
def delete_hash_tag(tag, opts = {})
|
|
1848
2010
|
data, _status_code, _headers = delete_hash_tag_with_http_info(tag, opts)
|
|
1849
2011
|
data
|
|
@@ -1852,8 +2014,8 @@ module FastCommentsClient
|
|
|
1852
2014
|
# @param tag [String]
|
|
1853
2015
|
# @param [Hash] opts the optional parameters
|
|
1854
2016
|
# @option opts [String] :tenant_id
|
|
1855
|
-
# @option opts [
|
|
1856
|
-
# @return [Array<(
|
|
2017
|
+
# @option opts [DeleteHashTagRequestBody] :delete_hash_tag_request_body
|
|
2018
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1857
2019
|
def delete_hash_tag_with_http_info(tag, opts = {})
|
|
1858
2020
|
if @api_client.config.debugging
|
|
1859
2021
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_hash_tag ...'
|
|
@@ -1883,10 +2045,10 @@ module FastCommentsClient
|
|
|
1883
2045
|
form_params = opts[:form_params] || {}
|
|
1884
2046
|
|
|
1885
2047
|
# http body (model)
|
|
1886
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
2048
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_hash_tag_request_body'])
|
|
1887
2049
|
|
|
1888
2050
|
# return_type
|
|
1889
|
-
return_type = opts[:debug_return_type] || '
|
|
2051
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1890
2052
|
|
|
1891
2053
|
# auth_names
|
|
1892
2054
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1912,7 +2074,7 @@ module FastCommentsClient
|
|
|
1912
2074
|
# @param id [String]
|
|
1913
2075
|
# @param [Hash] opts the optional parameters
|
|
1914
2076
|
# @option opts [String] :send_email
|
|
1915
|
-
# @return [
|
|
2077
|
+
# @return [APIEmptyResponse]
|
|
1916
2078
|
def delete_moderator(tenant_id, id, opts = {})
|
|
1917
2079
|
data, _status_code, _headers = delete_moderator_with_http_info(tenant_id, id, opts)
|
|
1918
2080
|
data
|
|
@@ -1922,7 +2084,7 @@ module FastCommentsClient
|
|
|
1922
2084
|
# @param id [String]
|
|
1923
2085
|
# @param [Hash] opts the optional parameters
|
|
1924
2086
|
# @option opts [String] :send_email
|
|
1925
|
-
# @return [Array<(
|
|
2087
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1926
2088
|
def delete_moderator_with_http_info(tenant_id, id, opts = {})
|
|
1927
2089
|
if @api_client.config.debugging
|
|
1928
2090
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_moderator ...'
|
|
@@ -1955,7 +2117,7 @@ module FastCommentsClient
|
|
|
1955
2117
|
post_body = opts[:debug_body]
|
|
1956
2118
|
|
|
1957
2119
|
# return_type
|
|
1958
|
-
return_type = opts[:debug_return_type] || '
|
|
2120
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
1959
2121
|
|
|
1960
2122
|
# auth_names
|
|
1961
2123
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -1980,7 +2142,7 @@ module FastCommentsClient
|
|
|
1980
2142
|
# @param tenant_id [String]
|
|
1981
2143
|
# @param id [String]
|
|
1982
2144
|
# @param [Hash] opts the optional parameters
|
|
1983
|
-
# @return [
|
|
2145
|
+
# @return [APIEmptyResponse]
|
|
1984
2146
|
def delete_notification_count(tenant_id, id, opts = {})
|
|
1985
2147
|
data, _status_code, _headers = delete_notification_count_with_http_info(tenant_id, id, opts)
|
|
1986
2148
|
data
|
|
@@ -1989,7 +2151,7 @@ module FastCommentsClient
|
|
|
1989
2151
|
# @param tenant_id [String]
|
|
1990
2152
|
# @param id [String]
|
|
1991
2153
|
# @param [Hash] opts the optional parameters
|
|
1992
|
-
# @return [Array<(
|
|
2154
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
1993
2155
|
def delete_notification_count_with_http_info(tenant_id, id, opts = {})
|
|
1994
2156
|
if @api_client.config.debugging
|
|
1995
2157
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_notification_count ...'
|
|
@@ -2021,7 +2183,7 @@ module FastCommentsClient
|
|
|
2021
2183
|
post_body = opts[:debug_body]
|
|
2022
2184
|
|
|
2023
2185
|
# return_type
|
|
2024
|
-
return_type = opts[:debug_return_type] || '
|
|
2186
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2025
2187
|
|
|
2026
2188
|
# auth_names
|
|
2027
2189
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2112,7 +2274,7 @@ module FastCommentsClient
|
|
|
2112
2274
|
# @param tenant_id [String]
|
|
2113
2275
|
# @param id [String]
|
|
2114
2276
|
# @param [Hash] opts the optional parameters
|
|
2115
|
-
# @return [
|
|
2277
|
+
# @return [APIEmptyResponse]
|
|
2116
2278
|
def delete_pending_webhook_event(tenant_id, id, opts = {})
|
|
2117
2279
|
data, _status_code, _headers = delete_pending_webhook_event_with_http_info(tenant_id, id, opts)
|
|
2118
2280
|
data
|
|
@@ -2121,7 +2283,7 @@ module FastCommentsClient
|
|
|
2121
2283
|
# @param tenant_id [String]
|
|
2122
2284
|
# @param id [String]
|
|
2123
2285
|
# @param [Hash] opts the optional parameters
|
|
2124
|
-
# @return [Array<(
|
|
2286
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2125
2287
|
def delete_pending_webhook_event_with_http_info(tenant_id, id, opts = {})
|
|
2126
2288
|
if @api_client.config.debugging
|
|
2127
2289
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_pending_webhook_event ...'
|
|
@@ -2153,7 +2315,7 @@ module FastCommentsClient
|
|
|
2153
2315
|
post_body = opts[:debug_body]
|
|
2154
2316
|
|
|
2155
2317
|
# return_type
|
|
2156
|
-
return_type = opts[:debug_return_type] || '
|
|
2318
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2157
2319
|
|
|
2158
2320
|
# auth_names
|
|
2159
2321
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2178,7 +2340,7 @@ module FastCommentsClient
|
|
|
2178
2340
|
# @param tenant_id [String]
|
|
2179
2341
|
# @param id [String]
|
|
2180
2342
|
# @param [Hash] opts the optional parameters
|
|
2181
|
-
# @return [
|
|
2343
|
+
# @return [APIEmptyResponse]
|
|
2182
2344
|
def delete_question_config(tenant_id, id, opts = {})
|
|
2183
2345
|
data, _status_code, _headers = delete_question_config_with_http_info(tenant_id, id, opts)
|
|
2184
2346
|
data
|
|
@@ -2187,7 +2349,7 @@ module FastCommentsClient
|
|
|
2187
2349
|
# @param tenant_id [String]
|
|
2188
2350
|
# @param id [String]
|
|
2189
2351
|
# @param [Hash] opts the optional parameters
|
|
2190
|
-
# @return [Array<(
|
|
2352
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2191
2353
|
def delete_question_config_with_http_info(tenant_id, id, opts = {})
|
|
2192
2354
|
if @api_client.config.debugging
|
|
2193
2355
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_question_config ...'
|
|
@@ -2219,7 +2381,7 @@ module FastCommentsClient
|
|
|
2219
2381
|
post_body = opts[:debug_body]
|
|
2220
2382
|
|
|
2221
2383
|
# return_type
|
|
2222
|
-
return_type = opts[:debug_return_type] || '
|
|
2384
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2223
2385
|
|
|
2224
2386
|
# auth_names
|
|
2225
2387
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2244,7 +2406,7 @@ module FastCommentsClient
|
|
|
2244
2406
|
# @param tenant_id [String]
|
|
2245
2407
|
# @param id [String]
|
|
2246
2408
|
# @param [Hash] opts the optional parameters
|
|
2247
|
-
# @return [
|
|
2409
|
+
# @return [APIEmptyResponse]
|
|
2248
2410
|
def delete_question_result(tenant_id, id, opts = {})
|
|
2249
2411
|
data, _status_code, _headers = delete_question_result_with_http_info(tenant_id, id, opts)
|
|
2250
2412
|
data
|
|
@@ -2253,7 +2415,7 @@ module FastCommentsClient
|
|
|
2253
2415
|
# @param tenant_id [String]
|
|
2254
2416
|
# @param id [String]
|
|
2255
2417
|
# @param [Hash] opts the optional parameters
|
|
2256
|
-
# @return [Array<(
|
|
2418
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2257
2419
|
def delete_question_result_with_http_info(tenant_id, id, opts = {})
|
|
2258
2420
|
if @api_client.config.debugging
|
|
2259
2421
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_question_result ...'
|
|
@@ -2285,7 +2447,7 @@ module FastCommentsClient
|
|
|
2285
2447
|
post_body = opts[:debug_body]
|
|
2286
2448
|
|
|
2287
2449
|
# return_type
|
|
2288
|
-
return_type = opts[:debug_return_type] || '
|
|
2450
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2289
2451
|
|
|
2290
2452
|
# auth_names
|
|
2291
2453
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2452,7 +2614,7 @@ module FastCommentsClient
|
|
|
2452
2614
|
# @param id [String]
|
|
2453
2615
|
# @param [Hash] opts the optional parameters
|
|
2454
2616
|
# @option opts [String] :sure
|
|
2455
|
-
# @return [
|
|
2617
|
+
# @return [APIEmptyResponse]
|
|
2456
2618
|
def delete_tenant(tenant_id, id, opts = {})
|
|
2457
2619
|
data, _status_code, _headers = delete_tenant_with_http_info(tenant_id, id, opts)
|
|
2458
2620
|
data
|
|
@@ -2462,7 +2624,7 @@ module FastCommentsClient
|
|
|
2462
2624
|
# @param id [String]
|
|
2463
2625
|
# @param [Hash] opts the optional parameters
|
|
2464
2626
|
# @option opts [String] :sure
|
|
2465
|
-
# @return [Array<(
|
|
2627
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2466
2628
|
def delete_tenant_with_http_info(tenant_id, id, opts = {})
|
|
2467
2629
|
if @api_client.config.debugging
|
|
2468
2630
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant ...'
|
|
@@ -2495,7 +2657,7 @@ module FastCommentsClient
|
|
|
2495
2657
|
post_body = opts[:debug_body]
|
|
2496
2658
|
|
|
2497
2659
|
# return_type
|
|
2498
|
-
return_type = opts[:debug_return_type] || '
|
|
2660
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2499
2661
|
|
|
2500
2662
|
# auth_names
|
|
2501
2663
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2520,7 +2682,7 @@ module FastCommentsClient
|
|
|
2520
2682
|
# @param tenant_id [String]
|
|
2521
2683
|
# @param id [String]
|
|
2522
2684
|
# @param [Hash] opts the optional parameters
|
|
2523
|
-
# @return [
|
|
2685
|
+
# @return [APIEmptyResponse]
|
|
2524
2686
|
def delete_tenant_package(tenant_id, id, opts = {})
|
|
2525
2687
|
data, _status_code, _headers = delete_tenant_package_with_http_info(tenant_id, id, opts)
|
|
2526
2688
|
data
|
|
@@ -2529,7 +2691,7 @@ module FastCommentsClient
|
|
|
2529
2691
|
# @param tenant_id [String]
|
|
2530
2692
|
# @param id [String]
|
|
2531
2693
|
# @param [Hash] opts the optional parameters
|
|
2532
|
-
# @return [Array<(
|
|
2694
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2533
2695
|
def delete_tenant_package_with_http_info(tenant_id, id, opts = {})
|
|
2534
2696
|
if @api_client.config.debugging
|
|
2535
2697
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant_package ...'
|
|
@@ -2561,7 +2723,7 @@ module FastCommentsClient
|
|
|
2561
2723
|
post_body = opts[:debug_body]
|
|
2562
2724
|
|
|
2563
2725
|
# return_type
|
|
2564
|
-
return_type = opts[:debug_return_type] || '
|
|
2726
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2565
2727
|
|
|
2566
2728
|
# auth_names
|
|
2567
2729
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2588,7 +2750,7 @@ module FastCommentsClient
|
|
|
2588
2750
|
# @param [Hash] opts the optional parameters
|
|
2589
2751
|
# @option opts [String] :delete_comments
|
|
2590
2752
|
# @option opts [String] :comment_delete_mode
|
|
2591
|
-
# @return [
|
|
2753
|
+
# @return [APIEmptyResponse]
|
|
2592
2754
|
def delete_tenant_user(tenant_id, id, opts = {})
|
|
2593
2755
|
data, _status_code, _headers = delete_tenant_user_with_http_info(tenant_id, id, opts)
|
|
2594
2756
|
data
|
|
@@ -2599,7 +2761,7 @@ module FastCommentsClient
|
|
|
2599
2761
|
# @param [Hash] opts the optional parameters
|
|
2600
2762
|
# @option opts [String] :delete_comments
|
|
2601
2763
|
# @option opts [String] :comment_delete_mode
|
|
2602
|
-
# @return [Array<(
|
|
2764
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
2603
2765
|
def delete_tenant_user_with_http_info(tenant_id, id, opts = {})
|
|
2604
2766
|
if @api_client.config.debugging
|
|
2605
2767
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_tenant_user ...'
|
|
@@ -2633,7 +2795,7 @@ module FastCommentsClient
|
|
|
2633
2795
|
post_body = opts[:debug_body]
|
|
2634
2796
|
|
|
2635
2797
|
# return_type
|
|
2636
|
-
return_type = opts[:debug_return_type] || '
|
|
2798
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
2637
2799
|
|
|
2638
2800
|
# auth_names
|
|
2639
2801
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2658,7 +2820,7 @@ module FastCommentsClient
|
|
|
2658
2820
|
# @param tenant_id [String]
|
|
2659
2821
|
# @param id [String]
|
|
2660
2822
|
# @param [Hash] opts the optional parameters
|
|
2661
|
-
# @return [
|
|
2823
|
+
# @return [APIEmptySuccessResponse]
|
|
2662
2824
|
def delete_user_badge(tenant_id, id, opts = {})
|
|
2663
2825
|
data, _status_code, _headers = delete_user_badge_with_http_info(tenant_id, id, opts)
|
|
2664
2826
|
data
|
|
@@ -2667,7 +2829,7 @@ module FastCommentsClient
|
|
|
2667
2829
|
# @param tenant_id [String]
|
|
2668
2830
|
# @param id [String]
|
|
2669
2831
|
# @param [Hash] opts the optional parameters
|
|
2670
|
-
# @return [Array<(
|
|
2832
|
+
# @return [Array<(APIEmptySuccessResponse, Integer, Hash)>] APIEmptySuccessResponse data, response status code and response headers
|
|
2671
2833
|
def delete_user_badge_with_http_info(tenant_id, id, opts = {})
|
|
2672
2834
|
if @api_client.config.debugging
|
|
2673
2835
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_user_badge ...'
|
|
@@ -2699,7 +2861,7 @@ module FastCommentsClient
|
|
|
2699
2861
|
post_body = opts[:debug_body]
|
|
2700
2862
|
|
|
2701
2863
|
# return_type
|
|
2702
|
-
return_type = opts[:debug_return_type] || '
|
|
2864
|
+
return_type = opts[:debug_return_type] || 'APIEmptySuccessResponse'
|
|
2703
2865
|
|
|
2704
2866
|
# auth_names
|
|
2705
2867
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2725,7 +2887,7 @@ module FastCommentsClient
|
|
|
2725
2887
|
# @param id [String]
|
|
2726
2888
|
# @param [Hash] opts the optional parameters
|
|
2727
2889
|
# @option opts [String] :edit_key
|
|
2728
|
-
# @return [
|
|
2890
|
+
# @return [VoteDeleteResponse]
|
|
2729
2891
|
def delete_vote(tenant_id, id, opts = {})
|
|
2730
2892
|
data, _status_code, _headers = delete_vote_with_http_info(tenant_id, id, opts)
|
|
2731
2893
|
data
|
|
@@ -2735,7 +2897,7 @@ module FastCommentsClient
|
|
|
2735
2897
|
# @param id [String]
|
|
2736
2898
|
# @param [Hash] opts the optional parameters
|
|
2737
2899
|
# @option opts [String] :edit_key
|
|
2738
|
-
# @return [Array<(
|
|
2900
|
+
# @return [Array<(VoteDeleteResponse, Integer, Hash)>] VoteDeleteResponse data, response status code and response headers
|
|
2739
2901
|
def delete_vote_with_http_info(tenant_id, id, opts = {})
|
|
2740
2902
|
if @api_client.config.debugging
|
|
2741
2903
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_vote ...'
|
|
@@ -2768,7 +2930,7 @@ module FastCommentsClient
|
|
|
2768
2930
|
post_body = opts[:debug_body]
|
|
2769
2931
|
|
|
2770
2932
|
# return_type
|
|
2771
|
-
return_type = opts[:debug_return_type] || '
|
|
2933
|
+
return_type = opts[:debug_return_type] || 'VoteDeleteResponse'
|
|
2772
2934
|
|
|
2773
2935
|
# auth_names
|
|
2774
2936
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2795,7 +2957,7 @@ module FastCommentsClient
|
|
|
2795
2957
|
# @param [Hash] opts the optional parameters
|
|
2796
2958
|
# @option opts [String] :user_id
|
|
2797
2959
|
# @option opts [String] :anon_user_id
|
|
2798
|
-
# @return [
|
|
2960
|
+
# @return [FlagCommentResponse]
|
|
2799
2961
|
def flag_comment(tenant_id, id, opts = {})
|
|
2800
2962
|
data, _status_code, _headers = flag_comment_with_http_info(tenant_id, id, opts)
|
|
2801
2963
|
data
|
|
@@ -2806,7 +2968,7 @@ module FastCommentsClient
|
|
|
2806
2968
|
# @param [Hash] opts the optional parameters
|
|
2807
2969
|
# @option opts [String] :user_id
|
|
2808
2970
|
# @option opts [String] :anon_user_id
|
|
2809
|
-
# @return [Array<(
|
|
2971
|
+
# @return [Array<(FlagCommentResponse, Integer, Hash)>] FlagCommentResponse data, response status code and response headers
|
|
2810
2972
|
def flag_comment_with_http_info(tenant_id, id, opts = {})
|
|
2811
2973
|
if @api_client.config.debugging
|
|
2812
2974
|
@api_client.config.logger.debug 'Calling API: DefaultApi.flag_comment ...'
|
|
@@ -2840,7 +3002,7 @@ module FastCommentsClient
|
|
|
2840
3002
|
post_body = opts[:debug_body]
|
|
2841
3003
|
|
|
2842
3004
|
# return_type
|
|
2843
|
-
return_type = opts[:debug_return_type] || '
|
|
3005
|
+
return_type = opts[:debug_return_type] || 'FlagCommentResponse'
|
|
2844
3006
|
|
|
2845
3007
|
# auth_names
|
|
2846
3008
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2869,7 +3031,7 @@ module FastCommentsClient
|
|
|
2869
3031
|
# @option opts [SORTDIR] :order
|
|
2870
3032
|
# @option opts [Float] :after
|
|
2871
3033
|
# @option opts [Float] :before
|
|
2872
|
-
# @return [
|
|
3034
|
+
# @return [GetAuditLogsResponse]
|
|
2873
3035
|
def get_audit_logs(tenant_id, opts = {})
|
|
2874
3036
|
data, _status_code, _headers = get_audit_logs_with_http_info(tenant_id, opts)
|
|
2875
3037
|
data
|
|
@@ -2882,7 +3044,7 @@ module FastCommentsClient
|
|
|
2882
3044
|
# @option opts [SORTDIR] :order
|
|
2883
3045
|
# @option opts [Float] :after
|
|
2884
3046
|
# @option opts [Float] :before
|
|
2885
|
-
# @return [Array<(
|
|
3047
|
+
# @return [Array<(GetAuditLogsResponse, Integer, Hash)>] GetAuditLogsResponse data, response status code and response headers
|
|
2886
3048
|
def get_audit_logs_with_http_info(tenant_id, opts = {})
|
|
2887
3049
|
if @api_client.config.debugging
|
|
2888
3050
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_audit_logs ...'
|
|
@@ -2915,7 +3077,7 @@ module FastCommentsClient
|
|
|
2915
3077
|
post_body = opts[:debug_body]
|
|
2916
3078
|
|
|
2917
3079
|
# return_type
|
|
2918
|
-
return_type = opts[:debug_return_type] || '
|
|
3080
|
+
return_type = opts[:debug_return_type] || 'GetAuditLogsResponse'
|
|
2919
3081
|
|
|
2920
3082
|
# auth_names
|
|
2921
3083
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -2940,7 +3102,7 @@ module FastCommentsClient
|
|
|
2940
3102
|
# @param tenant_id [String]
|
|
2941
3103
|
# @param id [String]
|
|
2942
3104
|
# @param [Hash] opts the optional parameters
|
|
2943
|
-
# @return [
|
|
3105
|
+
# @return [GetCachedNotificationCountResponse]
|
|
2944
3106
|
def get_cached_notification_count(tenant_id, id, opts = {})
|
|
2945
3107
|
data, _status_code, _headers = get_cached_notification_count_with_http_info(tenant_id, id, opts)
|
|
2946
3108
|
data
|
|
@@ -2949,7 +3111,7 @@ module FastCommentsClient
|
|
|
2949
3111
|
# @param tenant_id [String]
|
|
2950
3112
|
# @param id [String]
|
|
2951
3113
|
# @param [Hash] opts the optional parameters
|
|
2952
|
-
# @return [Array<(
|
|
3114
|
+
# @return [Array<(GetCachedNotificationCountResponse, Integer, Hash)>] GetCachedNotificationCountResponse data, response status code and response headers
|
|
2953
3115
|
def get_cached_notification_count_with_http_info(tenant_id, id, opts = {})
|
|
2954
3116
|
if @api_client.config.debugging
|
|
2955
3117
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_cached_notification_count ...'
|
|
@@ -2981,7 +3143,7 @@ module FastCommentsClient
|
|
|
2981
3143
|
post_body = opts[:debug_body]
|
|
2982
3144
|
|
|
2983
3145
|
# return_type
|
|
2984
|
-
return_type = opts[:debug_return_type] || '
|
|
3146
|
+
return_type = opts[:debug_return_type] || 'GetCachedNotificationCountResponse'
|
|
2985
3147
|
|
|
2986
3148
|
# auth_names
|
|
2987
3149
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3006,7 +3168,7 @@ module FastCommentsClient
|
|
|
3006
3168
|
# @param tenant_id [String]
|
|
3007
3169
|
# @param id [String]
|
|
3008
3170
|
# @param [Hash] opts the optional parameters
|
|
3009
|
-
# @return [
|
|
3171
|
+
# @return [APIGetCommentResponse]
|
|
3010
3172
|
def get_comment(tenant_id, id, opts = {})
|
|
3011
3173
|
data, _status_code, _headers = get_comment_with_http_info(tenant_id, id, opts)
|
|
3012
3174
|
data
|
|
@@ -3015,7 +3177,7 @@ module FastCommentsClient
|
|
|
3015
3177
|
# @param tenant_id [String]
|
|
3016
3178
|
# @param id [String]
|
|
3017
3179
|
# @param [Hash] opts the optional parameters
|
|
3018
|
-
# @return [Array<(
|
|
3180
|
+
# @return [Array<(APIGetCommentResponse, Integer, Hash)>] APIGetCommentResponse data, response status code and response headers
|
|
3019
3181
|
def get_comment_with_http_info(tenant_id, id, opts = {})
|
|
3020
3182
|
if @api_client.config.debugging
|
|
3021
3183
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_comment ...'
|
|
@@ -3047,7 +3209,7 @@ module FastCommentsClient
|
|
|
3047
3209
|
post_body = opts[:debug_body]
|
|
3048
3210
|
|
|
3049
3211
|
# return_type
|
|
3050
|
-
return_type = opts[:debug_return_type] || '
|
|
3212
|
+
return_type = opts[:debug_return_type] || 'APIGetCommentResponse'
|
|
3051
3213
|
|
|
3052
3214
|
# auth_names
|
|
3053
3215
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3085,7 +3247,9 @@ module FastCommentsClient
|
|
|
3085
3247
|
# @option opts [String] :hash_tag
|
|
3086
3248
|
# @option opts [String] :parent_id
|
|
3087
3249
|
# @option opts [SortDirections] :direction
|
|
3088
|
-
# @
|
|
3250
|
+
# @option opts [Integer] :from_date
|
|
3251
|
+
# @option opts [Integer] :to_date
|
|
3252
|
+
# @return [APIGetCommentsResponse]
|
|
3089
3253
|
def get_comments(tenant_id, opts = {})
|
|
3090
3254
|
data, _status_code, _headers = get_comments_with_http_info(tenant_id, opts)
|
|
3091
3255
|
data
|
|
@@ -3107,7 +3271,9 @@ module FastCommentsClient
|
|
|
3107
3271
|
# @option opts [String] :hash_tag
|
|
3108
3272
|
# @option opts [String] :parent_id
|
|
3109
3273
|
# @option opts [SortDirections] :direction
|
|
3110
|
-
# @
|
|
3274
|
+
# @option opts [Integer] :from_date
|
|
3275
|
+
# @option opts [Integer] :to_date
|
|
3276
|
+
# @return [Array<(APIGetCommentsResponse, Integer, Hash)>] APIGetCommentsResponse data, response status code and response headers
|
|
3111
3277
|
def get_comments_with_http_info(tenant_id, opts = {})
|
|
3112
3278
|
if @api_client.config.debugging
|
|
3113
3279
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_comments ...'
|
|
@@ -3136,6 +3302,8 @@ module FastCommentsClient
|
|
|
3136
3302
|
query_params[:'hashTag'] = opts[:'hash_tag'] if !opts[:'hash_tag'].nil?
|
|
3137
3303
|
query_params[:'parentId'] = opts[:'parent_id'] if !opts[:'parent_id'].nil?
|
|
3138
3304
|
query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
|
|
3305
|
+
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
|
3306
|
+
query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
|
3139
3307
|
|
|
3140
3308
|
# header parameters
|
|
3141
3309
|
header_params = opts[:header_params] || {}
|
|
@@ -3149,7 +3317,7 @@ module FastCommentsClient
|
|
|
3149
3317
|
post_body = opts[:debug_body]
|
|
3150
3318
|
|
|
3151
3319
|
# return_type
|
|
3152
|
-
return_type = opts[:debug_return_type] || '
|
|
3320
|
+
return_type = opts[:debug_return_type] || 'APIGetCommentsResponse'
|
|
3153
3321
|
|
|
3154
3322
|
# auth_names
|
|
3155
3323
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3174,7 +3342,7 @@ module FastCommentsClient
|
|
|
3174
3342
|
# @param tenant_id [String]
|
|
3175
3343
|
# @param domain [String]
|
|
3176
3344
|
# @param [Hash] opts the optional parameters
|
|
3177
|
-
# @return [
|
|
3345
|
+
# @return [GetDomainConfigResponse]
|
|
3178
3346
|
def get_domain_config(tenant_id, domain, opts = {})
|
|
3179
3347
|
data, _status_code, _headers = get_domain_config_with_http_info(tenant_id, domain, opts)
|
|
3180
3348
|
data
|
|
@@ -3183,7 +3351,7 @@ module FastCommentsClient
|
|
|
3183
3351
|
# @param tenant_id [String]
|
|
3184
3352
|
# @param domain [String]
|
|
3185
3353
|
# @param [Hash] opts the optional parameters
|
|
3186
|
-
# @return [Array<(
|
|
3354
|
+
# @return [Array<(GetDomainConfigResponse, Integer, Hash)>] GetDomainConfigResponse data, response status code and response headers
|
|
3187
3355
|
def get_domain_config_with_http_info(tenant_id, domain, opts = {})
|
|
3188
3356
|
if @api_client.config.debugging
|
|
3189
3357
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_domain_config ...'
|
|
@@ -3215,7 +3383,7 @@ module FastCommentsClient
|
|
|
3215
3383
|
post_body = opts[:debug_body]
|
|
3216
3384
|
|
|
3217
3385
|
# return_type
|
|
3218
|
-
return_type = opts[:debug_return_type] || '
|
|
3386
|
+
return_type = opts[:debug_return_type] || 'GetDomainConfigResponse'
|
|
3219
3387
|
|
|
3220
3388
|
# auth_names
|
|
3221
3389
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3239,7 +3407,7 @@ module FastCommentsClient
|
|
|
3239
3407
|
|
|
3240
3408
|
# @param tenant_id [String]
|
|
3241
3409
|
# @param [Hash] opts the optional parameters
|
|
3242
|
-
# @return [
|
|
3410
|
+
# @return [GetDomainConfigsResponse]
|
|
3243
3411
|
def get_domain_configs(tenant_id, opts = {})
|
|
3244
3412
|
data, _status_code, _headers = get_domain_configs_with_http_info(tenant_id, opts)
|
|
3245
3413
|
data
|
|
@@ -3247,7 +3415,7 @@ module FastCommentsClient
|
|
|
3247
3415
|
|
|
3248
3416
|
# @param tenant_id [String]
|
|
3249
3417
|
# @param [Hash] opts the optional parameters
|
|
3250
|
-
# @return [Array<(
|
|
3418
|
+
# @return [Array<(GetDomainConfigsResponse, Integer, Hash)>] GetDomainConfigsResponse data, response status code and response headers
|
|
3251
3419
|
def get_domain_configs_with_http_info(tenant_id, opts = {})
|
|
3252
3420
|
if @api_client.config.debugging
|
|
3253
3421
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_domain_configs ...'
|
|
@@ -3275,7 +3443,7 @@ module FastCommentsClient
|
|
|
3275
3443
|
post_body = opts[:debug_body]
|
|
3276
3444
|
|
|
3277
3445
|
# return_type
|
|
3278
|
-
return_type = opts[:debug_return_type] || '
|
|
3446
|
+
return_type = opts[:debug_return_type] || 'GetDomainConfigsResponse'
|
|
3279
3447
|
|
|
3280
3448
|
# auth_names
|
|
3281
3449
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3300,7 +3468,7 @@ module FastCommentsClient
|
|
|
3300
3468
|
# @param tenant_id [String]
|
|
3301
3469
|
# @param id [String]
|
|
3302
3470
|
# @param [Hash] opts the optional parameters
|
|
3303
|
-
# @return [
|
|
3471
|
+
# @return [GetEmailTemplateResponse]
|
|
3304
3472
|
def get_email_template(tenant_id, id, opts = {})
|
|
3305
3473
|
data, _status_code, _headers = get_email_template_with_http_info(tenant_id, id, opts)
|
|
3306
3474
|
data
|
|
@@ -3309,7 +3477,7 @@ module FastCommentsClient
|
|
|
3309
3477
|
# @param tenant_id [String]
|
|
3310
3478
|
# @param id [String]
|
|
3311
3479
|
# @param [Hash] opts the optional parameters
|
|
3312
|
-
# @return [Array<(
|
|
3480
|
+
# @return [Array<(GetEmailTemplateResponse, Integer, Hash)>] GetEmailTemplateResponse data, response status code and response headers
|
|
3313
3481
|
def get_email_template_with_http_info(tenant_id, id, opts = {})
|
|
3314
3482
|
if @api_client.config.debugging
|
|
3315
3483
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template ...'
|
|
@@ -3341,7 +3509,7 @@ module FastCommentsClient
|
|
|
3341
3509
|
post_body = opts[:debug_body]
|
|
3342
3510
|
|
|
3343
3511
|
# return_type
|
|
3344
|
-
return_type = opts[:debug_return_type] || '
|
|
3512
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateResponse'
|
|
3345
3513
|
|
|
3346
3514
|
# auth_names
|
|
3347
3515
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3365,7 +3533,7 @@ module FastCommentsClient
|
|
|
3365
3533
|
|
|
3366
3534
|
# @param tenant_id [String]
|
|
3367
3535
|
# @param [Hash] opts the optional parameters
|
|
3368
|
-
# @return [
|
|
3536
|
+
# @return [GetEmailTemplateDefinitionsResponse]
|
|
3369
3537
|
def get_email_template_definitions(tenant_id, opts = {})
|
|
3370
3538
|
data, _status_code, _headers = get_email_template_definitions_with_http_info(tenant_id, opts)
|
|
3371
3539
|
data
|
|
@@ -3373,7 +3541,7 @@ module FastCommentsClient
|
|
|
3373
3541
|
|
|
3374
3542
|
# @param tenant_id [String]
|
|
3375
3543
|
# @param [Hash] opts the optional parameters
|
|
3376
|
-
# @return [Array<(
|
|
3544
|
+
# @return [Array<(GetEmailTemplateDefinitionsResponse, Integer, Hash)>] GetEmailTemplateDefinitionsResponse data, response status code and response headers
|
|
3377
3545
|
def get_email_template_definitions_with_http_info(tenant_id, opts = {})
|
|
3378
3546
|
if @api_client.config.debugging
|
|
3379
3547
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template_definitions ...'
|
|
@@ -3401,7 +3569,7 @@ module FastCommentsClient
|
|
|
3401
3569
|
post_body = opts[:debug_body]
|
|
3402
3570
|
|
|
3403
3571
|
# return_type
|
|
3404
|
-
return_type = opts[:debug_return_type] || '
|
|
3572
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateDefinitionsResponse'
|
|
3405
3573
|
|
|
3406
3574
|
# auth_names
|
|
3407
3575
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3427,7 +3595,7 @@ module FastCommentsClient
|
|
|
3427
3595
|
# @param id [String]
|
|
3428
3596
|
# @param [Hash] opts the optional parameters
|
|
3429
3597
|
# @option opts [Float] :skip
|
|
3430
|
-
# @return [
|
|
3598
|
+
# @return [GetEmailTemplateRenderErrorsResponse]
|
|
3431
3599
|
def get_email_template_render_errors(tenant_id, id, opts = {})
|
|
3432
3600
|
data, _status_code, _headers = get_email_template_render_errors_with_http_info(tenant_id, id, opts)
|
|
3433
3601
|
data
|
|
@@ -3437,7 +3605,7 @@ module FastCommentsClient
|
|
|
3437
3605
|
# @param id [String]
|
|
3438
3606
|
# @param [Hash] opts the optional parameters
|
|
3439
3607
|
# @option opts [Float] :skip
|
|
3440
|
-
# @return [Array<(
|
|
3608
|
+
# @return [Array<(GetEmailTemplateRenderErrorsResponse, Integer, Hash)>] GetEmailTemplateRenderErrorsResponse data, response status code and response headers
|
|
3441
3609
|
def get_email_template_render_errors_with_http_info(tenant_id, id, opts = {})
|
|
3442
3610
|
if @api_client.config.debugging
|
|
3443
3611
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_template_render_errors ...'
|
|
@@ -3470,7 +3638,7 @@ module FastCommentsClient
|
|
|
3470
3638
|
post_body = opts[:debug_body]
|
|
3471
3639
|
|
|
3472
3640
|
# return_type
|
|
3473
|
-
return_type = opts[:debug_return_type] || '
|
|
3641
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplateRenderErrorsResponse'
|
|
3474
3642
|
|
|
3475
3643
|
# auth_names
|
|
3476
3644
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3495,7 +3663,7 @@ module FastCommentsClient
|
|
|
3495
3663
|
# @param tenant_id [String]
|
|
3496
3664
|
# @param [Hash] opts the optional parameters
|
|
3497
3665
|
# @option opts [Float] :skip
|
|
3498
|
-
# @return [
|
|
3666
|
+
# @return [GetEmailTemplatesResponse]
|
|
3499
3667
|
def get_email_templates(tenant_id, opts = {})
|
|
3500
3668
|
data, _status_code, _headers = get_email_templates_with_http_info(tenant_id, opts)
|
|
3501
3669
|
data
|
|
@@ -3504,7 +3672,7 @@ module FastCommentsClient
|
|
|
3504
3672
|
# @param tenant_id [String]
|
|
3505
3673
|
# @param [Hash] opts the optional parameters
|
|
3506
3674
|
# @option opts [Float] :skip
|
|
3507
|
-
# @return [Array<(
|
|
3675
|
+
# @return [Array<(GetEmailTemplatesResponse, Integer, Hash)>] GetEmailTemplatesResponse data, response status code and response headers
|
|
3508
3676
|
def get_email_templates_with_http_info(tenant_id, opts = {})
|
|
3509
3677
|
if @api_client.config.debugging
|
|
3510
3678
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_email_templates ...'
|
|
@@ -3533,7 +3701,7 @@ module FastCommentsClient
|
|
|
3533
3701
|
post_body = opts[:debug_body]
|
|
3534
3702
|
|
|
3535
3703
|
# return_type
|
|
3536
|
-
return_type = opts[:debug_return_type] || '
|
|
3704
|
+
return_type = opts[:debug_return_type] || 'GetEmailTemplatesResponse'
|
|
3537
3705
|
|
|
3538
3706
|
# auth_names
|
|
3539
3707
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3561,7 +3729,7 @@ module FastCommentsClient
|
|
|
3561
3729
|
# @option opts [String] :after_id
|
|
3562
3730
|
# @option opts [Integer] :limit
|
|
3563
3731
|
# @option opts [Array<String>] :tags
|
|
3564
|
-
# @return [
|
|
3732
|
+
# @return [GetFeedPostsResponse]
|
|
3565
3733
|
def get_feed_posts(tenant_id, opts = {})
|
|
3566
3734
|
data, _status_code, _headers = get_feed_posts_with_http_info(tenant_id, opts)
|
|
3567
3735
|
data
|
|
@@ -3573,7 +3741,7 @@ module FastCommentsClient
|
|
|
3573
3741
|
# @option opts [String] :after_id
|
|
3574
3742
|
# @option opts [Integer] :limit
|
|
3575
3743
|
# @option opts [Array<String>] :tags
|
|
3576
|
-
# @return [Array<(
|
|
3744
|
+
# @return [Array<(GetFeedPostsResponse, Integer, Hash)>] GetFeedPostsResponse data, response status code and response headers
|
|
3577
3745
|
def get_feed_posts_with_http_info(tenant_id, opts = {})
|
|
3578
3746
|
if @api_client.config.debugging
|
|
3579
3747
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_feed_posts ...'
|
|
@@ -3604,7 +3772,7 @@ module FastCommentsClient
|
|
|
3604
3772
|
post_body = opts[:debug_body]
|
|
3605
3773
|
|
|
3606
3774
|
# return_type
|
|
3607
|
-
return_type = opts[:debug_return_type] || '
|
|
3775
|
+
return_type = opts[:debug_return_type] || 'GetFeedPostsResponse'
|
|
3608
3776
|
|
|
3609
3777
|
# auth_names
|
|
3610
3778
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3629,7 +3797,7 @@ module FastCommentsClient
|
|
|
3629
3797
|
# @param tenant_id [String]
|
|
3630
3798
|
# @param [Hash] opts the optional parameters
|
|
3631
3799
|
# @option opts [Float] :page
|
|
3632
|
-
# @return [
|
|
3800
|
+
# @return [GetHashTagsResponse]
|
|
3633
3801
|
def get_hash_tags(tenant_id, opts = {})
|
|
3634
3802
|
data, _status_code, _headers = get_hash_tags_with_http_info(tenant_id, opts)
|
|
3635
3803
|
data
|
|
@@ -3638,7 +3806,7 @@ module FastCommentsClient
|
|
|
3638
3806
|
# @param tenant_id [String]
|
|
3639
3807
|
# @param [Hash] opts the optional parameters
|
|
3640
3808
|
# @option opts [Float] :page
|
|
3641
|
-
# @return [Array<(
|
|
3809
|
+
# @return [Array<(GetHashTagsResponse, Integer, Hash)>] GetHashTagsResponse data, response status code and response headers
|
|
3642
3810
|
def get_hash_tags_with_http_info(tenant_id, opts = {})
|
|
3643
3811
|
if @api_client.config.debugging
|
|
3644
3812
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_hash_tags ...'
|
|
@@ -3667,7 +3835,7 @@ module FastCommentsClient
|
|
|
3667
3835
|
post_body = opts[:debug_body]
|
|
3668
3836
|
|
|
3669
3837
|
# return_type
|
|
3670
|
-
return_type = opts[:debug_return_type] || '
|
|
3838
|
+
return_type = opts[:debug_return_type] || 'GetHashTagsResponse'
|
|
3671
3839
|
|
|
3672
3840
|
# auth_names
|
|
3673
3841
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3692,7 +3860,7 @@ module FastCommentsClient
|
|
|
3692
3860
|
# @param tenant_id [String]
|
|
3693
3861
|
# @param id [String]
|
|
3694
3862
|
# @param [Hash] opts the optional parameters
|
|
3695
|
-
# @return [
|
|
3863
|
+
# @return [GetModeratorResponse]
|
|
3696
3864
|
def get_moderator(tenant_id, id, opts = {})
|
|
3697
3865
|
data, _status_code, _headers = get_moderator_with_http_info(tenant_id, id, opts)
|
|
3698
3866
|
data
|
|
@@ -3701,7 +3869,7 @@ module FastCommentsClient
|
|
|
3701
3869
|
# @param tenant_id [String]
|
|
3702
3870
|
# @param id [String]
|
|
3703
3871
|
# @param [Hash] opts the optional parameters
|
|
3704
|
-
# @return [Array<(
|
|
3872
|
+
# @return [Array<(GetModeratorResponse, Integer, Hash)>] GetModeratorResponse data, response status code and response headers
|
|
3705
3873
|
def get_moderator_with_http_info(tenant_id, id, opts = {})
|
|
3706
3874
|
if @api_client.config.debugging
|
|
3707
3875
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_moderator ...'
|
|
@@ -3733,7 +3901,7 @@ module FastCommentsClient
|
|
|
3733
3901
|
post_body = opts[:debug_body]
|
|
3734
3902
|
|
|
3735
3903
|
# return_type
|
|
3736
|
-
return_type = opts[:debug_return_type] || '
|
|
3904
|
+
return_type = opts[:debug_return_type] || 'GetModeratorResponse'
|
|
3737
3905
|
|
|
3738
3906
|
# auth_names
|
|
3739
3907
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3758,7 +3926,7 @@ module FastCommentsClient
|
|
|
3758
3926
|
# @param tenant_id [String]
|
|
3759
3927
|
# @param [Hash] opts the optional parameters
|
|
3760
3928
|
# @option opts [Float] :skip
|
|
3761
|
-
# @return [
|
|
3929
|
+
# @return [GetModeratorsResponse]
|
|
3762
3930
|
def get_moderators(tenant_id, opts = {})
|
|
3763
3931
|
data, _status_code, _headers = get_moderators_with_http_info(tenant_id, opts)
|
|
3764
3932
|
data
|
|
@@ -3767,7 +3935,7 @@ module FastCommentsClient
|
|
|
3767
3935
|
# @param tenant_id [String]
|
|
3768
3936
|
# @param [Hash] opts the optional parameters
|
|
3769
3937
|
# @option opts [Float] :skip
|
|
3770
|
-
# @return [Array<(
|
|
3938
|
+
# @return [Array<(GetModeratorsResponse, Integer, Hash)>] GetModeratorsResponse data, response status code and response headers
|
|
3771
3939
|
def get_moderators_with_http_info(tenant_id, opts = {})
|
|
3772
3940
|
if @api_client.config.debugging
|
|
3773
3941
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_moderators ...'
|
|
@@ -3796,7 +3964,7 @@ module FastCommentsClient
|
|
|
3796
3964
|
post_body = opts[:debug_body]
|
|
3797
3965
|
|
|
3798
3966
|
# return_type
|
|
3799
|
-
return_type = opts[:debug_return_type] || '
|
|
3967
|
+
return_type = opts[:debug_return_type] || 'GetModeratorsResponse'
|
|
3800
3968
|
|
|
3801
3969
|
# auth_names
|
|
3802
3970
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3825,7 +3993,7 @@ module FastCommentsClient
|
|
|
3825
3993
|
# @option opts [String] :from_comment_id
|
|
3826
3994
|
# @option opts [Boolean] :viewed
|
|
3827
3995
|
# @option opts [String] :type
|
|
3828
|
-
# @return [
|
|
3996
|
+
# @return [GetNotificationCountResponse]
|
|
3829
3997
|
def get_notification_count(tenant_id, opts = {})
|
|
3830
3998
|
data, _status_code, _headers = get_notification_count_with_http_info(tenant_id, opts)
|
|
3831
3999
|
data
|
|
@@ -3838,7 +4006,7 @@ module FastCommentsClient
|
|
|
3838
4006
|
# @option opts [String] :from_comment_id
|
|
3839
4007
|
# @option opts [Boolean] :viewed
|
|
3840
4008
|
# @option opts [String] :type
|
|
3841
|
-
# @return [Array<(
|
|
4009
|
+
# @return [Array<(GetNotificationCountResponse, Integer, Hash)>] GetNotificationCountResponse data, response status code and response headers
|
|
3842
4010
|
def get_notification_count_with_http_info(tenant_id, opts = {})
|
|
3843
4011
|
if @api_client.config.debugging
|
|
3844
4012
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_notification_count ...'
|
|
@@ -3871,7 +4039,7 @@ module FastCommentsClient
|
|
|
3871
4039
|
post_body = opts[:debug_body]
|
|
3872
4040
|
|
|
3873
4041
|
# return_type
|
|
3874
|
-
return_type = opts[:debug_return_type] || '
|
|
4042
|
+
return_type = opts[:debug_return_type] || 'GetNotificationCountResponse'
|
|
3875
4043
|
|
|
3876
4044
|
# auth_names
|
|
3877
4045
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -3901,7 +4069,7 @@ module FastCommentsClient
|
|
|
3901
4069
|
# @option opts [Boolean] :viewed
|
|
3902
4070
|
# @option opts [String] :type
|
|
3903
4071
|
# @option opts [Float] :skip
|
|
3904
|
-
# @return [
|
|
4072
|
+
# @return [GetNotificationsResponse]
|
|
3905
4073
|
def get_notifications(tenant_id, opts = {})
|
|
3906
4074
|
data, _status_code, _headers = get_notifications_with_http_info(tenant_id, opts)
|
|
3907
4075
|
data
|
|
@@ -3915,7 +4083,7 @@ module FastCommentsClient
|
|
|
3915
4083
|
# @option opts [Boolean] :viewed
|
|
3916
4084
|
# @option opts [String] :type
|
|
3917
4085
|
# @option opts [Float] :skip
|
|
3918
|
-
# @return [Array<(
|
|
4086
|
+
# @return [Array<(GetNotificationsResponse, Integer, Hash)>] GetNotificationsResponse data, response status code and response headers
|
|
3919
4087
|
def get_notifications_with_http_info(tenant_id, opts = {})
|
|
3920
4088
|
if @api_client.config.debugging
|
|
3921
4089
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_notifications ...'
|
|
@@ -3949,7 +4117,7 @@ module FastCommentsClient
|
|
|
3949
4117
|
post_body = opts[:debug_body]
|
|
3950
4118
|
|
|
3951
4119
|
# return_type
|
|
3952
|
-
return_type = opts[:debug_return_type] || '
|
|
4120
|
+
return_type = opts[:debug_return_type] || 'GetNotificationsResponse'
|
|
3953
4121
|
|
|
3954
4122
|
# auth_names
|
|
3955
4123
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4106,7 +4274,7 @@ module FastCommentsClient
|
|
|
4106
4274
|
# @option opts [String] :type
|
|
4107
4275
|
# @option opts [String] :domain
|
|
4108
4276
|
# @option opts [Float] :attempt_count_gt
|
|
4109
|
-
# @return [
|
|
4277
|
+
# @return [GetPendingWebhookEventCountResponse]
|
|
4110
4278
|
def get_pending_webhook_event_count(tenant_id, opts = {})
|
|
4111
4279
|
data, _status_code, _headers = get_pending_webhook_event_count_with_http_info(tenant_id, opts)
|
|
4112
4280
|
data
|
|
@@ -4120,7 +4288,7 @@ module FastCommentsClient
|
|
|
4120
4288
|
# @option opts [String] :type
|
|
4121
4289
|
# @option opts [String] :domain
|
|
4122
4290
|
# @option opts [Float] :attempt_count_gt
|
|
4123
|
-
# @return [Array<(
|
|
4291
|
+
# @return [Array<(GetPendingWebhookEventCountResponse, Integer, Hash)>] GetPendingWebhookEventCountResponse data, response status code and response headers
|
|
4124
4292
|
def get_pending_webhook_event_count_with_http_info(tenant_id, opts = {})
|
|
4125
4293
|
if @api_client.config.debugging
|
|
4126
4294
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_pending_webhook_event_count ...'
|
|
@@ -4154,7 +4322,7 @@ module FastCommentsClient
|
|
|
4154
4322
|
post_body = opts[:debug_body]
|
|
4155
4323
|
|
|
4156
4324
|
# return_type
|
|
4157
|
-
return_type = opts[:debug_return_type] || '
|
|
4325
|
+
return_type = opts[:debug_return_type] || 'GetPendingWebhookEventCountResponse'
|
|
4158
4326
|
|
|
4159
4327
|
# auth_names
|
|
4160
4328
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4185,7 +4353,7 @@ module FastCommentsClient
|
|
|
4185
4353
|
# @option opts [String] :domain
|
|
4186
4354
|
# @option opts [Float] :attempt_count_gt
|
|
4187
4355
|
# @option opts [Float] :skip
|
|
4188
|
-
# @return [
|
|
4356
|
+
# @return [GetPendingWebhookEventsResponse]
|
|
4189
4357
|
def get_pending_webhook_events(tenant_id, opts = {})
|
|
4190
4358
|
data, _status_code, _headers = get_pending_webhook_events_with_http_info(tenant_id, opts)
|
|
4191
4359
|
data
|
|
@@ -4200,7 +4368,7 @@ module FastCommentsClient
|
|
|
4200
4368
|
# @option opts [String] :domain
|
|
4201
4369
|
# @option opts [Float] :attempt_count_gt
|
|
4202
4370
|
# @option opts [Float] :skip
|
|
4203
|
-
# @return [Array<(
|
|
4371
|
+
# @return [Array<(GetPendingWebhookEventsResponse, Integer, Hash)>] GetPendingWebhookEventsResponse data, response status code and response headers
|
|
4204
4372
|
def get_pending_webhook_events_with_http_info(tenant_id, opts = {})
|
|
4205
4373
|
if @api_client.config.debugging
|
|
4206
4374
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_pending_webhook_events ...'
|
|
@@ -4235,7 +4403,7 @@ module FastCommentsClient
|
|
|
4235
4403
|
post_body = opts[:debug_body]
|
|
4236
4404
|
|
|
4237
4405
|
# return_type
|
|
4238
|
-
return_type = opts[:debug_return_type] || '
|
|
4406
|
+
return_type = opts[:debug_return_type] || 'GetPendingWebhookEventsResponse'
|
|
4239
4407
|
|
|
4240
4408
|
# auth_names
|
|
4241
4409
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4260,7 +4428,7 @@ module FastCommentsClient
|
|
|
4260
4428
|
# @param tenant_id [String]
|
|
4261
4429
|
# @param id [String]
|
|
4262
4430
|
# @param [Hash] opts the optional parameters
|
|
4263
|
-
# @return [
|
|
4431
|
+
# @return [GetQuestionConfigResponse]
|
|
4264
4432
|
def get_question_config(tenant_id, id, opts = {})
|
|
4265
4433
|
data, _status_code, _headers = get_question_config_with_http_info(tenant_id, id, opts)
|
|
4266
4434
|
data
|
|
@@ -4269,7 +4437,7 @@ module FastCommentsClient
|
|
|
4269
4437
|
# @param tenant_id [String]
|
|
4270
4438
|
# @param id [String]
|
|
4271
4439
|
# @param [Hash] opts the optional parameters
|
|
4272
|
-
# @return [Array<(
|
|
4440
|
+
# @return [Array<(GetQuestionConfigResponse, Integer, Hash)>] GetQuestionConfigResponse data, response status code and response headers
|
|
4273
4441
|
def get_question_config_with_http_info(tenant_id, id, opts = {})
|
|
4274
4442
|
if @api_client.config.debugging
|
|
4275
4443
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_config ...'
|
|
@@ -4301,7 +4469,7 @@ module FastCommentsClient
|
|
|
4301
4469
|
post_body = opts[:debug_body]
|
|
4302
4470
|
|
|
4303
4471
|
# return_type
|
|
4304
|
-
return_type = opts[:debug_return_type] || '
|
|
4472
|
+
return_type = opts[:debug_return_type] || 'GetQuestionConfigResponse'
|
|
4305
4473
|
|
|
4306
4474
|
# auth_names
|
|
4307
4475
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4326,7 +4494,7 @@ module FastCommentsClient
|
|
|
4326
4494
|
# @param tenant_id [String]
|
|
4327
4495
|
# @param [Hash] opts the optional parameters
|
|
4328
4496
|
# @option opts [Float] :skip
|
|
4329
|
-
# @return [
|
|
4497
|
+
# @return [GetQuestionConfigsResponse]
|
|
4330
4498
|
def get_question_configs(tenant_id, opts = {})
|
|
4331
4499
|
data, _status_code, _headers = get_question_configs_with_http_info(tenant_id, opts)
|
|
4332
4500
|
data
|
|
@@ -4335,7 +4503,7 @@ module FastCommentsClient
|
|
|
4335
4503
|
# @param tenant_id [String]
|
|
4336
4504
|
# @param [Hash] opts the optional parameters
|
|
4337
4505
|
# @option opts [Float] :skip
|
|
4338
|
-
# @return [Array<(
|
|
4506
|
+
# @return [Array<(GetQuestionConfigsResponse, Integer, Hash)>] GetQuestionConfigsResponse data, response status code and response headers
|
|
4339
4507
|
def get_question_configs_with_http_info(tenant_id, opts = {})
|
|
4340
4508
|
if @api_client.config.debugging
|
|
4341
4509
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_configs ...'
|
|
@@ -4364,7 +4532,7 @@ module FastCommentsClient
|
|
|
4364
4532
|
post_body = opts[:debug_body]
|
|
4365
4533
|
|
|
4366
4534
|
# return_type
|
|
4367
|
-
return_type = opts[:debug_return_type] || '
|
|
4535
|
+
return_type = opts[:debug_return_type] || 'GetQuestionConfigsResponse'
|
|
4368
4536
|
|
|
4369
4537
|
# auth_names
|
|
4370
4538
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4389,7 +4557,7 @@ module FastCommentsClient
|
|
|
4389
4557
|
# @param tenant_id [String]
|
|
4390
4558
|
# @param id [String]
|
|
4391
4559
|
# @param [Hash] opts the optional parameters
|
|
4392
|
-
# @return [
|
|
4560
|
+
# @return [GetQuestionResultResponse]
|
|
4393
4561
|
def get_question_result(tenant_id, id, opts = {})
|
|
4394
4562
|
data, _status_code, _headers = get_question_result_with_http_info(tenant_id, id, opts)
|
|
4395
4563
|
data
|
|
@@ -4398,7 +4566,7 @@ module FastCommentsClient
|
|
|
4398
4566
|
# @param tenant_id [String]
|
|
4399
4567
|
# @param id [String]
|
|
4400
4568
|
# @param [Hash] opts the optional parameters
|
|
4401
|
-
# @return [Array<(
|
|
4569
|
+
# @return [Array<(GetQuestionResultResponse, Integer, Hash)>] GetQuestionResultResponse data, response status code and response headers
|
|
4402
4570
|
def get_question_result_with_http_info(tenant_id, id, opts = {})
|
|
4403
4571
|
if @api_client.config.debugging
|
|
4404
4572
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_result ...'
|
|
@@ -4430,7 +4598,7 @@ module FastCommentsClient
|
|
|
4430
4598
|
post_body = opts[:debug_body]
|
|
4431
4599
|
|
|
4432
4600
|
# return_type
|
|
4433
|
-
return_type = opts[:debug_return_type] || '
|
|
4601
|
+
return_type = opts[:debug_return_type] || 'GetQuestionResultResponse'
|
|
4434
4602
|
|
|
4435
4603
|
# auth_names
|
|
4436
4604
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4460,7 +4628,7 @@ module FastCommentsClient
|
|
|
4460
4628
|
# @option opts [String] :question_id
|
|
4461
4629
|
# @option opts [String] :question_ids
|
|
4462
4630
|
# @option opts [Float] :skip
|
|
4463
|
-
# @return [
|
|
4631
|
+
# @return [GetQuestionResultsResponse]
|
|
4464
4632
|
def get_question_results(tenant_id, opts = {})
|
|
4465
4633
|
data, _status_code, _headers = get_question_results_with_http_info(tenant_id, opts)
|
|
4466
4634
|
data
|
|
@@ -4474,7 +4642,7 @@ module FastCommentsClient
|
|
|
4474
4642
|
# @option opts [String] :question_id
|
|
4475
4643
|
# @option opts [String] :question_ids
|
|
4476
4644
|
# @option opts [Float] :skip
|
|
4477
|
-
# @return [Array<(
|
|
4645
|
+
# @return [Array<(GetQuestionResultsResponse, Integer, Hash)>] GetQuestionResultsResponse data, response status code and response headers
|
|
4478
4646
|
def get_question_results_with_http_info(tenant_id, opts = {})
|
|
4479
4647
|
if @api_client.config.debugging
|
|
4480
4648
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_question_results ...'
|
|
@@ -4508,7 +4676,7 @@ module FastCommentsClient
|
|
|
4508
4676
|
post_body = opts[:debug_body]
|
|
4509
4677
|
|
|
4510
4678
|
# return_type
|
|
4511
|
-
return_type = opts[:debug_return_type] || '
|
|
4679
|
+
return_type = opts[:debug_return_type] || 'GetQuestionResultsResponse'
|
|
4512
4680
|
|
|
4513
4681
|
# auth_names
|
|
4514
4682
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4665,7 +4833,7 @@ module FastCommentsClient
|
|
|
4665
4833
|
# @param tenant_id [String]
|
|
4666
4834
|
# @param [Hash] opts the optional parameters
|
|
4667
4835
|
# @option opts [Integer] :skip
|
|
4668
|
-
# @return [
|
|
4836
|
+
# @return [GetSSOUsersResponse]
|
|
4669
4837
|
def get_sso_users(tenant_id, opts = {})
|
|
4670
4838
|
data, _status_code, _headers = get_sso_users_with_http_info(tenant_id, opts)
|
|
4671
4839
|
data
|
|
@@ -4674,7 +4842,7 @@ module FastCommentsClient
|
|
|
4674
4842
|
# @param tenant_id [String]
|
|
4675
4843
|
# @param [Hash] opts the optional parameters
|
|
4676
4844
|
# @option opts [Integer] :skip
|
|
4677
|
-
# @return [Array<(
|
|
4845
|
+
# @return [Array<(GetSSOUsersResponse, Integer, Hash)>] GetSSOUsersResponse data, response status code and response headers
|
|
4678
4846
|
def get_sso_users_with_http_info(tenant_id, opts = {})
|
|
4679
4847
|
if @api_client.config.debugging
|
|
4680
4848
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_sso_users ...'
|
|
@@ -4703,7 +4871,7 @@ module FastCommentsClient
|
|
|
4703
4871
|
post_body = opts[:debug_body]
|
|
4704
4872
|
|
|
4705
4873
|
# return_type
|
|
4706
|
-
return_type = opts[:debug_return_type] || '
|
|
4874
|
+
return_type = opts[:debug_return_type] || 'GetSSOUsersResponse'
|
|
4707
4875
|
|
|
4708
4876
|
# auth_names
|
|
4709
4877
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4791,7 +4959,7 @@ module FastCommentsClient
|
|
|
4791
4959
|
# @param tenant_id [String]
|
|
4792
4960
|
# @param id [String]
|
|
4793
4961
|
# @param [Hash] opts the optional parameters
|
|
4794
|
-
# @return [
|
|
4962
|
+
# @return [GetTenantResponse]
|
|
4795
4963
|
def get_tenant(tenant_id, id, opts = {})
|
|
4796
4964
|
data, _status_code, _headers = get_tenant_with_http_info(tenant_id, id, opts)
|
|
4797
4965
|
data
|
|
@@ -4800,7 +4968,7 @@ module FastCommentsClient
|
|
|
4800
4968
|
# @param tenant_id [String]
|
|
4801
4969
|
# @param id [String]
|
|
4802
4970
|
# @param [Hash] opts the optional parameters
|
|
4803
|
-
# @return [Array<(
|
|
4971
|
+
# @return [Array<(GetTenantResponse, Integer, Hash)>] GetTenantResponse data, response status code and response headers
|
|
4804
4972
|
def get_tenant_with_http_info(tenant_id, id, opts = {})
|
|
4805
4973
|
if @api_client.config.debugging
|
|
4806
4974
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant ...'
|
|
@@ -4832,7 +5000,7 @@ module FastCommentsClient
|
|
|
4832
5000
|
post_body = opts[:debug_body]
|
|
4833
5001
|
|
|
4834
5002
|
# return_type
|
|
4835
|
-
return_type = opts[:debug_return_type] || '
|
|
5003
|
+
return_type = opts[:debug_return_type] || 'GetTenantResponse'
|
|
4836
5004
|
|
|
4837
5005
|
# auth_names
|
|
4838
5006
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4860,7 +5028,7 @@ module FastCommentsClient
|
|
|
4860
5028
|
# @option opts [Float] :month_number
|
|
4861
5029
|
# @option opts [Float] :day_number
|
|
4862
5030
|
# @option opts [Float] :skip
|
|
4863
|
-
# @return [
|
|
5031
|
+
# @return [GetTenantDailyUsagesResponse]
|
|
4864
5032
|
def get_tenant_daily_usages(tenant_id, opts = {})
|
|
4865
5033
|
data, _status_code, _headers = get_tenant_daily_usages_with_http_info(tenant_id, opts)
|
|
4866
5034
|
data
|
|
@@ -4872,7 +5040,7 @@ module FastCommentsClient
|
|
|
4872
5040
|
# @option opts [Float] :month_number
|
|
4873
5041
|
# @option opts [Float] :day_number
|
|
4874
5042
|
# @option opts [Float] :skip
|
|
4875
|
-
# @return [Array<(
|
|
5043
|
+
# @return [Array<(GetTenantDailyUsagesResponse, Integer, Hash)>] GetTenantDailyUsagesResponse data, response status code and response headers
|
|
4876
5044
|
def get_tenant_daily_usages_with_http_info(tenant_id, opts = {})
|
|
4877
5045
|
if @api_client.config.debugging
|
|
4878
5046
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_daily_usages ...'
|
|
@@ -4904,7 +5072,7 @@ module FastCommentsClient
|
|
|
4904
5072
|
post_body = opts[:debug_body]
|
|
4905
5073
|
|
|
4906
5074
|
# return_type
|
|
4907
|
-
return_type = opts[:debug_return_type] || '
|
|
5075
|
+
return_type = opts[:debug_return_type] || 'GetTenantDailyUsagesResponse'
|
|
4908
5076
|
|
|
4909
5077
|
# auth_names
|
|
4910
5078
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4929,7 +5097,7 @@ module FastCommentsClient
|
|
|
4929
5097
|
# @param tenant_id [String]
|
|
4930
5098
|
# @param id [String]
|
|
4931
5099
|
# @param [Hash] opts the optional parameters
|
|
4932
|
-
# @return [
|
|
5100
|
+
# @return [GetTenantPackageResponse]
|
|
4933
5101
|
def get_tenant_package(tenant_id, id, opts = {})
|
|
4934
5102
|
data, _status_code, _headers = get_tenant_package_with_http_info(tenant_id, id, opts)
|
|
4935
5103
|
data
|
|
@@ -4938,7 +5106,7 @@ module FastCommentsClient
|
|
|
4938
5106
|
# @param tenant_id [String]
|
|
4939
5107
|
# @param id [String]
|
|
4940
5108
|
# @param [Hash] opts the optional parameters
|
|
4941
|
-
# @return [Array<(
|
|
5109
|
+
# @return [Array<(GetTenantPackageResponse, Integer, Hash)>] GetTenantPackageResponse data, response status code and response headers
|
|
4942
5110
|
def get_tenant_package_with_http_info(tenant_id, id, opts = {})
|
|
4943
5111
|
if @api_client.config.debugging
|
|
4944
5112
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_package ...'
|
|
@@ -4970,7 +5138,7 @@ module FastCommentsClient
|
|
|
4970
5138
|
post_body = opts[:debug_body]
|
|
4971
5139
|
|
|
4972
5140
|
# return_type
|
|
4973
|
-
return_type = opts[:debug_return_type] || '
|
|
5141
|
+
return_type = opts[:debug_return_type] || 'GetTenantPackageResponse'
|
|
4974
5142
|
|
|
4975
5143
|
# auth_names
|
|
4976
5144
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -4995,7 +5163,7 @@ module FastCommentsClient
|
|
|
4995
5163
|
# @param tenant_id [String]
|
|
4996
5164
|
# @param [Hash] opts the optional parameters
|
|
4997
5165
|
# @option opts [Float] :skip
|
|
4998
|
-
# @return [
|
|
5166
|
+
# @return [GetTenantPackagesResponse]
|
|
4999
5167
|
def get_tenant_packages(tenant_id, opts = {})
|
|
5000
5168
|
data, _status_code, _headers = get_tenant_packages_with_http_info(tenant_id, opts)
|
|
5001
5169
|
data
|
|
@@ -5004,7 +5172,7 @@ module FastCommentsClient
|
|
|
5004
5172
|
# @param tenant_id [String]
|
|
5005
5173
|
# @param [Hash] opts the optional parameters
|
|
5006
5174
|
# @option opts [Float] :skip
|
|
5007
|
-
# @return [Array<(
|
|
5175
|
+
# @return [Array<(GetTenantPackagesResponse, Integer, Hash)>] GetTenantPackagesResponse data, response status code and response headers
|
|
5008
5176
|
def get_tenant_packages_with_http_info(tenant_id, opts = {})
|
|
5009
5177
|
if @api_client.config.debugging
|
|
5010
5178
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_packages ...'
|
|
@@ -5033,7 +5201,7 @@ module FastCommentsClient
|
|
|
5033
5201
|
post_body = opts[:debug_body]
|
|
5034
5202
|
|
|
5035
5203
|
# return_type
|
|
5036
|
-
return_type = opts[:debug_return_type] || '
|
|
5204
|
+
return_type = opts[:debug_return_type] || 'GetTenantPackagesResponse'
|
|
5037
5205
|
|
|
5038
5206
|
# auth_names
|
|
5039
5207
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5058,7 +5226,7 @@ module FastCommentsClient
|
|
|
5058
5226
|
# @param tenant_id [String]
|
|
5059
5227
|
# @param id [String]
|
|
5060
5228
|
# @param [Hash] opts the optional parameters
|
|
5061
|
-
# @return [
|
|
5229
|
+
# @return [GetTenantUserResponse]
|
|
5062
5230
|
def get_tenant_user(tenant_id, id, opts = {})
|
|
5063
5231
|
data, _status_code, _headers = get_tenant_user_with_http_info(tenant_id, id, opts)
|
|
5064
5232
|
data
|
|
@@ -5067,7 +5235,7 @@ module FastCommentsClient
|
|
|
5067
5235
|
# @param tenant_id [String]
|
|
5068
5236
|
# @param id [String]
|
|
5069
5237
|
# @param [Hash] opts the optional parameters
|
|
5070
|
-
# @return [Array<(
|
|
5238
|
+
# @return [Array<(GetTenantUserResponse, Integer, Hash)>] GetTenantUserResponse data, response status code and response headers
|
|
5071
5239
|
def get_tenant_user_with_http_info(tenant_id, id, opts = {})
|
|
5072
5240
|
if @api_client.config.debugging
|
|
5073
5241
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_user ...'
|
|
@@ -5099,7 +5267,7 @@ module FastCommentsClient
|
|
|
5099
5267
|
post_body = opts[:debug_body]
|
|
5100
5268
|
|
|
5101
5269
|
# return_type
|
|
5102
|
-
return_type = opts[:debug_return_type] || '
|
|
5270
|
+
return_type = opts[:debug_return_type] || 'GetTenantUserResponse'
|
|
5103
5271
|
|
|
5104
5272
|
# auth_names
|
|
5105
5273
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5124,7 +5292,7 @@ module FastCommentsClient
|
|
|
5124
5292
|
# @param tenant_id [String]
|
|
5125
5293
|
# @param [Hash] opts the optional parameters
|
|
5126
5294
|
# @option opts [Float] :skip
|
|
5127
|
-
# @return [
|
|
5295
|
+
# @return [GetTenantUsersResponse]
|
|
5128
5296
|
def get_tenant_users(tenant_id, opts = {})
|
|
5129
5297
|
data, _status_code, _headers = get_tenant_users_with_http_info(tenant_id, opts)
|
|
5130
5298
|
data
|
|
@@ -5133,7 +5301,7 @@ module FastCommentsClient
|
|
|
5133
5301
|
# @param tenant_id [String]
|
|
5134
5302
|
# @param [Hash] opts the optional parameters
|
|
5135
5303
|
# @option opts [Float] :skip
|
|
5136
|
-
# @return [Array<(
|
|
5304
|
+
# @return [Array<(GetTenantUsersResponse, Integer, Hash)>] GetTenantUsersResponse data, response status code and response headers
|
|
5137
5305
|
def get_tenant_users_with_http_info(tenant_id, opts = {})
|
|
5138
5306
|
if @api_client.config.debugging
|
|
5139
5307
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenant_users ...'
|
|
@@ -5162,7 +5330,7 @@ module FastCommentsClient
|
|
|
5162
5330
|
post_body = opts[:debug_body]
|
|
5163
5331
|
|
|
5164
5332
|
# return_type
|
|
5165
|
-
return_type = opts[:debug_return_type] || '
|
|
5333
|
+
return_type = opts[:debug_return_type] || 'GetTenantUsersResponse'
|
|
5166
5334
|
|
|
5167
5335
|
# auth_names
|
|
5168
5336
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5188,7 +5356,7 @@ module FastCommentsClient
|
|
|
5188
5356
|
# @param [Hash] opts the optional parameters
|
|
5189
5357
|
# @option opts [String] :meta
|
|
5190
5358
|
# @option opts [Float] :skip
|
|
5191
|
-
# @return [
|
|
5359
|
+
# @return [GetTenantsResponse]
|
|
5192
5360
|
def get_tenants(tenant_id, opts = {})
|
|
5193
5361
|
data, _status_code, _headers = get_tenants_with_http_info(tenant_id, opts)
|
|
5194
5362
|
data
|
|
@@ -5198,7 +5366,7 @@ module FastCommentsClient
|
|
|
5198
5366
|
# @param [Hash] opts the optional parameters
|
|
5199
5367
|
# @option opts [String] :meta
|
|
5200
5368
|
# @option opts [Float] :skip
|
|
5201
|
-
# @return [Array<(
|
|
5369
|
+
# @return [Array<(GetTenantsResponse, Integer, Hash)>] GetTenantsResponse data, response status code and response headers
|
|
5202
5370
|
def get_tenants_with_http_info(tenant_id, opts = {})
|
|
5203
5371
|
if @api_client.config.debugging
|
|
5204
5372
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tenants ...'
|
|
@@ -5228,7 +5396,7 @@ module FastCommentsClient
|
|
|
5228
5396
|
post_body = opts[:debug_body]
|
|
5229
5397
|
|
|
5230
5398
|
# return_type
|
|
5231
|
-
return_type = opts[:debug_return_type] || '
|
|
5399
|
+
return_type = opts[:debug_return_type] || 'GetTenantsResponse'
|
|
5232
5400
|
|
|
5233
5401
|
# auth_names
|
|
5234
5402
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5253,7 +5421,148 @@ module FastCommentsClient
|
|
|
5253
5421
|
# @param tenant_id [String]
|
|
5254
5422
|
# @param id [String]
|
|
5255
5423
|
# @param [Hash] opts the optional parameters
|
|
5256
|
-
# @
|
|
5424
|
+
# @option opts [String] :user_id
|
|
5425
|
+
# @return [GetTicketResponse]
|
|
5426
|
+
def get_ticket(tenant_id, id, opts = {})
|
|
5427
|
+
data, _status_code, _headers = get_ticket_with_http_info(tenant_id, id, opts)
|
|
5428
|
+
data
|
|
5429
|
+
end
|
|
5430
|
+
|
|
5431
|
+
# @param tenant_id [String]
|
|
5432
|
+
# @param id [String]
|
|
5433
|
+
# @param [Hash] opts the optional parameters
|
|
5434
|
+
# @option opts [String] :user_id
|
|
5435
|
+
# @return [Array<(GetTicketResponse, Integer, Hash)>] GetTicketResponse data, response status code and response headers
|
|
5436
|
+
def get_ticket_with_http_info(tenant_id, id, opts = {})
|
|
5437
|
+
if @api_client.config.debugging
|
|
5438
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_ticket ...'
|
|
5439
|
+
end
|
|
5440
|
+
# verify the required parameter 'tenant_id' is set
|
|
5441
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
5442
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.get_ticket"
|
|
5443
|
+
end
|
|
5444
|
+
# verify the required parameter 'id' is set
|
|
5445
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
5446
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_ticket"
|
|
5447
|
+
end
|
|
5448
|
+
# resource path
|
|
5449
|
+
local_var_path = '/api/v1/tickets/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
5450
|
+
|
|
5451
|
+
# query parameters
|
|
5452
|
+
query_params = opts[:query_params] || {}
|
|
5453
|
+
query_params[:'tenantId'] = tenant_id
|
|
5454
|
+
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
5455
|
+
|
|
5456
|
+
# header parameters
|
|
5457
|
+
header_params = opts[:header_params] || {}
|
|
5458
|
+
# HTTP header 'Accept' (if needed)
|
|
5459
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5460
|
+
|
|
5461
|
+
# form parameters
|
|
5462
|
+
form_params = opts[:form_params] || {}
|
|
5463
|
+
|
|
5464
|
+
# http body (model)
|
|
5465
|
+
post_body = opts[:debug_body]
|
|
5466
|
+
|
|
5467
|
+
# return_type
|
|
5468
|
+
return_type = opts[:debug_return_type] || 'GetTicketResponse'
|
|
5469
|
+
|
|
5470
|
+
# auth_names
|
|
5471
|
+
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
5472
|
+
|
|
5473
|
+
new_options = opts.merge(
|
|
5474
|
+
:operation => :"DefaultApi.get_ticket",
|
|
5475
|
+
:header_params => header_params,
|
|
5476
|
+
:query_params => query_params,
|
|
5477
|
+
:form_params => form_params,
|
|
5478
|
+
:body => post_body,
|
|
5479
|
+
:auth_names => auth_names,
|
|
5480
|
+
:return_type => return_type
|
|
5481
|
+
)
|
|
5482
|
+
|
|
5483
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5484
|
+
if @api_client.config.debugging
|
|
5485
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_ticket\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5486
|
+
end
|
|
5487
|
+
return data, status_code, headers
|
|
5488
|
+
end
|
|
5489
|
+
|
|
5490
|
+
# @param tenant_id [String]
|
|
5491
|
+
# @param [Hash] opts the optional parameters
|
|
5492
|
+
# @option opts [String] :user_id
|
|
5493
|
+
# @option opts [Float] :state
|
|
5494
|
+
# @option opts [Float] :skip
|
|
5495
|
+
# @option opts [Float] :limit
|
|
5496
|
+
# @return [GetTicketsResponse]
|
|
5497
|
+
def get_tickets(tenant_id, opts = {})
|
|
5498
|
+
data, _status_code, _headers = get_tickets_with_http_info(tenant_id, opts)
|
|
5499
|
+
data
|
|
5500
|
+
end
|
|
5501
|
+
|
|
5502
|
+
# @param tenant_id [String]
|
|
5503
|
+
# @param [Hash] opts the optional parameters
|
|
5504
|
+
# @option opts [String] :user_id
|
|
5505
|
+
# @option opts [Float] :state
|
|
5506
|
+
# @option opts [Float] :skip
|
|
5507
|
+
# @option opts [Float] :limit
|
|
5508
|
+
# @return [Array<(GetTicketsResponse, Integer, Hash)>] GetTicketsResponse data, response status code and response headers
|
|
5509
|
+
def get_tickets_with_http_info(tenant_id, opts = {})
|
|
5510
|
+
if @api_client.config.debugging
|
|
5511
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_tickets ...'
|
|
5512
|
+
end
|
|
5513
|
+
# verify the required parameter 'tenant_id' is set
|
|
5514
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
5515
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.get_tickets"
|
|
5516
|
+
end
|
|
5517
|
+
# resource path
|
|
5518
|
+
local_var_path = '/api/v1/tickets'
|
|
5519
|
+
|
|
5520
|
+
# query parameters
|
|
5521
|
+
query_params = opts[:query_params] || {}
|
|
5522
|
+
query_params[:'tenantId'] = tenant_id
|
|
5523
|
+
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
5524
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
5525
|
+
query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
|
5526
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
5527
|
+
|
|
5528
|
+
# header parameters
|
|
5529
|
+
header_params = opts[:header_params] || {}
|
|
5530
|
+
# HTTP header 'Accept' (if needed)
|
|
5531
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5532
|
+
|
|
5533
|
+
# form parameters
|
|
5534
|
+
form_params = opts[:form_params] || {}
|
|
5535
|
+
|
|
5536
|
+
# http body (model)
|
|
5537
|
+
post_body = opts[:debug_body]
|
|
5538
|
+
|
|
5539
|
+
# return_type
|
|
5540
|
+
return_type = opts[:debug_return_type] || 'GetTicketsResponse'
|
|
5541
|
+
|
|
5542
|
+
# auth_names
|
|
5543
|
+
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
5544
|
+
|
|
5545
|
+
new_options = opts.merge(
|
|
5546
|
+
:operation => :"DefaultApi.get_tickets",
|
|
5547
|
+
:header_params => header_params,
|
|
5548
|
+
:query_params => query_params,
|
|
5549
|
+
:form_params => form_params,
|
|
5550
|
+
:body => post_body,
|
|
5551
|
+
:auth_names => auth_names,
|
|
5552
|
+
:return_type => return_type
|
|
5553
|
+
)
|
|
5554
|
+
|
|
5555
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5556
|
+
if @api_client.config.debugging
|
|
5557
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_tickets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5558
|
+
end
|
|
5559
|
+
return data, status_code, headers
|
|
5560
|
+
end
|
|
5561
|
+
|
|
5562
|
+
# @param tenant_id [String]
|
|
5563
|
+
# @param id [String]
|
|
5564
|
+
# @param [Hash] opts the optional parameters
|
|
5565
|
+
# @return [GetUserResponse]
|
|
5257
5566
|
def get_user(tenant_id, id, opts = {})
|
|
5258
5567
|
data, _status_code, _headers = get_user_with_http_info(tenant_id, id, opts)
|
|
5259
5568
|
data
|
|
@@ -5262,7 +5571,7 @@ module FastCommentsClient
|
|
|
5262
5571
|
# @param tenant_id [String]
|
|
5263
5572
|
# @param id [String]
|
|
5264
5573
|
# @param [Hash] opts the optional parameters
|
|
5265
|
-
# @return [Array<(
|
|
5574
|
+
# @return [Array<(GetUserResponse, Integer, Hash)>] GetUserResponse data, response status code and response headers
|
|
5266
5575
|
def get_user_with_http_info(tenant_id, id, opts = {})
|
|
5267
5576
|
if @api_client.config.debugging
|
|
5268
5577
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user ...'
|
|
@@ -5294,7 +5603,7 @@ module FastCommentsClient
|
|
|
5294
5603
|
post_body = opts[:debug_body]
|
|
5295
5604
|
|
|
5296
5605
|
# return_type
|
|
5297
|
-
return_type = opts[:debug_return_type] || '
|
|
5606
|
+
return_type = opts[:debug_return_type] || 'GetUserResponse'
|
|
5298
5607
|
|
|
5299
5608
|
# auth_names
|
|
5300
5609
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5319,7 +5628,7 @@ module FastCommentsClient
|
|
|
5319
5628
|
# @param tenant_id [String]
|
|
5320
5629
|
# @param id [String]
|
|
5321
5630
|
# @param [Hash] opts the optional parameters
|
|
5322
|
-
# @return [
|
|
5631
|
+
# @return [APIGetUserBadgeResponse]
|
|
5323
5632
|
def get_user_badge(tenant_id, id, opts = {})
|
|
5324
5633
|
data, _status_code, _headers = get_user_badge_with_http_info(tenant_id, id, opts)
|
|
5325
5634
|
data
|
|
@@ -5328,7 +5637,7 @@ module FastCommentsClient
|
|
|
5328
5637
|
# @param tenant_id [String]
|
|
5329
5638
|
# @param id [String]
|
|
5330
5639
|
# @param [Hash] opts the optional parameters
|
|
5331
|
-
# @return [Array<(
|
|
5640
|
+
# @return [Array<(APIGetUserBadgeResponse, Integer, Hash)>] APIGetUserBadgeResponse data, response status code and response headers
|
|
5332
5641
|
def get_user_badge_with_http_info(tenant_id, id, opts = {})
|
|
5333
5642
|
if @api_client.config.debugging
|
|
5334
5643
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge ...'
|
|
@@ -5360,7 +5669,7 @@ module FastCommentsClient
|
|
|
5360
5669
|
post_body = opts[:debug_body]
|
|
5361
5670
|
|
|
5362
5671
|
# return_type
|
|
5363
|
-
return_type = opts[:debug_return_type] || '
|
|
5672
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeResponse'
|
|
5364
5673
|
|
|
5365
5674
|
# auth_names
|
|
5366
5675
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5385,7 +5694,7 @@ module FastCommentsClient
|
|
|
5385
5694
|
# @param tenant_id [String]
|
|
5386
5695
|
# @param id [String]
|
|
5387
5696
|
# @param [Hash] opts the optional parameters
|
|
5388
|
-
# @return [
|
|
5697
|
+
# @return [APIGetUserBadgeProgressResponse]
|
|
5389
5698
|
def get_user_badge_progress_by_id(tenant_id, id, opts = {})
|
|
5390
5699
|
data, _status_code, _headers = get_user_badge_progress_by_id_with_http_info(tenant_id, id, opts)
|
|
5391
5700
|
data
|
|
@@ -5394,7 +5703,7 @@ module FastCommentsClient
|
|
|
5394
5703
|
# @param tenant_id [String]
|
|
5395
5704
|
# @param id [String]
|
|
5396
5705
|
# @param [Hash] opts the optional parameters
|
|
5397
|
-
# @return [Array<(
|
|
5706
|
+
# @return [Array<(APIGetUserBadgeProgressResponse, Integer, Hash)>] APIGetUserBadgeProgressResponse data, response status code and response headers
|
|
5398
5707
|
def get_user_badge_progress_by_id_with_http_info(tenant_id, id, opts = {})
|
|
5399
5708
|
if @api_client.config.debugging
|
|
5400
5709
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_by_id ...'
|
|
@@ -5426,7 +5735,7 @@ module FastCommentsClient
|
|
|
5426
5735
|
post_body = opts[:debug_body]
|
|
5427
5736
|
|
|
5428
5737
|
# return_type
|
|
5429
|
-
return_type = opts[:debug_return_type] || '
|
|
5738
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressResponse'
|
|
5430
5739
|
|
|
5431
5740
|
# auth_names
|
|
5432
5741
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5451,7 +5760,7 @@ module FastCommentsClient
|
|
|
5451
5760
|
# @param tenant_id [String]
|
|
5452
5761
|
# @param user_id [String]
|
|
5453
5762
|
# @param [Hash] opts the optional parameters
|
|
5454
|
-
# @return [
|
|
5763
|
+
# @return [APIGetUserBadgeProgressResponse]
|
|
5455
5764
|
def get_user_badge_progress_by_user_id(tenant_id, user_id, opts = {})
|
|
5456
5765
|
data, _status_code, _headers = get_user_badge_progress_by_user_id_with_http_info(tenant_id, user_id, opts)
|
|
5457
5766
|
data
|
|
@@ -5460,7 +5769,7 @@ module FastCommentsClient
|
|
|
5460
5769
|
# @param tenant_id [String]
|
|
5461
5770
|
# @param user_id [String]
|
|
5462
5771
|
# @param [Hash] opts the optional parameters
|
|
5463
|
-
# @return [Array<(
|
|
5772
|
+
# @return [Array<(APIGetUserBadgeProgressResponse, Integer, Hash)>] APIGetUserBadgeProgressResponse data, response status code and response headers
|
|
5464
5773
|
def get_user_badge_progress_by_user_id_with_http_info(tenant_id, user_id, opts = {})
|
|
5465
5774
|
if @api_client.config.debugging
|
|
5466
5775
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_by_user_id ...'
|
|
@@ -5492,7 +5801,7 @@ module FastCommentsClient
|
|
|
5492
5801
|
post_body = opts[:debug_body]
|
|
5493
5802
|
|
|
5494
5803
|
# return_type
|
|
5495
|
-
return_type = opts[:debug_return_type] || '
|
|
5804
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressResponse'
|
|
5496
5805
|
|
|
5497
5806
|
# auth_names
|
|
5498
5807
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5519,7 +5828,7 @@ module FastCommentsClient
|
|
|
5519
5828
|
# @option opts [String] :user_id
|
|
5520
5829
|
# @option opts [Float] :limit
|
|
5521
5830
|
# @option opts [Float] :skip
|
|
5522
|
-
# @return [
|
|
5831
|
+
# @return [APIGetUserBadgeProgressListResponse]
|
|
5523
5832
|
def get_user_badge_progress_list(tenant_id, opts = {})
|
|
5524
5833
|
data, _status_code, _headers = get_user_badge_progress_list_with_http_info(tenant_id, opts)
|
|
5525
5834
|
data
|
|
@@ -5530,7 +5839,7 @@ module FastCommentsClient
|
|
|
5530
5839
|
# @option opts [String] :user_id
|
|
5531
5840
|
# @option opts [Float] :limit
|
|
5532
5841
|
# @option opts [Float] :skip
|
|
5533
|
-
# @return [Array<(
|
|
5842
|
+
# @return [Array<(APIGetUserBadgeProgressListResponse, Integer, Hash)>] APIGetUserBadgeProgressListResponse data, response status code and response headers
|
|
5534
5843
|
def get_user_badge_progress_list_with_http_info(tenant_id, opts = {})
|
|
5535
5844
|
if @api_client.config.debugging
|
|
5536
5845
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badge_progress_list ...'
|
|
@@ -5561,7 +5870,7 @@ module FastCommentsClient
|
|
|
5561
5870
|
post_body = opts[:debug_body]
|
|
5562
5871
|
|
|
5563
5872
|
# return_type
|
|
5564
|
-
return_type = opts[:debug_return_type] || '
|
|
5873
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgeProgressListResponse'
|
|
5565
5874
|
|
|
5566
5875
|
# auth_names
|
|
5567
5876
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5591,7 +5900,7 @@ module FastCommentsClient
|
|
|
5591
5900
|
# @option opts [Boolean] :displayed_on_comments
|
|
5592
5901
|
# @option opts [Float] :limit
|
|
5593
5902
|
# @option opts [Float] :skip
|
|
5594
|
-
# @return [
|
|
5903
|
+
# @return [APIGetUserBadgesResponse]
|
|
5595
5904
|
def get_user_badges(tenant_id, opts = {})
|
|
5596
5905
|
data, _status_code, _headers = get_user_badges_with_http_info(tenant_id, opts)
|
|
5597
5906
|
data
|
|
@@ -5605,7 +5914,7 @@ module FastCommentsClient
|
|
|
5605
5914
|
# @option opts [Boolean] :displayed_on_comments
|
|
5606
5915
|
# @option opts [Float] :limit
|
|
5607
5916
|
# @option opts [Float] :skip
|
|
5608
|
-
# @return [Array<(
|
|
5917
|
+
# @return [Array<(APIGetUserBadgesResponse, Integer, Hash)>] APIGetUserBadgesResponse data, response status code and response headers
|
|
5609
5918
|
def get_user_badges_with_http_info(tenant_id, opts = {})
|
|
5610
5919
|
if @api_client.config.debugging
|
|
5611
5920
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_user_badges ...'
|
|
@@ -5639,7 +5948,7 @@ module FastCommentsClient
|
|
|
5639
5948
|
post_body = opts[:debug_body]
|
|
5640
5949
|
|
|
5641
5950
|
# return_type
|
|
5642
|
-
return_type = opts[:debug_return_type] || '
|
|
5951
|
+
return_type = opts[:debug_return_type] || 'APIGetUserBadgesResponse'
|
|
5643
5952
|
|
|
5644
5953
|
# auth_names
|
|
5645
5954
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5664,7 +5973,7 @@ module FastCommentsClient
|
|
|
5664
5973
|
# @param tenant_id [String]
|
|
5665
5974
|
# @param url_id [String]
|
|
5666
5975
|
# @param [Hash] opts the optional parameters
|
|
5667
|
-
# @return [
|
|
5976
|
+
# @return [GetVotesResponse]
|
|
5668
5977
|
def get_votes(tenant_id, url_id, opts = {})
|
|
5669
5978
|
data, _status_code, _headers = get_votes_with_http_info(tenant_id, url_id, opts)
|
|
5670
5979
|
data
|
|
@@ -5673,7 +5982,7 @@ module FastCommentsClient
|
|
|
5673
5982
|
# @param tenant_id [String]
|
|
5674
5983
|
# @param url_id [String]
|
|
5675
5984
|
# @param [Hash] opts the optional parameters
|
|
5676
|
-
# @return [Array<(
|
|
5985
|
+
# @return [Array<(GetVotesResponse, Integer, Hash)>] GetVotesResponse data, response status code and response headers
|
|
5677
5986
|
def get_votes_with_http_info(tenant_id, url_id, opts = {})
|
|
5678
5987
|
if @api_client.config.debugging
|
|
5679
5988
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_votes ...'
|
|
@@ -5706,7 +6015,7 @@ module FastCommentsClient
|
|
|
5706
6015
|
post_body = opts[:debug_body]
|
|
5707
6016
|
|
|
5708
6017
|
# return_type
|
|
5709
|
-
return_type = opts[:debug_return_type] || '
|
|
6018
|
+
return_type = opts[:debug_return_type] || 'GetVotesResponse'
|
|
5710
6019
|
|
|
5711
6020
|
# auth_names
|
|
5712
6021
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5733,7 +6042,7 @@ module FastCommentsClient
|
|
|
5733
6042
|
# @param [Hash] opts the optional parameters
|
|
5734
6043
|
# @option opts [String] :user_id
|
|
5735
6044
|
# @option opts [String] :anon_user_id
|
|
5736
|
-
# @return [
|
|
6045
|
+
# @return [GetVotesForUserResponse]
|
|
5737
6046
|
def get_votes_for_user(tenant_id, url_id, opts = {})
|
|
5738
6047
|
data, _status_code, _headers = get_votes_for_user_with_http_info(tenant_id, url_id, opts)
|
|
5739
6048
|
data
|
|
@@ -5744,7 +6053,7 @@ module FastCommentsClient
|
|
|
5744
6053
|
# @param [Hash] opts the optional parameters
|
|
5745
6054
|
# @option opts [String] :user_id
|
|
5746
6055
|
# @option opts [String] :anon_user_id
|
|
5747
|
-
# @return [Array<(
|
|
6056
|
+
# @return [Array<(GetVotesForUserResponse, Integer, Hash)>] GetVotesForUserResponse data, response status code and response headers
|
|
5748
6057
|
def get_votes_for_user_with_http_info(tenant_id, url_id, opts = {})
|
|
5749
6058
|
if @api_client.config.debugging
|
|
5750
6059
|
@api_client.config.logger.debug 'Calling API: DefaultApi.get_votes_for_user ...'
|
|
@@ -5779,7 +6088,7 @@ module FastCommentsClient
|
|
|
5779
6088
|
post_body = opts[:debug_body]
|
|
5780
6089
|
|
|
5781
6090
|
# return_type
|
|
5782
|
-
return_type = opts[:debug_return_type] || '
|
|
6091
|
+
return_type = opts[:debug_return_type] || 'GetVotesForUserResponse'
|
|
5783
6092
|
|
|
5784
6093
|
# auth_names
|
|
5785
6094
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5805,7 +6114,7 @@ module FastCommentsClient
|
|
|
5805
6114
|
# @param domain_to_update [String]
|
|
5806
6115
|
# @param patch_domain_config_params [PatchDomainConfigParams]
|
|
5807
6116
|
# @param [Hash] opts the optional parameters
|
|
5808
|
-
# @return [
|
|
6117
|
+
# @return [PatchDomainConfigResponse]
|
|
5809
6118
|
def patch_domain_config(tenant_id, domain_to_update, patch_domain_config_params, opts = {})
|
|
5810
6119
|
data, _status_code, _headers = patch_domain_config_with_http_info(tenant_id, domain_to_update, patch_domain_config_params, opts)
|
|
5811
6120
|
data
|
|
@@ -5815,7 +6124,7 @@ module FastCommentsClient
|
|
|
5815
6124
|
# @param domain_to_update [String]
|
|
5816
6125
|
# @param patch_domain_config_params [PatchDomainConfigParams]
|
|
5817
6126
|
# @param [Hash] opts the optional parameters
|
|
5818
|
-
# @return [Array<(
|
|
6127
|
+
# @return [Array<(PatchDomainConfigResponse, Integer, Hash)>] PatchDomainConfigResponse data, response status code and response headers
|
|
5819
6128
|
def patch_domain_config_with_http_info(tenant_id, domain_to_update, patch_domain_config_params, opts = {})
|
|
5820
6129
|
if @api_client.config.debugging
|
|
5821
6130
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_domain_config ...'
|
|
@@ -5856,7 +6165,7 @@ module FastCommentsClient
|
|
|
5856
6165
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_domain_config_params)
|
|
5857
6166
|
|
|
5858
6167
|
# return_type
|
|
5859
|
-
return_type = opts[:debug_return_type] || '
|
|
6168
|
+
return_type = opts[:debug_return_type] || 'PatchDomainConfigResponse'
|
|
5860
6169
|
|
|
5861
6170
|
# auth_names
|
|
5862
6171
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -5882,7 +6191,7 @@ module FastCommentsClient
|
|
|
5882
6191
|
# @param [Hash] opts the optional parameters
|
|
5883
6192
|
# @option opts [String] :tenant_id
|
|
5884
6193
|
# @option opts [UpdateHashTagBody] :update_hash_tag_body
|
|
5885
|
-
# @return [
|
|
6194
|
+
# @return [UpdateHashTagResponse]
|
|
5886
6195
|
def patch_hash_tag(tag, opts = {})
|
|
5887
6196
|
data, _status_code, _headers = patch_hash_tag_with_http_info(tag, opts)
|
|
5888
6197
|
data
|
|
@@ -5892,7 +6201,7 @@ module FastCommentsClient
|
|
|
5892
6201
|
# @param [Hash] opts the optional parameters
|
|
5893
6202
|
# @option opts [String] :tenant_id
|
|
5894
6203
|
# @option opts [UpdateHashTagBody] :update_hash_tag_body
|
|
5895
|
-
# @return [Array<(
|
|
6204
|
+
# @return [Array<(UpdateHashTagResponse, Integer, Hash)>] UpdateHashTagResponse data, response status code and response headers
|
|
5896
6205
|
def patch_hash_tag_with_http_info(tag, opts = {})
|
|
5897
6206
|
if @api_client.config.debugging
|
|
5898
6207
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_hash_tag ...'
|
|
@@ -5925,7 +6234,7 @@ module FastCommentsClient
|
|
|
5925
6234
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_hash_tag_body'])
|
|
5926
6235
|
|
|
5927
6236
|
# return_type
|
|
5928
|
-
return_type = opts[:debug_return_type] || '
|
|
6237
|
+
return_type = opts[:debug_return_type] || 'UpdateHashTagResponse'
|
|
5929
6238
|
|
|
5930
6239
|
# auth_names
|
|
5931
6240
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6108,7 +6417,7 @@ module FastCommentsClient
|
|
|
6108
6417
|
# @param domain_to_update [String]
|
|
6109
6418
|
# @param update_domain_config_params [UpdateDomainConfigParams]
|
|
6110
6419
|
# @param [Hash] opts the optional parameters
|
|
6111
|
-
# @return [
|
|
6420
|
+
# @return [PutDomainConfigResponse]
|
|
6112
6421
|
def put_domain_config(tenant_id, domain_to_update, update_domain_config_params, opts = {})
|
|
6113
6422
|
data, _status_code, _headers = put_domain_config_with_http_info(tenant_id, domain_to_update, update_domain_config_params, opts)
|
|
6114
6423
|
data
|
|
@@ -6118,7 +6427,7 @@ module FastCommentsClient
|
|
|
6118
6427
|
# @param domain_to_update [String]
|
|
6119
6428
|
# @param update_domain_config_params [UpdateDomainConfigParams]
|
|
6120
6429
|
# @param [Hash] opts the optional parameters
|
|
6121
|
-
# @return [Array<(
|
|
6430
|
+
# @return [Array<(PutDomainConfigResponse, Integer, Hash)>] PutDomainConfigResponse data, response status code and response headers
|
|
6122
6431
|
def put_domain_config_with_http_info(tenant_id, domain_to_update, update_domain_config_params, opts = {})
|
|
6123
6432
|
if @api_client.config.debugging
|
|
6124
6433
|
@api_client.config.logger.debug 'Calling API: DefaultApi.put_domain_config ...'
|
|
@@ -6159,7 +6468,7 @@ module FastCommentsClient
|
|
|
6159
6468
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_domain_config_params)
|
|
6160
6469
|
|
|
6161
6470
|
# return_type
|
|
6162
|
-
return_type = opts[:debug_return_type] || '
|
|
6471
|
+
return_type = opts[:debug_return_type] || 'PutDomainConfigResponse'
|
|
6163
6472
|
|
|
6164
6473
|
# auth_names
|
|
6165
6474
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6265,7 +6574,7 @@ module FastCommentsClient
|
|
|
6265
6574
|
# @param render_email_template_body [RenderEmailTemplateBody]
|
|
6266
6575
|
# @param [Hash] opts the optional parameters
|
|
6267
6576
|
# @option opts [String] :locale
|
|
6268
|
-
# @return [
|
|
6577
|
+
# @return [RenderEmailTemplateResponse]
|
|
6269
6578
|
def render_email_template(tenant_id, render_email_template_body, opts = {})
|
|
6270
6579
|
data, _status_code, _headers = render_email_template_with_http_info(tenant_id, render_email_template_body, opts)
|
|
6271
6580
|
data
|
|
@@ -6275,7 +6584,7 @@ module FastCommentsClient
|
|
|
6275
6584
|
# @param render_email_template_body [RenderEmailTemplateBody]
|
|
6276
6585
|
# @param [Hash] opts the optional parameters
|
|
6277
6586
|
# @option opts [String] :locale
|
|
6278
|
-
# @return [Array<(
|
|
6587
|
+
# @return [Array<(RenderEmailTemplateResponse, Integer, Hash)>] RenderEmailTemplateResponse data, response status code and response headers
|
|
6279
6588
|
def render_email_template_with_http_info(tenant_id, render_email_template_body, opts = {})
|
|
6280
6589
|
if @api_client.config.debugging
|
|
6281
6590
|
@api_client.config.logger.debug 'Calling API: DefaultApi.render_email_template ...'
|
|
@@ -6313,7 +6622,7 @@ module FastCommentsClient
|
|
|
6313
6622
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(render_email_template_body)
|
|
6314
6623
|
|
|
6315
6624
|
# return_type
|
|
6316
|
-
return_type = opts[:debug_return_type] || '
|
|
6625
|
+
return_type = opts[:debug_return_type] || 'RenderEmailTemplateResponse'
|
|
6317
6626
|
|
|
6318
6627
|
# auth_names
|
|
6319
6628
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6339,7 +6648,7 @@ module FastCommentsClient
|
|
|
6339
6648
|
# @param id [String]
|
|
6340
6649
|
# @param replace_tenant_package_body [ReplaceTenantPackageBody]
|
|
6341
6650
|
# @param [Hash] opts the optional parameters
|
|
6342
|
-
# @return [
|
|
6651
|
+
# @return [APIEmptyResponse]
|
|
6343
6652
|
def replace_tenant_package(tenant_id, id, replace_tenant_package_body, opts = {})
|
|
6344
6653
|
data, _status_code, _headers = replace_tenant_package_with_http_info(tenant_id, id, replace_tenant_package_body, opts)
|
|
6345
6654
|
data
|
|
@@ -6349,7 +6658,7 @@ module FastCommentsClient
|
|
|
6349
6658
|
# @param id [String]
|
|
6350
6659
|
# @param replace_tenant_package_body [ReplaceTenantPackageBody]
|
|
6351
6660
|
# @param [Hash] opts the optional parameters
|
|
6352
|
-
# @return [Array<(
|
|
6661
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6353
6662
|
def replace_tenant_package_with_http_info(tenant_id, id, replace_tenant_package_body, opts = {})
|
|
6354
6663
|
if @api_client.config.debugging
|
|
6355
6664
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_tenant_package ...'
|
|
@@ -6390,7 +6699,7 @@ module FastCommentsClient
|
|
|
6390
6699
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(replace_tenant_package_body)
|
|
6391
6700
|
|
|
6392
6701
|
# return_type
|
|
6393
|
-
return_type = opts[:debug_return_type] || '
|
|
6702
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6394
6703
|
|
|
6395
6704
|
# auth_names
|
|
6396
6705
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6417,7 +6726,7 @@ module FastCommentsClient
|
|
|
6417
6726
|
# @param replace_tenant_user_body [ReplaceTenantUserBody]
|
|
6418
6727
|
# @param [Hash] opts the optional parameters
|
|
6419
6728
|
# @option opts [String] :update_comments
|
|
6420
|
-
# @return [
|
|
6729
|
+
# @return [APIEmptyResponse]
|
|
6421
6730
|
def replace_tenant_user(tenant_id, id, replace_tenant_user_body, opts = {})
|
|
6422
6731
|
data, _status_code, _headers = replace_tenant_user_with_http_info(tenant_id, id, replace_tenant_user_body, opts)
|
|
6423
6732
|
data
|
|
@@ -6428,7 +6737,7 @@ module FastCommentsClient
|
|
|
6428
6737
|
# @param replace_tenant_user_body [ReplaceTenantUserBody]
|
|
6429
6738
|
# @param [Hash] opts the optional parameters
|
|
6430
6739
|
# @option opts [String] :update_comments
|
|
6431
|
-
# @return [Array<(
|
|
6740
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6432
6741
|
def replace_tenant_user_with_http_info(tenant_id, id, replace_tenant_user_body, opts = {})
|
|
6433
6742
|
if @api_client.config.debugging
|
|
6434
6743
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_tenant_user ...'
|
|
@@ -6470,7 +6779,7 @@ module FastCommentsClient
|
|
|
6470
6779
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(replace_tenant_user_body)
|
|
6471
6780
|
|
|
6472
6781
|
# return_type
|
|
6473
|
-
return_type = opts[:debug_return_type] || '
|
|
6782
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6474
6783
|
|
|
6475
6784
|
# auth_names
|
|
6476
6785
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6499,7 +6808,7 @@ module FastCommentsClient
|
|
|
6499
6808
|
# @option opts [Boolean] :do_spam_check
|
|
6500
6809
|
# @option opts [Boolean] :send_emails
|
|
6501
6810
|
# @option opts [Boolean] :populate_notifications
|
|
6502
|
-
# @return [
|
|
6811
|
+
# @return [APISaveCommentResponse]
|
|
6503
6812
|
def save_comment(tenant_id, create_comment_params, opts = {})
|
|
6504
6813
|
data, _status_code, _headers = save_comment_with_http_info(tenant_id, create_comment_params, opts)
|
|
6505
6814
|
data
|
|
@@ -6512,7 +6821,7 @@ module FastCommentsClient
|
|
|
6512
6821
|
# @option opts [Boolean] :do_spam_check
|
|
6513
6822
|
# @option opts [Boolean] :send_emails
|
|
6514
6823
|
# @option opts [Boolean] :populate_notifications
|
|
6515
|
-
# @return [Array<(
|
|
6824
|
+
# @return [Array<(APISaveCommentResponse, Integer, Hash)>] APISaveCommentResponse data, response status code and response headers
|
|
6516
6825
|
def save_comment_with_http_info(tenant_id, create_comment_params, opts = {})
|
|
6517
6826
|
if @api_client.config.debugging
|
|
6518
6827
|
@api_client.config.logger.debug 'Calling API: DefaultApi.save_comment ...'
|
|
@@ -6553,7 +6862,7 @@ module FastCommentsClient
|
|
|
6553
6862
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_comment_params)
|
|
6554
6863
|
|
|
6555
6864
|
# return_type
|
|
6556
|
-
return_type = opts[:debug_return_type] || '
|
|
6865
|
+
return_type = opts[:debug_return_type] || 'APISaveCommentResponse'
|
|
6557
6866
|
|
|
6558
6867
|
# auth_names
|
|
6559
6868
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6582,7 +6891,7 @@ module FastCommentsClient
|
|
|
6582
6891
|
# @option opts [Boolean] :do_spam_check
|
|
6583
6892
|
# @option opts [Boolean] :send_emails
|
|
6584
6893
|
# @option opts [Boolean] :populate_notifications
|
|
6585
|
-
# @return [Array<
|
|
6894
|
+
# @return [Array<SaveCommentsBulkResponse>]
|
|
6586
6895
|
def save_comments_bulk(tenant_id, create_comment_params, opts = {})
|
|
6587
6896
|
data, _status_code, _headers = save_comments_bulk_with_http_info(tenant_id, create_comment_params, opts)
|
|
6588
6897
|
data
|
|
@@ -6595,7 +6904,7 @@ module FastCommentsClient
|
|
|
6595
6904
|
# @option opts [Boolean] :do_spam_check
|
|
6596
6905
|
# @option opts [Boolean] :send_emails
|
|
6597
6906
|
# @option opts [Boolean] :populate_notifications
|
|
6598
|
-
# @return [Array<(Array<
|
|
6907
|
+
# @return [Array<(Array<SaveCommentsBulkResponse>, Integer, Hash)>] Array<SaveCommentsBulkResponse> data, response status code and response headers
|
|
6599
6908
|
def save_comments_bulk_with_http_info(tenant_id, create_comment_params, opts = {})
|
|
6600
6909
|
if @api_client.config.debugging
|
|
6601
6910
|
@api_client.config.logger.debug 'Calling API: DefaultApi.save_comments_bulk ...'
|
|
@@ -6636,7 +6945,7 @@ module FastCommentsClient
|
|
|
6636
6945
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_comment_params)
|
|
6637
6946
|
|
|
6638
6947
|
# return_type
|
|
6639
|
-
return_type = opts[:debug_return_type] || 'Array<
|
|
6948
|
+
return_type = opts[:debug_return_type] || 'Array<SaveCommentsBulkResponse>'
|
|
6640
6949
|
|
|
6641
6950
|
# auth_names
|
|
6642
6951
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6662,7 +6971,7 @@ module FastCommentsClient
|
|
|
6662
6971
|
# @param id [String]
|
|
6663
6972
|
# @param from_name [String]
|
|
6664
6973
|
# @param [Hash] opts the optional parameters
|
|
6665
|
-
# @return [
|
|
6974
|
+
# @return [APIEmptyResponse]
|
|
6666
6975
|
def send_invite(tenant_id, id, from_name, opts = {})
|
|
6667
6976
|
data, _status_code, _headers = send_invite_with_http_info(tenant_id, id, from_name, opts)
|
|
6668
6977
|
data
|
|
@@ -6672,7 +6981,7 @@ module FastCommentsClient
|
|
|
6672
6981
|
# @param id [String]
|
|
6673
6982
|
# @param from_name [String]
|
|
6674
6983
|
# @param [Hash] opts the optional parameters
|
|
6675
|
-
# @return [Array<(
|
|
6984
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6676
6985
|
def send_invite_with_http_info(tenant_id, id, from_name, opts = {})
|
|
6677
6986
|
if @api_client.config.debugging
|
|
6678
6987
|
@api_client.config.logger.debug 'Calling API: DefaultApi.send_invite ...'
|
|
@@ -6709,7 +7018,7 @@ module FastCommentsClient
|
|
|
6709
7018
|
post_body = opts[:debug_body]
|
|
6710
7019
|
|
|
6711
7020
|
# return_type
|
|
6712
|
-
return_type = opts[:debug_return_type] || '
|
|
7021
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6713
7022
|
|
|
6714
7023
|
# auth_names
|
|
6715
7024
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6735,7 +7044,7 @@ module FastCommentsClient
|
|
|
6735
7044
|
# @param id [String]
|
|
6736
7045
|
# @param [Hash] opts the optional parameters
|
|
6737
7046
|
# @option opts [String] :redirect_url
|
|
6738
|
-
# @return [
|
|
7047
|
+
# @return [APIEmptyResponse]
|
|
6739
7048
|
def send_login_link(tenant_id, id, opts = {})
|
|
6740
7049
|
data, _status_code, _headers = send_login_link_with_http_info(tenant_id, id, opts)
|
|
6741
7050
|
data
|
|
@@ -6745,7 +7054,7 @@ module FastCommentsClient
|
|
|
6745
7054
|
# @param id [String]
|
|
6746
7055
|
# @param [Hash] opts the optional parameters
|
|
6747
7056
|
# @option opts [String] :redirect_url
|
|
6748
|
-
# @return [Array<(
|
|
7057
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6749
7058
|
def send_login_link_with_http_info(tenant_id, id, opts = {})
|
|
6750
7059
|
if @api_client.config.debugging
|
|
6751
7060
|
@api_client.config.logger.debug 'Calling API: DefaultApi.send_login_link ...'
|
|
@@ -6778,7 +7087,7 @@ module FastCommentsClient
|
|
|
6778
7087
|
post_body = opts[:debug_body]
|
|
6779
7088
|
|
|
6780
7089
|
# return_type
|
|
6781
|
-
return_type = opts[:debug_return_type] || '
|
|
7090
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
6782
7091
|
|
|
6783
7092
|
# auth_names
|
|
6784
7093
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6806,7 +7115,7 @@ module FastCommentsClient
|
|
|
6806
7115
|
# @param [Hash] opts the optional parameters
|
|
6807
7116
|
# @option opts [String] :user_id
|
|
6808
7117
|
# @option opts [String] :anon_user_id
|
|
6809
|
-
# @return [
|
|
7118
|
+
# @return [UnblockSuccess]
|
|
6810
7119
|
def un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, opts = {})
|
|
6811
7120
|
data, _status_code, _headers = un_block_user_from_comment_with_http_info(tenant_id, id, un_block_from_comment_params, opts)
|
|
6812
7121
|
data
|
|
@@ -6818,7 +7127,7 @@ module FastCommentsClient
|
|
|
6818
7127
|
# @param [Hash] opts the optional parameters
|
|
6819
7128
|
# @option opts [String] :user_id
|
|
6820
7129
|
# @option opts [String] :anon_user_id
|
|
6821
|
-
# @return [Array<(
|
|
7130
|
+
# @return [Array<(UnblockSuccess, Integer, Hash)>] UnblockSuccess data, response status code and response headers
|
|
6822
7131
|
def un_block_user_from_comment_with_http_info(tenant_id, id, un_block_from_comment_params, opts = {})
|
|
6823
7132
|
if @api_client.config.debugging
|
|
6824
7133
|
@api_client.config.logger.debug 'Calling API: DefaultApi.un_block_user_from_comment ...'
|
|
@@ -6861,7 +7170,7 @@ module FastCommentsClient
|
|
|
6861
7170
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(un_block_from_comment_params)
|
|
6862
7171
|
|
|
6863
7172
|
# return_type
|
|
6864
|
-
return_type = opts[:debug_return_type] || '
|
|
7173
|
+
return_type = opts[:debug_return_type] || 'UnblockSuccess'
|
|
6865
7174
|
|
|
6866
7175
|
# auth_names
|
|
6867
7176
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6888,7 +7197,7 @@ module FastCommentsClient
|
|
|
6888
7197
|
# @param [Hash] opts the optional parameters
|
|
6889
7198
|
# @option opts [String] :user_id
|
|
6890
7199
|
# @option opts [String] :anon_user_id
|
|
6891
|
-
# @return [
|
|
7200
|
+
# @return [FlagCommentResponse]
|
|
6892
7201
|
def un_flag_comment(tenant_id, id, opts = {})
|
|
6893
7202
|
data, _status_code, _headers = un_flag_comment_with_http_info(tenant_id, id, opts)
|
|
6894
7203
|
data
|
|
@@ -6899,7 +7208,7 @@ module FastCommentsClient
|
|
|
6899
7208
|
# @param [Hash] opts the optional parameters
|
|
6900
7209
|
# @option opts [String] :user_id
|
|
6901
7210
|
# @option opts [String] :anon_user_id
|
|
6902
|
-
# @return [Array<(
|
|
7211
|
+
# @return [Array<(FlagCommentResponse, Integer, Hash)>] FlagCommentResponse data, response status code and response headers
|
|
6903
7212
|
def un_flag_comment_with_http_info(tenant_id, id, opts = {})
|
|
6904
7213
|
if @api_client.config.debugging
|
|
6905
7214
|
@api_client.config.logger.debug 'Calling API: DefaultApi.un_flag_comment ...'
|
|
@@ -6933,7 +7242,7 @@ module FastCommentsClient
|
|
|
6933
7242
|
post_body = opts[:debug_body]
|
|
6934
7243
|
|
|
6935
7244
|
# return_type
|
|
6936
|
-
return_type = opts[:debug_return_type] || '
|
|
7245
|
+
return_type = opts[:debug_return_type] || 'FlagCommentResponse'
|
|
6937
7246
|
|
|
6938
7247
|
# auth_names
|
|
6939
7248
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -6962,7 +7271,7 @@ module FastCommentsClient
|
|
|
6962
7271
|
# @option opts [String] :context_user_id
|
|
6963
7272
|
# @option opts [Boolean] :do_spam_check
|
|
6964
7273
|
# @option opts [Boolean] :is_live
|
|
6965
|
-
# @return [
|
|
7274
|
+
# @return [APIEmptyResponse]
|
|
6966
7275
|
def update_comment(tenant_id, id, updatable_comment_params, opts = {})
|
|
6967
7276
|
data, _status_code, _headers = update_comment_with_http_info(tenant_id, id, updatable_comment_params, opts)
|
|
6968
7277
|
data
|
|
@@ -6975,7 +7284,7 @@ module FastCommentsClient
|
|
|
6975
7284
|
# @option opts [String] :context_user_id
|
|
6976
7285
|
# @option opts [Boolean] :do_spam_check
|
|
6977
7286
|
# @option opts [Boolean] :is_live
|
|
6978
|
-
# @return [Array<(
|
|
7287
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
6979
7288
|
def update_comment_with_http_info(tenant_id, id, updatable_comment_params, opts = {})
|
|
6980
7289
|
if @api_client.config.debugging
|
|
6981
7290
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_comment ...'
|
|
@@ -7019,7 +7328,7 @@ module FastCommentsClient
|
|
|
7019
7328
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(updatable_comment_params)
|
|
7020
7329
|
|
|
7021
7330
|
# return_type
|
|
7022
|
-
return_type = opts[:debug_return_type] || '
|
|
7331
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7023
7332
|
|
|
7024
7333
|
# auth_names
|
|
7025
7334
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7045,7 +7354,7 @@ module FastCommentsClient
|
|
|
7045
7354
|
# @param id [String]
|
|
7046
7355
|
# @param update_email_template_body [UpdateEmailTemplateBody]
|
|
7047
7356
|
# @param [Hash] opts the optional parameters
|
|
7048
|
-
# @return [
|
|
7357
|
+
# @return [APIEmptyResponse]
|
|
7049
7358
|
def update_email_template(tenant_id, id, update_email_template_body, opts = {})
|
|
7050
7359
|
data, _status_code, _headers = update_email_template_with_http_info(tenant_id, id, update_email_template_body, opts)
|
|
7051
7360
|
data
|
|
@@ -7055,7 +7364,7 @@ module FastCommentsClient
|
|
|
7055
7364
|
# @param id [String]
|
|
7056
7365
|
# @param update_email_template_body [UpdateEmailTemplateBody]
|
|
7057
7366
|
# @param [Hash] opts the optional parameters
|
|
7058
|
-
# @return [Array<(
|
|
7367
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7059
7368
|
def update_email_template_with_http_info(tenant_id, id, update_email_template_body, opts = {})
|
|
7060
7369
|
if @api_client.config.debugging
|
|
7061
7370
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_email_template ...'
|
|
@@ -7096,7 +7405,7 @@ module FastCommentsClient
|
|
|
7096
7405
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_email_template_body)
|
|
7097
7406
|
|
|
7098
7407
|
# return_type
|
|
7099
|
-
return_type = opts[:debug_return_type] || '
|
|
7408
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7100
7409
|
|
|
7101
7410
|
# auth_names
|
|
7102
7411
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7122,7 +7431,7 @@ module FastCommentsClient
|
|
|
7122
7431
|
# @param id [String]
|
|
7123
7432
|
# @param feed_post [FeedPost]
|
|
7124
7433
|
# @param [Hash] opts the optional parameters
|
|
7125
|
-
# @return [
|
|
7434
|
+
# @return [APIEmptyResponse]
|
|
7126
7435
|
def update_feed_post(tenant_id, id, feed_post, opts = {})
|
|
7127
7436
|
data, _status_code, _headers = update_feed_post_with_http_info(tenant_id, id, feed_post, opts)
|
|
7128
7437
|
data
|
|
@@ -7132,7 +7441,7 @@ module FastCommentsClient
|
|
|
7132
7441
|
# @param id [String]
|
|
7133
7442
|
# @param feed_post [FeedPost]
|
|
7134
7443
|
# @param [Hash] opts the optional parameters
|
|
7135
|
-
# @return [Array<(
|
|
7444
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7136
7445
|
def update_feed_post_with_http_info(tenant_id, id, feed_post, opts = {})
|
|
7137
7446
|
if @api_client.config.debugging
|
|
7138
7447
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_feed_post ...'
|
|
@@ -7173,7 +7482,7 @@ module FastCommentsClient
|
|
|
7173
7482
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(feed_post)
|
|
7174
7483
|
|
|
7175
7484
|
# return_type
|
|
7176
|
-
return_type = opts[:debug_return_type] || '
|
|
7485
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7177
7486
|
|
|
7178
7487
|
# auth_names
|
|
7179
7488
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7199,7 +7508,7 @@ module FastCommentsClient
|
|
|
7199
7508
|
# @param id [String]
|
|
7200
7509
|
# @param update_moderator_body [UpdateModeratorBody]
|
|
7201
7510
|
# @param [Hash] opts the optional parameters
|
|
7202
|
-
# @return [
|
|
7511
|
+
# @return [APIEmptyResponse]
|
|
7203
7512
|
def update_moderator(tenant_id, id, update_moderator_body, opts = {})
|
|
7204
7513
|
data, _status_code, _headers = update_moderator_with_http_info(tenant_id, id, update_moderator_body, opts)
|
|
7205
7514
|
data
|
|
@@ -7209,7 +7518,7 @@ module FastCommentsClient
|
|
|
7209
7518
|
# @param id [String]
|
|
7210
7519
|
# @param update_moderator_body [UpdateModeratorBody]
|
|
7211
7520
|
# @param [Hash] opts the optional parameters
|
|
7212
|
-
# @return [Array<(
|
|
7521
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7213
7522
|
def update_moderator_with_http_info(tenant_id, id, update_moderator_body, opts = {})
|
|
7214
7523
|
if @api_client.config.debugging
|
|
7215
7524
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_moderator ...'
|
|
@@ -7250,7 +7559,7 @@ module FastCommentsClient
|
|
|
7250
7559
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_moderator_body)
|
|
7251
7560
|
|
|
7252
7561
|
# return_type
|
|
7253
|
-
return_type = opts[:debug_return_type] || '
|
|
7562
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7254
7563
|
|
|
7255
7564
|
# auth_names
|
|
7256
7565
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7277,7 +7586,7 @@ module FastCommentsClient
|
|
|
7277
7586
|
# @param update_notification_body [UpdateNotificationBody]
|
|
7278
7587
|
# @param [Hash] opts the optional parameters
|
|
7279
7588
|
# @option opts [String] :user_id
|
|
7280
|
-
# @return [
|
|
7589
|
+
# @return [APIEmptyResponse]
|
|
7281
7590
|
def update_notification(tenant_id, id, update_notification_body, opts = {})
|
|
7282
7591
|
data, _status_code, _headers = update_notification_with_http_info(tenant_id, id, update_notification_body, opts)
|
|
7283
7592
|
data
|
|
@@ -7288,7 +7597,7 @@ module FastCommentsClient
|
|
|
7288
7597
|
# @param update_notification_body [UpdateNotificationBody]
|
|
7289
7598
|
# @param [Hash] opts the optional parameters
|
|
7290
7599
|
# @option opts [String] :user_id
|
|
7291
|
-
# @return [Array<(
|
|
7600
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7292
7601
|
def update_notification_with_http_info(tenant_id, id, update_notification_body, opts = {})
|
|
7293
7602
|
if @api_client.config.debugging
|
|
7294
7603
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_notification ...'
|
|
@@ -7330,7 +7639,7 @@ module FastCommentsClient
|
|
|
7330
7639
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_notification_body)
|
|
7331
7640
|
|
|
7332
7641
|
# return_type
|
|
7333
|
-
return_type = opts[:debug_return_type] || '
|
|
7642
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7334
7643
|
|
|
7335
7644
|
# auth_names
|
|
7336
7645
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7356,7 +7665,7 @@ module FastCommentsClient
|
|
|
7356
7665
|
# @param id [String]
|
|
7357
7666
|
# @param update_question_config_body [UpdateQuestionConfigBody]
|
|
7358
7667
|
# @param [Hash] opts the optional parameters
|
|
7359
|
-
# @return [
|
|
7668
|
+
# @return [APIEmptyResponse]
|
|
7360
7669
|
def update_question_config(tenant_id, id, update_question_config_body, opts = {})
|
|
7361
7670
|
data, _status_code, _headers = update_question_config_with_http_info(tenant_id, id, update_question_config_body, opts)
|
|
7362
7671
|
data
|
|
@@ -7366,7 +7675,7 @@ module FastCommentsClient
|
|
|
7366
7675
|
# @param id [String]
|
|
7367
7676
|
# @param update_question_config_body [UpdateQuestionConfigBody]
|
|
7368
7677
|
# @param [Hash] opts the optional parameters
|
|
7369
|
-
# @return [Array<(
|
|
7678
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7370
7679
|
def update_question_config_with_http_info(tenant_id, id, update_question_config_body, opts = {})
|
|
7371
7680
|
if @api_client.config.debugging
|
|
7372
7681
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_question_config ...'
|
|
@@ -7407,7 +7716,7 @@ module FastCommentsClient
|
|
|
7407
7716
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_question_config_body)
|
|
7408
7717
|
|
|
7409
7718
|
# return_type
|
|
7410
|
-
return_type = opts[:debug_return_type] || '
|
|
7719
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7411
7720
|
|
|
7412
7721
|
# auth_names
|
|
7413
7722
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7433,7 +7742,7 @@ module FastCommentsClient
|
|
|
7433
7742
|
# @param id [String]
|
|
7434
7743
|
# @param update_question_result_body [UpdateQuestionResultBody]
|
|
7435
7744
|
# @param [Hash] opts the optional parameters
|
|
7436
|
-
# @return [
|
|
7745
|
+
# @return [APIEmptyResponse]
|
|
7437
7746
|
def update_question_result(tenant_id, id, update_question_result_body, opts = {})
|
|
7438
7747
|
data, _status_code, _headers = update_question_result_with_http_info(tenant_id, id, update_question_result_body, opts)
|
|
7439
7748
|
data
|
|
@@ -7443,7 +7752,7 @@ module FastCommentsClient
|
|
|
7443
7752
|
# @param id [String]
|
|
7444
7753
|
# @param update_question_result_body [UpdateQuestionResultBody]
|
|
7445
7754
|
# @param [Hash] opts the optional parameters
|
|
7446
|
-
# @return [Array<(
|
|
7755
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7447
7756
|
def update_question_result_with_http_info(tenant_id, id, update_question_result_body, opts = {})
|
|
7448
7757
|
if @api_client.config.debugging
|
|
7449
7758
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_question_result ...'
|
|
@@ -7484,7 +7793,7 @@ module FastCommentsClient
|
|
|
7484
7793
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_question_result_body)
|
|
7485
7794
|
|
|
7486
7795
|
# return_type
|
|
7487
|
-
return_type = opts[:debug_return_type] || '
|
|
7796
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7488
7797
|
|
|
7489
7798
|
# auth_names
|
|
7490
7799
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7506,11 +7815,91 @@ module FastCommentsClient
|
|
|
7506
7815
|
return data, status_code, headers
|
|
7507
7816
|
end
|
|
7508
7817
|
|
|
7818
|
+
# @param tenant_id [String]
|
|
7819
|
+
# @param id [String]
|
|
7820
|
+
# @param update_api_user_subscription_data [UpdateAPIUserSubscriptionData]
|
|
7821
|
+
# @param [Hash] opts the optional parameters
|
|
7822
|
+
# @option opts [String] :user_id
|
|
7823
|
+
# @return [UpdateSubscriptionAPIResponse]
|
|
7824
|
+
def update_subscription(tenant_id, id, update_api_user_subscription_data, opts = {})
|
|
7825
|
+
data, _status_code, _headers = update_subscription_with_http_info(tenant_id, id, update_api_user_subscription_data, opts)
|
|
7826
|
+
data
|
|
7827
|
+
end
|
|
7828
|
+
|
|
7829
|
+
# @param tenant_id [String]
|
|
7830
|
+
# @param id [String]
|
|
7831
|
+
# @param update_api_user_subscription_data [UpdateAPIUserSubscriptionData]
|
|
7832
|
+
# @param [Hash] opts the optional parameters
|
|
7833
|
+
# @option opts [String] :user_id
|
|
7834
|
+
# @return [Array<(UpdateSubscriptionAPIResponse, Integer, Hash)>] UpdateSubscriptionAPIResponse data, response status code and response headers
|
|
7835
|
+
def update_subscription_with_http_info(tenant_id, id, update_api_user_subscription_data, opts = {})
|
|
7836
|
+
if @api_client.config.debugging
|
|
7837
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.update_subscription ...'
|
|
7838
|
+
end
|
|
7839
|
+
# verify the required parameter 'tenant_id' is set
|
|
7840
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
|
7841
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling DefaultApi.update_subscription"
|
|
7842
|
+
end
|
|
7843
|
+
# verify the required parameter 'id' is set
|
|
7844
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
7845
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.update_subscription"
|
|
7846
|
+
end
|
|
7847
|
+
# verify the required parameter 'update_api_user_subscription_data' is set
|
|
7848
|
+
if @api_client.config.client_side_validation && update_api_user_subscription_data.nil?
|
|
7849
|
+
fail ArgumentError, "Missing the required parameter 'update_api_user_subscription_data' when calling DefaultApi.update_subscription"
|
|
7850
|
+
end
|
|
7851
|
+
# resource path
|
|
7852
|
+
local_var_path = '/api/v1/subscriptions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
7853
|
+
|
|
7854
|
+
# query parameters
|
|
7855
|
+
query_params = opts[:query_params] || {}
|
|
7856
|
+
query_params[:'tenantId'] = tenant_id
|
|
7857
|
+
query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
|
|
7858
|
+
|
|
7859
|
+
# header parameters
|
|
7860
|
+
header_params = opts[:header_params] || {}
|
|
7861
|
+
# HTTP header 'Accept' (if needed)
|
|
7862
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
7863
|
+
# HTTP header 'Content-Type'
|
|
7864
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
7865
|
+
if !content_type.nil?
|
|
7866
|
+
header_params['Content-Type'] = content_type
|
|
7867
|
+
end
|
|
7868
|
+
|
|
7869
|
+
# form parameters
|
|
7870
|
+
form_params = opts[:form_params] || {}
|
|
7871
|
+
|
|
7872
|
+
# http body (model)
|
|
7873
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_api_user_subscription_data)
|
|
7874
|
+
|
|
7875
|
+
# return_type
|
|
7876
|
+
return_type = opts[:debug_return_type] || 'UpdateSubscriptionAPIResponse'
|
|
7877
|
+
|
|
7878
|
+
# auth_names
|
|
7879
|
+
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
7880
|
+
|
|
7881
|
+
new_options = opts.merge(
|
|
7882
|
+
:operation => :"DefaultApi.update_subscription",
|
|
7883
|
+
:header_params => header_params,
|
|
7884
|
+
:query_params => query_params,
|
|
7885
|
+
:form_params => form_params,
|
|
7886
|
+
:body => post_body,
|
|
7887
|
+
:auth_names => auth_names,
|
|
7888
|
+
:return_type => return_type
|
|
7889
|
+
)
|
|
7890
|
+
|
|
7891
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
7892
|
+
if @api_client.config.debugging
|
|
7893
|
+
@api_client.config.logger.debug "API called: DefaultApi#update_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7894
|
+
end
|
|
7895
|
+
return data, status_code, headers
|
|
7896
|
+
end
|
|
7897
|
+
|
|
7509
7898
|
# @param tenant_id [String]
|
|
7510
7899
|
# @param id [String]
|
|
7511
7900
|
# @param update_tenant_body [UpdateTenantBody]
|
|
7512
7901
|
# @param [Hash] opts the optional parameters
|
|
7513
|
-
# @return [
|
|
7902
|
+
# @return [APIEmptyResponse]
|
|
7514
7903
|
def update_tenant(tenant_id, id, update_tenant_body, opts = {})
|
|
7515
7904
|
data, _status_code, _headers = update_tenant_with_http_info(tenant_id, id, update_tenant_body, opts)
|
|
7516
7905
|
data
|
|
@@ -7520,7 +7909,7 @@ module FastCommentsClient
|
|
|
7520
7909
|
# @param id [String]
|
|
7521
7910
|
# @param update_tenant_body [UpdateTenantBody]
|
|
7522
7911
|
# @param [Hash] opts the optional parameters
|
|
7523
|
-
# @return [Array<(
|
|
7912
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7524
7913
|
def update_tenant_with_http_info(tenant_id, id, update_tenant_body, opts = {})
|
|
7525
7914
|
if @api_client.config.debugging
|
|
7526
7915
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant ...'
|
|
@@ -7561,7 +7950,7 @@ module FastCommentsClient
|
|
|
7561
7950
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_body)
|
|
7562
7951
|
|
|
7563
7952
|
# return_type
|
|
7564
|
-
return_type = opts[:debug_return_type] || '
|
|
7953
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7565
7954
|
|
|
7566
7955
|
# auth_names
|
|
7567
7956
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7587,7 +7976,7 @@ module FastCommentsClient
|
|
|
7587
7976
|
# @param id [String]
|
|
7588
7977
|
# @param update_tenant_package_body [UpdateTenantPackageBody]
|
|
7589
7978
|
# @param [Hash] opts the optional parameters
|
|
7590
|
-
# @return [
|
|
7979
|
+
# @return [APIEmptyResponse]
|
|
7591
7980
|
def update_tenant_package(tenant_id, id, update_tenant_package_body, opts = {})
|
|
7592
7981
|
data, _status_code, _headers = update_tenant_package_with_http_info(tenant_id, id, update_tenant_package_body, opts)
|
|
7593
7982
|
data
|
|
@@ -7597,7 +7986,7 @@ module FastCommentsClient
|
|
|
7597
7986
|
# @param id [String]
|
|
7598
7987
|
# @param update_tenant_package_body [UpdateTenantPackageBody]
|
|
7599
7988
|
# @param [Hash] opts the optional parameters
|
|
7600
|
-
# @return [Array<(
|
|
7989
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7601
7990
|
def update_tenant_package_with_http_info(tenant_id, id, update_tenant_package_body, opts = {})
|
|
7602
7991
|
if @api_client.config.debugging
|
|
7603
7992
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant_package ...'
|
|
@@ -7638,7 +8027,7 @@ module FastCommentsClient
|
|
|
7638
8027
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_package_body)
|
|
7639
8028
|
|
|
7640
8029
|
# return_type
|
|
7641
|
-
return_type = opts[:debug_return_type] || '
|
|
8030
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7642
8031
|
|
|
7643
8032
|
# auth_names
|
|
7644
8033
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7665,7 +8054,7 @@ module FastCommentsClient
|
|
|
7665
8054
|
# @param update_tenant_user_body [UpdateTenantUserBody]
|
|
7666
8055
|
# @param [Hash] opts the optional parameters
|
|
7667
8056
|
# @option opts [String] :update_comments
|
|
7668
|
-
# @return [
|
|
8057
|
+
# @return [APIEmptyResponse]
|
|
7669
8058
|
def update_tenant_user(tenant_id, id, update_tenant_user_body, opts = {})
|
|
7670
8059
|
data, _status_code, _headers = update_tenant_user_with_http_info(tenant_id, id, update_tenant_user_body, opts)
|
|
7671
8060
|
data
|
|
@@ -7676,7 +8065,7 @@ module FastCommentsClient
|
|
|
7676
8065
|
# @param update_tenant_user_body [UpdateTenantUserBody]
|
|
7677
8066
|
# @param [Hash] opts the optional parameters
|
|
7678
8067
|
# @option opts [String] :update_comments
|
|
7679
|
-
# @return [Array<(
|
|
8068
|
+
# @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
|
|
7680
8069
|
def update_tenant_user_with_http_info(tenant_id, id, update_tenant_user_body, opts = {})
|
|
7681
8070
|
if @api_client.config.debugging
|
|
7682
8071
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_tenant_user ...'
|
|
@@ -7718,7 +8107,7 @@ module FastCommentsClient
|
|
|
7718
8107
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tenant_user_body)
|
|
7719
8108
|
|
|
7720
8109
|
# return_type
|
|
7721
|
-
return_type = opts[:debug_return_type] || '
|
|
8110
|
+
return_type = opts[:debug_return_type] || 'APIEmptyResponse'
|
|
7722
8111
|
|
|
7723
8112
|
# auth_names
|
|
7724
8113
|
auth_names = opts[:debug_auth_names] || ['api_key']
|
|
@@ -7744,7 +8133,7 @@ module FastCommentsClient
|
|
|
7744
8133
|
# @param id [String]
|
|
7745
8134
|
# @param update_user_badge_params [UpdateUserBadgeParams]
|
|
7746
8135
|
# @param [Hash] opts the optional parameters
|
|
7747
|
-
# @return [
|
|
8136
|
+
# @return [APIEmptySuccessResponse]
|
|
7748
8137
|
def update_user_badge(tenant_id, id, update_user_badge_params, opts = {})
|
|
7749
8138
|
data, _status_code, _headers = update_user_badge_with_http_info(tenant_id, id, update_user_badge_params, opts)
|
|
7750
8139
|
data
|
|
@@ -7754,7 +8143,7 @@ module FastCommentsClient
|
|
|
7754
8143
|
# @param id [String]
|
|
7755
8144
|
# @param update_user_badge_params [UpdateUserBadgeParams]
|
|
7756
8145
|
# @param [Hash] opts the optional parameters
|
|
7757
|
-
# @return [Array<(
|
|
8146
|
+
# @return [Array<(APIEmptySuccessResponse, Integer, Hash)>] APIEmptySuccessResponse data, response status code and response headers
|
|
7758
8147
|
def update_user_badge_with_http_info(tenant_id, id, update_user_badge_params, opts = {})
|
|
7759
8148
|
if @api_client.config.debugging
|
|
7760
8149
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_user_badge ...'
|
|
@@ -7795,7 +8184,7 @@ module FastCommentsClient
|
|
|
7795
8184
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_user_badge_params)
|
|
7796
8185
|
|
|
7797
8186
|
# return_type
|
|
7798
|
-
return_type = opts[:debug_return_type] || '
|
|
8187
|
+
return_type = opts[:debug_return_type] || 'APIEmptySuccessResponse'
|
|
7799
8188
|
|
|
7800
8189
|
# auth_names
|
|
7801
8190
|
auth_names = opts[:debug_auth_names] || ['api_key']
|