fastcomments 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1117) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -3
  3. data/client/README.md +188 -98
  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 +3 -3
  9. data/client/docs/APICommentBase.md +3 -3
  10. data/client/docs/APICommentBaseMeta.md +20 -0
  11. data/client/docs/APICommentCommonBannedUser.md +32 -0
  12. data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
  13. data/client/docs/APIModerateUserBanPreferences.md +24 -0
  14. data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
  15. data/client/docs/APITicket.md +34 -0
  16. data/client/docs/APITicketDetail.md +42 -0
  17. data/client/docs/APITicketFile.md +36 -0
  18. data/client/docs/APIUserSubscription.md +2 -0
  19. data/client/docs/{AddDomainConfig200Response.md → AddDomainConfigResponse.md} +2 -2
  20. data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
  21. data/client/docs/AdjustCommentVotesParams.md +18 -0
  22. data/client/docs/AdjustVotesResponse.md +20 -0
  23. data/client/docs/AggregateResponse.md +28 -0
  24. data/client/docs/AggregationAPIError.md +24 -0
  25. data/client/docs/AwardUserBadgeResponse.md +22 -0
  26. data/client/docs/BanUserFromCommentResult.md +24 -0
  27. data/client/docs/BanUserUndoParams.md +18 -0
  28. data/client/docs/BannedUserMatch.md +20 -0
  29. data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
  30. data/client/docs/BannedUserMatchType.md +15 -0
  31. data/client/docs/BuildModerationFilterParams.md +26 -0
  32. data/client/docs/BuildModerationFilterResponse.md +20 -0
  33. data/client/docs/BulkCreateHashTagsResponse.md +1 -1
  34. data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +2 -2
  35. data/client/docs/BulkPreBanParams.md +18 -0
  36. data/client/docs/BulkPreBanSummary.md +28 -0
  37. data/client/docs/ChangeTicketStateBody.md +18 -0
  38. data/client/docs/ChangeTicketStateResponse.md +20 -0
  39. data/client/docs/CommentData.md +6 -2
  40. data/client/docs/CommentLogData.md +2 -0
  41. data/client/docs/CommentsByIdsParams.md +18 -0
  42. data/client/docs/CreateAPIUserSubscriptionData.md +2 -0
  43. data/client/docs/CreateCommentParams.md +5 -1
  44. data/client/docs/CreateTenantPackageBody.md +6 -4
  45. data/client/docs/CreateTicketBody.md +18 -0
  46. data/client/docs/CreateTicketResponse.md +20 -0
  47. data/client/docs/CreateV1PageReact.md +20 -0
  48. data/client/docs/CustomConfigParameters.md +31 -1
  49. data/client/docs/DefaultApi.md +771 -383
  50. data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
  51. data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
  52. data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
  53. data/client/docs/FComment.md +5 -1
  54. data/client/docs/FCommentMeta.md +2 -0
  55. data/client/docs/GetBannedUsersCountResponse.md +20 -0
  56. data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
  57. data/client/docs/GetCommentBanStatusResponse.md +22 -0
  58. data/client/docs/GetCommentTextResponse.md +20 -0
  59. data/client/docs/GetCommentsForUserResponse.md +18 -0
  60. data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +2 -2
  61. data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +2 -2
  62. data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
  63. data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
  64. data/client/docs/GetGifsSearchResponse.md +22 -0
  65. data/client/docs/GetGifsTrendingResponse.md +22 -0
  66. data/client/docs/GetPublicPagesResponse.md +22 -0
  67. data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
  68. data/client/docs/GetTenantManualBadgesResponse.md +20 -0
  69. data/client/docs/GetTicketResponse.md +22 -0
  70. data/client/docs/GetTicketsResponse.md +20 -0
  71. data/client/docs/GetTranslationsResponse.md +20 -0
  72. data/client/docs/GetUserInternalProfileResponse.md +20 -0
  73. data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
  74. data/client/docs/GetUserManualBadgesResponse.md +20 -0
  75. data/client/docs/GetUserTrustFactorResponse.md +22 -0
  76. data/client/docs/GetV1PageLikes.md +26 -0
  77. data/client/docs/GetV2PageReactUsersResponse.md +20 -0
  78. data/client/docs/GetV2PageReacts.md +22 -0
  79. data/client/docs/GifGetLargeResponse.md +20 -0
  80. data/client/docs/GifSearchInternalError.md +20 -0
  81. data/client/docs/GifSearchResponse.md +20 -0
  82. data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
  83. data/client/docs/HeaderAccountNotification.md +36 -0
  84. data/client/docs/HeaderState.md +3 -1
  85. data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
  86. data/client/docs/LiveEvent.md +2 -0
  87. data/client/docs/MentionAutoCompleteMode.md +15 -0
  88. data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
  89. data/client/docs/ModerationAPIComment.md +100 -0
  90. data/client/docs/ModerationAPICommentLog.md +24 -0
  91. data/client/docs/ModerationAPICommentResponse.md +20 -0
  92. data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
  93. data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
  94. data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
  95. data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
  96. data/client/docs/ModerationApi.md +2990 -0
  97. data/client/docs/ModerationCommentSearchResponse.md +20 -0
  98. data/client/docs/ModerationExportResponse.md +20 -0
  99. data/client/docs/ModerationExportStatusResponse.md +24 -0
  100. data/client/docs/ModerationFilter.md +40 -0
  101. data/client/docs/ModerationPageSearchProjected.md +24 -0
  102. data/client/docs/ModerationPageSearchResponse.md +20 -0
  103. data/client/docs/ModerationSiteSearchProjected.md +20 -0
  104. data/client/docs/ModerationSiteSearchResponse.md +20 -0
  105. data/client/docs/ModerationSuggestResponse.md +24 -0
  106. data/client/docs/ModerationUserSearchProjected.md +24 -0
  107. data/client/docs/ModerationUserSearchResponse.md +20 -0
  108. data/client/docs/Moderator.md +3 -1
  109. data/client/docs/PageUserEntry.md +24 -0
  110. data/client/docs/PageUsersInfoResponse.md +20 -0
  111. data/client/docs/PageUsersOfflineResponse.md +24 -0
  112. data/client/docs/PageUsersOnlineResponse.md +28 -0
  113. data/client/docs/PagesSortBy.md +15 -0
  114. data/client/docs/PatchDomainConfigResponse.md +24 -0
  115. data/client/docs/PostRemoveCommentResponse.md +20 -0
  116. data/client/docs/PreBanSummary.md +22 -0
  117. data/client/docs/PublicApi.md +1517 -331
  118. data/client/docs/PublicPage.md +26 -0
  119. data/client/docs/PutDomainConfigResponse.md +24 -0
  120. data/client/docs/RemoveCommentActionResponse.md +20 -0
  121. data/client/docs/RemoveUserBadgeResponse.md +20 -0
  122. data/client/docs/ReplaceTenantPackageBody.md +2 -0
  123. data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
  124. data/client/docs/SearchUsersResult.md +22 -0
  125. data/client/docs/SearchUsersSectionedResponse.md +20 -0
  126. data/client/docs/SetCommentApprovedResponse.md +20 -0
  127. data/client/docs/SetCommentTextParams.md +18 -0
  128. data/client/docs/SetCommentTextResponse.md +20 -0
  129. data/client/docs/SetUserTrustFactorResponse.md +20 -0
  130. data/client/docs/TOSConfig.md +22 -0
  131. data/client/docs/TenantBadge.md +58 -0
  132. data/client/docs/TenantPackage.md +19 -1
  133. data/client/docs/UpdatableCommentParams.md +1 -1
  134. data/client/docs/UpdateAPIUserSubscriptionData.md +18 -0
  135. data/client/docs/UpdateSubscriptionAPIResponse.md +24 -0
  136. data/client/docs/UpdateTenantPackageBody.md +2 -0
  137. data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
  138. data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
  139. data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
  140. data/client/docs/User.md +19 -1
  141. data/client/docs/UserBadge.md +3 -1
  142. data/client/docs/UserBadgeProgress.md +3 -1
  143. data/client/docs/UserSearchSection.md +15 -0
  144. data/client/docs/UserSearchSectionResult.md +20 -0
  145. data/client/docs/UserSessionInfo.md +2 -0
  146. data/client/docs/UsersListLocation.md +15 -0
  147. data/client/docs/VoteResponse.md +1 -1
  148. data/client/docs/VoteResponseStatus.md +15 -0
  149. data/client/fastcomments-client.gemspec +1 -1
  150. data/client/lib/fastcomments-client/api/default_api.rb +678 -289
  151. data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
  152. data/client/lib/fastcomments-client/api/public_api.rb +1492 -299
  153. data/client/lib/fastcomments-client/api_client.rb +3 -7
  154. data/client/lib/fastcomments-client/api_error.rb +1 -1
  155. data/client/lib/fastcomments-client/configuration.rb +1 -1
  156. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +75 -2
  157. data/client/lib/fastcomments-client/models/add_domain_config_response.rb +104 -0
  158. data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +77 -4
  159. data/client/lib/fastcomments-client/models/add_page_api_response.rb +75 -2
  160. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +75 -2
  161. data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +237 -0
  162. data/client/lib/fastcomments-client/models/adjust_votes_response.rb +263 -0
  163. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +75 -2
  164. data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → aggregate_response.rb} +6 -5
  165. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
  166. data/client/lib/fastcomments-client/models/aggregation_api_error.rb +322 -0
  167. data/client/lib/fastcomments-client/models/aggregation_item.rb +75 -2
  168. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
  169. data/client/lib/fastcomments-client/models/aggregation_operation.rb +75 -2
  170. data/client/lib/fastcomments-client/models/aggregation_request.rb +75 -2
  171. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +75 -2
  172. data/client/lib/fastcomments-client/models/aggregation_response.rb +75 -2
  173. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +75 -2
  174. data/client/lib/fastcomments-client/models/aggregation_value.rb +75 -2
  175. data/client/lib/fastcomments-client/models/api_audit_log.rb +75 -2
  176. data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +249 -0
  177. data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +333 -0
  178. data/client/lib/fastcomments-client/models/api_banned_user.rb +454 -0
  179. data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +375 -0
  180. data/client/lib/fastcomments-client/models/api_comment.rb +92 -19
  181. data/client/lib/fastcomments-client/models/api_comment_base.rb +92 -19
  182. data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +229 -0
  183. data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +340 -0
  184. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +75 -2
  185. data/client/lib/fastcomments-client/models/api_domain_configuration.rb +75 -2
  186. data/client/lib/fastcomments-client/models/api_empty_response.rb +75 -2
  187. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +75 -2
  188. data/client/lib/fastcomments-client/models/api_error.rb +75 -2
  189. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +75 -2
  190. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +75 -2
  191. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +75 -2
  192. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +75 -2
  193. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +75 -2
  194. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +75 -2
  195. data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +271 -0
  196. data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +315 -0
  197. data/client/lib/fastcomments-client/models/api_page.rb +75 -2
  198. data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +78 -5
  199. data/client/lib/fastcomments-client/models/api_status.rb +1 -1
  200. data/client/lib/fastcomments-client/models/api_tenant.rb +75 -2
  201. data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +75 -2
  202. data/client/lib/fastcomments-client/models/api_ticket.rb +447 -0
  203. data/client/lib/fastcomments-client/models/api_ticket_detail.rb +505 -0
  204. data/client/lib/fastcomments-client/models/api_ticket_file.rb +454 -0
  205. data/client/lib/fastcomments-client/models/api_user_subscription.rb +85 -3
  206. data/client/lib/fastcomments-client/models/apisso_user.rb +75 -2
  207. data/client/lib/fastcomments-client/models/award_user_badge_response.rb +281 -0
  208. data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +264 -0
  209. data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +237 -0
  210. data/client/lib/fastcomments-client/models/banned_user_match.rb +271 -0
  211. data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +4 -3
  212. data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
  213. data/client/lib/fastcomments-client/models/billing_info.rb +75 -2
  214. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +75 -2
  215. data/client/lib/fastcomments-client/models/block_success.rb +75 -2
  216. data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +290 -0
  217. data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +263 -0
  218. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +75 -2
  219. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +75 -2
  220. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +75 -2
  221. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +75 -2
  222. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +75 -2
  223. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +76 -3
  224. data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +4 -3
  225. data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +239 -0
  226. data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +375 -0
  227. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +75 -2
  228. data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +237 -0
  229. data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +285 -0
  230. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +75 -2
  231. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +75 -2
  232. data/client/lib/fastcomments-client/models/comment_data.rb +97 -6
  233. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
  234. data/client/lib/fastcomments-client/models/comment_log_data.rb +85 -3
  235. data/client/lib/fastcomments-client/models/comment_log_entry.rb +75 -2
  236. data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
  237. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
  238. data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
  239. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +75 -2
  240. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
  241. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +75 -2
  242. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +75 -2
  243. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +75 -2
  244. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
  245. data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +239 -0
  246. data/client/lib/fastcomments-client/models/create_api_page_data.rb +75 -2
  247. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +85 -3
  248. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
  249. data/client/lib/fastcomments-client/models/create_comment_params.rb +95 -4
  250. data/client/lib/fastcomments-client/models/create_email_template_body.rb +75 -2
  251. data/client/lib/fastcomments-client/models/create_email_template_response.rb +75 -2
  252. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +75 -2
  253. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +75 -2
  254. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +75 -2
  255. data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +75 -2
  256. data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +75 -2
  257. data/client/lib/fastcomments-client/models/create_moderator_body.rb +75 -2
  258. data/client/lib/fastcomments-client/models/create_moderator_response.rb +75 -2
  259. data/client/lib/fastcomments-client/models/create_question_config_body.rb +75 -2
  260. data/client/lib/fastcomments-client/models/create_question_config_response.rb +75 -2
  261. data/client/lib/fastcomments-client/models/create_question_result_body.rb +75 -2
  262. data/client/lib/fastcomments-client/models/create_question_result_response.rb +75 -2
  263. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +75 -2
  264. data/client/lib/fastcomments-client/models/create_tenant_body.rb +75 -2
  265. data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +97 -15
  266. data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +75 -2
  267. data/client/lib/fastcomments-client/models/create_tenant_response.rb +75 -2
  268. data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +75 -2
  269. data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +75 -2
  270. data/client/lib/fastcomments-client/models/create_ticket_body.rb +237 -0
  271. data/client/lib/fastcomments-client/models/create_ticket_response.rb +285 -0
  272. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +75 -2
  273. data/client/lib/fastcomments-client/models/create_v1_page_react.rb +268 -0
  274. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +220 -6
  275. data/client/lib/fastcomments-client/models/custom_email_template.rb +75 -2
  276. data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
  277. data/client/lib/fastcomments-client/models/delete_comment_result.rb +75 -2
  278. data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +223 -0
  279. data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +77 -4
  280. data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +77 -4
  281. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +75 -2
  282. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +75 -2
  283. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +75 -2
  284. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +75 -2
  285. data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
  286. data/client/lib/fastcomments-client/models/email_template_definition.rb +75 -2
  287. data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +75 -2
  288. data/client/lib/fastcomments-client/models/event_log_entry.rb +75 -2
  289. data/client/lib/fastcomments-client/models/f_comment.rb +97 -6
  290. data/client/lib/fastcomments-client/models/f_comment_meta.rb +85 -3
  291. data/client/lib/fastcomments-client/models/feed_post.rb +75 -2
  292. data/client/lib/fastcomments-client/models/feed_post_link.rb +75 -2
  293. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +75 -2
  294. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +75 -2
  295. data/client/lib/fastcomments-client/models/feed_post_stats.rb +75 -2
  296. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +75 -2
  297. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +75 -2
  298. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +75 -2
  299. data/client/lib/fastcomments-client/models/flag_comment_response.rb +75 -2
  300. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +75 -2
  301. data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +263 -0
  302. data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +308 -0
  303. data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +75 -2
  304. data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +261 -0
  305. data/client/lib/fastcomments-client/models/get_comment_text_response.rb +269 -0
  306. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +75 -2
  307. data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +222 -0
  308. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +75 -2
  309. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +75 -2
  310. data/client/lib/fastcomments-client/models/get_domain_config_response.rb +104 -0
  311. data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +104 -0
  312. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +77 -4
  313. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +77 -4
  314. data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +75 -2
  315. data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +75 -2
  316. data/client/lib/fastcomments-client/models/get_email_template_response.rb +75 -2
  317. data/client/lib/fastcomments-client/models/get_email_templates_response.rb +75 -2
  318. data/client/lib/fastcomments-client/models/get_event_log_response.rb +75 -2
  319. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +75 -2
  320. data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +6 -5
  321. data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +104 -0
  322. data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +75 -2
  323. data/client/lib/fastcomments-client/models/get_moderator_response.rb +75 -2
  324. data/client/lib/fastcomments-client/models/get_moderators_response.rb +75 -2
  325. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +75 -2
  326. data/client/lib/fastcomments-client/models/get_notification_count_response.rb +75 -2
  327. data/client/lib/fastcomments-client/models/get_notifications_response.rb +75 -2
  328. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +75 -2
  329. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +75 -2
  330. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +75 -2
  331. data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +75 -2
  332. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +75 -2
  333. data/client/lib/fastcomments-client/models/get_public_pages_response.rb +299 -0
  334. data/client/lib/fastcomments-client/models/get_question_config_response.rb +75 -2
  335. data/client/lib/fastcomments-client/models/get_question_configs_response.rb +75 -2
  336. data/client/lib/fastcomments-client/models/get_question_result_response.rb +75 -2
  337. data/client/lib/fastcomments-client/models/get_question_results_response.rb +75 -2
  338. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +75 -2
  339. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +75 -2
  340. data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +77 -4
  341. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +75 -2
  342. data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +75 -2
  343. data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +287 -0
  344. data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +75 -2
  345. data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +75 -2
  346. data/client/lib/fastcomments-client/models/get_tenant_response.rb +75 -2
  347. data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +75 -2
  348. data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +75 -2
  349. data/client/lib/fastcomments-client/models/get_tenants_response.rb +75 -2
  350. data/client/lib/fastcomments-client/models/get_ticket_response.rb +313 -0
  351. data/client/lib/fastcomments-client/models/get_tickets_response.rb +287 -0
  352. data/client/lib/fastcomments-client/models/get_translations_response.rb +288 -0
  353. data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +285 -0
  354. data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +371 -0
  355. data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +287 -0
  356. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +75 -2
  357. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +75 -2
  358. data/client/lib/fastcomments-client/models/get_user_response.rb +75 -2
  359. data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +277 -0
  360. data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +363 -0
  361. data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +287 -0
  362. data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +282 -0
  363. data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +75 -2
  364. data/client/lib/fastcomments-client/models/get_votes_response.rb +75 -2
  365. data/client/lib/fastcomments-client/models/gif_get_large_response.rb +285 -0
  366. data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
  367. data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +285 -0
  368. data/client/lib/fastcomments-client/models/gif_search_response.rb +287 -0
  369. data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → gif_search_response_images_inner_inner.rb} +6 -5
  370. data/client/lib/fastcomments-client/models/header_account_notification.rb +406 -0
  371. data/client/lib/fastcomments-client/models/header_state.rb +107 -6
  372. data/client/lib/fastcomments-client/models/ignored_response.rb +75 -2
  373. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
  374. data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +42 -0
  375. data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
  376. data/client/lib/fastcomments-client/models/live_event.rb +85 -3
  377. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +75 -2
  378. data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
  379. data/client/lib/fastcomments-client/models/media_asset.rb +75 -2
  380. data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +41 -0
  381. data/client/lib/fastcomments-client/models/meta_item.rb +75 -2
  382. data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +287 -0
  383. data/client/lib/fastcomments-client/models/moderation_api_comment.rb +753 -0
  384. data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +298 -0
  385. data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +285 -0
  386. data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +285 -0
  387. data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +313 -0
  388. data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +322 -0
  389. data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +287 -0
  390. data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +285 -0
  391. data/client/lib/fastcomments-client/models/moderation_export_response.rb +263 -0
  392. data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +298 -0
  393. data/client/lib/fastcomments-client/models/moderation_filter.rb +325 -0
  394. data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +315 -0
  395. data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +287 -0
  396. data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +247 -0
  397. data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +287 -0
  398. data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +268 -0
  399. data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +283 -0
  400. data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +287 -0
  401. data/client/lib/fastcomments-client/models/moderator.rb +89 -7
  402. data/client/lib/fastcomments-client/models/notification_and_count.rb +75 -2
  403. data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
  404. data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
  405. data/client/lib/fastcomments-client/models/page_user_entry.rb +281 -0
  406. data/client/lib/fastcomments-client/models/page_users_info_response.rb +287 -0
  407. data/client/lib/fastcomments-client/models/page_users_offline_response.rb +311 -0
  408. data/client/lib/fastcomments-client/models/page_users_online_response.rb +363 -0
  409. data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
  410. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +75 -2
  411. data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +104 -0
  412. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +75 -2
  413. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +75 -2
  414. data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +75 -2
  415. data/client/lib/fastcomments-client/models/post_remove_comment_response.rb +104 -0
  416. data/client/lib/fastcomments-client/models/pre_ban_summary.rb +313 -0
  417. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +75 -2
  418. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +75 -2
  419. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +75 -2
  420. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +75 -2
  421. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +75 -2
  422. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +75 -2
  423. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +75 -2
  424. data/client/lib/fastcomments-client/models/public_comment.rb +75 -2
  425. data/client/lib/fastcomments-client/models/public_comment_base.rb +75 -2
  426. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +75 -2
  427. data/client/lib/fastcomments-client/models/public_page.rb +341 -0
  428. data/client/lib/fastcomments-client/models/public_vote.rb +75 -2
  429. data/client/lib/fastcomments-client/models/put_domain_config_response.rb +104 -0
  430. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +75 -2
  431. data/client/lib/fastcomments-client/models/query_predicate.rb +75 -2
  432. data/client/lib/fastcomments-client/models/query_predicate_value.rb +3 -2
  433. data/client/lib/fastcomments-client/models/question_config.rb +75 -2
  434. data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +75 -2
  435. data/client/lib/fastcomments-client/models/question_datum.rb +75 -2
  436. data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
  437. data/client/lib/fastcomments-client/models/question_result.rb +75 -2
  438. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +75 -2
  439. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
  440. data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
  441. data/client/lib/fastcomments-client/models/react_body_params.rb +75 -2
  442. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +75 -2
  443. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +77 -32
  444. data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +263 -0
  445. data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +270 -0
  446. data/client/lib/fastcomments-client/models/render_email_template_body.rb +75 -2
  447. data/client/lib/fastcomments-client/models/render_email_template_response.rb +75 -2
  448. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +75 -2
  449. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
  450. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
  451. data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +85 -3
  452. data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +75 -2
  453. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +75 -2
  454. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +75 -2
  455. data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → save_comments_bulk_response.rb} +5 -4
  456. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +75 -2
  457. data/client/lib/fastcomments-client/models/search_users_response.rb +75 -2
  458. data/client/lib/fastcomments-client/models/search_users_result.rb +104 -0
  459. data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +287 -0
  460. data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +268 -0
  461. data/client/lib/fastcomments-client/models/set_comment_text_params.rb +237 -0
  462. data/client/lib/fastcomments-client/models/set_comment_text_response.rb +285 -0
  463. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +75 -2
  464. data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +268 -0
  465. data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
  466. data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
  467. data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
  468. data/client/lib/fastcomments-client/models/spam_rule.rb +75 -2
  469. data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
  470. data/client/lib/fastcomments-client/models/tenant_badge.rb +637 -0
  471. data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +75 -2
  472. data/client/lib/fastcomments-client/models/tenant_package.rb +177 -6
  473. data/client/lib/fastcomments-client/models/tos_config.rb +241 -0
  474. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +75 -2
  475. data/client/lib/fastcomments-client/models/unblock_success.rb +75 -2
  476. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +76 -3
  477. data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
  478. data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → update_api_user_subscription_data.rb} +84 -14
  479. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +75 -2
  480. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +75 -2
  481. data/client/lib/fastcomments-client/models/update_email_template_body.rb +75 -2
  482. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +75 -2
  483. data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +75 -2
  484. data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +75 -2
  485. data/client/lib/fastcomments-client/models/update_moderator_body.rb +75 -2
  486. data/client/lib/fastcomments-client/models/update_notification_body.rb +75 -2
  487. data/client/lib/fastcomments-client/models/update_question_config_body.rb +75 -2
  488. data/client/lib/fastcomments-client/models/update_question_result_body.rb +75 -2
  489. data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +264 -0
  490. data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
  491. data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +85 -3
  492. data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +75 -2
  493. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +75 -2
  494. data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +104 -0
  495. data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +104 -0
  496. data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_status_response.rb} +4 -4
  497. data/client/lib/fastcomments-client/models/upload_image_response.rb +75 -2
  498. data/client/lib/fastcomments-client/models/user.rb +160 -6
  499. data/client/lib/fastcomments-client/models/user_badge.rb +89 -6
  500. data/client/lib/fastcomments-client/models/user_badge_progress.rb +88 -6
  501. data/client/lib/fastcomments-client/models/user_notification.rb +75 -2
  502. data/client/lib/fastcomments-client/models/user_notification_count.rb +75 -2
  503. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +75 -2
  504. data/client/lib/fastcomments-client/models/user_presence_data.rb +75 -2
  505. data/client/lib/fastcomments-client/models/user_reacts_response.rb +75 -2
  506. data/client/lib/fastcomments-client/models/user_search_result.rb +75 -2
  507. data/client/lib/fastcomments-client/models/user_search_section.rb +41 -0
  508. data/client/lib/fastcomments-client/models/user_search_section_result.rb +287 -0
  509. data/client/lib/fastcomments-client/models/user_session_info.rb +85 -3
  510. data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
  511. data/client/lib/fastcomments-client/models/vote_body_params.rb +75 -2
  512. data/client/lib/fastcomments-client/models/vote_delete_response.rb +75 -2
  513. data/client/lib/fastcomments-client/models/vote_response.rb +81 -32
  514. data/client/lib/fastcomments-client/models/{checked_comments_for_blocked200_response.rb → vote_response_status.rb} +6 -5
  515. data/client/lib/fastcomments-client/models/vote_response_user.rb +75 -2
  516. data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
  517. data/client/lib/fastcomments-client/version.rb +2 -2
  518. data/client/lib/fastcomments-client.rb +120 -95
  519. data/client/spec/api/default_api_spec.rb +163 -97
  520. data/client/spec/api/moderation_api_spec.rb +559 -0
  521. data/client/spec/api/public_api_spec.rb +254 -37
  522. data/client/spec/models/add_domain_config_params_spec.rb +2 -2
  523. data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
  524. data/client/spec/models/{get_votes200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
  525. data/client/spec/models/add_page_api_response_spec.rb +2 -2
  526. data/client/spec/models/add_sso_user_api_response_spec.rb +2 -2
  527. data/client/spec/models/adjust_comment_votes_params_spec.rb +36 -0
  528. data/client/spec/models/adjust_votes_response_spec.rb +42 -0
  529. data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
  530. data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
  531. data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
  532. data/client/spec/models/aggregation_api_error_spec.rb +54 -0
  533. data/client/spec/models/aggregation_item_spec.rb +2 -2
  534. data/client/spec/models/aggregation_op_type_spec.rb +2 -2
  535. data/client/spec/models/aggregation_operation_spec.rb +2 -2
  536. data/client/spec/models/aggregation_request_sort_spec.rb +2 -2
  537. data/client/spec/models/aggregation_request_spec.rb +2 -2
  538. data/client/spec/models/aggregation_response_spec.rb +2 -2
  539. data/client/spec/models/aggregation_response_stats_spec.rb +2 -2
  540. data/client/spec/models/aggregation_value_spec.rb +2 -2
  541. data/client/spec/models/api_audit_log_spec.rb +2 -2
  542. data/client/spec/models/api_ban_user_change_log_spec.rb +54 -0
  543. data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
  544. data/client/spec/models/api_banned_user_spec.rb +108 -0
  545. data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
  546. data/client/spec/models/api_comment_base_meta_spec.rb +42 -0
  547. data/client/spec/models/api_comment_base_spec.rb +3 -3
  548. data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
  549. data/client/spec/models/api_comment_spec.rb +3 -3
  550. data/client/spec/models/api_create_user_badge_response_spec.rb +2 -2
  551. data/client/spec/models/api_domain_configuration_spec.rb +2 -2
  552. data/client/spec/models/api_empty_response_spec.rb +2 -2
  553. data/client/spec/models/api_empty_success_response_spec.rb +2 -2
  554. data/client/spec/models/api_error_spec.rb +2 -2
  555. data/client/spec/models/api_get_comment_response_spec.rb +2 -2
  556. data/client/spec/models/api_get_comments_response_spec.rb +2 -2
  557. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +2 -2
  558. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +2 -2
  559. data/client/spec/models/api_get_user_badge_response_spec.rb +2 -2
  560. data/client/spec/models/api_get_user_badges_response_spec.rb +2 -2
  561. data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +42 -0
  562. data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
  563. data/client/spec/models/api_page_spec.rb +2 -2
  564. data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
  565. data/client/spec/models/api_status_spec.rb +2 -2
  566. data/client/spec/models/api_tenant_daily_usage_spec.rb +2 -2
  567. data/client/spec/models/api_tenant_spec.rb +2 -2
  568. data/client/spec/models/api_ticket_detail_spec.rb +108 -0
  569. data/client/spec/models/api_ticket_file_spec.rb +90 -0
  570. data/client/spec/models/api_ticket_spec.rb +84 -0
  571. data/client/spec/models/api_user_subscription_spec.rb +8 -2
  572. data/client/spec/models/apisso_user_spec.rb +2 -2
  573. data/client/spec/models/award_user_badge_response_spec.rb +48 -0
  574. data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
  575. data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
  576. data/client/spec/models/{create_tenant200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
  577. data/client/spec/models/banned_user_match_spec.rb +42 -0
  578. data/client/spec/models/banned_user_match_type_spec.rb +30 -0
  579. data/client/spec/models/billing_info_spec.rb +2 -2
  580. data/client/spec/models/block_from_comment_params_spec.rb +2 -2
  581. data/client/spec/models/block_success_spec.rb +2 -2
  582. data/client/spec/models/build_moderation_filter_params_spec.rb +60 -0
  583. data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
  584. data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
  585. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +2 -2
  586. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +2 -2
  587. data/client/spec/models/bulk_create_hash_tags_body_spec.rb +2 -2
  588. data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +2 -2
  589. data/client/spec/models/{add_hash_tag200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
  590. data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
  591. data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
  592. data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
  593. data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
  594. data/client/spec/models/change_ticket_state_body_spec.rb +36 -0
  595. data/client/spec/models/change_ticket_state_response_spec.rb +42 -0
  596. data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
  597. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +2 -2
  598. data/client/spec/models/comment_data_spec.rb +14 -2
  599. data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
  600. data/client/spec/models/comment_log_data_spec.rb +8 -2
  601. data/client/spec/models/comment_log_entry_spec.rb +2 -2
  602. data/client/spec/models/comment_log_type_spec.rb +2 -2
  603. data/client/spec/models/comment_question_results_rendering_type_spec.rb +2 -2
  604. data/client/spec/models/comment_questions_required_spec.rb +2 -2
  605. data/client/spec/models/comment_text_update_request_spec.rb +2 -2
  606. data/client/spec/models/comment_thread_deletion_mode_spec.rb +2 -2
  607. data/client/spec/models/comment_user_badge_info_spec.rb +2 -2
  608. data/client/spec/models/comment_user_hash_tag_info_spec.rb +2 -2
  609. data/client/spec/models/comment_user_mention_info_spec.rb +2 -2
  610. data/client/spec/models/commenter_name_formats_spec.rb +2 -2
  611. data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
  612. data/client/spec/models/create_api_page_data_spec.rb +2 -2
  613. data/client/spec/models/create_api_user_subscription_data_spec.rb +8 -2
  614. data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
  615. data/client/spec/models/create_comment_params_spec.rb +14 -2
  616. data/client/spec/models/create_email_template_body_spec.rb +2 -2
  617. data/client/spec/models/create_email_template_response_spec.rb +2 -2
  618. data/client/spec/models/create_feed_post_params_spec.rb +2 -2
  619. data/client/spec/models/create_feed_post_response_spec.rb +2 -2
  620. data/client/spec/models/create_feed_posts_response_spec.rb +2 -2
  621. data/client/spec/models/create_hash_tag_body_spec.rb +2 -2
  622. data/client/spec/models/create_hash_tag_response_spec.rb +2 -2
  623. data/client/spec/models/create_moderator_body_spec.rb +2 -2
  624. data/client/spec/models/create_moderator_response_spec.rb +2 -2
  625. data/client/spec/models/create_question_config_body_spec.rb +2 -2
  626. data/client/spec/models/create_question_config_response_spec.rb +2 -2
  627. data/client/spec/models/create_question_result_body_spec.rb +2 -2
  628. data/client/spec/models/create_question_result_response_spec.rb +2 -2
  629. data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
  630. data/client/spec/models/create_tenant_body_spec.rb +2 -2
  631. data/client/spec/models/create_tenant_package_body_spec.rb +10 -4
  632. data/client/spec/models/create_tenant_package_response_spec.rb +2 -2
  633. data/client/spec/models/create_tenant_response_spec.rb +2 -2
  634. data/client/spec/models/create_tenant_user_body_spec.rb +2 -2
  635. data/client/spec/models/create_tenant_user_response_spec.rb +2 -2
  636. data/client/spec/models/create_ticket_body_spec.rb +36 -0
  637. data/client/spec/models/create_ticket_response_spec.rb +42 -0
  638. data/client/spec/models/create_user_badge_params_spec.rb +2 -2
  639. data/client/spec/models/create_v1_page_react_spec.rb +42 -0
  640. data/client/spec/models/custom_config_parameters_spec.rb +92 -2
  641. data/client/spec/models/custom_email_template_spec.rb +2 -2
  642. data/client/spec/models/delete_comment_action_spec.rb +2 -2
  643. data/client/spec/models/delete_comment_result_spec.rb +2 -2
  644. data/client/spec/models/{delete_domain_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
  645. data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
  646. data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
  647. data/client/spec/models/delete_page_api_response_spec.rb +2 -2
  648. data/client/spec/models/delete_sso_user_api_response_spec.rb +2 -2
  649. data/client/spec/models/delete_subscription_api_response_spec.rb +2 -2
  650. data/client/spec/models/deleted_comment_result_comment_spec.rb +2 -2
  651. data/client/spec/models/digest_email_frequency_spec.rb +2 -2
  652. data/client/spec/models/email_template_definition_spec.rb +2 -2
  653. data/client/spec/models/email_template_render_error_response_spec.rb +2 -2
  654. data/client/spec/models/event_log_entry_spec.rb +2 -2
  655. data/client/spec/models/f_comment_meta_spec.rb +8 -2
  656. data/client/spec/models/f_comment_spec.rb +14 -2
  657. data/client/spec/models/feed_post_link_spec.rb +2 -2
  658. data/client/spec/models/feed_post_media_item_asset_spec.rb +2 -2
  659. data/client/spec/models/feed_post_media_item_spec.rb +2 -2
  660. data/client/spec/models/feed_post_spec.rb +2 -2
  661. data/client/spec/models/feed_post_stats_spec.rb +2 -2
  662. data/client/spec/models/feed_posts_stats_response_spec.rb +2 -2
  663. data/client/spec/models/find_comments_by_range_item_spec.rb +2 -2
  664. data/client/spec/models/find_comments_by_range_response_spec.rb +2 -2
  665. data/client/spec/models/flag_comment_response_spec.rb +2 -2
  666. data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
  667. data/client/spec/models/get_banned_users_count_response_spec.rb +42 -0
  668. data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
  669. data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
  670. data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
  671. data/client/spec/models/get_comment_text_response_spec.rb +42 -0
  672. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
  673. data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
  674. data/client/spec/models/get_comments_response_public_comment_spec.rb +2 -2
  675. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +2 -2
  676. data/client/spec/models/{get_tenant200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
  677. data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
  678. data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
  679. data/client/spec/models/{get_tenants200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
  680. data/client/spec/models/get_email_template_definitions_response_spec.rb +2 -2
  681. data/client/spec/models/get_email_template_render_errors_response_spec.rb +2 -2
  682. data/client/spec/models/get_email_template_response_spec.rb +2 -2
  683. data/client/spec/models/get_email_templates_response_spec.rb +2 -2
  684. data/client/spec/models/get_event_log_response_spec.rb +2 -2
  685. data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
  686. data/client/spec/models/get_gifs_search_response_spec.rb +21 -0
  687. data/client/spec/models/get_gifs_trending_response_spec.rb +21 -0
  688. data/client/spec/models/get_hash_tags_response_spec.rb +2 -2
  689. data/client/spec/models/get_moderator_response_spec.rb +2 -2
  690. data/client/spec/models/get_moderators_response_spec.rb +2 -2
  691. data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
  692. data/client/spec/models/get_notification_count_response_spec.rb +2 -2
  693. data/client/spec/models/get_notifications_response_spec.rb +2 -2
  694. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +2 -2
  695. data/client/spec/models/get_pages_api_response_spec.rb +2 -2
  696. data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +2 -2
  697. data/client/spec/models/get_pending_webhook_events_response_spec.rb +2 -2
  698. data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
  699. data/client/spec/models/get_public_pages_response_spec.rb +48 -0
  700. data/client/spec/models/get_question_config_response_spec.rb +2 -2
  701. data/client/spec/models/get_question_configs_response_spec.rb +2 -2
  702. data/client/spec/models/get_question_result_response_spec.rb +2 -2
  703. data/client/spec/models/get_question_results_response_spec.rb +2 -2
  704. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +2 -2
  705. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +2 -2
  706. data/client/spec/models/{get_sso_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
  707. data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
  708. data/client/spec/models/get_tenant_daily_usages_response_spec.rb +2 -2
  709. data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
  710. data/client/spec/models/get_tenant_package_response_spec.rb +2 -2
  711. data/client/spec/models/get_tenant_packages_response_spec.rb +2 -2
  712. data/client/spec/models/get_tenant_response_spec.rb +2 -2
  713. data/client/spec/models/get_tenant_user_response_spec.rb +2 -2
  714. data/client/spec/models/get_tenant_users_response_spec.rb +2 -2
  715. data/client/spec/models/get_tenants_response_spec.rb +2 -2
  716. data/client/spec/models/get_ticket_response_spec.rb +48 -0
  717. data/client/spec/models/get_tickets_response_spec.rb +42 -0
  718. data/client/spec/models/get_translations_response_spec.rb +42 -0
  719. data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
  720. data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
  721. data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
  722. data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
  723. data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
  724. data/client/spec/models/get_user_response_spec.rb +2 -2
  725. data/client/spec/models/get_user_trust_factor_response_spec.rb +48 -0
  726. data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
  727. data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
  728. data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
  729. data/client/spec/models/get_votes_for_user_response_spec.rb +2 -2
  730. data/client/spec/models/get_votes_response_spec.rb +2 -2
  731. data/client/spec/models/gif_get_large_response_spec.rb +42 -0
  732. data/client/spec/models/gif_rating_spec.rb +2 -2
  733. data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
  734. data/client/spec/models/{add_domain_config200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
  735. data/client/spec/models/gif_search_response_spec.rb +42 -0
  736. data/client/spec/models/header_account_notification_spec.rb +90 -0
  737. data/client/spec/models/header_state_spec.rb +8 -2
  738. data/client/spec/models/ignored_response_spec.rb +2 -2
  739. data/client/spec/models/image_content_profanity_level_spec.rb +2 -2
  740. data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
  741. data/client/spec/models/imported_site_type_spec.rb +2 -2
  742. data/client/spec/models/live_event_extra_info_spec.rb +2 -2
  743. data/client/spec/models/live_event_spec.rb +8 -2
  744. data/client/spec/models/live_event_type_spec.rb +2 -2
  745. data/client/spec/models/media_asset_spec.rb +2 -2
  746. data/client/spec/models/mention_auto_complete_mode_spec.rb +30 -0
  747. data/client/spec/models/meta_item_spec.rb +2 -2
  748. data/client/spec/models/moderation_api_child_comments_response_spec.rb +42 -0
  749. data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
  750. data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
  751. data/client/spec/models/moderation_api_comment_spec.rb +282 -0
  752. data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
  753. data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
  754. data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
  755. data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
  756. data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
  757. data/client/spec/models/moderation_export_response_spec.rb +42 -0
  758. data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
  759. data/client/spec/models/moderation_filter_spec.rb +102 -0
  760. data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
  761. data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
  762. data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
  763. data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
  764. data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
  765. data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
  766. data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
  767. data/client/spec/models/moderator_spec.rb +8 -2
  768. data/client/spec/models/notification_and_count_spec.rb +2 -2
  769. data/client/spec/models/notification_object_type_spec.rb +2 -2
  770. data/client/spec/models/notification_type_spec.rb +2 -2
  771. data/client/spec/models/page_user_entry_spec.rb +54 -0
  772. data/client/spec/models/page_users_info_response_spec.rb +42 -0
  773. data/client/spec/models/page_users_offline_response_spec.rb +54 -0
  774. data/client/spec/models/page_users_online_response_spec.rb +66 -0
  775. data/client/spec/models/pages_sort_by_spec.rb +30 -0
  776. data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
  777. data/client/spec/models/patch_domain_config_response_spec.rb +21 -0
  778. data/client/spec/models/patch_page_api_response_spec.rb +2 -2
  779. data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
  780. data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +2 -2
  781. data/client/spec/models/post_remove_comment_response_spec.rb +21 -0
  782. data/client/spec/models/pre_ban_summary_spec.rb +48 -0
  783. data/client/spec/models/pub_sub_comment_base_spec.rb +2 -2
  784. data/client/spec/models/pub_sub_comment_spec.rb +2 -2
  785. data/client/spec/models/pub_sub_vote_spec.rb +2 -2
  786. data/client/spec/models/public_api_delete_comment_response_spec.rb +2 -2
  787. data/client/spec/models/public_api_get_comment_text_response_spec.rb +2 -2
  788. data/client/spec/models/public_api_set_comment_text_response_spec.rb +2 -2
  789. data/client/spec/models/public_block_from_comment_params_spec.rb +2 -2
  790. data/client/spec/models/public_comment_base_spec.rb +2 -2
  791. data/client/spec/models/public_comment_spec.rb +2 -2
  792. data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
  793. data/client/spec/models/public_page_spec.rb +60 -0
  794. data/client/spec/models/public_vote_spec.rb +2 -2
  795. data/client/spec/models/put_domain_config_response_spec.rb +21 -0
  796. data/client/spec/models/put_sso_user_api_response_spec.rb +2 -2
  797. data/client/spec/models/query_predicate_spec.rb +2 -2
  798. data/client/spec/models/query_predicate_value_spec.rb +1 -1
  799. data/client/spec/models/question_config_custom_options_inner_spec.rb +2 -2
  800. data/client/spec/models/question_config_spec.rb +2 -2
  801. data/client/spec/models/question_datum_spec.rb +2 -2
  802. data/client/spec/models/question_rendering_type_spec.rb +2 -2
  803. data/client/spec/models/question_result_aggregation_overall_spec.rb +2 -2
  804. data/client/spec/models/question_result_spec.rb +2 -2
  805. data/client/spec/models/question_sub_question_visibility_spec.rb +2 -2
  806. data/client/spec/models/question_when_save_spec.rb +2 -2
  807. data/client/spec/models/react_body_params_spec.rb +2 -2
  808. data/client/spec/models/react_feed_post_response_spec.rb +2 -2
  809. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +2 -2
  810. data/client/spec/models/remove_comment_action_response_spec.rb +42 -0
  811. data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
  812. data/client/spec/models/render_email_template_body_spec.rb +2 -2
  813. data/client/spec/models/render_email_template_response_spec.rb +2 -2
  814. data/client/spec/models/renderable_user_notification_spec.rb +2 -2
  815. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +2 -2
  816. data/client/spec/models/repeat_comment_handling_action_spec.rb +2 -2
  817. data/client/spec/models/replace_tenant_package_body_spec.rb +8 -2
  818. data/client/spec/models/replace_tenant_user_body_spec.rb +2 -2
  819. data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
  820. data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
  821. data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
  822. data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
  823. data/client/spec/models/search_users_response_spec.rb +2 -2
  824. data/client/spec/models/search_users_result_spec.rb +21 -0
  825. data/client/spec/models/search_users_sectioned_response_spec.rb +42 -0
  826. data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
  827. data/client/spec/models/set_comment_text_params_spec.rb +36 -0
  828. data/client/spec/models/set_comment_text_response_spec.rb +42 -0
  829. data/client/spec/models/set_comment_text_result_spec.rb +2 -2
  830. data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
  831. data/client/spec/models/size_preset_spec.rb +2 -2
  832. data/client/spec/models/sort_directions_spec.rb +2 -2
  833. data/client/spec/models/sortdir_spec.rb +2 -2
  834. data/client/spec/models/spam_rule_spec.rb +2 -2
  835. data/client/spec/models/sso_security_level_spec.rb +2 -2
  836. data/client/spec/models/tenant_badge_spec.rb +156 -0
  837. data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
  838. data/client/spec/models/tenant_package_spec.rb +56 -2
  839. data/client/spec/models/tos_config_spec.rb +48 -0
  840. data/client/spec/models/un_block_from_comment_params_spec.rb +2 -2
  841. data/client/spec/models/unblock_success_spec.rb +2 -2
  842. data/client/spec/models/updatable_comment_params_spec.rb +2 -2
  843. data/client/spec/models/update_api_page_data_spec.rb +2 -2
  844. data/client/spec/models/update_api_user_subscription_data_spec.rb +36 -0
  845. data/client/spec/models/update_apisso_user_data_spec.rb +2 -2
  846. data/client/spec/models/update_domain_config_params_spec.rb +2 -2
  847. data/client/spec/models/update_email_template_body_spec.rb +2 -2
  848. data/client/spec/models/update_feed_post_params_spec.rb +2 -2
  849. data/client/spec/models/update_hash_tag_body_spec.rb +2 -2
  850. data/client/spec/models/update_hash_tag_response_spec.rb +2 -2
  851. data/client/spec/models/update_moderator_body_spec.rb +2 -2
  852. data/client/spec/models/update_notification_body_spec.rb +2 -2
  853. data/client/spec/models/update_question_config_body_spec.rb +2 -2
  854. data/client/spec/models/update_question_result_body_spec.rb +2 -2
  855. data/client/spec/models/update_subscription_api_response_spec.rb +54 -0
  856. data/client/spec/models/update_tenant_body_spec.rb +2 -2
  857. data/client/spec/models/update_tenant_package_body_spec.rb +8 -2
  858. data/client/spec/models/update_tenant_user_body_spec.rb +2 -2
  859. data/client/spec/models/update_user_badge_params_spec.rb +2 -2
  860. data/client/spec/models/{aggregate_question_results200_response_spec.rb → update_user_notification_comment_subscription_status_response_spec.rb} +3 -3
  861. data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
  862. data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
  863. data/client/spec/models/upload_image_response_spec.rb +2 -2
  864. data/client/spec/models/user_badge_progress_spec.rb +8 -2
  865. data/client/spec/models/user_badge_spec.rb +8 -2
  866. data/client/spec/models/user_notification_count_spec.rb +2 -2
  867. data/client/spec/models/user_notification_spec.rb +2 -2
  868. data/client/spec/models/user_notification_write_response_spec.rb +2 -2
  869. data/client/spec/models/user_presence_data_spec.rb +2 -2
  870. data/client/spec/models/user_reacts_response_spec.rb +2 -2
  871. data/client/spec/models/user_search_result_spec.rb +2 -2
  872. data/client/spec/models/user_search_section_result_spec.rb +42 -0
  873. data/client/spec/models/user_search_section_spec.rb +30 -0
  874. data/client/spec/models/user_session_info_spec.rb +8 -2
  875. data/client/spec/models/user_spec.rb +56 -2
  876. data/client/spec/models/users_list_location_spec.rb +30 -0
  877. data/client/spec/models/vote_body_params_spec.rb +2 -2
  878. data/client/spec/models/vote_delete_response_spec.rb +2 -2
  879. data/client/spec/models/vote_response_spec.rb +2 -6
  880. data/client/spec/models/vote_response_status_spec.rb +21 -0
  881. data/client/spec/models/vote_response_user_spec.rb +2 -2
  882. data/client/spec/models/vote_style_spec.rb +2 -2
  883. data/client/spec/spec_helper.rb +1 -1
  884. data/lib/fastcomments.rb +1 -1
  885. metadata +359 -282
  886. data/client/docs/AddHashTag200Response.md +0 -34
  887. data/client/docs/AddHashTagsBulk200Response.md +0 -34
  888. data/client/docs/AggregateQuestionResults200Response.md +0 -34
  889. data/client/docs/BlockFromCommentPublic200Response.md +0 -34
  890. data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
  891. data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
  892. data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
  893. data/client/docs/CreateCommentPublic200Response.md +0 -40
  894. data/client/docs/CreateEmailTemplate200Response.md +0 -34
  895. data/client/docs/CreateFeedPost200Response.md +0 -34
  896. data/client/docs/CreateFeedPostPublic200Response.md +0 -34
  897. data/client/docs/CreateModerator200Response.md +0 -34
  898. data/client/docs/CreateQuestionConfig200Response.md +0 -34
  899. data/client/docs/CreateQuestionResult200Response.md +0 -34
  900. data/client/docs/CreateTenant200Response.md +0 -34
  901. data/client/docs/CreateTenantPackage200Response.md +0 -34
  902. data/client/docs/CreateTenantUser200Response.md +0 -34
  903. data/client/docs/CreateUserBadge200Response.md +0 -36
  904. data/client/docs/DeleteComment200Response.md +0 -34
  905. data/client/docs/DeleteCommentPublic200Response.md +0 -36
  906. data/client/docs/DeleteCommentVote200Response.md +0 -34
  907. data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
  908. data/client/docs/FlagComment200Response.md +0 -36
  909. data/client/docs/FlagCommentPublic200Response.md +0 -32
  910. data/client/docs/GetAuditLogs200Response.md +0 -34
  911. data/client/docs/GetCachedNotificationCount200Response.md +0 -34
  912. data/client/docs/GetComment200Response.md +0 -34
  913. data/client/docs/GetCommentText200Response.md +0 -36
  914. data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
  915. data/client/docs/GetComments200Response.md +0 -34
  916. data/client/docs/GetCommentsPublic200Response.md +0 -78
  917. data/client/docs/GetEmailTemplate200Response.md +0 -34
  918. data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
  919. data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
  920. data/client/docs/GetEmailTemplates200Response.md +0 -34
  921. data/client/docs/GetEventLog200Response.md +0 -34
  922. data/client/docs/GetFeedPosts200Response.md +0 -34
  923. data/client/docs/GetFeedPostsPublic200Response.md +0 -44
  924. data/client/docs/GetFeedPostsStats200Response.md +0 -34
  925. data/client/docs/GetHashTags200Response.md +0 -34
  926. data/client/docs/GetModerator200Response.md +0 -34
  927. data/client/docs/GetModerators200Response.md +0 -34
  928. data/client/docs/GetNotificationCount200Response.md +0 -34
  929. data/client/docs/GetNotifications200Response.md +0 -34
  930. data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
  931. data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
  932. data/client/docs/GetQuestionConfig200Response.md +0 -34
  933. data/client/docs/GetQuestionConfigs200Response.md +0 -34
  934. data/client/docs/GetQuestionResult200Response.md +0 -34
  935. data/client/docs/GetQuestionResults200Response.md +0 -34
  936. data/client/docs/GetTenant200Response.md +0 -34
  937. data/client/docs/GetTenantDailyUsages200Response.md +0 -34
  938. data/client/docs/GetTenantPackage200Response.md +0 -34
  939. data/client/docs/GetTenantPackages200Response.md +0 -34
  940. data/client/docs/GetTenantUser200Response.md +0 -34
  941. data/client/docs/GetTenantUsers200Response.md +0 -34
  942. data/client/docs/GetTenants200Response.md +0 -34
  943. data/client/docs/GetUser200Response.md +0 -34
  944. data/client/docs/GetUserBadge200Response.md +0 -34
  945. data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
  946. data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
  947. data/client/docs/GetUserBadges200Response.md +0 -34
  948. data/client/docs/GetUserNotificationCount200Response.md +0 -34
  949. data/client/docs/GetUserNotifications200Response.md +0 -40
  950. data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
  951. data/client/docs/GetUserReactsPublic200Response.md +0 -34
  952. data/client/docs/GetVotes200Response.md +0 -38
  953. data/client/docs/GetVotesForUser200Response.md +0 -38
  954. data/client/docs/LockComment200Response.md +0 -32
  955. data/client/docs/PinComment200Response.md +0 -34
  956. data/client/docs/ReactFeedPostPublic200Response.md +0 -36
  957. data/client/docs/RenderEmailTemplate200Response.md +0 -34
  958. data/client/docs/ResetUserNotifications200Response.md +0 -32
  959. data/client/docs/SearchUsers200Response.md +0 -34
  960. data/client/docs/SetCommentText200Response.md +0 -34
  961. data/client/docs/UnBlockCommentPublic200Response.md +0 -34
  962. data/client/docs/UpdateUserBadge200Response.md +0 -32
  963. data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
  964. data/client/docs/VoteComment200Response.md +0 -40
  965. data/client/lib/fastcomments-client/api_model_base.rb +0 -88
  966. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
  967. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
  968. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
  969. data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
  970. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
  971. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
  972. data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
  973. data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
  974. data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
  975. data/client/lib/fastcomments-client/models/create_tenant200_response.rb +0 -103
  976. data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
  977. data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
  978. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
  979. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
  980. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
  981. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
  982. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
  983. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
  984. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
  985. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
  986. data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
  987. data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
  988. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
  989. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
  990. data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
  991. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
  992. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
  993. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
  994. data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
  995. data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
  996. data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
  997. data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
  998. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
  999. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
  1000. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
  1001. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
  1002. data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
  1003. data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
  1004. data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
  1005. data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
  1006. data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
  1007. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
  1008. data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
  1009. data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
  1010. data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
  1011. data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
  1012. data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
  1013. data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
  1014. data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
  1015. data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
  1016. data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
  1017. data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
  1018. data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
  1019. data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
  1020. data/client/lib/fastcomments-client/models/get_user200_response.rb +0 -103
  1021. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
  1022. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
  1023. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
  1024. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
  1025. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
  1026. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
  1027. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
  1028. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
  1029. data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
  1030. data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
  1031. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
  1032. data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
  1033. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
  1034. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
  1035. data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
  1036. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
  1037. data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
  1038. data/client/lib/fastcomments-client/models/search_users200_response.rb +0 -103
  1039. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
  1040. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
  1041. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
  1042. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
  1043. data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
  1044. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
  1045. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
  1046. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
  1047. data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
  1048. data/client/spec/models/create_email_template200_response_spec.rb +0 -21
  1049. data/client/spec/models/create_feed_post200_response_spec.rb +0 -21
  1050. data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
  1051. data/client/spec/models/create_moderator200_response_spec.rb +0 -21
  1052. data/client/spec/models/create_question_config200_response_spec.rb +0 -21
  1053. data/client/spec/models/create_question_result200_response_spec.rb +0 -21
  1054. data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
  1055. data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
  1056. data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
  1057. data/client/spec/models/delete_comment200_response_spec.rb +0 -21
  1058. data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
  1059. data/client/spec/models/delete_comment_vote200_response_spec.rb +0 -21
  1060. data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
  1061. data/client/spec/models/flag_comment200_response_spec.rb +0 -21
  1062. data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
  1063. data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
  1064. data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
  1065. data/client/spec/models/get_comment200_response_spec.rb +0 -21
  1066. data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
  1067. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
  1068. data/client/spec/models/get_comments200_response_spec.rb +0 -21
  1069. data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
  1070. data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
  1071. data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
  1072. data/client/spec/models/get_email_template200_response_spec.rb +0 -21
  1073. data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
  1074. data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
  1075. data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
  1076. data/client/spec/models/get_event_log200_response_spec.rb +0 -21
  1077. data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
  1078. data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
  1079. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
  1080. data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
  1081. data/client/spec/models/get_moderator200_response_spec.rb +0 -21
  1082. data/client/spec/models/get_moderators200_response_spec.rb +0 -21
  1083. data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
  1084. data/client/spec/models/get_notifications200_response_spec.rb +0 -21
  1085. data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
  1086. data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
  1087. data/client/spec/models/get_question_config200_response_spec.rb +0 -21
  1088. data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
  1089. data/client/spec/models/get_question_result200_response_spec.rb +0 -21
  1090. data/client/spec/models/get_question_results200_response_spec.rb +0 -21
  1091. data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
  1092. data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
  1093. data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
  1094. data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
  1095. data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
  1096. data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
  1097. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
  1098. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
  1099. data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
  1100. data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
  1101. data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
  1102. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
  1103. data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
  1104. data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
  1105. data/client/spec/models/lock_comment200_response_spec.rb +0 -21
  1106. data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
  1107. data/client/spec/models/pin_comment200_response_spec.rb +0 -21
  1108. data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
  1109. data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
  1110. data/client/spec/models/render_email_template200_response_spec.rb +0 -21
  1111. data/client/spec/models/reset_user_notifications200_response_spec.rb +0 -21
  1112. data/client/spec/models/save_comment200_response_spec.rb +0 -21
  1113. data/client/spec/models/search_users200_response_spec.rb +0 -21
  1114. data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
  1115. data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
  1116. data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
  1117. 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
@@ -1054,28 +1408,842 @@ module FastCommentsClient
1054
1408
  # @option opts [Integer] :limit
1055
1409
  # @option opts [Array<String>] :tags
1056
1410
  # @option opts [String] :sso
1057
- # @option opts [Boolean] :is_crawler
1058
- # @option opts [Boolean] :include_user_info
1059
- # @return [Array<(GetFeedPostsPublic200Response, Integer, Hash)>] GetFeedPostsPublic200Response data, response status code and response headers
1060
- def get_feed_posts_public_with_http_info(tenant_id, opts = {})
1411
+ # @option opts [Boolean] :is_crawler
1412
+ # @option opts [Boolean] :include_user_info
1413
+ # @return [Array<(PublicFeedPostsResponse, Integer, Hash)>] PublicFeedPostsResponse data, response status code and response headers
1414
+ def get_feed_posts_public_with_http_info(tenant_id, opts = {})
1415
+ if @api_client.config.debugging
1416
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_public ...'
1417
+ end
1418
+ # verify the required parameter 'tenant_id' is set
1419
+ if @api_client.config.client_side_validation && tenant_id.nil?
1420
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_feed_posts_public"
1421
+ end
1422
+ # resource path
1423
+ local_var_path = '/feed-posts/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1424
+
1425
+ # query parameters
1426
+ query_params = opts[:query_params] || {}
1427
+ query_params[:'afterId'] = opts[:'after_id'] if !opts[:'after_id'].nil?
1428
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1429
+ query_params[:'tags'] = @api_client.build_collection_param(opts[:'tags'], :multi) if !opts[:'tags'].nil?
1430
+ query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
1431
+ query_params[:'isCrawler'] = opts[:'is_crawler'] if !opts[:'is_crawler'].nil?
1432
+ query_params[:'includeUserInfo'] = opts[:'include_user_info'] if !opts[:'include_user_info'].nil?
1433
+
1434
+ # header parameters
1435
+ header_params = opts[:header_params] || {}
1436
+ # HTTP header 'Accept' (if needed)
1437
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1438
+
1439
+ # form parameters
1440
+ form_params = opts[:form_params] || {}
1441
+
1442
+ # http body (model)
1443
+ post_body = opts[:debug_body]
1444
+
1445
+ # return_type
1446
+ return_type = opts[:debug_return_type] || 'PublicFeedPostsResponse'
1447
+
1448
+ # auth_names
1449
+ auth_names = opts[:debug_auth_names] || []
1450
+
1451
+ new_options = opts.merge(
1452
+ :operation => :"PublicApi.get_feed_posts_public",
1453
+ :header_params => header_params,
1454
+ :query_params => query_params,
1455
+ :form_params => form_params,
1456
+ :body => post_body,
1457
+ :auth_names => auth_names,
1458
+ :return_type => return_type
1459
+ )
1460
+
1461
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1462
+ if @api_client.config.debugging
1463
+ @api_client.config.logger.debug "API called: PublicApi#get_feed_posts_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1464
+ end
1465
+ return data, status_code, headers
1466
+ end
1467
+
1468
+ # @param tenant_id [String]
1469
+ # @param post_ids [Array<String>]
1470
+ # @param [Hash] opts the optional parameters
1471
+ # @option opts [String] :sso
1472
+ # @return [FeedPostsStatsResponse]
1473
+ def get_feed_posts_stats(tenant_id, post_ids, opts = {})
1474
+ data, _status_code, _headers = get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
1475
+ data
1476
+ end
1477
+
1478
+ # @param tenant_id [String]
1479
+ # @param post_ids [Array<String>]
1480
+ # @param [Hash] opts the optional parameters
1481
+ # @option opts [String] :sso
1482
+ # @return [Array<(FeedPostsStatsResponse, Integer, Hash)>] FeedPostsStatsResponse data, response status code and response headers
1483
+ def get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts = {})
1484
+ if @api_client.config.debugging
1485
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_stats ...'
1486
+ end
1487
+ # verify the required parameter 'tenant_id' is set
1488
+ if @api_client.config.client_side_validation && tenant_id.nil?
1489
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_feed_posts_stats"
1490
+ end
1491
+ # verify the required parameter 'post_ids' is set
1492
+ if @api_client.config.client_side_validation && post_ids.nil?
1493
+ fail ArgumentError, "Missing the required parameter 'post_ids' when calling PublicApi.get_feed_posts_stats"
1494
+ end
1495
+ # resource path
1496
+ local_var_path = '/feed-posts/{tenantId}/stats'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1497
+
1498
+ # query parameters
1499
+ query_params = opts[:query_params] || {}
1500
+ query_params[:'postIds'] = @api_client.build_collection_param(post_ids, :multi)
1501
+ query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
1502
+
1503
+ # header parameters
1504
+ header_params = opts[:header_params] || {}
1505
+ # HTTP header 'Accept' (if needed)
1506
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1507
+
1508
+ # form parameters
1509
+ form_params = opts[:form_params] || {}
1510
+
1511
+ # http body (model)
1512
+ post_body = opts[:debug_body]
1513
+
1514
+ # return_type
1515
+ return_type = opts[:debug_return_type] || 'FeedPostsStatsResponse'
1516
+
1517
+ # auth_names
1518
+ auth_names = opts[:debug_auth_names] || []
1519
+
1520
+ new_options = opts.merge(
1521
+ :operation => :"PublicApi.get_feed_posts_stats",
1522
+ :header_params => header_params,
1523
+ :query_params => query_params,
1524
+ :form_params => form_params,
1525
+ :body => post_body,
1526
+ :auth_names => auth_names,
1527
+ :return_type => return_type
1528
+ )
1529
+
1530
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1531
+ if @api_client.config.debugging
1532
+ @api_client.config.logger.debug "API called: PublicApi#get_feed_posts_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1533
+ end
1534
+ return data, status_code, headers
1535
+ end
1536
+
1537
+ # @param tenant_id [String]
1538
+ # @param large_internal_url_sanitized [String]
1539
+ # @param [Hash] opts the optional parameters
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)
1543
+ data
1544
+ end
1545
+
1546
+ # @param tenant_id [String]
1547
+ # @param large_internal_url_sanitized [String]
1548
+ # @param [Hash] opts the optional parameters
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 = {})
1551
+ if @api_client.config.debugging
1552
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_gif_large ...'
1553
+ end
1554
+ # verify the required parameter 'tenant_id' is set
1555
+ if @api_client.config.client_side_validation && tenant_id.nil?
1556
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_gif_large"
1557
+ end
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"
1561
+ end
1562
+ # resource path
1563
+ local_var_path = '/gifs/get-large/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1564
+
1565
+ # query parameters
1566
+ query_params = opts[:query_params] || {}
1567
+ query_params[:'largeInternalURLSanitized'] = large_internal_url_sanitized
1568
+
1569
+ # header parameters
1570
+ header_params = opts[:header_params] || {}
1571
+ # HTTP header 'Accept' (if needed)
1572
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1573
+
1574
+ # form parameters
1575
+ form_params = opts[:form_params] || {}
1576
+
1577
+ # http body (model)
1578
+ post_body = opts[:debug_body]
1579
+
1580
+ # return_type
1581
+ return_type = opts[:debug_return_type] || 'GifGetLargeResponse'
1582
+
1583
+ # auth_names
1584
+ auth_names = opts[:debug_auth_names] || []
1585
+
1586
+ new_options = opts.merge(
1587
+ :operation => :"PublicApi.get_gif_large",
1588
+ :header_params => header_params,
1589
+ :query_params => query_params,
1590
+ :form_params => form_params,
1591
+ :body => post_body,
1592
+ :auth_names => auth_names,
1593
+ :return_type => return_type
1594
+ )
1595
+
1596
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1597
+ if @api_client.config.debugging
1598
+ @api_client.config.logger.debug "API called: PublicApi#get_gif_large\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1599
+ end
1600
+ return data, status_code, headers
1601
+ end
1602
+
1603
+ # @param tenant_id [String]
1604
+ # @param search [String]
1605
+ # @param [Hash] opts the optional parameters
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)
1612
+ data
1613
+ end
1614
+
1615
+ # @param tenant_id [String]
1616
+ # @param search [String]
1617
+ # @param [Hash] opts the optional parameters
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 = {})
1623
+ if @api_client.config.debugging
1624
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_gifs_search ...'
1625
+ end
1626
+ # verify the required parameter 'tenant_id' is set
1627
+ if @api_client.config.client_side_validation && tenant_id.nil?
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"
1633
+ end
1634
+ # resource path
1635
+ local_var_path = '/gifs/search/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1636
+
1637
+ # query parameters
1638
+ query_params = opts[:query_params] || {}
1639
+ query_params[:'search'] = search
1640
+ query_params[:'locale'] = opts[:'locale'] if !opts[:'locale'].nil?
1641
+ query_params[:'rating'] = opts[:'rating'] if !opts[:'rating'].nil?
1642
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1643
+
1644
+ # header parameters
1645
+ header_params = opts[:header_params] || {}
1646
+ # HTTP header 'Accept' (if needed)
1647
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1648
+
1649
+ # form parameters
1650
+ form_params = opts[:form_params] || {}
1651
+
1652
+ # http body (model)
1653
+ post_body = opts[:debug_body]
1654
+
1655
+ # return_type
1656
+ return_type = opts[:debug_return_type] || 'GetGifsSearchResponse'
1657
+
1658
+ # auth_names
1659
+ auth_names = opts[:debug_auth_names] || []
1660
+
1661
+ new_options = opts.merge(
1662
+ :operation => :"PublicApi.get_gifs_search",
1663
+ :header_params => header_params,
1664
+ :query_params => query_params,
1665
+ :form_params => form_params,
1666
+ :body => post_body,
1667
+ :auth_names => auth_names,
1668
+ :return_type => return_type
1669
+ )
1670
+
1671
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1672
+ if @api_client.config.debugging
1673
+ @api_client.config.logger.debug "API called: PublicApi#get_gifs_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1674
+ end
1675
+ return data, status_code, headers
1676
+ end
1677
+
1678
+ # @param tenant_id [String]
1679
+ # @param [Hash] opts the optional parameters
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)
1686
+ data
1687
+ end
1688
+
1689
+ # @param tenant_id [String]
1690
+ # @param [Hash] opts the optional parameters
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 = {})
1696
+ if @api_client.config.debugging
1697
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_gifs_trending ...'
1698
+ end
1699
+ # verify the required parameter 'tenant_id' is set
1700
+ if @api_client.config.client_side_validation && tenant_id.nil?
1701
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_gifs_trending"
1702
+ end
1703
+ # resource path
1704
+ local_var_path = '/gifs/trending/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1705
+
1706
+ # query parameters
1707
+ query_params = opts[:query_params] || {}
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?
1711
+
1712
+ # header parameters
1713
+ header_params = opts[:header_params] || {}
1714
+ # HTTP header 'Accept' (if needed)
1715
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1716
+
1717
+ # form parameters
1718
+ form_params = opts[:form_params] || {}
1719
+
1720
+ # http body (model)
1721
+ post_body = opts[:debug_body]
1722
+
1723
+ # return_type
1724
+ return_type = opts[:debug_return_type] || 'GetGifsTrendingResponse'
1725
+
1726
+ # auth_names
1727
+ auth_names = opts[:debug_auth_names] || []
1728
+
1729
+ new_options = opts.merge(
1730
+ :operation => :"PublicApi.get_gifs_trending",
1731
+ :header_params => header_params,
1732
+ :query_params => query_params,
1733
+ :form_params => form_params,
1734
+ :body => post_body,
1735
+ :auth_names => auth_names,
1736
+ :return_type => return_type
1737
+ )
1738
+
1739
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1740
+ if @api_client.config.debugging
1741
+ @api_client.config.logger.debug "API called: PublicApi#get_gifs_trending\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1742
+ end
1743
+ return data, status_code, headers
1744
+ end
1745
+
1746
+ # req tenantId urlId userIdWS
1747
+ # @param tenant_id [String]
1748
+ # @param url_id [String]
1749
+ # @param user_id_ws [String]
1750
+ # @param start_time [Integer]
1751
+ # @param [Hash] opts the optional parameters
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)
1756
+ data
1757
+ end
1758
+
1759
+ # req tenantId urlId userIdWS
1760
+ # @param tenant_id [String]
1761
+ # @param url_id [String]
1762
+ # @param user_id_ws [String]
1763
+ # @param start_time [Integer]
1764
+ # @param [Hash] opts the optional parameters
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 = {})
1768
+ if @api_client.config.debugging
1769
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_global_event_log ...'
1770
+ end
1771
+ # verify the required parameter 'tenant_id' is set
1772
+ if @api_client.config.client_side_validation && tenant_id.nil?
1773
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_global_event_log"
1774
+ end
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"
1778
+ end
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"
1786
+ end
1787
+ # resource path
1788
+ local_var_path = '/event-log/global/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1789
+
1790
+ # query parameters
1791
+ query_params = opts[:query_params] || {}
1792
+ query_params[:'urlId'] = url_id
1793
+ query_params[:'userIdWS'] = user_id_ws
1794
+ query_params[:'startTime'] = start_time
1795
+ query_params[:'endTime'] = opts[:'end_time'] if !opts[:'end_time'].nil?
1796
+
1797
+ # header parameters
1798
+ header_params = opts[:header_params] || {}
1799
+ # HTTP header 'Accept' (if needed)
1800
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1801
+
1802
+ # form parameters
1803
+ form_params = opts[:form_params] || {}
1804
+
1805
+ # http body (model)
1806
+ post_body = opts[:debug_body]
1807
+
1808
+ # return_type
1809
+ return_type = opts[:debug_return_type] || 'GetEventLogResponse'
1810
+
1811
+ # auth_names
1812
+ auth_names = opts[:debug_auth_names] || []
1813
+
1814
+ new_options = opts.merge(
1815
+ :operation => :"PublicApi.get_global_event_log",
1816
+ :header_params => header_params,
1817
+ :query_params => query_params,
1818
+ :form_params => form_params,
1819
+ :body => post_body,
1820
+ :auth_names => auth_names,
1821
+ :return_type => return_type
1822
+ )
1823
+
1824
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1825
+ if @api_client.config.debugging
1826
+ @api_client.config.logger.debug "API called: PublicApi#get_global_event_log\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1827
+ end
1828
+ return data, status_code, headers
1829
+ end
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.
1832
+ # @param tenant_id [String]
1833
+ # @param url_id [String] Page URL identifier (cleaned server-side).
1834
+ # @param [Hash] opts the optional parameters
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)
1840
+ data
1841
+ end
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.
1844
+ # @param tenant_id [String]
1845
+ # @param url_id [String] Page URL identifier (cleaned server-side).
1846
+ # @param [Hash] opts the optional parameters
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 = {})
1851
+ if @api_client.config.debugging
1852
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_offline_users ...'
1853
+ end
1854
+ # verify the required parameter 'tenant_id' is set
1855
+ if @api_client.config.client_side_validation && tenant_id.nil?
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"
1861
+ end
1862
+ # resource path
1863
+ local_var_path = '/pages/{tenantId}/users/offline'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1864
+
1865
+ # query parameters
1866
+ query_params = opts[:query_params] || {}
1867
+ query_params[:'urlId'] = url_id
1868
+ query_params[:'afterName'] = opts[:'after_name'] if !opts[:'after_name'].nil?
1869
+ query_params[:'afterUserId'] = opts[:'after_user_id'] if !opts[:'after_user_id'].nil?
1870
+
1871
+ # header parameters
1872
+ header_params = opts[:header_params] || {}
1873
+ # HTTP header 'Accept' (if needed)
1874
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1875
+
1876
+ # form parameters
1877
+ form_params = opts[:form_params] || {}
1878
+
1879
+ # http body (model)
1880
+ post_body = opts[:debug_body]
1881
+
1882
+ # return_type
1883
+ return_type = opts[:debug_return_type] || 'PageUsersOfflineResponse'
1884
+
1885
+ # auth_names
1886
+ auth_names = opts[:debug_auth_names] || []
1887
+
1888
+ new_options = opts.merge(
1889
+ :operation => :"PublicApi.get_offline_users",
1890
+ :header_params => header_params,
1891
+ :query_params => query_params,
1892
+ :form_params => form_params,
1893
+ :body => post_body,
1894
+ :auth_names => auth_names,
1895
+ :return_type => return_type
1896
+ )
1897
+
1898
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1899
+ if @api_client.config.debugging
1900
+ @api_client.config.logger.debug "API called: PublicApi#get_offline_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1901
+ end
1902
+ return data, status_code, headers
1903
+ end
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).
1906
+ # @param tenant_id [String]
1907
+ # @param url_id [String] Page URL identifier (cleaned server-side).
1908
+ # @param [Hash] opts the optional parameters
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)
1914
+ data
1915
+ end
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).
1918
+ # @param tenant_id [String]
1919
+ # @param url_id [String] Page URL identifier (cleaned server-side).
1920
+ # @param [Hash] opts the optional parameters
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 = {})
1925
+ if @api_client.config.debugging
1926
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_online_users ...'
1927
+ end
1928
+ # verify the required parameter 'tenant_id' is set
1929
+ if @api_client.config.client_side_validation && tenant_id.nil?
1930
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_online_users"
1931
+ end
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 = {})
1061
2223
  if @api_client.config.debugging
