fastcomments 1.2.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1089) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -9
  3. data/client/README.md +164 -102
  4. data/client/docs/APIBanUserChangeLog.md +24 -0
  5. data/client/docs/APIBanUserChangedValues.md +42 -0
  6. data/client/docs/APIBannedUser.md +42 -0
  7. data/client/docs/APIBannedUserWithMultiMatchInfo.md +34 -0
  8. data/client/docs/APIComment.md +2 -2
  9. data/client/docs/APICommentBase.md +2 -2
  10. data/client/docs/APICommentCommonBannedUser.md +32 -0
  11. data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
  12. data/client/docs/APIModerateUserBanPreferences.md +24 -0
  13. data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
  14. data/client/docs/AddDomainConfigResponse.md +24 -0
  15. data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
  16. data/client/docs/AdjustCommentVotesParams.md +18 -0
  17. data/client/docs/AdjustVotesResponse.md +20 -0
  18. data/client/docs/AggregateResponse.md +28 -0
  19. data/client/docs/{AddDomainConfig200Response.md → AggregationAPIError.md} +6 -6
  20. data/client/docs/AwardUserBadgeResponse.md +22 -0
  21. data/client/docs/BanUserFromCommentResult.md +24 -0
  22. data/client/docs/BanUserUndoParams.md +18 -0
  23. data/client/docs/BannedUserMatch.md +20 -0
  24. data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
  25. data/client/docs/BannedUserMatchType.md +15 -0
  26. data/client/docs/BuildModerationFilterParams.md +26 -0
  27. data/client/docs/BuildModerationFilterResponse.md +20 -0
  28. data/client/docs/BulkCreateHashTagsResponse.md +1 -1
  29. data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +5 -5
  30. data/client/docs/BulkPreBanParams.md +18 -0
  31. data/client/docs/BulkPreBanSummary.md +28 -0
  32. data/client/docs/CommentData.md +4 -2
  33. data/client/docs/CommentLogData.md +2 -0
  34. data/client/docs/CommentsByIdsParams.md +18 -0
  35. data/client/docs/CreateCommentParams.md +3 -1
  36. data/client/docs/CreateTenantPackageBody.md +4 -4
  37. data/client/docs/CreateV1PageReact.md +20 -0
  38. data/client/docs/CustomConfigParameters.md +10 -0
  39. data/client/docs/DefaultApi.md +422 -426
  40. data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
  41. data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
  42. data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
  43. data/client/docs/FComment.md +3 -1
  44. data/client/docs/GetBannedUsersCountResponse.md +20 -0
  45. data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
  46. data/client/docs/GetCommentBanStatusResponse.md +22 -0
  47. data/client/docs/GetCommentTextResponse.md +20 -0
  48. data/client/docs/GetCommentsForUserResponse.md +18 -0
  49. data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +5 -5
  50. data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +5 -5
  51. data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
  52. data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
  53. data/client/docs/GetGifsSearchResponse.md +22 -0
  54. data/client/docs/GetGifsTrendingResponse.md +22 -0
  55. data/client/docs/GetPublicPagesResponse.md +22 -0
  56. data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
  57. data/client/docs/GetTenantManualBadgesResponse.md +20 -0
  58. data/client/docs/GetTranslationsResponse.md +20 -0
  59. data/client/docs/GetUserInternalProfileResponse.md +20 -0
  60. data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
  61. data/client/docs/GetUserManualBadgesResponse.md +20 -0
  62. data/client/docs/GetUserTrustFactorResponse.md +22 -0
  63. data/client/docs/GetV1PageLikes.md +26 -0
  64. data/client/docs/GetV2PageReactUsersResponse.md +20 -0
  65. data/client/docs/GetV2PageReacts.md +22 -0
  66. data/client/docs/GifGetLargeResponse.md +20 -0
  67. data/client/docs/GifSearchInternalError.md +20 -0
  68. data/client/docs/GifSearchResponse.md +20 -0
  69. data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
  70. data/client/docs/HeaderAccountNotification.md +3 -1
  71. data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
  72. data/client/docs/LiveEvent.md +2 -0
  73. data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
  74. data/client/docs/ModerationAPIComment.md +100 -0
  75. data/client/docs/ModerationAPICommentLog.md +24 -0
  76. data/client/docs/ModerationAPICommentResponse.md +20 -0
  77. data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
  78. data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
  79. data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
  80. data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
  81. data/client/docs/ModerationApi.md +3098 -0
  82. data/client/docs/ModerationCommentSearchResponse.md +20 -0
  83. data/client/docs/ModerationExportResponse.md +20 -0
  84. data/client/docs/ModerationExportStatusResponse.md +24 -0
  85. data/client/docs/ModerationFilter.md +40 -0
  86. data/client/docs/ModerationPageSearchProjected.md +24 -0
  87. data/client/docs/ModerationPageSearchResponse.md +20 -0
  88. data/client/docs/ModerationSiteSearchProjected.md +20 -0
  89. data/client/docs/ModerationSiteSearchResponse.md +20 -0
  90. data/client/docs/ModerationSuggestResponse.md +24 -0
  91. data/client/docs/ModerationUserSearchProjected.md +24 -0
  92. data/client/docs/ModerationUserSearchResponse.md +20 -0
  93. data/client/docs/PageUserEntry.md +24 -0
  94. data/client/docs/PageUsersInfoResponse.md +20 -0
  95. data/client/docs/PageUsersOfflineResponse.md +24 -0
  96. data/client/docs/PageUsersOnlineResponse.md +28 -0
  97. data/client/docs/PagesSortBy.md +15 -0
  98. data/client/docs/PatchDomainConfigResponse.md +24 -0
  99. data/client/docs/PostRemoveCommentApiResponse.md +20 -0
  100. data/client/docs/PreBanSummary.md +22 -0
  101. data/client/docs/PublicApi.md +1569 -385
  102. data/client/docs/PublicPage.md +26 -0
  103. data/client/docs/PutDomainConfigResponse.md +24 -0
  104. data/client/docs/RemoveCommentActionResponse.md +20 -0
  105. data/client/docs/RemoveUserBadgeResponse.md +20 -0
  106. data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +6 -6
  107. data/client/docs/SearchUsersResult.md +22 -0
  108. data/client/docs/SetCommentApprovedResponse.md +20 -0
  109. data/client/docs/SetCommentTextParams.md +18 -0
  110. data/client/docs/SetCommentTextResponse.md +20 -0
  111. data/client/docs/SetUserTrustFactorResponse.md +20 -0
  112. data/client/docs/TenantBadge.md +58 -0
  113. data/client/docs/TenantPackage.md +15 -1
  114. data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
  115. data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
  116. data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
  117. data/client/docs/User.md +2 -0
  118. data/client/docs/UsersListLocation.md +15 -0
  119. data/client/fastcomments-client.gemspec +1 -1
  120. data/client/lib/fastcomments-client/api/default_api.rb +419 -397
  121. data/client/lib/fastcomments-client/api/moderation_api.rb +3162 -0
  122. data/client/lib/fastcomments-client/api/public_api.rb +1497 -311
  123. data/client/lib/fastcomments-client/api_client.rb +1 -1
  124. data/client/lib/fastcomments-client/api_error.rb +1 -1
  125. data/client/lib/fastcomments-client/api_model_base.rb +1 -1
  126. data/client/lib/fastcomments-client/configuration.rb +1 -1
  127. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +1 -1
  128. data/client/lib/fastcomments-client/models/add_domain_config_response.rb +103 -0
  129. data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +4 -4
  130. data/client/lib/fastcomments-client/models/add_page_api_response.rb +1 -1
  131. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +1 -1
  132. data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +164 -0
  133. data/client/lib/fastcomments-client/models/adjust_votes_response.rb +190 -0
  134. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +1 -1
  135. data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → aggregate_response.rb} +4 -4
  136. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
  137. data/client/lib/fastcomments-client/models/aggregation_api_error.rb +249 -0
  138. data/client/lib/fastcomments-client/models/aggregation_item.rb +1 -1
  139. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
  140. data/client/lib/fastcomments-client/models/aggregation_operation.rb +1 -1
  141. data/client/lib/fastcomments-client/models/aggregation_request.rb +1 -1
  142. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +1 -1
  143. data/client/lib/fastcomments-client/models/aggregation_response.rb +1 -1
  144. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +1 -1
  145. data/client/lib/fastcomments-client/models/aggregation_value.rb +1 -1
  146. data/client/lib/fastcomments-client/models/api_audit_log.rb +1 -1
  147. data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +176 -0
  148. data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +260 -0
  149. data/client/lib/fastcomments-client/models/api_banned_user.rb +381 -0
  150. data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +302 -0
  151. data/client/lib/fastcomments-client/models/api_comment.rb +17 -17
  152. data/client/lib/fastcomments-client/models/api_comment_base.rb +17 -17
  153. data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +1 -1
  154. data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +267 -0
  155. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +1 -1
  156. data/client/lib/fastcomments-client/models/api_domain_configuration.rb +1 -1
  157. data/client/lib/fastcomments-client/models/api_empty_response.rb +1 -1
  158. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +1 -1
  159. data/client/lib/fastcomments-client/models/api_error.rb +1 -1
  160. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +1 -1
  161. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +1 -1
  162. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +1 -1
  163. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +1 -1
  164. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +1 -1
  165. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +1 -1
  166. data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +198 -0
  167. data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +242 -0
  168. data/client/lib/fastcomments-client/models/api_page.rb +1 -1
  169. data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +5 -5
  170. data/client/lib/fastcomments-client/models/api_status.rb +1 -1
  171. data/client/lib/fastcomments-client/models/api_tenant.rb +1 -1
  172. data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +1 -1
  173. data/client/lib/fastcomments-client/models/api_ticket.rb +1 -1
  174. data/client/lib/fastcomments-client/models/api_ticket_detail.rb +1 -1
  175. data/client/lib/fastcomments-client/models/api_ticket_file.rb +1 -1
  176. data/client/lib/fastcomments-client/models/api_user_subscription.rb +1 -1
  177. data/client/lib/fastcomments-client/models/apisso_user.rb +1 -1
  178. data/client/lib/fastcomments-client/models/award_user_badge_response.rb +208 -0
  179. data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +191 -0
  180. data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +164 -0
  181. data/client/lib/fastcomments-client/models/banned_user_match.rb +198 -0
  182. data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +2 -2
  183. data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
  184. data/client/lib/fastcomments-client/models/billing_info.rb +1 -1
  185. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +1 -1
  186. data/client/lib/fastcomments-client/models/block_success.rb +1 -1
  187. data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +217 -0
  188. data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +190 -0
  189. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +1 -1
  190. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +1 -1
  191. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +1 -1
  192. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +1 -1
  193. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +1 -1
  194. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +2 -2
  195. data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +2 -2
  196. data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +166 -0
  197. data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +302 -0
  198. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +1 -1
  199. data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +1 -1
  200. data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +1 -1
  201. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +1 -1
  202. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +1 -1
  203. data/client/lib/fastcomments-client/models/comment_data.rb +15 -6
  204. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
  205. data/client/lib/fastcomments-client/models/comment_log_data.rb +11 -2
  206. data/client/lib/fastcomments-client/models/comment_log_entry.rb +1 -1
  207. data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
  208. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
  209. data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
  210. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +1 -1
  211. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
  212. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +1 -1
  213. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +1 -1
  214. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +1 -1
  215. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
  216. data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +166 -0
  217. data/client/lib/fastcomments-client/models/create_api_page_data.rb +1 -1
  218. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +1 -1
  219. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +1 -1
  220. data/client/lib/fastcomments-client/models/create_comment_params.rb +12 -3
  221. data/client/lib/fastcomments-client/models/create_email_template_body.rb +1 -1
  222. data/client/lib/fastcomments-client/models/create_email_template_response.rb +1 -1
  223. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +1 -1
  224. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +1 -1
  225. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +1 -1
  226. data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +1 -1
  227. data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +1 -1
  228. data/client/lib/fastcomments-client/models/create_moderator_body.rb +1 -1
  229. data/client/lib/fastcomments-client/models/create_moderator_response.rb +1 -1
  230. data/client/lib/fastcomments-client/models/create_question_config_body.rb +1 -1
  231. data/client/lib/fastcomments-client/models/create_question_config_response.rb +1 -1
  232. data/client/lib/fastcomments-client/models/create_question_result_body.rb +1 -1
  233. data/client/lib/fastcomments-client/models/create_question_result_response.rb +1 -1
  234. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +1 -1
  235. data/client/lib/fastcomments-client/models/create_tenant_body.rb +1 -1
  236. data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +14 -14
  237. data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +1 -1
  238. data/client/lib/fastcomments-client/models/create_tenant_response.rb +1 -1
  239. data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +1 -1
  240. data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +1 -1
  241. data/client/lib/fastcomments-client/models/create_ticket_body.rb +1 -1
  242. data/client/lib/fastcomments-client/models/create_ticket_response.rb +1 -1
  243. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +1 -1
  244. data/client/lib/fastcomments-client/models/create_v1_page_react.rb +195 -0
  245. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +50 -2
  246. data/client/lib/fastcomments-client/models/custom_email_template.rb +1 -1
  247. data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
  248. data/client/lib/fastcomments-client/models/delete_comment_result.rb +1 -1
  249. data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → delete_domain_config_response.rb} +4 -4
  250. data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +4 -4
  251. data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +4 -4
  252. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +1 -1
  253. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +1 -1
  254. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +1 -1
  255. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +1 -1
  256. data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
  257. data/client/lib/fastcomments-client/models/email_template_definition.rb +1 -1
  258. data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +1 -1
  259. data/client/lib/fastcomments-client/models/event_log_entry.rb +1 -1
  260. data/client/lib/fastcomments-client/models/f_comment.rb +14 -5
  261. data/client/lib/fastcomments-client/models/f_comment_meta.rb +1 -1
  262. data/client/lib/fastcomments-client/models/feed_post.rb +1 -1
  263. data/client/lib/fastcomments-client/models/feed_post_link.rb +1 -1
  264. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +1 -1
  265. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +1 -1
  266. data/client/lib/fastcomments-client/models/feed_post_stats.rb +1 -1
  267. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +1 -1
  268. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +1 -1
  269. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +1 -1
  270. data/client/lib/fastcomments-client/models/flag_comment_response.rb +1 -1
  271. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +1 -1
  272. data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +190 -0
  273. data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +235 -0
  274. data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +1 -1
  275. data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +188 -0
  276. data/client/lib/fastcomments-client/models/get_comment_text_response.rb +196 -0
  277. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +1 -1
  278. data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +149 -0
  279. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +1 -1
  280. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +1 -1
  281. data/client/lib/fastcomments-client/models/get_domain_config_response.rb +103 -0
  282. data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +103 -0
  283. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +4 -4
  284. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +4 -4
  285. data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +1 -1
  286. data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +1 -1
  287. data/client/lib/fastcomments-client/models/get_email_template_response.rb +1 -1
  288. data/client/lib/fastcomments-client/models/get_email_templates_response.rb +1 -1
  289. data/client/lib/fastcomments-client/models/get_event_log_response.rb +1 -1
  290. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +1 -1
  291. data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +4 -4
  292. data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → get_gifs_trending_response.rb} +4 -4
  293. data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +1 -1
  294. data/client/lib/fastcomments-client/models/get_moderator_response.rb +1 -1
  295. data/client/lib/fastcomments-client/models/get_moderators_response.rb +1 -1
  296. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +1 -1
  297. data/client/lib/fastcomments-client/models/get_notification_count_response.rb +1 -1
  298. data/client/lib/fastcomments-client/models/get_notifications_response.rb +1 -1
  299. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +1 -1
  300. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +1 -1
  301. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +1 -1
  302. data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +1 -1
  303. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +1 -1
  304. data/client/lib/fastcomments-client/models/get_public_pages_response.rb +226 -0
  305. data/client/lib/fastcomments-client/models/get_question_config_response.rb +1 -1
  306. data/client/lib/fastcomments-client/models/get_question_configs_response.rb +1 -1
  307. data/client/lib/fastcomments-client/models/get_question_result_response.rb +1 -1
  308. data/client/lib/fastcomments-client/models/get_question_results_response.rb +1 -1
  309. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +1 -1
  310. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +1 -1
  311. data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +4 -4
  312. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +1 -1
  313. data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +1 -1
  314. data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +214 -0
  315. data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +1 -1
  316. data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +1 -1
  317. data/client/lib/fastcomments-client/models/get_tenant_response.rb +1 -1
  318. data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +1 -1
  319. data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +1 -1
  320. data/client/lib/fastcomments-client/models/get_tenants_response.rb +1 -1
  321. data/client/lib/fastcomments-client/models/get_ticket_response.rb +1 -1
  322. data/client/lib/fastcomments-client/models/get_tickets_response.rb +1 -1
  323. data/client/lib/fastcomments-client/models/get_translations_response.rb +215 -0
  324. data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +212 -0
  325. data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +298 -0
  326. data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +214 -0
  327. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +1 -1
  328. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +1 -1
  329. data/client/lib/fastcomments-client/models/get_user_response.rb +1 -1
  330. data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +204 -0
  331. data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +290 -0
  332. data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +214 -0
  333. data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +209 -0
  334. data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +1 -1
  335. data/client/lib/fastcomments-client/models/get_votes_response.rb +1 -1
  336. data/client/lib/fastcomments-client/models/gif_get_large_response.rb +212 -0
  337. data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
  338. data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +212 -0
  339. data/client/lib/fastcomments-client/models/gif_search_response.rb +214 -0
  340. data/client/lib/fastcomments-client/models/{get_user200_response.rb → gif_search_response_images_inner_inner.rb} +4 -4
  341. data/client/lib/fastcomments-client/models/header_account_notification.rb +16 -5
  342. data/client/lib/fastcomments-client/models/header_state.rb +1 -1
  343. data/client/lib/fastcomments-client/models/ignored_response.rb +1 -1
  344. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
  345. data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +42 -0
  346. data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
  347. data/client/lib/fastcomments-client/models/live_event.rb +11 -2
  348. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +1 -1
  349. data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
  350. data/client/lib/fastcomments-client/models/media_asset.rb +1 -1
  351. data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
  352. data/client/lib/fastcomments-client/models/meta_item.rb +1 -1
  353. data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +214 -0
  354. data/client/lib/fastcomments-client/models/moderation_api_comment.rb +680 -0
  355. data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +225 -0
  356. data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +212 -0
  357. data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +212 -0
  358. data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +240 -0
  359. data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +249 -0
  360. data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +214 -0
  361. data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +212 -0
  362. data/client/lib/fastcomments-client/models/moderation_export_response.rb +190 -0
  363. data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +225 -0
  364. data/client/lib/fastcomments-client/models/moderation_filter.rb +252 -0
  365. data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +242 -0
  366. data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +214 -0
  367. data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +174 -0
  368. data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +214 -0
  369. data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +195 -0
  370. data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +210 -0
  371. data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +214 -0
  372. data/client/lib/fastcomments-client/models/moderator.rb +1 -1
  373. data/client/lib/fastcomments-client/models/notification_and_count.rb +1 -1
  374. data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
  375. data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
  376. data/client/lib/fastcomments-client/models/page_user_entry.rb +208 -0
  377. data/client/lib/fastcomments-client/models/page_users_info_response.rb +214 -0
  378. data/client/lib/fastcomments-client/models/page_users_offline_response.rb +238 -0
  379. data/client/lib/fastcomments-client/models/page_users_online_response.rb +290 -0
  380. data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
  381. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +1 -1
  382. data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +103 -0
  383. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +1 -1
  384. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +1 -1
  385. data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +1 -1
  386. data/client/lib/fastcomments-client/models/post_remove_comment_api_response.rb +103 -0
  387. data/client/lib/fastcomments-client/models/pre_ban_summary.rb +240 -0
  388. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +1 -1
  389. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +1 -1
  390. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +1 -1
  391. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +1 -1
  392. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +1 -1
  393. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +1 -1
  394. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +1 -1
  395. data/client/lib/fastcomments-client/models/public_comment.rb +1 -1
  396. data/client/lib/fastcomments-client/models/public_comment_base.rb +1 -1
  397. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +1 -1
  398. data/client/lib/fastcomments-client/models/public_page.rb +268 -0
  399. data/client/lib/fastcomments-client/models/public_vote.rb +1 -1
  400. data/client/lib/fastcomments-client/models/put_domain_config_response.rb +103 -0
  401. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +1 -1
  402. data/client/lib/fastcomments-client/models/query_predicate.rb +1 -1
  403. data/client/lib/fastcomments-client/models/query_predicate_value.rb +1 -1
  404. data/client/lib/fastcomments-client/models/question_config.rb +1 -1
  405. data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +1 -1
  406. data/client/lib/fastcomments-client/models/question_datum.rb +1 -1
  407. data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
  408. data/client/lib/fastcomments-client/models/question_result.rb +1 -1
  409. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +1 -1
  410. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
  411. data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
  412. data/client/lib/fastcomments-client/models/react_body_params.rb +1 -1
  413. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +1 -1
  414. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +3 -31
  415. data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +190 -0
  416. data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +197 -0
  417. data/client/lib/fastcomments-client/models/render_email_template_body.rb +1 -1
  418. data/client/lib/fastcomments-client/models/render_email_template_response.rb +1 -1
  419. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +1 -1
  420. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
  421. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
  422. data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +1 -1
  423. data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +1 -1
  424. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +1 -1
  425. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +1 -1
  426. data/client/lib/fastcomments-client/models/{create_tenant200_response.rb → save_comments_bulk_response.rb} +3 -3
  427. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +1 -1
  428. data/client/lib/fastcomments-client/models/search_users_response.rb +1 -1
  429. data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +2 -3
  430. data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +1 -1
  431. data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +195 -0
  432. data/client/lib/fastcomments-client/models/set_comment_text_params.rb +164 -0
  433. data/client/lib/fastcomments-client/models/set_comment_text_response.rb +212 -0
  434. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +1 -1
  435. data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +195 -0
  436. data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
  437. data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
  438. data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
  439. data/client/lib/fastcomments-client/models/spam_rule.rb +1 -1
  440. data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
  441. data/client/lib/fastcomments-client/models/tenant_badge.rb +564 -0
  442. data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +1 -1
  443. data/client/lib/fastcomments-client/models/tenant_package.rb +68 -5
  444. data/client/lib/fastcomments-client/models/tos_config.rb +1 -1
  445. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +1 -1
  446. data/client/lib/fastcomments-client/models/unblock_success.rb +1 -1
  447. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +1 -1
  448. data/client/lib/fastcomments-client/models/update_api_page_data.rb +1 -1
  449. data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +1 -1
  450. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +1 -1
  451. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +1 -1
  452. data/client/lib/fastcomments-client/models/update_email_template_body.rb +1 -1
  453. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +1 -1
  454. data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +1 -1
  455. data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +1 -1
  456. data/client/lib/fastcomments-client/models/update_moderator_body.rb +1 -1
  457. data/client/lib/fastcomments-client/models/update_notification_body.rb +1 -1
  458. data/client/lib/fastcomments-client/models/update_question_config_body.rb +1 -1
  459. data/client/lib/fastcomments-client/models/update_question_result_body.rb +1 -1
  460. data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +1 -1
  461. data/client/lib/fastcomments-client/models/update_tenant_body.rb +1 -1
  462. data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +1 -1
  463. data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +1 -1
  464. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +1 -1
  465. data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_comment_subscription_status_response.rb} +2 -3
  466. data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → update_user_notification_page_subscription_status_response.rb} +4 -4
  467. data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → update_user_notification_status_response.rb} +4 -4
  468. data/client/lib/fastcomments-client/models/upload_image_response.rb +1 -1
  469. data/client/lib/fastcomments-client/models/user.rb +11 -2
  470. data/client/lib/fastcomments-client/models/user_badge.rb +1 -1
  471. data/client/lib/fastcomments-client/models/user_badge_progress.rb +1 -1
  472. data/client/lib/fastcomments-client/models/user_notification.rb +1 -1
  473. data/client/lib/fastcomments-client/models/user_notification_count.rb +1 -1
  474. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +1 -1
  475. data/client/lib/fastcomments-client/models/user_presence_data.rb +1 -1
  476. data/client/lib/fastcomments-client/models/user_reacts_response.rb +1 -1
  477. data/client/lib/fastcomments-client/models/user_search_result.rb +1 -1
  478. data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
  479. data/client/lib/fastcomments-client/models/user_search_section_result.rb +1 -1
  480. data/client/lib/fastcomments-client/models/user_session_info.rb +1 -1
  481. data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
  482. data/client/lib/fastcomments-client/models/vote_body_params.rb +1 -1
  483. data/client/lib/fastcomments-client/models/vote_delete_response.rb +1 -1
  484. data/client/lib/fastcomments-client/models/vote_response.rb +1 -1
  485. data/client/lib/fastcomments-client/models/vote_response_user.rb +1 -1
  486. data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
  487. data/client/lib/fastcomments-client/version.rb +2 -2
  488. data/client/lib/fastcomments-client.rb +101 -98
  489. data/client/spec/api/default_api_spec.rb +107 -105
  490. data/client/spec/api/moderation_api_spec.rb +613 -0
  491. data/client/spec/api/public_api_spec.rb +253 -37
  492. data/client/spec/models/add_domain_config_params_spec.rb +1 -1
  493. data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
  494. data/client/spec/models/{create_tenant200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
  495. data/client/spec/models/add_page_api_response_spec.rb +1 -1
  496. data/client/spec/models/add_sso_user_api_response_spec.rb +1 -1
  497. data/client/spec/models/adjust_comment_votes_params_spec.rb +36 -0
  498. data/client/spec/models/adjust_votes_response_spec.rb +42 -0
  499. data/client/spec/models/aggregate_question_results_response_spec.rb +1 -1
  500. data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
  501. data/client/spec/models/aggregate_time_bucket_spec.rb +1 -1
  502. data/client/spec/models/aggregation_api_error_spec.rb +54 -0
  503. data/client/spec/models/aggregation_item_spec.rb +1 -1
  504. data/client/spec/models/aggregation_op_type_spec.rb +1 -1
  505. data/client/spec/models/aggregation_operation_spec.rb +1 -1
  506. data/client/spec/models/aggregation_request_sort_spec.rb +1 -1
  507. data/client/spec/models/aggregation_request_spec.rb +1 -1
  508. data/client/spec/models/aggregation_response_spec.rb +1 -1
  509. data/client/spec/models/aggregation_response_stats_spec.rb +1 -1
  510. data/client/spec/models/aggregation_value_spec.rb +1 -1
  511. data/client/spec/models/api_audit_log_spec.rb +1 -1
  512. data/client/spec/models/api_ban_user_change_log_spec.rb +54 -0
  513. data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
  514. data/client/spec/models/api_banned_user_spec.rb +108 -0
  515. data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
  516. data/client/spec/models/api_comment_base_meta_spec.rb +1 -1
  517. data/client/spec/models/api_comment_base_spec.rb +2 -2
  518. data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
  519. data/client/spec/models/api_comment_spec.rb +2 -2
  520. data/client/spec/models/api_create_user_badge_response_spec.rb +1 -1
  521. data/client/spec/models/api_domain_configuration_spec.rb +1 -1
  522. data/client/spec/models/api_empty_response_spec.rb +1 -1
  523. data/client/spec/models/api_empty_success_response_spec.rb +1 -1
  524. data/client/spec/models/api_error_spec.rb +1 -1
  525. data/client/spec/models/api_get_comment_response_spec.rb +1 -1
  526. data/client/spec/models/api_get_comments_response_spec.rb +1 -1
  527. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +1 -1
  528. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +1 -1
  529. data/client/spec/models/api_get_user_badge_response_spec.rb +1 -1
  530. data/client/spec/models/api_get_user_badges_response_spec.rb +1 -1
  531. data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +42 -0
  532. data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
  533. data/client/spec/models/api_page_spec.rb +1 -1
  534. data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
  535. data/client/spec/models/api_status_spec.rb +1 -1
  536. data/client/spec/models/api_tenant_daily_usage_spec.rb +1 -1
  537. data/client/spec/models/api_tenant_spec.rb +1 -1
  538. data/client/spec/models/api_ticket_detail_spec.rb +1 -1
  539. data/client/spec/models/api_ticket_file_spec.rb +1 -1
  540. data/client/spec/models/api_ticket_spec.rb +1 -1
  541. data/client/spec/models/api_user_subscription_spec.rb +1 -1
  542. data/client/spec/models/apisso_user_spec.rb +1 -1
  543. data/client/spec/models/award_user_badge_response_spec.rb +48 -0
  544. data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
  545. data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
  546. data/client/spec/models/{add_domain_config200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
  547. data/client/spec/models/banned_user_match_spec.rb +42 -0
  548. data/client/spec/models/banned_user_match_type_spec.rb +30 -0
  549. data/client/spec/models/billing_info_spec.rb +1 -1
  550. data/client/spec/models/block_from_comment_params_spec.rb +1 -1
  551. data/client/spec/models/block_success_spec.rb +1 -1
  552. data/client/spec/models/build_moderation_filter_params_spec.rb +60 -0
  553. data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
  554. data/client/spec/models/bulk_aggregate_question_item_spec.rb +1 -1
  555. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +1 -1
  556. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +1 -1
  557. data/client/spec/models/bulk_create_hash_tags_body_spec.rb +1 -1
  558. data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +1 -1
  559. data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
  560. data/client/spec/models/bulk_create_hash_tags_response_spec.rb +1 -1
  561. data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
  562. data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
  563. data/client/spec/models/change_comment_pin_status_response_spec.rb +1 -1
  564. data/client/spec/models/change_ticket_state_body_spec.rb +1 -1
  565. data/client/spec/models/change_ticket_state_response_spec.rb +1 -1
  566. data/client/spec/models/check_blocked_comments_response_spec.rb +1 -1
  567. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +1 -1
  568. data/client/spec/models/comment_data_spec.rb +7 -1
  569. data/client/spec/models/comment_html_rendering_mode_spec.rb +1 -1
  570. data/client/spec/models/comment_log_data_spec.rb +7 -1
  571. data/client/spec/models/comment_log_entry_spec.rb +1 -1
  572. data/client/spec/models/comment_log_type_spec.rb +1 -1
  573. data/client/spec/models/comment_question_results_rendering_type_spec.rb +1 -1
  574. data/client/spec/models/comment_questions_required_spec.rb +1 -1
  575. data/client/spec/models/comment_text_update_request_spec.rb +1 -1
  576. data/client/spec/models/comment_thread_deletion_mode_spec.rb +1 -1
  577. data/client/spec/models/comment_user_badge_info_spec.rb +1 -1
  578. data/client/spec/models/comment_user_hash_tag_info_spec.rb +1 -1
  579. data/client/spec/models/comment_user_mention_info_spec.rb +1 -1
  580. data/client/spec/models/commenter_name_formats_spec.rb +1 -1
  581. data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
  582. data/client/spec/models/create_api_page_data_spec.rb +1 -1
  583. data/client/spec/models/create_api_user_subscription_data_spec.rb +1 -1
  584. data/client/spec/models/create_apisso_user_data_spec.rb +1 -1
  585. data/client/spec/models/create_comment_params_spec.rb +7 -1
  586. data/client/spec/models/create_email_template_body_spec.rb +1 -1
  587. data/client/spec/models/create_email_template_response_spec.rb +1 -1
  588. data/client/spec/models/create_feed_post_params_spec.rb +1 -1
  589. data/client/spec/models/create_feed_post_response_spec.rb +1 -1
  590. data/client/spec/models/create_feed_posts_response_spec.rb +1 -1
  591. data/client/spec/models/create_hash_tag_body_spec.rb +1 -1
  592. data/client/spec/models/create_hash_tag_response_spec.rb +1 -1
  593. data/client/spec/models/create_moderator_body_spec.rb +1 -1
  594. data/client/spec/models/create_moderator_response_spec.rb +1 -1
  595. data/client/spec/models/create_question_config_body_spec.rb +1 -1
  596. data/client/spec/models/create_question_config_response_spec.rb +1 -1
  597. data/client/spec/models/create_question_result_body_spec.rb +1 -1
  598. data/client/spec/models/create_question_result_response_spec.rb +1 -1
  599. data/client/spec/models/create_subscription_api_response_spec.rb +1 -1
  600. data/client/spec/models/create_tenant_body_spec.rb +1 -1
  601. data/client/spec/models/create_tenant_package_body_spec.rb +3 -3
  602. data/client/spec/models/create_tenant_package_response_spec.rb +1 -1
  603. data/client/spec/models/create_tenant_response_spec.rb +1 -1
  604. data/client/spec/models/create_tenant_user_body_spec.rb +1 -1
  605. data/client/spec/models/create_tenant_user_response_spec.rb +1 -1
  606. data/client/spec/models/create_ticket_body_spec.rb +1 -1
  607. data/client/spec/models/create_ticket_response_spec.rb +1 -1
  608. data/client/spec/models/create_user_badge_params_spec.rb +1 -1
  609. data/client/spec/models/create_v1_page_react_spec.rb +42 -0
  610. data/client/spec/models/custom_config_parameters_spec.rb +31 -1
  611. data/client/spec/models/custom_email_template_spec.rb +1 -1
  612. data/client/spec/models/delete_comment_action_spec.rb +1 -1
  613. data/client/spec/models/delete_comment_result_spec.rb +1 -1
  614. data/client/spec/models/{delete_domain_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
  615. data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
  616. data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
  617. data/client/spec/models/delete_page_api_response_spec.rb +1 -1
  618. data/client/spec/models/delete_sso_user_api_response_spec.rb +1 -1
  619. data/client/spec/models/delete_subscription_api_response_spec.rb +1 -1
  620. data/client/spec/models/deleted_comment_result_comment_spec.rb +1 -1
  621. data/client/spec/models/digest_email_frequency_spec.rb +1 -1
  622. data/client/spec/models/email_template_definition_spec.rb +1 -1
  623. data/client/spec/models/email_template_render_error_response_spec.rb +1 -1
  624. data/client/spec/models/event_log_entry_spec.rb +1 -1
  625. data/client/spec/models/f_comment_meta_spec.rb +1 -1
  626. data/client/spec/models/f_comment_spec.rb +7 -1
  627. data/client/spec/models/feed_post_link_spec.rb +1 -1
  628. data/client/spec/models/feed_post_media_item_asset_spec.rb +1 -1
  629. data/client/spec/models/feed_post_media_item_spec.rb +1 -1
  630. data/client/spec/models/feed_post_spec.rb +1 -1
  631. data/client/spec/models/feed_post_stats_spec.rb +1 -1
  632. data/client/spec/models/feed_posts_stats_response_spec.rb +1 -1
  633. data/client/spec/models/find_comments_by_range_item_spec.rb +1 -1
  634. data/client/spec/models/find_comments_by_range_response_spec.rb +1 -1
  635. data/client/spec/models/flag_comment_response_spec.rb +1 -1
  636. data/client/spec/models/get_audit_logs_response_spec.rb +1 -1
  637. data/client/spec/models/get_banned_users_count_response_spec.rb +42 -0
  638. data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
  639. data/client/spec/models/get_cached_notification_count_response_spec.rb +1 -1
  640. data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
  641. data/client/spec/models/get_comment_text_response_spec.rb +42 -0
  642. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +1 -1
  643. data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
  644. data/client/spec/models/get_comments_response_public_comment_spec.rb +1 -1
  645. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +1 -1
  646. data/client/spec/models/{add_hash_tag200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
  647. data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
  648. data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
  649. data/client/spec/models/{delete_comment200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
  650. data/client/spec/models/get_email_template_definitions_response_spec.rb +1 -1
  651. data/client/spec/models/get_email_template_render_errors_response_spec.rb +1 -1
  652. data/client/spec/models/get_email_template_response_spec.rb +1 -1
  653. data/client/spec/models/get_email_templates_response_spec.rb +1 -1
  654. data/client/spec/models/get_event_log_response_spec.rb +1 -1
  655. data/client/spec/models/get_feed_posts_response_spec.rb +1 -1
  656. data/client/spec/models/{get_comment200_response_spec.rb → get_gifs_search_response_spec.rb} +3 -3
  657. data/client/spec/models/{create_ticket200_response_spec.rb → get_gifs_trending_response_spec.rb} +3 -3
  658. data/client/spec/models/get_hash_tags_response_spec.rb +1 -1
  659. data/client/spec/models/get_moderator_response_spec.rb +1 -1
  660. data/client/spec/models/get_moderators_response_spec.rb +1 -1
  661. data/client/spec/models/get_my_notifications_response_spec.rb +1 -1
  662. data/client/spec/models/get_notification_count_response_spec.rb +1 -1
  663. data/client/spec/models/get_notifications_response_spec.rb +1 -1
  664. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +1 -1
  665. data/client/spec/models/get_pages_api_response_spec.rb +1 -1
  666. data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +1 -1
  667. data/client/spec/models/get_pending_webhook_events_response_spec.rb +1 -1
  668. data/client/spec/models/get_public_feed_posts_response_spec.rb +1 -1
  669. data/client/spec/models/get_public_pages_response_spec.rb +48 -0
  670. data/client/spec/models/get_question_config_response_spec.rb +1 -1
  671. data/client/spec/models/get_question_configs_response_spec.rb +1 -1
  672. data/client/spec/models/get_question_result_response_spec.rb +1 -1
  673. data/client/spec/models/get_question_results_response_spec.rb +1 -1
  674. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +1 -1
  675. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +1 -1
  676. data/client/spec/models/{get_sso_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
  677. data/client/spec/models/get_subscriptions_api_response_spec.rb +1 -1
  678. data/client/spec/models/get_tenant_daily_usages_response_spec.rb +1 -1
  679. data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
  680. data/client/spec/models/get_tenant_package_response_spec.rb +1 -1
  681. data/client/spec/models/get_tenant_packages_response_spec.rb +1 -1
  682. data/client/spec/models/get_tenant_response_spec.rb +1 -1
  683. data/client/spec/models/get_tenant_user_response_spec.rb +1 -1
  684. data/client/spec/models/get_tenant_users_response_spec.rb +1 -1
  685. data/client/spec/models/get_tenants_response_spec.rb +1 -1
  686. data/client/spec/models/get_ticket_response_spec.rb +1 -1
  687. data/client/spec/models/get_tickets_response_spec.rb +1 -1
  688. data/client/spec/models/get_translations_response_spec.rb +42 -0
  689. data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
  690. data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
  691. data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
  692. data/client/spec/models/get_user_notification_count_response_spec.rb +1 -1
  693. data/client/spec/models/get_user_presence_statuses_response_spec.rb +1 -1
  694. data/client/spec/models/get_user_response_spec.rb +1 -1
  695. data/client/spec/models/get_user_trust_factor_response_spec.rb +48 -0
  696. data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
  697. data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
  698. data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
  699. data/client/spec/models/get_votes_for_user_response_spec.rb +1 -1
  700. data/client/spec/models/get_votes_response_spec.rb +1 -1
  701. data/client/spec/models/gif_get_large_response_spec.rb +42 -0
  702. data/client/spec/models/gif_rating_spec.rb +1 -1
  703. data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
  704. data/client/spec/models/{reset_user_notifications200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
  705. data/client/spec/models/gif_search_response_spec.rb +42 -0
  706. data/client/spec/models/header_account_notification_spec.rb +7 -1
  707. data/client/spec/models/header_state_spec.rb +1 -1
  708. data/client/spec/models/ignored_response_spec.rb +1 -1
  709. data/client/spec/models/image_content_profanity_level_spec.rb +1 -1
  710. data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
  711. data/client/spec/models/imported_site_type_spec.rb +1 -1
  712. data/client/spec/models/live_event_extra_info_spec.rb +1 -1
  713. data/client/spec/models/live_event_spec.rb +7 -1
  714. data/client/spec/models/live_event_type_spec.rb +1 -1
  715. data/client/spec/models/media_asset_spec.rb +1 -1
  716. data/client/spec/models/mention_auto_complete_mode_spec.rb +1 -1
  717. data/client/spec/models/meta_item_spec.rb +1 -1
  718. data/client/spec/models/moderation_api_child_comments_response_spec.rb +42 -0
  719. data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
  720. data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
  721. data/client/spec/models/moderation_api_comment_spec.rb +282 -0
  722. data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
  723. data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
  724. data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
  725. data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
  726. data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
  727. data/client/spec/models/moderation_export_response_spec.rb +42 -0
  728. data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
  729. data/client/spec/models/moderation_filter_spec.rb +102 -0
  730. data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
  731. data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
  732. data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
  733. data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
  734. data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
  735. data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
  736. data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
  737. data/client/spec/models/moderator_spec.rb +1 -1
  738. data/client/spec/models/notification_and_count_spec.rb +1 -1
  739. data/client/spec/models/notification_object_type_spec.rb +1 -1
  740. data/client/spec/models/notification_type_spec.rb +1 -1
  741. data/client/spec/models/page_user_entry_spec.rb +54 -0
  742. data/client/spec/models/page_users_info_response_spec.rb +42 -0
  743. data/client/spec/models/page_users_offline_response_spec.rb +54 -0
  744. data/client/spec/models/page_users_online_response_spec.rb +66 -0
  745. data/client/spec/models/pages_sort_by_spec.rb +30 -0
  746. data/client/spec/models/patch_domain_config_params_spec.rb +1 -1
  747. data/client/spec/models/{create_feed_post200_response_spec.rb → patch_domain_config_response_spec.rb} +3 -3
  748. data/client/spec/models/patch_page_api_response_spec.rb +1 -1
  749. data/client/spec/models/patch_sso_user_api_response_spec.rb +1 -1
  750. data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +1 -1
  751. data/client/spec/models/{delete_comment_vote200_response_spec.rb → post_remove_comment_api_response_spec.rb} +3 -3
  752. data/client/spec/models/pre_ban_summary_spec.rb +48 -0
  753. data/client/spec/models/pub_sub_comment_base_spec.rb +1 -1
  754. data/client/spec/models/pub_sub_comment_spec.rb +1 -1
  755. data/client/spec/models/pub_sub_vote_spec.rb +1 -1
  756. data/client/spec/models/public_api_delete_comment_response_spec.rb +1 -1
  757. data/client/spec/models/public_api_get_comment_text_response_spec.rb +1 -1
  758. data/client/spec/models/public_api_set_comment_text_response_spec.rb +1 -1
  759. data/client/spec/models/public_block_from_comment_params_spec.rb +1 -1
  760. data/client/spec/models/public_comment_base_spec.rb +1 -1
  761. data/client/spec/models/public_comment_spec.rb +1 -1
  762. data/client/spec/models/public_feed_posts_response_spec.rb +1 -1
  763. data/client/spec/models/public_page_spec.rb +60 -0
  764. data/client/spec/models/public_vote_spec.rb +1 -1
  765. data/client/spec/models/{flag_comment200_response_spec.rb → put_domain_config_response_spec.rb} +3 -3
  766. data/client/spec/models/put_sso_user_api_response_spec.rb +1 -1
  767. data/client/spec/models/query_predicate_spec.rb +1 -1
  768. data/client/spec/models/query_predicate_value_spec.rb +1 -1
  769. data/client/spec/models/question_config_custom_options_inner_spec.rb +1 -1
  770. data/client/spec/models/question_config_spec.rb +1 -1
  771. data/client/spec/models/question_datum_spec.rb +1 -1
  772. data/client/spec/models/question_rendering_type_spec.rb +1 -1
  773. data/client/spec/models/question_result_aggregation_overall_spec.rb +1 -1
  774. data/client/spec/models/question_result_spec.rb +1 -1
  775. data/client/spec/models/question_sub_question_visibility_spec.rb +1 -1
  776. data/client/spec/models/question_when_save_spec.rb +1 -1
  777. data/client/spec/models/react_body_params_spec.rb +1 -1
  778. data/client/spec/models/react_feed_post_response_spec.rb +1 -1
  779. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +1 -1
  780. data/client/spec/models/remove_comment_action_response_spec.rb +42 -0
  781. data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
  782. data/client/spec/models/render_email_template_body_spec.rb +1 -1
  783. data/client/spec/models/render_email_template_response_spec.rb +1 -1
  784. data/client/spec/models/renderable_user_notification_spec.rb +1 -1
  785. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +1 -1
  786. data/client/spec/models/repeat_comment_handling_action_spec.rb +1 -1
  787. data/client/spec/models/replace_tenant_package_body_spec.rb +1 -1
  788. data/client/spec/models/replace_tenant_user_body_spec.rb +1 -1
  789. data/client/spec/models/reset_user_notifications_response_spec.rb +1 -1
  790. data/client/spec/models/save_comment_response_optimized_spec.rb +1 -1
  791. data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
  792. data/client/spec/models/save_comments_response_with_presence_spec.rb +1 -1
  793. data/client/spec/models/search_users_response_spec.rb +1 -1
  794. data/client/spec/models/{get_votes200_response_spec.rb → search_users_result_spec.rb} +3 -3
  795. data/client/spec/models/search_users_sectioned_response_spec.rb +1 -1
  796. data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
  797. data/client/spec/models/set_comment_text_params_spec.rb +36 -0
  798. data/client/spec/models/set_comment_text_response_spec.rb +42 -0
  799. data/client/spec/models/set_comment_text_result_spec.rb +1 -1
  800. data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
  801. data/client/spec/models/size_preset_spec.rb +1 -1
  802. data/client/spec/models/sort_directions_spec.rb +1 -1
  803. data/client/spec/models/sortdir_spec.rb +1 -1
  804. data/client/spec/models/spam_rule_spec.rb +1 -1
  805. data/client/spec/models/sso_security_level_spec.rb +1 -1
  806. data/client/spec/models/tenant_badge_spec.rb +156 -0
  807. data/client/spec/models/tenant_hash_tag_spec.rb +1 -1
  808. data/client/spec/models/tenant_package_spec.rb +43 -1
  809. data/client/spec/models/tos_config_spec.rb +1 -1
  810. data/client/spec/models/un_block_from_comment_params_spec.rb +1 -1
  811. data/client/spec/models/unblock_success_spec.rb +1 -1
  812. data/client/spec/models/updatable_comment_params_spec.rb +1 -1
  813. data/client/spec/models/update_api_page_data_spec.rb +1 -1
  814. data/client/spec/models/update_api_user_subscription_data_spec.rb +1 -1
  815. data/client/spec/models/update_apisso_user_data_spec.rb +1 -1
  816. data/client/spec/models/update_domain_config_params_spec.rb +1 -1
  817. data/client/spec/models/update_email_template_body_spec.rb +1 -1
  818. data/client/spec/models/update_feed_post_params_spec.rb +1 -1
  819. data/client/spec/models/update_hash_tag_body_spec.rb +1 -1
  820. data/client/spec/models/update_hash_tag_response_spec.rb +1 -1
  821. data/client/spec/models/update_moderator_body_spec.rb +1 -1
  822. data/client/spec/models/update_notification_body_spec.rb +1 -1
  823. data/client/spec/models/update_question_config_body_spec.rb +1 -1
  824. data/client/spec/models/update_question_result_body_spec.rb +1 -1
  825. data/client/spec/models/update_subscription_api_response_spec.rb +1 -1
  826. data/client/spec/models/update_tenant_body_spec.rb +1 -1
  827. data/client/spec/models/update_tenant_package_body_spec.rb +1 -1
  828. data/client/spec/models/update_tenant_user_body_spec.rb +1 -1
  829. data/client/spec/models/update_user_badge_params_spec.rb +1 -1
  830. data/client/spec/models/update_user_notification_comment_subscription_status_response_spec.rb +21 -0
  831. data/client/spec/models/{aggregate_question_results200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
  832. data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
  833. data/client/spec/models/upload_image_response_spec.rb +1 -1
  834. data/client/spec/models/user_badge_progress_spec.rb +1 -1
  835. data/client/spec/models/user_badge_spec.rb +1 -1
  836. data/client/spec/models/user_notification_count_spec.rb +1 -1
  837. data/client/spec/models/user_notification_spec.rb +1 -1
  838. data/client/spec/models/user_notification_write_response_spec.rb +1 -1
  839. data/client/spec/models/user_presence_data_spec.rb +1 -1
  840. data/client/spec/models/user_reacts_response_spec.rb +1 -1
  841. data/client/spec/models/user_search_result_spec.rb +1 -1
  842. data/client/spec/models/user_search_section_result_spec.rb +1 -1
  843. data/client/spec/models/user_search_section_spec.rb +1 -1
  844. data/client/spec/models/user_session_info_spec.rb +1 -1
  845. data/client/spec/models/user_spec.rb +7 -1
  846. data/client/spec/models/users_list_location_spec.rb +30 -0
  847. data/client/spec/models/vote_body_params_spec.rb +1 -1
  848. data/client/spec/models/vote_delete_response_spec.rb +1 -1
  849. data/client/spec/models/vote_response_spec.rb +1 -1
  850. data/client/spec/models/vote_response_user_spec.rb +1 -1
  851. data/client/spec/models/vote_style_spec.rb +1 -1
  852. data/client/spec/spec_helper.rb +1 -1
  853. data/lib/fastcomments.rb +1 -1
  854. metadata +302 -293
  855. data/client/docs/AddHashTag200Response.md +0 -34
  856. data/client/docs/AddHashTagsBulk200Response.md +0 -34
  857. data/client/docs/AggregateQuestionResults200Response.md +0 -34
  858. data/client/docs/BlockFromCommentPublic200Response.md +0 -34
  859. data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
  860. data/client/docs/ChangeTicketState200Response.md +0 -34
  861. data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
  862. data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
  863. data/client/docs/CreateCommentPublic200Response.md +0 -40
  864. data/client/docs/CreateEmailTemplate200Response.md +0 -34
  865. data/client/docs/CreateFeedPost200Response.md +0 -34
  866. data/client/docs/CreateFeedPostPublic200Response.md +0 -34
  867. data/client/docs/CreateModerator200Response.md +0 -34
  868. data/client/docs/CreateQuestionConfig200Response.md +0 -34
  869. data/client/docs/CreateQuestionResult200Response.md +0 -34
  870. data/client/docs/CreateTenant200Response.md +0 -34
  871. data/client/docs/CreateTenantPackage200Response.md +0 -34
  872. data/client/docs/CreateTenantUser200Response.md +0 -34
  873. data/client/docs/CreateTicket200Response.md +0 -34
  874. data/client/docs/CreateUserBadge200Response.md +0 -36
  875. data/client/docs/DeleteComment200Response.md +0 -34
  876. data/client/docs/DeleteCommentPublic200Response.md +0 -36
  877. data/client/docs/DeleteCommentVote200Response.md +0 -34
  878. data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
  879. data/client/docs/FlagComment200Response.md +0 -36
  880. data/client/docs/FlagCommentPublic200Response.md +0 -32
  881. data/client/docs/GetAuditLogs200Response.md +0 -34
  882. data/client/docs/GetCachedNotificationCount200Response.md +0 -34
  883. data/client/docs/GetComment200Response.md +0 -34
  884. data/client/docs/GetCommentText200Response.md +0 -36
  885. data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
  886. data/client/docs/GetComments200Response.md +0 -34
  887. data/client/docs/GetCommentsPublic200Response.md +0 -78
  888. data/client/docs/GetEmailTemplate200Response.md +0 -34
  889. data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
  890. data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
  891. data/client/docs/GetEmailTemplates200Response.md +0 -34
  892. data/client/docs/GetEventLog200Response.md +0 -34
  893. data/client/docs/GetFeedPosts200Response.md +0 -34
  894. data/client/docs/GetFeedPostsPublic200Response.md +0 -44
  895. data/client/docs/GetFeedPostsStats200Response.md +0 -34
  896. data/client/docs/GetHashTags200Response.md +0 -34
  897. data/client/docs/GetModerator200Response.md +0 -34
  898. data/client/docs/GetModerators200Response.md +0 -34
  899. data/client/docs/GetNotificationCount200Response.md +0 -34
  900. data/client/docs/GetNotifications200Response.md +0 -34
  901. data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
  902. data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
  903. data/client/docs/GetQuestionConfig200Response.md +0 -34
  904. data/client/docs/GetQuestionConfigs200Response.md +0 -34
  905. data/client/docs/GetQuestionResult200Response.md +0 -34
  906. data/client/docs/GetQuestionResults200Response.md +0 -34
  907. data/client/docs/GetTenant200Response.md +0 -34
  908. data/client/docs/GetTenantDailyUsages200Response.md +0 -34
  909. data/client/docs/GetTenantPackage200Response.md +0 -34
  910. data/client/docs/GetTenantPackages200Response.md +0 -34
  911. data/client/docs/GetTenantUser200Response.md +0 -34
  912. data/client/docs/GetTenantUsers200Response.md +0 -34
  913. data/client/docs/GetTenants200Response.md +0 -34
  914. data/client/docs/GetTicket200Response.md +0 -36
  915. data/client/docs/GetTickets200Response.md +0 -34
  916. data/client/docs/GetUser200Response.md +0 -34
  917. data/client/docs/GetUserBadge200Response.md +0 -34
  918. data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
  919. data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
  920. data/client/docs/GetUserBadges200Response.md +0 -34
  921. data/client/docs/GetUserNotificationCount200Response.md +0 -34
  922. data/client/docs/GetUserNotifications200Response.md +0 -40
  923. data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
  924. data/client/docs/GetUserReactsPublic200Response.md +0 -34
  925. data/client/docs/GetVotes200Response.md +0 -38
  926. data/client/docs/GetVotesForUser200Response.md +0 -38
  927. data/client/docs/LockComment200Response.md +0 -32
  928. data/client/docs/PinComment200Response.md +0 -34
  929. data/client/docs/ReactFeedPostPublic200Response.md +0 -36
  930. data/client/docs/RenderEmailTemplate200Response.md +0 -34
  931. data/client/docs/ResetUserNotifications200Response.md +0 -32
  932. data/client/docs/SearchUsers200Response.md +0 -36
  933. data/client/docs/SetCommentText200Response.md +0 -34
  934. data/client/docs/UnBlockCommentPublic200Response.md +0 -34
  935. data/client/docs/UpdateUserBadge200Response.md +0 -32
  936. data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
  937. data/client/docs/VoteComment200Response.md +0 -40
  938. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
  939. data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +0 -103
  940. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
  941. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
  942. data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
  943. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
  944. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
  945. data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
  946. data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
  947. data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
  948. data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
  949. data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
  950. data/client/lib/fastcomments-client/models/create_ticket200_response.rb +0 -103
  951. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
  952. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
  953. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
  954. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
  955. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
  956. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
  957. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
  958. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
  959. data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
  960. data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
  961. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
  962. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
  963. data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
  964. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
  965. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
  966. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
  967. data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
  968. data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
  969. data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
  970. data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
  971. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
  972. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
  973. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
  974. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
  975. data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
  976. data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
  977. data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
  978. data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
  979. data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
  980. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
  981. data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
  982. data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
  983. data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
  984. data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
  985. data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
  986. data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
  987. data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
  988. data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
  989. data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
  990. data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
  991. data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
  992. data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
  993. data/client/lib/fastcomments-client/models/get_ticket200_response.rb +0 -103
  994. data/client/lib/fastcomments-client/models/get_tickets200_response.rb +0 -103
  995. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
  996. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
  997. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
  998. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
  999. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
  1000. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
  1001. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
  1002. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
  1003. data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
  1004. data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
  1005. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
  1006. data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
  1007. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
  1008. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
  1009. data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
  1010. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
  1011. data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
  1012. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
  1013. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
  1014. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
  1015. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
  1016. data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
  1017. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
  1018. data/client/spec/models/change_ticket_state200_response_spec.rb +0 -21
  1019. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
  1020. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
  1021. data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
  1022. data/client/spec/models/create_email_template200_response_spec.rb +0 -21
  1023. data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
  1024. data/client/spec/models/create_moderator200_response_spec.rb +0 -21
  1025. data/client/spec/models/create_question_config200_response_spec.rb +0 -21
  1026. data/client/spec/models/create_question_result200_response_spec.rb +0 -21
  1027. data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
  1028. data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
  1029. data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
  1030. data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
  1031. data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
  1032. data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
  1033. data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
  1034. data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
  1035. data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
  1036. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
  1037. data/client/spec/models/get_comments200_response_spec.rb +0 -21
  1038. data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
  1039. data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
  1040. data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
  1041. data/client/spec/models/get_email_template200_response_spec.rb +0 -21
  1042. data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
  1043. data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
  1044. data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
  1045. data/client/spec/models/get_event_log200_response_spec.rb +0 -21
  1046. data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
  1047. data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
  1048. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
  1049. data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
  1050. data/client/spec/models/get_moderator200_response_spec.rb +0 -21
  1051. data/client/spec/models/get_moderators200_response_spec.rb +0 -21
  1052. data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
  1053. data/client/spec/models/get_notifications200_response_spec.rb +0 -21
  1054. data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
  1055. data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
  1056. data/client/spec/models/get_question_config200_response_spec.rb +0 -21
  1057. data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
  1058. data/client/spec/models/get_question_result200_response_spec.rb +0 -21
  1059. data/client/spec/models/get_question_results200_response_spec.rb +0 -21
  1060. data/client/spec/models/get_tenant200_response_spec.rb +0 -21
  1061. data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
  1062. data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
  1063. data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
  1064. data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
  1065. data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
  1066. data/client/spec/models/get_tenants200_response_spec.rb +0 -21
  1067. data/client/spec/models/get_ticket200_response_spec.rb +0 -21
  1068. data/client/spec/models/get_tickets200_response_spec.rb +0 -21
  1069. data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
  1070. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
  1071. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
  1072. data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
  1073. data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
  1074. data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
  1075. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
  1076. data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
  1077. data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
  1078. data/client/spec/models/lock_comment200_response_spec.rb +0 -21
  1079. data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
  1080. data/client/spec/models/pin_comment200_response_spec.rb +0 -21
  1081. data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
  1082. data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
  1083. data/client/spec/models/render_email_template200_response_spec.rb +0 -21
  1084. data/client/spec/models/save_comment200_response_spec.rb +0 -21
  1085. data/client/spec/models/search_users200_response_spec.rb +0 -21
  1086. data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
  1087. data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
  1088. data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
  1089. data/client/spec/models/vote_comment200_response_spec.rb +0 -21
@@ -0,0 +1,103 @@
1
+ =begin
2
+ #fastcomments
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 0.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.23.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ module GetDomainConfigsResponse
18
+ class << self
19
+ # List of class defined in anyOf (OpenAPI v3)
20
+ def openapi_any_of
21
+ [
22
+ :'GetDomainConfigsResponseAnyOf',
23
+ :'GetDomainConfigsResponseAnyOf1'
24
+ ]
25
+ end
26
+
27
+ # Builds the object
28
+ # @param [Mixed] Data to be matched against the list of anyOf items
29
+ # @return [Object] Returns the model or the data itself
30
+ def build(data)
31
+ # Go through the list of anyOf items and attempt to identify the appropriate one.
32
+ # Note:
33
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
34
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
35
+ # - TODO: scalar values are de facto behaving as if they were nullable.
36
+ # - TODO: logging when debugging is set.
37
+ openapi_any_of.each do |klass|
38
+ begin
39
+ next if klass == :AnyType # "nullable: true"
40
+ return find_and_cast_into_type(klass, data)
41
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
42
+ end
43
+ end
44
+
45
+ openapi_any_of.include?(:AnyType) ? data : nil
46
+ end
47
+
48
+ private
49
+
50
+ SchemaMismatchError = Class.new(StandardError)
51
+
52
+ # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
53
+ def find_and_cast_into_type(klass, data)
54
+ return if data.nil?
55
+
56
+ case klass.to_s
57
+ when 'Boolean'
58
+ return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
59
+ when 'Float'
60
+ return data if data.instance_of?(Float)
61
+ when 'Integer'
62
+ return data if data.instance_of?(Integer)
63
+ when 'Time'
64
+ return Time.parse(data)
65
+ when 'Date'
66
+ return Date.iso8601(data)
67
+ when 'String'
68
+ return data if data.instance_of?(String)
69
+ when 'Object' # "type: object"
70
+ return data if data.instance_of?(Hash)
71
+ when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
72
+ if data.instance_of?(Array)
73
+ sub_type = Regexp.last_match[:sub_type]
74
+ return data.map { |item| find_and_cast_into_type(sub_type, item) }
75
+ end
76
+ when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
77
+ if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
78
+ sub_type = Regexp.last_match[:sub_type]
79
+ return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
80
+ end
81
+ else # model
82
+ const = FastCommentsClient.const_get(klass)
83
+ if const
84
+ if const.respond_to?(:openapi_any_of) # nested anyOf model
85
+ model = const.build(data)
86
+ return model if model
87
+ else
88
+ # raise if data contains keys that are not known to the model
89
+ raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
90
+ model = const.build_from_hash(data)
91
+ return model if model
92
+ end
93
+ end
94
+ end
95
+
96
+ raise # if no match by now, raise
97
+ rescue
98
+ raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
99
+ end
100
+ end
101
+ end
102
+
103
+ end
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FastCommentsClient
17
- class GetDomainConfigs200ResponseAnyOf < ApiModelBase
17
+ class GetDomainConfigsResponseAnyOf < ApiModelBase
18
18
  attr_accessor :configurations
19
19
 
20
20
  attr_accessor :status
@@ -57,14 +57,14 @@ module FastCommentsClient
57
57
  # @param [Hash] attributes Model attributes in the form of hash
58
58
  def initialize(attributes = {})
59
59
  if (!attributes.is_a?(Hash))
60
- fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::GetDomainConfigs200ResponseAnyOf` initialize method"
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::GetDomainConfigsResponseAnyOf` initialize method"
61
61
  end
62
62
 
63
63
  # check to see if the attribute exists and convert string to symbol for hash key
64
64
  acceptable_attribute_map = self.class.acceptable_attribute_map
65
65
  attributes = attributes.each_with_object({}) { |(k, v), h|
66
66
  if (!acceptable_attribute_map.key?(k.to_sym))
67
- fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::GetDomainConfigs200ResponseAnyOf`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::GetDomainConfigsResponseAnyOf`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
68
68
  end
69
69
  h[k.to_sym] = v
70
70
  }
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FastCommentsClient
17
- class GetDomainConfigs200ResponseAnyOf1 < ApiModelBase
17
+ class GetDomainConfigsResponseAnyOf1 < ApiModelBase
18
18
  attr_accessor :reason
19
19
 
20
20
  attr_accessor :code
@@ -60,14 +60,14 @@ module FastCommentsClient
60
60
  # @param [Hash] attributes Model attributes in the form of hash
61
61
  def initialize(attributes = {})
62
62
  if (!attributes.is_a?(Hash))
63
- fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::GetDomainConfigs200ResponseAnyOf1` initialize method"
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::GetDomainConfigsResponseAnyOf1` initialize method"
64
64
  end
65
65
 
66
66
  # check to see if the attribute exists and convert string to symbol for hash key
67
67
  acceptable_attribute_map = self.class.acceptable_attribute_map
68
68
  attributes = attributes.each_with_object({}) { |(k, v), h|
69
69
  if (!acceptable_attribute_map.key?(k.to_sym))
70
- fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::GetDomainConfigs200ResponseAnyOf1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
70
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::GetDomainConfigsResponseAnyOf1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
71
71
  end
72
72
  h[k.to_sym] = v
73
73
  }
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FastCommentsClient
17
- module AddHashTagsBulk200Response
17
+ module GetGifsSearchResponse
18
18
  class << self
19
19
  # List of class defined in anyOf (OpenAPI v3)
20
20
  def openapi_any_of
21
21
  [
22
- :'APIError',
23
- :'BulkCreateHashTagsResponse'
22
+ :'GifSearchInternalError',
23
+ :'GifSearchResponse'
24
24
  ]
25
25
  end
26
26
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FastCommentsClient
17
- module ChangeTicketState200Response
17
+ module GetGifsTrendingResponse
18
18
  class << self
19
19
  # List of class defined in anyOf (OpenAPI v3)
20
20
  def openapi_any_of
21
21
  [
22
- :'APIError',
23
- :'ChangeTicketStateResponse'
22
+ :'GifSearchInternalError',
23
+ :'GifSearchResponse'
24
24
  ]
25
25
  end
26
26
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,226 @@
1
+ =begin
2
+ #fastcomments
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 0.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.23.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ class GetPublicPagesResponse < ApiModelBase
18
+ attr_accessor :next_cursor
19
+
20
+ attr_accessor :pages
21
+
22
+ attr_accessor :status
23
+
24
+ class EnumAttributeValidator
25
+ attr_reader :datatype
26
+ attr_reader :allowable_values
27
+
28
+ def initialize(datatype, allowable_values)
29
+ @allowable_values = allowable_values.map do |value|
30
+ case datatype.to_s
31
+ when /Integer/i
32
+ value.to_i
33
+ when /Float/i
34
+ value.to_f
35
+ else
36
+ value
37
+ end
38
+ end
39
+ end
40
+
41
+ def valid?(value)
42
+ !value || allowable_values.include?(value)
43
+ end
44
+ end
45
+
46
+ # Attribute mapping from ruby-style variable name to JSON key.
47
+ def self.attribute_map
48
+ {
49
+ :'next_cursor' => :'nextCursor',
50
+ :'pages' => :'pages',
51
+ :'status' => :'status'
52
+ }
53
+ end
54
+
55
+ # Returns attribute mapping this model knows about
56
+ def self.acceptable_attribute_map
57
+ attribute_map
58
+ end
59
+
60
+ # Returns all the JSON keys this model knows about
61
+ def self.acceptable_attributes
62
+ acceptable_attribute_map.values
63
+ end
64
+
65
+ # Attribute type mapping.
66
+ def self.openapi_types
67
+ {
68
+ :'next_cursor' => :'String',
69
+ :'pages' => :'Array<PublicPage>',
70
+ :'status' => :'APIStatus'
71
+ }
72
+ end
73
+
74
+ # List of attributes with nullable: true
75
+ def self.openapi_nullable
76
+ Set.new([
77
+ :'next_cursor',
78
+ ])
79
+ end
80
+
81
+ # Initializes the object
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ def initialize(attributes = {})
84
+ if (!attributes.is_a?(Hash))
85
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::GetPublicPagesResponse` initialize method"
86
+ end
87
+
88
+ # check to see if the attribute exists and convert string to symbol for hash key
89
+ acceptable_attribute_map = self.class.acceptable_attribute_map
90
+ attributes = attributes.each_with_object({}) { |(k, v), h|
91
+ if (!acceptable_attribute_map.key?(k.to_sym))
92
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::GetPublicPagesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
93
+ end
94
+ h[k.to_sym] = v
95
+ }
96
+
97
+ if attributes.key?(:'next_cursor')
98
+ self.next_cursor = attributes[:'next_cursor']
99
+ else
100
+ self.next_cursor = nil
101
+ end
102
+
103
+ if attributes.key?(:'pages')
104
+ if (value = attributes[:'pages']).is_a?(Array)
105
+ self.pages = value
106
+ end
107
+ else
108
+ self.pages = nil
109
+ end
110
+
111
+ if attributes.key?(:'status')
112
+ self.status = attributes[:'status']
113
+ else
114
+ self.status = nil
115
+ end
116
+ end
117
+
118
+ # Show invalid properties with the reasons. Usually used together with valid?
119
+ # @return Array for valid properties with the reasons
120
+ def list_invalid_properties
121
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
122
+ invalid_properties = Array.new
123
+ if @pages.nil?
124
+ invalid_properties.push('invalid value for "pages", pages cannot be nil.')
125
+ end
126
+
127
+ if @status.nil?
128
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
129
+ end
130
+
131
+ invalid_properties
132
+ end
133
+
134
+ # Check to see if the all the properties in the model are valid
135
+ # @return true if the model is valid
136
+ def valid?
137
+ warn '[DEPRECATED] the `valid?` method is obsolete'
138
+ return false if @pages.nil?
139
+ return false if @status.nil?
140
+ true
141
+ end
142
+
143
+ # Custom attribute writer method with validation
144
+ # @param [Object] pages Value to be assigned
145
+ def pages=(pages)
146
+ if pages.nil?
147
+ fail ArgumentError, 'pages cannot be nil'
148
+ end
149
+
150
+ @pages = pages
151
+ end
152
+
153
+ # Custom attribute writer method with validation
154
+ # @param [Object] status Value to be assigned
155
+ def status=(status)
156
+ if status.nil?
157
+ fail ArgumentError, 'status cannot be nil'
158
+ end
159
+
160
+ @status = status
161
+ end
162
+
163
+ # Checks equality by comparing each attribute.
164
+ # @param [Object] Object to be compared
165
+ def ==(o)
166
+ return true if self.equal?(o)
167
+ self.class == o.class &&
168
+ next_cursor == o.next_cursor &&
169
+ pages == o.pages &&
170
+ status == o.status
171
+ end
172
+
173
+ # @see the `==` method
174
+ # @param [Object] Object to be compared
175
+ def eql?(o)
176
+ self == o
177
+ end
178
+
179
+ # Calculates hash code according to all attributes.
180
+ # @return [Integer] Hash code
181
+ def hash
182
+ [next_cursor, pages, status].hash
183
+ end
184
+
185
+ # Builds the object from hash
186
+ # @param [Hash] attributes Model attributes in the form of hash
187
+ # @return [Object] Returns the model itself
188
+ def self.build_from_hash(attributes)
189
+ return nil unless attributes.is_a?(Hash)
190
+ attributes = attributes.transform_keys(&:to_sym)
191
+ transformed_hash = {}
192
+ openapi_types.each_pair do |key, type|
193
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
194
+ transformed_hash["#{key}"] = nil
195
+ elsif type =~ /\AArray<(.*)>/i
196
+ # check to ensure the input is an array given that the attribute
197
+ # is documented as an array but the input is not
198
+ if attributes[attribute_map[key]].is_a?(Array)
199
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
200
+ end
201
+ elsif !attributes[attribute_map[key]].nil?
202
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
203
+ end
204
+ end
205
+ new(transformed_hash)
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ end
225
+
226
+ end
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.23.0-SNAPSHOT
10
10
 
11
11
  =end
12
12