fastcomments 1.2.1 → 2.0.0

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