1062
- @api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_public ...'
2224
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_user_notifications ...'
1063
2225
  end
1064
2226
  # verify the required parameter 'tenant_id' is set
1065
2227
  if @api_client.config.client_side_validation && tenant_id.nil?
1066
- fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_feed_posts_public"
2228
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_notifications"
1067
2229
  end
1068
2230
  # resource path
1069
- local_var_path = '/feed-posts/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
2231
+ local_var_path = '/user-notifications'
1070
2232
 
1071
2233
  # query parameters
1072
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?
1073
2238
  query_params[:'afterId'] = opts[:'after_id'] if !opts[:'after_id'].nil?
1074
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1075
- query_params[:'tags'] = @api_client.build_collection_param(opts[:'tags'], :multi) if !opts[:'tags'].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?
1076
2246
  query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
1077
- query_params[:'isCrawler'] = opts[:'is_crawler'] if !opts[:'is_crawler'].nil?
1078
- query_params[:'includeUserInfo'] = opts[:'include_user_info'] if !opts[:'include_user_info'].nil?
1079
2247
 
1080
2248
  # header parameters
1081
2249
  header_params = opts[:header_params] || {}
@@ -1089,13 +2257,13 @@ module FastCommentsClient
1089
2257
  post_body = opts[:debug_body]
1090
2258
 
1091
2259
  # return_type
1092
- return_type = opts[:debug_return_type] || 'GetFeedPostsPublic200Response'
2260
+ return_type = opts[:debug_return_type] || 'GetMyNotificationsResponse'
1093
2261
 
1094
2262
  # auth_names
1095
2263
  auth_names = opts[:debug_auth_names] || []
1096
2264
 
1097
2265
  new_options = opts.merge(
1098
- :operation => :"PublicApi.get_feed_posts_public",
2266
+ :operation => :"PublicApi.get_user_notifications",
1099
2267
  :header_params => header_params,
1100
2268
  :query_params => query_params,
1101
2269
  :form_params => form_params,
@@ -1106,45 +2274,50 @@ module FastCommentsClient
1106
2274
 
1107
2275
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1108
2276
  if @api_client.config.debugging
1109
- @api_client.config.logger.debug "API called: PublicApi#get_feed_posts_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2277
+ @api_client.config.logger.debug "API called: PublicApi#get_user_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1110
2278
  end
1111
2279
  return data, status_code, headers
1112
2280
  end
1113
2281
 
1114
2282
  # @param tenant_id [String]
1115
- # @param post_ids [Array<String>]
2283
+ # @param url_id_ws [String]
2284
+ # @param user_ids [String]
1116
2285
  # @param [Hash] opts the optional parameters
1117
- # @option opts [String] :sso
1118
- # @return [GetFeedPostsStats200Response]
1119
- def get_feed_posts_stats(tenant_id, post_ids, opts = {})
1120
- data, _status_code, _headers = get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
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)
1121
2289
  data
1122
2290
  end
1123
2291
 
1124
2292
  # @param tenant_id [String]
1125
- # @param post_ids [Array<String>]
2293
+ # @param url_id_ws [String]
2294
+ # @param user_ids [String]
1126
2295
  # @param [Hash] opts the optional parameters
1127
- # @option opts [String] :sso
1128
- # @return [Array<(GetFeedPostsStats200Response, Integer, Hash)>] GetFeedPostsStats200Response data, response status code and response headers
1129
- def get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts = {})
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 = {})
1130
2298
  if @api_client.config.debugging
1131
- @api_client.config.logger.debug 'Calling API: PublicApi.get_feed_posts_stats ...'
2299
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_user_presence_statuses ...'
1132
2300
  end
1133
2301
  # verify the required parameter 'tenant_id' is set
1134
2302
  if @api_client.config.client_side_validation && tenant_id.nil?
1135
- fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_feed_posts_stats"
2303
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_presence_statuses"
1136
2304
  end
1137
- # verify the required parameter 'post_ids' is set
1138
- if @api_client.config.client_side_validation && post_ids.nil?
1139
- fail ArgumentError, "Missing the required parameter 'post_ids' when calling PublicApi.get_feed_posts_stats"
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"
1140
2312
  end
1141
2313
  # resource path
1142
- local_var_path = '/feed-posts/{tenantId}/stats'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
2314
+ local_var_path = '/user-presence-status'
1143
2315
 
1144
2316
  # query parameters
1145
2317
  query_params = opts[:query_params] || {}
1146
- query_params[:'postIds'] = @api_client.build_collection_param(post_ids, :multi)
1147
- query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
2318
+ query_params[:'tenantId'] = tenant_id
2319
+ query_params[:'urlIdWS'] = url_id_ws
2320
+ query_params[:'userIds'] = user_ids
1148
2321
 
1149
2322
  # header parameters
1150
2323
  header_params = opts[:header_params] || {}
@@ -1158,13 +2331,13 @@ module FastCommentsClient
1158
2331
  post_body = opts[:debug_body]
1159
2332
 
1160
2333
  # return_type
1161
- return_type = opts[:debug_return_type] || 'GetFeedPostsStats200Response'
2334
+ return_type = opts[:debug_return_type] || 'GetUserPresenceStatusesResponse'
1162
2335
 
1163
2336
  # auth_names
1164
2337
  auth_names = opts[:debug_auth_names] || []
1165
2338
 
1166
2339
  new_options = opts.merge(
1167
- :operation => :"PublicApi.get_feed_posts_stats",
2340
+ :operation => :"PublicApi.get_user_presence_statuses",
1168
2341
  :header_params => header_params,
1169
2342
  :query_params => query_params,
1170
2343
  :form_params => form_params,
@@ -1175,65 +2348,41 @@ module FastCommentsClient
1175
2348
 
1176
2349
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1177
2350
  if @api_client.config.debugging
1178
- @api_client.config.logger.debug "API called: PublicApi#get_feed_posts_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2351
+ @api_client.config.logger.debug "API called: PublicApi#get_user_presence_statuses\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1179
2352
  end
1180
2353
  return data, status_code, headers
1181
2354
  end
1182
2355
 
1183
- # req tenantId urlId userIdWS
1184
2356
  # @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]
1189
2357
  # @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)
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)
1193
2363
  data
1194
2364
  end
1195
2365
 
1196
- # req tenantId urlId userIdWS
1197
2366
  # @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]
1202
2367
  # @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 = {})
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 = {})
1205
2372
  if @api_client.config.debugging
1206
- @api_client.config.logger.debug 'Calling API: PublicApi.get_global_event_log ...'
2373
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_user_reacts_public ...'
1207
2374
  end
1208
2375
  # verify the required parameter 'tenant_id' is set
1209
2376
  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"
1219
- 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"
2377
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_user_reacts_public"
1227
2378
  end
1228
2379
  # resource path
1229
- local_var_path = '/event-log/global/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
2380
+ local_var_path = '/feed-posts/{tenantId}/user-reacts'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1230
2381
 
1231
2382
  # query parameters
1232
2383
  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
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?
1237
2386
 
1238
2387
  # header parameters
1239
2388
  header_params = opts[:header_params] || {}
@@ -1247,13 +2396,13 @@ module FastCommentsClient
1247
2396
  post_body = opts[:debug_body]
1248
2397
 
1249
2398
  # return_type
1250
- return_type = opts[:debug_return_type] || 'GetEventLog200Response'
2399
+ return_type = opts[:debug_return_type] || 'UserReactsResponse'
1251
2400
 
1252
2401
  # auth_names
1253
2402
  auth_names = opts[:debug_auth_names] || []
1254
2403
 
1255
2404
  new_options = opts.merge(
1256
- :operation => :"PublicApi.get_global_event_log",
2405
+ :operation => :"PublicApi.get_user_reacts_public",
1257
2406
  :header_params => header_params,
1258
2407
  :query_params => query_params,
1259
2408
  :form_params => form_params,
@@ -1264,39 +2413,44 @@ module FastCommentsClient
1264
2413
 
1265
2414
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1266
2415
  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}"
2416
+ @api_client.config.logger.debug "API called: PublicApi#get_user_reacts_public\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1268
2417
  end
1269
2418
  return data, status_code, headers
1270
2419
  end
1271
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).
1272
2422
  # @param tenant_id [String]
2423
+ # @param ids [String] Comma-delimited userIds.
1273
2424
  # @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)
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)
1278
2428
  data
1279
2429
  end
1280
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).
1281
2432
  # @param tenant_id [String]
2433
+ # @param ids [String] Comma-delimited userIds.
1282
2434
  # @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 = {})
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 = {})
1286
2437
  if @api_client.config.debugging
1287
- @api_client.config.logger.debug 'Calling API: PublicApi.get_user_notification_count ...'
2438
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_users_info ...'
1288
2439
  end
1289
2440
  # verify the required parameter 'tenant_id' is set
1290
2441
  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"
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"
1292
2447
  end
1293
2448
  # resource path
1294
- local_var_path = '/user-notifications/get-count'
2449
+ local_var_path = '/pages/{tenantId}/users/info'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1295
2450
 
1296
2451
  # query parameters
1297
2452
  query_params = opts[:query_params] || {}
1298
- query_params[:'tenantId'] = tenant_id
1299
- query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
2453
+ query_params[:'ids'] = ids
1300
2454
 
1301
2455
  # header parameters
1302
2456
  header_params = opts[:header_params] || {}
@@ -1310,13 +2464,13 @@ module FastCommentsClient
1310
2464
  post_body = opts[:debug_body]
1311
2465
 
1312
2466
  # return_type
1313
- return_type = opts[:debug_return_type] || 'GetUserNotificationCount200Response'
2467
+ return_type = opts[:debug_return_type] || 'PageUsersInfoResponse'
1314
2468
 
1315
2469
  # auth_names
1316
2470
  auth_names = opts[:debug_auth_names] || []
1317
2471
 
1318
2472
  new_options = opts.merge(
1319
- :operation => :"PublicApi.get_user_notification_count",
2473
+ :operation => :"PublicApi.get_users_info",
1320
2474
  :header_params => header_params,
1321
2475
  :query_params => query_params,
1322
2476
  :form_params => form_params,
@@ -1327,63 +2481,42 @@ module FastCommentsClient
1327
2481
 
1328
2482
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1329
2483
  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}"
2484
+ @api_client.config.logger.debug "API called: PublicApi#get_users_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1331
2485
  end
1332
2486
  return data, status_code, headers
1333
2487
  end
1334
2488
 
1335
2489
  # @param tenant_id [String]
2490
+ # @param url_id [String]
1336
2491
  # @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)
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)
1349
2495
  data
1350
2496
  end
1351
2497
 
1352
2498
  # @param tenant_id [String]
2499
+ # @param url_id [String]
1353
2500
  # @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 = {})
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 = {})
1365
2503
  if @api_client.config.debugging
1366
- @api_client.config.logger.debug 'Calling API: PublicApi.get_user_notifications ...'
2504
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_v1_page_likes ...'
1367
2505
  end
1368
2506
  # verify the required parameter 'tenant_id' is set
1369
2507
  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"
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"
1371
2513
  end
1372
2514
  # resource path
1373
- local_var_path = '/user-notifications'
2515
+ local_var_path = '/page-reacts/v1/likes/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1374
2516
 
1375
2517
  # query parameters
1376
2518
  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?
2519
+ query_params[:'urlId'] = url_id
1387
2520
 
1388
2521
  # header parameters
1389
2522
  header_params = opts[:header_params] || {}
@@ -1397,13 +2530,13 @@ module FastCommentsClient
1397
2530
  post_body = opts[:debug_body]
1398
2531
 
1399
2532
  # return_type
1400
- return_type = opts[:debug_return_type] || 'GetUserNotifications200Response'
2533
+ return_type = opts[:debug_return_type] || 'GetV1PageLikes'
1401
2534
 
1402
2535
  # auth_names
1403
2536
  auth_names = opts[:debug_auth_names] || []
1404
2537
 
1405
2538
  new_options = opts.merge(
1406
- :operation => :"PublicApi.get_user_notifications",
2539
+ :operation => :"PublicApi.get_v1_page_likes",
1407
2540
  :header_params => header_params,
1408
2541
  :query_params => query_params,
1409
2542
  :form_params => form_params,
@@ -1414,50 +2547,49 @@ module FastCommentsClient
1414
2547
 
1415
2548
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1416
2549
  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}"
2550
+ @api_client.config.logger.debug "API called: PublicApi#get_v1_page_likes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1418
2551
  end
1419
2552
  return data, status_code, headers
1420
2553
  end
1421
2554
 
1422
2555
  # @param tenant_id [String]
1423
- # @param url_id_ws [String]
1424
- # @param user_ids [String]
2556
+ # @param url_id [String]
2557
+ # @param id [String]
1425
2558
  # @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)
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)
1429
2562
  data
1430
2563
  end
1431
2564
 
1432
2565
  # @param tenant_id [String]
1433
- # @param url_id_ws [String]
1434
- # @param user_ids [String]
2566
+ # @param url_id [String]
2567
+ # @param id [String]
1435
2568
  # @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 = {})
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 = {})
1438
2571
  if @api_client.config.debugging
1439
- @api_client.config.logger.debug 'Calling API: PublicApi.get_user_presence_statuses ...'
2572
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_v2_page_react_users ...'
1440
2573
  end
1441
2574
  # verify the required parameter 'tenant_id' is set
1442
2575
  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"
2576
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling PublicApi.get_v2_page_react_users"
1444
2577
  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"
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"
1448
2581
  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"
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"
1452
2585
  end
1453
2586
  # resource path
1454
- local_var_path = '/user-presence-status'
2587
+ local_var_path = '/page-reacts/v2/{tenantId}/list'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1455
2588
 
1456
2589
  # query parameters
1457
2590
  query_params = opts[:query_params] || {}
1458
- query_params[:'tenantId'] = tenant_id
1459
- query_params[:'urlIdWS'] = url_id_ws
1460
- query_params[:'userIds'] = user_ids
2591
+ query_params[:'urlId'] = url_id
2592
+ query_params[:'id'] = id
1461
2593
 
1462
2594
  # header parameters
1463
2595
  header_params = opts[:header_params] || {}
@@ -1471,13 +2603,13 @@ module FastCommentsClient
1471
2603
  post_body = opts[:debug_body]
1472
2604
 
1473
2605
  # return_type
1474
- return_type = opts[:debug_return_type] || 'GetUserPresenceStatuses200Response'
2606
+ return_type = opts[:debug_return_type] || 'GetV2PageReactUsersResponse'
1475
2607
 
1476
2608
  # auth_names
1477
2609
  auth_names = opts[:debug_auth_names] || []
1478
2610
 
1479
2611
  new_options = opts.merge(
1480
- :operation => :"PublicApi.get_user_presence_statuses",
2612
+ :operation => :"PublicApi.get_v2_page_react_users",
1481
2613
  :header_params => header_params,
1482
2614
  :query_params => query_params,
1483
2615
  :form_params => form_params,
@@ -1488,41 +2620,42 @@ module FastCommentsClient
1488
2620
 
1489
2621
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1490
2622
  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}"
2623
+ @api_client.config.logger.debug "API called: PublicApi#get_v2_page_react_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1492
2624
  end
1493
2625
  return data, status_code, headers
1494
2626
  end
1495
2627
 
1496
2628
  # @param tenant_id [String]
2629
+ # @param url_id [String]
1497
2630
  # @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)
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)
1503
2634
  data
1504
2635
  end
1505
2636
 
1506
2637
  # @param tenant_id [String]
2638
+ # @param url_id [String]
1507
2639
  # @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 = {})
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 = {})
1512
2642
  if @api_client.config.debugging
1513
- @api_client.config.logger.debug 'Calling API: PublicApi.get_user_reacts_public ...'
2643
+ @api_client.config.logger.debug 'Calling API: PublicApi.get_v2_page_reacts ...'
1514
2644
  end
1515
2645
  # verify the required parameter 'tenant_id' is set
1516
2646
  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"
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"
1518
2652
  end
1519
2653
  # resource path
1520
- local_var_path = '/feed-posts/{tenantId}/user-reacts'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
2654
+ local_var_path = '/page-reacts/v2/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1521
2655
 
1522
2656
  # query parameters
1523
2657
  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?
2658
+ query_params[:'urlId'] = url_id
1526
2659
 
1527
2660
  # header parameters
1528
2661
  header_params = opts[:header_params] || {}
@@ -1536,13 +2669,13 @@ module FastCommentsClient
1536
2669
  post_body = opts[:debug_body]
1537
2670
 
1538
2671
  # return_type
1539
- return_type = opts[:debug_return_type] || 'GetUserReactsPublic200Response'
2672
+ return_type = opts[:debug_return_type] || 'GetV2PageReacts'
1540
2673
 
1541
2674
  # auth_names
1542
2675
  auth_names = opts[:debug_auth_names] || []
1543
2676
 
1544
2677
  new_options = opts.merge(
1545
- :operation => :"PublicApi.get_user_reacts_public",
2678
+ :operation => :"PublicApi.get_v2_page_reacts",
1546
2679
  :header_params => header_params,
1547
2680
  :query_params => query_params,
1548
2681
  :form_params => form_params,
@@ -1553,7 +2686,7 @@ module FastCommentsClient
1553
2686
 
1554
2687
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1555
2688
  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}"
2689
+ @api_client.config.logger.debug "API called: PublicApi#get_v2_page_reacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1557
2690
  end
1558
2691
  return data, status_code, headers
1559
2692
  end
@@ -1563,7 +2696,7 @@ module FastCommentsClient
1563
2696
  # @param broadcast_id [String]
1564
2697
  # @param [Hash] opts the optional parameters
1565
2698
  # @option opts [String] :sso
1566
- # @return [LockComment200Response]
2699
+ # @return [APIEmptyResponse]
1567
2700
  def lock_comment(tenant_id, comment_id, broadcast_id, opts = {})
1568
2701
  data, _status_code, _headers = lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
1569
2702
  data
@@ -1574,7 +2707,7 @@ module FastCommentsClient
1574
2707
  # @param broadcast_id [String]
1575
2708
  # @param [Hash] opts the optional parameters
1576
2709
  # @option opts [String] :sso
1577
- # @return [Array<(LockComment200Response, Integer, Hash)>] LockComment200Response data, response status code and response headers
2710
+ # @return [Array<(APIEmptyResponse, Integer, Hash)>] APIEmptyResponse data, response status code and response headers
1578
2711
  def lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
1579
2712
  if @api_client.config.debugging
1580
2713
  @api_client.config.logger.debug 'Calling API: PublicApi.lock_comment ...'
@@ -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] || []
@@ -1940,7 +3126,8 @@ module FastCommentsClient
1940
3126
  # @option opts [String] :username_starts_with
1941
3127
  # @option opts [Array<String>] :mention_group_ids
1942
3128
  # @option opts [String] :sso
1943
- # @return [SearchUsers200Response]
3129
+ # @option opts [String] :search_section
3130
+ # @return [SearchUsersResult]
1944
3131
  def search_users(tenant_id, url_id, opts = {})
1945
3132
  data, _status_code, _headers = search_users_with_http_info(tenant_id, url_id, opts)
1946
3133
  data
@@ -1952,7 +3139,8 @@ module FastCommentsClient
1952
3139
  # @option opts [String] :username_starts_with
1953
3140
  # @option opts [Array<String>] :mention_group_ids
1954
3141
  # @option opts [String] :sso
1955
- # @return [Array<(SearchUsers200Response, Integer, Hash)>] SearchUsers200Response data, response status code and response headers
3142
+ # @option opts [String] :search_section
3143
+ # @return [Array<(SearchUsersResult, Integer, Hash)>] SearchUsersResult data, response status code and response headers
1956
3144
  def search_users_with_http_info(tenant_id, url_id, opts = {})
1957
3145
  if @api_client.config.debugging
1958
3146
  @api_client.config.logger.debug 'Calling API: PublicApi.search_users ...'
@@ -1965,6 +3153,10 @@ module FastCommentsClient
1965
3153
  if @api_client.config.client_side_validation && url_id.nil?
1966
3154
  fail ArgumentError, "Missing the required parameter 'url_id' when calling PublicApi.search_users"
1967
3155
  end
3156
+ allowable_values = ["fast", "site"]
3157
+ if @api_client.config.client_side_validation && opts[:'search_section'] && !allowable_values.include?(opts[:'search_section'])
3158
+ fail ArgumentError, "invalid value for \"search_section\", must be one of #{allowable_values}"
3159
+ end
1968
3160
  # resource path
1969
3161
  local_var_path = '/user-search/{tenantId}'.sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s))
1970
3162
 
@@ -1974,6 +3166,7 @@ module FastCommentsClient
1974
3166
  query_params[:'usernameStartsWith'] = opts[:'username_starts_with'] if !opts[:'username_starts_with'].nil?
1975
3167
  query_params[:'mentionGroupIds'] = @api_client.build_collection_param(opts[:'mention_group_ids'], :multi) if !opts[:'mention_group_ids'].nil?
1976
3168
  query_params[:'sso'] = opts[:'sso'] if !opts[:'sso'].nil?
3169
+ query_params[:'searchSection'] = opts[:'search_section'] if !opts[:'search_section'].nil?
1977
3170
 
1978
3171
  # header parameters
1979
3172
  header_params = opts[:header_params] || {}
@@ -1987,7 +3180,7 @@ module FastCommentsClient
1987
3180
  post_body = opts[:debug_body]
1988
3181
 
1989
3182
  # return_type
1990
- return_type = opts[:debug_return_type] || 'SearchUsers200Response'
3183
+ return_type = opts[:debug_return_type] || 'SearchUsersResult'
1991
3184
 
1992
3185
  # auth_names
1993
3186
  auth_names = opts[:debug_auth_names] || []
@@ -2016,7 +3209,7 @@ module FastCommentsClient
2016
3209
  # @param [Hash] opts the optional parameters
2017
3210
  # @option opts [String] :edit_key
2018
3211
  # @option opts [String] :sso
2019
- # @return [SetCommentText200Response]
3212
+ # @return [PublicAPISetCommentTextResponse]
2020
3213
  def set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts = {})
2021
3214
  data, _status_code, _headers = set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
2022
3215
  data
@@ -2029,7 +3222,7 @@ module FastCommentsClient
2029
3222
  # @param [Hash] opts the optional parameters
2030
3223
  # @option opts [String] :edit_key
2031
3224
  # @option opts [String] :sso
2032
- # @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
2033
3226
  def set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts = {})
2034
3227
  if @api_client.config.debugging
2035
3228
  @api_client.config.logger.debug 'Calling API: PublicApi.set_comment_text ...'
@@ -2076,7 +3269,7 @@ module FastCommentsClient
2076
3269
  post_body = opts[:debug_body] || @api_client.object_to_http_body(comment_text_update_request)
2077
3270
 
2078
3271
  # return_type
2079
- return_type = opts[:debug_return_type] || 'SetCommentText200Response'
3272
+ return_type = opts[:debug_return_type] || 'PublicAPISetCommentTextResponse'
2080
3273
 
2081
3274
  # auth_names
2082
3275
  auth_names = opts[:debug_auth_names] || []
@@ -2103,7 +3296,7 @@ module FastCommentsClient
2103
3296
  # @param public_block_from_comment_params [PublicBlockFromCommentParams]
2104
3297
  # @param [Hash] opts the optional parameters
2105
3298
  # @option opts [String] :sso
2106
- # @return [UnBlockCommentPublic200Response]
3299
+ # @return [UnblockSuccess]
2107
3300
  def un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts = {})
2108
3301
  data, _status_code, _headers = un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
2109
3302
  data
@@ -2114,7 +3307,7 @@ module FastCommentsClient
2114
3307
  # @param public_block_from_comment_params [PublicBlockFromCommentParams]
2115
3308
  # @param [Hash] opts the optional parameters
2116
3309
  # @option opts [String] :sso
2117
- # @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
2118
3311
  def un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts = {})
2119
3312
  if @api_client.config.debugging
2120
3313
  @api_client.config.logger.debug 'Calling API: PublicApi.un_block_comment_public ...'
@@ -2156,7 +3349,7 @@ module FastCommentsClient
2156
3349
  post_body = opts[:debug_body] || @api_client.object_to_http_body(public_block_from_comment_params)
2157
3350
 
2158
3351
  # return_type
2159
- return_type = opts[:debug_return_type] || 'UnBlockCommentPublic200Response'
3352
+ return_type = opts[:debug_return_type] || 'UnblockSuccess'
2160
3353
 
2161
3354
  # auth_names
2162
3355
  auth_names = opts[:debug_auth_names] || []
@@ -2183,7 +3376,7 @@ module FastCommentsClient
2183
3376
  # @param broadcast_id [String]
2184
3377
  # @param [Hash] opts the optional parameters
2185
3378
  # @option opts [String] :sso
2186
- # @return [LockComment200Response]
3379
+ # @return [APIEmptyResponse]
2187
3380
  def un_lock_comment(tenant_id, comment_id, broadcast_id, opts = {})
2188
3381
  data, _status_code, _headers = un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2189
3382
  data
@@ -2194,7 +3387,7 @@ module FastCommentsClient
2194
3387
  # @param broadcast_id [String]
2195
3388
  # @param [Hash] opts the optional parameters
2196
3389
  # @option opts [String] :sso
2197
- # @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
2198
3391
  def un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
2199
3392
  if @api_client.config.debugging
2200
3393
  @api_client.config.logger.debug 'Calling API: PublicApi.un_lock_comment ...'
@@ -2231,7 +3424,7 @@ module FastCommentsClient
2231
3424
  post_body = opts[:debug_body]
2232
3425
 
2233
3426
  # return_type
2234
- return_type = opts[:debug_return_type] || 'LockComment200Response'
3427
+ return_type = opts[:debug_return_type] || 'APIEmptyResponse'
2235
3428
 
2236
3429
  # auth_names
2237
3430
  auth_names = opts[:debug_auth_names] || []
@@ -2258,7 +3451,7 @@ module FastCommentsClient
2258
3451
  # @param broadcast_id [String]
2259
3452
  # @param [Hash] opts the optional parameters
2260
3453
  # @option opts [String] :sso
2261
- # @return [PinComment200Response]
3454
+ # @return [ChangeCommentPinStatusResponse]
2262
3455
  def un_pin_comment(tenant_id, comment_id, broadcast_id, opts = {})
2263
3456
  data, _status_code, _headers = un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2264
3457
  data
@@ -2269,7 +3462,7 @@ module FastCommentsClient
2269
3462
  # @param broadcast_id [String]
2270
3463
  # @param [Hash] opts the optional parameters
2271
3464
  # @option opts [String] :sso
2272
- # @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
2273
3466
  def un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts = {})
2274
3467
  if @api_client.config.debugging
2275
3468
  @api_client.config.logger.debug 'Calling API: PublicApi.un_pin_comment ...'
@@ -2306,7 +3499,7 @@ module FastCommentsClient
2306
3499
  post_body = opts[:debug_body]
2307
3500
 
2308
3501
  # return_type
2309
- return_type = opts[:debug_return_type] || 'PinComment200Response'
3502
+ return_type = opts[:debug_return_type] || 'ChangeCommentPinStatusResponse'
2310
3503
 
2311
3504
  # auth_names
2312
3505
  auth_names = opts[:debug_auth_names] || []
@@ -2334,7 +3527,7 @@ module FastCommentsClient
2334
3527
  # @param [Hash] opts the optional parameters
2335
3528
  # @option opts [String] :broadcast_id
2336
3529
  # @option opts [String] :sso
2337
- # @return [CreateFeedPostPublic200Response]
3530
+ # @return [CreateFeedPostResponse]
2338
3531
  def update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts = {})
2339
3532
  data, _status_code, _headers = update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
2340
3533
  data
@@ -2346,7 +3539,7 @@ module FastCommentsClient
2346
3539
  # @param [Hash] opts the optional parameters
2347
3540
  # @option opts [String] :broadcast_id
2348
3541
  # @option opts [String] :sso
2349
- # @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
2350
3543
  def update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts = {})
2351
3544
  if @api_client.config.debugging
2352
3545
  @api_client.config.logger.debug 'Calling API: PublicApi.update_feed_post_public ...'
@@ -2388,7 +3581,7 @@ module FastCommentsClient
2388
3581
  post_body = opts[:debug_body] || @api_client.object_to_http_body(update_feed_post_params)
2389
3582
 
2390
3583
  # return_type
2391
- return_type = opts[:debug_return_type] || 'CreateFeedPostPublic200Response'
3584
+ return_type = opts[:debug_return_type] || 'CreateFeedPostResponse'
2392
3585
 
2393
3586
  # auth_names
2394
3587
  auth_names = opts[:debug_auth_names] || []
@@ -2417,7 +3610,7 @@ module FastCommentsClient
2417
3610
  # @param comment_id [String]
2418
3611
  # @param [Hash] opts the optional parameters
2419
3612
  # @option opts [String] :sso
2420
- # @return [UpdateUserNotificationStatus200Response]
3613
+ # @return [UpdateUserNotificationCommentSubscriptionStatusResponse]
2421
3614
  def update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts = {})
2422
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)
2423
3616
  data
@@ -2430,7 +3623,7 @@ module FastCommentsClient
2430
3623
  # @param comment_id [String]
2431
3624
  # @param [Hash] opts the optional parameters
2432
3625
  # @option opts [String] :sso
2433
- # @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
2434
3627
  def update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts = {})
2435
3628
  if @api_client.config.debugging
2436
3629
  @api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_comment_subscription_status ...'
@@ -2477,7 +3670,7 @@ module FastCommentsClient
2477
3670
  post_body = opts[:debug_body]
2478
3671
 
2479
3672
  # return_type
2480
- return_type = opts[:debug_return_type] || 'UpdateUserNotificationStatus200Response'
3673
+ return_type = opts[:debug_return_type] || 'UpdateUserNotificationCommentSubscriptionStatusResponse'
2481
3674
 
2482
3675
  # auth_names
2483
3676
  auth_names = opts[:debug_auth_names] || []
@@ -2507,7 +3700,7 @@ module FastCommentsClient
2507
3700
  # @param subscribed_or_unsubscribed [String]
2508
3701
  # @param [Hash] opts the optional parameters
2509
3702
  # @option opts [String] :sso
2510
- # @return [UpdateUserNotificationStatus200Response]
3703
+ # @return [UpdateUserNotificationPageSubscriptionStatusResponse]
2511
3704
  def update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts = {})
2512
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)
2513
3706
  data
@@ -2521,7 +3714,7 @@ module FastCommentsClient
2521
3714
  # @param subscribed_or_unsubscribed [String]
2522
3715
  # @param [Hash] opts the optional parameters
2523
3716
  # @option opts [String] :sso
2524
- # @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
2525
3718
  def update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts = {})
2526
3719
  if @api_client.config.debugging
2527
3720
  @api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_page_subscription_status ...'
@@ -2574,7 +3767,7 @@ module FastCommentsClient
2574
3767
  post_body = opts[:debug_body]
2575
3768
 
2576
3769
  # return_type
2577
- return_type = opts[:debug_return_type] || 'UpdateUserNotificationStatus200Response'
3770
+ return_type = opts[:debug_return_type] || 'UpdateUserNotificationPageSubscriptionStatusResponse'
2578
3771
 
2579
3772
  # auth_names
2580
3773
  auth_names = opts[:debug_auth_names] || []
@@ -2601,7 +3794,7 @@ module FastCommentsClient
2601
3794
  # @param new_status [String]
2602
3795
  # @param [Hash] opts the optional parameters
2603
3796
  # @option opts [String] :sso
2604
- # @return [UpdateUserNotificationStatus200Response]
3797
+ # @return [UpdateUserNotificationStatusResponse]
2605
3798
  def update_user_notification_status(tenant_id, notification_id, new_status, opts = {})
2606
3799
  data, _status_code, _headers = update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
2607
3800
  data
@@ -2612,7 +3805,7 @@ module FastCommentsClient
2612
3805
  # @param new_status [String]
2613
3806
  # @param [Hash] opts the optional parameters
2614
3807
  # @option opts [String] :sso
2615
- # @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
2616
3809
  def update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts = {})
2617
3810
  if @api_client.config.debugging
2618
3811
  @api_client.config.logger.debug 'Calling API: PublicApi.update_user_notification_status ...'
@@ -2654,7 +3847,7 @@ module FastCommentsClient
2654
3847
  post_body = opts[:debug_body]
2655
3848
 
2656
3849
  # return_type
2657
- return_type = opts[:debug_return_type] || 'UpdateUserNotificationStatus200Response'
3850
+ return_type = opts[:debug_return_type] || 'UpdateUserNotificationStatusResponse'
2658
3851
 
2659
3852
  # auth_names
2660
3853
  auth_names = opts[:debug_auth_names] || []
@@ -2763,7 +3956,7 @@ module FastCommentsClient
2763
3956
  # @param [Hash] opts the optional parameters
2764
3957
  # @option opts [String] :session_id
2765
3958
  # @option opts [String] :sso
2766
- # @return [VoteComment200Response]
3959
+ # @return [VoteResponse]
2767
3960
  def vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts = {})
2768
3961
  data, _status_code, _headers = vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
2769
3962
  data
@@ -2777,7 +3970,7 @@ module FastCommentsClient
2777
3970
  # @param [Hash] opts the optional parameters
2778
3971
  # @option opts [String] :session_id
2779
3972
  # @option opts [String] :sso
2780
- # @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
2781
3974
  def vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts = {})
2782
3975
  if @api_client.config.debugging
2783
3976
  @api_client.config.logger.debug 'Calling API: PublicApi.vote_comment ...'
@@ -2829,7 +4022,7 @@ module FastCommentsClient
2829
4022
  post_body = opts[:debug_body] || @api_client.object_to_http_body(vote_body_params)
2830
4023
 
2831
4024
  # return_type
2832
- return_type = opts[:debug_return_type] || 'VoteComment200Response'
4025
+ return_type = opts[:debug_return_type] || 'VoteResponse'
2833
4026
 
2834
4027
  # auth_names
2835
4028
  auth_names = opts[:debug_auth_names] || []