From ae355258554f0eb96090bf3d047f33c100d501c6 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:09:53 -0700 Subject: [PATCH 1/6] Regenerate SDK from latest OpenAPI spec (moderation tenantId + broadcastId params) Adds the optional tenantId query param to the SSO-gated Moderation API endpoints and the optional broadcastId query param to the mutating moderation endpoints. Backward-compatible. Mirrors fastcomments-sdk-js v5.0.2. --- Cargo.lock | 2 +- client/.openapi-generator/FILES | 354 ++ client/README.md | 179 +- client/docs/AddHashTagResponse.md | 19 + client/docs/AddHashTagsBulkResponse.md | 19 + .../docs/AggregateQuestionResultsResponse1.md | 19 + client/docs/BlockFromCommentPublicResponse.md | 19 + client/docs/BlockUserFromCommentResponse.md | 19 + .../BulkAggregateQuestionResultsResponse1.md | 19 + client/docs/ChangeTicketStateResponse1.md | 19 + .../docs/CheckedCommentsForBlockedResponse.md | 19 + ...bineCommentsWithQuestionResultsResponse.md | 19 + client/docs/CreateCommentPublicResponse.md | 22 + client/docs/CreateEmailTemplateResponse1.md | 19 + client/docs/CreateFeedPostPublicResponse.md | 19 + client/docs/CreateFeedPostResponse1.md | 19 + client/docs/CreateModeratorResponse1.md | 19 + client/docs/CreateQuestionConfigResponse1.md | 19 + client/docs/CreateQuestionResultResponse1.md | 19 + client/docs/CreateTenantPackageResponse1.md | 19 + client/docs/CreateTenantResponse1.md | 19 + client/docs/CreateTenantUserResponse1.md | 19 + client/docs/CreateTicketResponse1.md | 19 + client/docs/CreateUserBadgeResponse.md | 20 + client/docs/CreateV1PageReactResponse.md | 18 + client/docs/CreateV2PageReactResponse.md | 18 + client/docs/CreateVoteResponse.md | 22 + client/docs/DefaultApi.md | 360 +- client/docs/DeleteCommentPublicResponse.md | 20 + client/docs/DeleteCommentResponse.md | 19 + client/docs/DeleteCommentVoteResponse.md | 19 + .../DeleteEmailTemplateRenderErrorResponse.md | 18 + client/docs/DeleteEmailTemplateResponse.md | 18 + client/docs/DeleteFeedPostPublicResponse.md | 7 + .../docs/DeleteFeedPostPublicResponseAnyOf.md | 11 + client/docs/DeleteHashTagResponse.md | 18 + client/docs/DeleteModerationVoteResponse.md | 19 + client/docs/DeleteModeratorResponse.md | 18 + .../docs/DeleteNotificationCountResponse.md | 18 + .../docs/DeletePendingWebhookEventResponse.md | 18 + client/docs/DeleteQuestionConfigResponse.md | 18 + client/docs/DeleteQuestionResultResponse.md | 18 + client/docs/DeleteTenantPackageResponse.md | 18 + client/docs/DeleteTenantResponse.md | 18 + client/docs/DeleteTenantUserResponse.md | 18 + client/docs/DeleteUserBadgeResponse.md | 18 + client/docs/DeleteV1PageReactResponse.md | 18 + client/docs/DeleteV2PageReactResponse.md | 18 + client/docs/DeleteVoteResponse.md | 19 + client/docs/FlagCommentPublicResponse.md | 18 + client/docs/FlagCommentResponse1.md | 20 + client/docs/GetApiCommentsResponse.md | 21 + client/docs/GetApiExportStatusResponse.md | 21 + client/docs/GetApiIdsResponse.md | 20 + client/docs/GetAuditLogsResponse1.md | 19 + client/docs/GetBanUsersFromCommentResponse.md | 19 + .../GetCachedNotificationCountResponse1.md | 19 + client/docs/GetCommentBanStatusResponse1.md | 20 + client/docs/GetCommentChildrenResponse.md | 19 + client/docs/GetCommentResponse.md | 19 + client/docs/GetCommentTextResponse1.md | 20 + .../docs/GetCommentVoteUserNamesResponse.md | 20 + client/docs/GetCommentsForUserResponse1.md | 19 + client/docs/GetCommentsPublicResponse.md | 41 + client/docs/GetCommentsResponse.md | 19 + client/docs/GetCountResponse.md | 19 + client/docs/GetCountsResponse.md | 19 + .../GetEmailTemplateDefinitionsResponse1.md | 19 + .../GetEmailTemplateRenderErrorsResponse1.md | 19 + client/docs/GetEmailTemplateResponse1.md | 19 + client/docs/GetEmailTemplatesResponse1.md | 19 + client/docs/GetEventLogResponse1.md | 19 + client/docs/GetFeedPostsPublicResponse.md | 24 + client/docs/GetFeedPostsResponse1.md | 19 + client/docs/GetFeedPostsStatsResponse.md | 19 + client/docs/GetGifLargeResponse.md | 19 + client/docs/GetGifsSearchResponse.md | 6 + client/docs/GetGlobalEventLogResponse.md | 19 + client/docs/GetHashTagsResponse1.md | 19 + client/docs/GetLogsResponse.md | 19 + client/docs/GetManualBadgesForUserResponse.md | 19 + client/docs/GetManualBadgesResponse.md | 19 + client/docs/GetModerationCommentResponse.md | 19 + .../docs/GetModerationCommentTextResponse.md | 19 + client/docs/GetModeratorResponse1.md | 19 + client/docs/GetModeratorsResponse1.md | 19 + client/docs/GetNotificationCountResponse1.md | 19 + client/docs/GetNotificationsResponse1.md | 19 + client/docs/GetOfflineUsersResponse.md | 21 + client/docs/GetOnlineUsersResponse.md | 23 + client/docs/GetPagesPublicResponse.md | 20 + .../GetPendingWebhookEventCountResponse1.md | 19 + .../docs/GetPendingWebhookEventsResponse1.md | 19 + client/docs/GetPreBanSummaryResponse.md | 20 + client/docs/GetQuestionConfigResponse1.md | 19 + client/docs/GetQuestionConfigsResponse1.md | 19 + client/docs/GetQuestionResultResponse1.md | 19 + client/docs/GetQuestionResultsResponse1.md | 19 + .../docs/GetSearchCommentsSummaryResponse.md | 19 + client/docs/GetSearchPagesResponse.md | 19 + client/docs/GetSearchSitesResponse.md | 19 + client/docs/GetSearchSuggestResponse.md | 20 + client/docs/GetSearchUsersResponse.md | 19 + client/docs/GetTenantDailyUsagesResponse1.md | 19 + client/docs/GetTenantPackageResponse1.md | 19 + client/docs/GetTenantPackagesResponse1.md | 19 + client/docs/GetTenantResponse1.md | 19 + client/docs/GetTenantUserResponse1.md | 19 + client/docs/GetTenantUsersResponse1.md | 19 + client/docs/GetTenantsResponse1.md | 19 + client/docs/GetTicketResponse1.md | 20 + client/docs/GetTicketsResponse1.md | 19 + client/docs/GetTranslationsResponse1.md | 19 + client/docs/GetTrustFactorResponse.md | 20 + .../docs/GetUserBadgeProgressByIdResponse.md | 19 + .../GetUserBadgeProgressByUserIdResponse.md | 19 + .../docs/GetUserBadgeProgressListResponse.md | 19 + client/docs/GetUserBadgeResponse.md | 19 + client/docs/GetUserBadgesResponse.md | 19 + client/docs/GetUserBanPreferenceResponse.md | 19 + .../docs/GetUserInternalProfileResponse1.md | 19 + .../docs/GetUserNotificationCountResponse1.md | 19 + client/docs/GetUserNotificationsResponse.md | 22 + .../docs/GetUserPresenceStatusesResponse1.md | 19 + client/docs/GetUserReactsPublicResponse.md | 19 + client/docs/GetUserResponse1.md | 19 + client/docs/GetUsersInfoResponse.md | 19 + client/docs/GetV1PageLikesResponse.md | 22 + client/docs/GetV2PageReactUsersResponse1.md | 19 + client/docs/GetV2PageReactsResponse.md | 20 + client/docs/GetVotesForUserResponse1.md | 21 + client/docs/GetVotesResponse1.md | 21 + client/docs/LockCommentResponse.md | 18 + client/docs/ModerationApi.md | 224 +- client/docs/PatchHashTagResponse.md | 19 + client/docs/PinCommentResponse.md | 19 + client/docs/PostAdjustCommentVotesResponse.md | 19 + client/docs/PostApiExportResponse.md | 19 + client/docs/PostBanUserFromCommentResponse.md | 19 + client/docs/PostBanUserUndoResponse.md | 18 + client/docs/PostBulkPreBanSummaryResponse.md | 23 + client/docs/PostCommentsByIdsResponse.md | 19 + client/docs/PostFlagCommentResponse.md | 18 + client/docs/PostRemoveCommentResponse.md | 11 +- .../docs/PostRestoreDeletedCommentResponse.md | 18 + .../PostSetCommentApprovalStatusResponse.md | 19 + .../PostSetCommentReviewStatusResponse.md | 18 + .../docs/PostSetCommentSpamStatusResponse.md | 18 + client/docs/PostSetCommentTextResponse.md | 19 + client/docs/PostUnFlagCommentResponse.md | 18 + client/docs/PostVoteResponse.md | 22 + client/docs/PublicApi.md | 176 +- client/docs/PutAwardBadgeResponse.md | 20 + client/docs/PutCloseThreadResponse.md | 18 + client/docs/PutRemoveBadgeResponse.md | 19 + client/docs/PutReopenThreadResponse.md | 18 + client/docs/ReactFeedPostPublicResponse.md | 20 + client/docs/RenderEmailTemplateResponse1.md | 19 + client/docs/ReplaceTenantPackageResponse.md | 18 + client/docs/ReplaceTenantUserResponse.md | 18 + .../ResetUserNotificationCountResponse.md | 18 + .../docs/ResetUserNotificationsResponse1.md | 18 + client/docs/SaveCommentResponse.md | 21 + client/docs/SearchUsersResponse1.md | 20 + client/docs/SendInviteResponse.md | 18 + client/docs/SendLoginLinkResponse.md | 18 + client/docs/SetCommentTextResponse1.md | 19 + client/docs/SetTrustFactorResponse.md | 19 + client/docs/UnBlockCommentPublicResponse.md | 19 + client/docs/UnBlockUserFromCommentResponse.md | 19 + client/docs/UnFlagCommentResponse.md | 20 + client/docs/UnLockCommentResponse.md | 18 + client/docs/UnPinCommentResponse.md | 19 + client/docs/UpdateCommentResponse.md | 18 + client/docs/UpdateEmailTemplateResponse.md | 18 + client/docs/UpdateFeedPostPublicResponse.md | 19 + client/docs/UpdateFeedPostResponse.md | 18 + client/docs/UpdateModeratorResponse.md | 18 + client/docs/UpdateNotificationResponse.md | 18 + client/docs/UpdateQuestionConfigResponse.md | 18 + client/docs/UpdateQuestionResultResponse.md | 18 + client/docs/UpdateTenantPackageResponse.md | 18 + client/docs/UpdateTenantResponse.md | 18 + client/docs/UpdateTenantUserResponse.md | 18 + client/docs/UpdateUserBadgeResponse.md | 18 + ...cationCommentSubscriptionStatusResponse.md | 7 + ...ificationPageSubscriptionStatusResponse.md | 7 + .../UpdateUserNotificationStatusResponse.md | 7 + client/docs/VoteCommentResponse.md | 22 + client/src/apis/default_api.rs | 630 ++- client/src/apis/moderation_api.rs | 511 ++- client/src/apis/public_api.rs | 313 +- client/src/models/add_hash_tag_response.rs | 51 + .../src/models/add_hash_tags_bulk_response.rs | 51 + .../aggregate_question_results_response_1.rs | 51 + .../block_from_comment_public_response.rs | 52 + .../block_user_from_comment_response.rs | 52 + ...k_aggregate_question_results_response_1.rs | 52 + .../models/change_ticket_state_response_1.rs | 51 + .../checked_comments_for_blocked_response.rs | 52 + ...comments_with_question_results_response.rs | 51 + .../models/create_comment_public_response.rs | 61 + .../create_email_template_response_1.rs | 51 + .../create_feed_post_public_response.rs | 51 + .../src/models/create_feed_post_response_1.rs | 51 + .../src/models/create_moderator_response_1.rs | 51 + .../create_question_config_response_1.rs | 51 + .../create_question_result_response_1.rs | 51 + .../create_tenant_package_response_1.rs | 51 + client/src/models/create_tenant_response_1.rs | 51 + .../models/create_tenant_user_response_1.rs | 51 + client/src/models/create_ticket_response_1.rs | 51 + .../src/models/create_user_badge_response.rs | 54 + .../models/create_v1_page_react_response.rs | 48 + .../models/create_v2_page_react_response.rs | 48 + client/src/models/create_vote_response.rs | 60 + .../models/delete_comment_public_response.rs | 54 + client/src/models/delete_comment_response.rs | 51 + .../models/delete_comment_vote_response.rs | 51 + ...te_email_template_render_error_response.rs | 48 + .../models/delete_email_template_response.rs | 48 + .../delete_feed_post_public_response.rs | 21 + ...delete_feed_post_public_response_any_of.rs | 27 + client/src/models/delete_hash_tag_response.rs | 48 + .../models/delete_moderation_vote_response.rs | 51 + .../src/models/delete_moderator_response.rs | 48 + .../delete_notification_count_response.rs | 48 + .../delete_pending_webhook_event_response.rs | 48 + .../models/delete_question_config_response.rs | 48 + .../models/delete_question_result_response.rs | 48 + .../models/delete_tenant_package_response.rs | 48 + client/src/models/delete_tenant_response.rs | 48 + .../src/models/delete_tenant_user_response.rs | 48 + .../src/models/delete_user_badge_response.rs | 48 + .../models/delete_v1_page_react_response.rs | 48 + .../models/delete_v2_page_react_response.rs | 48 + client/src/models/delete_vote_response.rs | 51 + .../models/flag_comment_public_response.rs | 48 + client/src/models/flag_comment_response_1.rs | 54 + .../src/models/get_api_comments_response.rs | 57 + .../models/get_api_export_status_response.rs | 57 + client/src/models/get_api_ids_response.rs | 54 + .../src/models/get_audit_logs_response_1.rs | 51 + .../get_ban_users_from_comment_response.rs | 51 + ...et_cached_notification_count_response_1.rs | 51 + .../get_comment_ban_status_response_1.rs | 54 + .../models/get_comment_children_response.rs | 51 + client/src/models/get_comment_response.rs | 51 + .../src/models/get_comment_text_response_1.rs | 54 + .../get_comment_vote_user_names_response.rs | 54 + .../get_comments_for_user_response_1.rs | 51 + .../models/get_comments_public_response.rs | 118 + client/src/models/get_comments_response.rs | 51 + client/src/models/get_count_response.rs | 51 + client/src/models/get_counts_response.rs | 51 + ...t_email_template_definitions_response_1.rs | 51 + ...email_template_render_errors_response_1.rs | 51 + .../models/get_email_template_response_1.rs | 51 + .../models/get_email_templates_response_1.rs | 51 + client/src/models/get_event_log_response_1.rs | 51 + .../models/get_feed_posts_public_response.rs | 66 + .../src/models/get_feed_posts_response_1.rs | 51 + .../models/get_feed_posts_stats_response.rs | 51 + client/src/models/get_gif_large_response.rs | 51 + client/src/models/get_gifs_search_response.rs | 18 + .../models/get_global_event_log_response.rs | 51 + client/src/models/get_hash_tags_response_1.rs | 51 + client/src/models/get_logs_response.rs | 51 + .../get_manual_badges_for_user_response.rs | 51 + .../src/models/get_manual_badges_response.rs | 51 + .../models/get_moderation_comment_response.rs | 51 + .../get_moderation_comment_text_response.rs | 51 + client/src/models/get_moderator_response_1.rs | 51 + .../src/models/get_moderators_response_1.rs | 51 + .../get_notification_count_response_1.rs | 51 + .../models/get_notifications_response_1.rs | 51 + .../src/models/get_offline_users_response.rs | 57 + .../src/models/get_online_users_response.rs | 63 + .../src/models/get_pages_public_response.rs | 54 + ..._pending_webhook_event_count_response_1.rs | 51 + .../get_pending_webhook_events_response_1.rs | 51 + .../models/get_pre_ban_summary_response.rs | 54 + .../models/get_question_config_response_1.rs | 51 + .../models/get_question_configs_response_1.rs | 51 + .../models/get_question_result_response_1.rs | 51 + .../models/get_question_results_response_1.rs | 51 + .../get_search_comments_summary_response.rs | 51 + .../src/models/get_search_pages_response.rs | 51 + .../src/models/get_search_sites_response.rs | 51 + .../src/models/get_search_suggest_response.rs | 54 + .../src/models/get_search_users_response.rs | 51 + .../get_tenant_daily_usages_response_1.rs | 51 + .../models/get_tenant_package_response_1.rs | 51 + .../models/get_tenant_packages_response_1.rs | 51 + client/src/models/get_tenant_response_1.rs | 51 + .../src/models/get_tenant_user_response_1.rs | 51 + .../src/models/get_tenant_users_response_1.rs | 51 + client/src/models/get_tenants_response_1.rs | 51 + client/src/models/get_ticket_response_1.rs | 54 + client/src/models/get_tickets_response_1.rs | 51 + .../src/models/get_translations_response_1.rs | 52 + .../src/models/get_trust_factor_response.rs | 54 + .../get_user_badge_progress_by_id_response.rs | 51 + ...user_badge_progress_by_user_id_response.rs | 51 + .../get_user_badge_progress_list_response.rs | 51 + client/src/models/get_user_badge_response.rs | 51 + client/src/models/get_user_badges_response.rs | 51 + .../get_user_ban_preference_response.rs | 51 + .../get_user_internal_profile_response_1.rs | 51 + .../get_user_notification_count_response_1.rs | 51 + .../models/get_user_notifications_response.rs | 61 + .../get_user_presence_statuses_response_1.rs | 52 + .../models/get_user_reacts_public_response.rs | 51 + client/src/models/get_user_response_1.rs | 51 + client/src/models/get_users_info_response.rs | 51 + .../src/models/get_v1_page_likes_response.rs | 60 + .../get_v2_page_react_users_response_1.rs | 51 + .../src/models/get_v2_page_reacts_response.rs | 55 + .../models/get_votes_for_user_response_1.rs | 57 + client/src/models/get_votes_response_1.rs | 57 + client/src/models/lock_comment_response.rs | 48 + client/src/models/mod.rs | 354 ++ client/src/models/patch_hash_tag_response.rs | 51 + client/src/models/pin_comment_response.rs | 52 + .../post_adjust_comment_votes_response.rs | 51 + client/src/models/post_api_export_response.rs | 51 + .../post_ban_user_from_comment_response.rs | 51 + .../src/models/post_ban_user_undo_response.rs | 48 + .../post_bulk_pre_ban_summary_response.rs | 63 + .../models/post_comments_by_ids_response.rs | 51 + .../src/models/post_flag_comment_response.rs | 48 + .../models/post_remove_comment_response.rs | 31 +- .../post_restore_deleted_comment_response.rs | 48 + ...st_set_comment_approval_status_response.rs | 51 + ...post_set_comment_review_status_response.rs | 48 + .../post_set_comment_spam_status_response.rs | 48 + .../models/post_set_comment_text_response.rs | 51 + .../models/post_un_flag_comment_response.rs | 48 + client/src/models/post_vote_response.rs | 60 + client/src/models/put_award_badge_response.rs | 54 + .../src/models/put_close_thread_response.rs | 48 + .../src/models/put_remove_badge_response.rs | 51 + .../src/models/put_reopen_thread_response.rs | 48 + .../models/react_feed_post_public_response.rs | 54 + .../render_email_template_response_1.rs | 51 + .../models/replace_tenant_package_response.rs | 48 + .../models/replace_tenant_user_response.rs | 48 + .../reset_user_notification_count_response.rs | 48 + .../reset_user_notifications_response_1.rs | 48 + client/src/models/save_comment_response.rs | 58 + client/src/models/search_users_response_1.rs | 54 + client/src/models/send_invite_response.rs | 48 + client/src/models/send_login_link_response.rs | 48 + .../src/models/set_comment_text_response_1.rs | 51 + .../src/models/set_trust_factor_response.rs | 51 + .../un_block_comment_public_response.rs | 52 + .../un_block_user_from_comment_response.rs | 52 + client/src/models/un_flag_comment_response.rs | 54 + client/src/models/un_lock_comment_response.rs | 48 + client/src/models/un_pin_comment_response.rs | 52 + client/src/models/update_comment_response.rs | 48 + .../models/update_email_template_response.rs | 48 + .../update_feed_post_public_response.rs | 51 + .../src/models/update_feed_post_response.rs | 48 + .../src/models/update_moderator_response.rs | 48 + .../models/update_notification_response.rs | 48 + .../models/update_question_config_response.rs | 48 + .../models/update_question_result_response.rs | 48 + .../models/update_tenant_package_response.rs | 48 + client/src/models/update_tenant_response.rs | 48 + .../src/models/update_tenant_user_response.rs | 48 + .../src/models/update_user_badge_response.rs | 48 + ...on_comment_subscription_status_response.rs | 21 + ...ation_page_subscription_status_response.rs | 21 + ...pdate_user_notification_status_response.rs | 21 + client/src/models/vote_comment_response.rs | 60 + openapi.json | 4082 +++++++++-------- 377 files changed, 16796 insertions(+), 3092 deletions(-) create mode 100644 client/docs/AddHashTagResponse.md create mode 100644 client/docs/AddHashTagsBulkResponse.md create mode 100644 client/docs/AggregateQuestionResultsResponse1.md create mode 100644 client/docs/BlockFromCommentPublicResponse.md create mode 100644 client/docs/BlockUserFromCommentResponse.md create mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md create mode 100644 client/docs/ChangeTicketStateResponse1.md create mode 100644 client/docs/CheckedCommentsForBlockedResponse.md create mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md create mode 100644 client/docs/CreateCommentPublicResponse.md create mode 100644 client/docs/CreateEmailTemplateResponse1.md create mode 100644 client/docs/CreateFeedPostPublicResponse.md create mode 100644 client/docs/CreateFeedPostResponse1.md create mode 100644 client/docs/CreateModeratorResponse1.md create mode 100644 client/docs/CreateQuestionConfigResponse1.md create mode 100644 client/docs/CreateQuestionResultResponse1.md create mode 100644 client/docs/CreateTenantPackageResponse1.md create mode 100644 client/docs/CreateTenantResponse1.md create mode 100644 client/docs/CreateTenantUserResponse1.md create mode 100644 client/docs/CreateTicketResponse1.md create mode 100644 client/docs/CreateUserBadgeResponse.md create mode 100644 client/docs/CreateV1PageReactResponse.md create mode 100644 client/docs/CreateV2PageReactResponse.md create mode 100644 client/docs/CreateVoteResponse.md create mode 100644 client/docs/DeleteCommentPublicResponse.md create mode 100644 client/docs/DeleteCommentResponse.md create mode 100644 client/docs/DeleteCommentVoteResponse.md create mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md create mode 100644 client/docs/DeleteEmailTemplateResponse.md create mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md create mode 100644 client/docs/DeleteHashTagResponse.md create mode 100644 client/docs/DeleteModerationVoteResponse.md create mode 100644 client/docs/DeleteModeratorResponse.md create mode 100644 client/docs/DeleteNotificationCountResponse.md create mode 100644 client/docs/DeletePendingWebhookEventResponse.md create mode 100644 client/docs/DeleteQuestionConfigResponse.md create mode 100644 client/docs/DeleteQuestionResultResponse.md create mode 100644 client/docs/DeleteTenantPackageResponse.md create mode 100644 client/docs/DeleteTenantResponse.md create mode 100644 client/docs/DeleteTenantUserResponse.md create mode 100644 client/docs/DeleteUserBadgeResponse.md create mode 100644 client/docs/DeleteV1PageReactResponse.md create mode 100644 client/docs/DeleteV2PageReactResponse.md create mode 100644 client/docs/DeleteVoteResponse.md create mode 100644 client/docs/FlagCommentPublicResponse.md create mode 100644 client/docs/FlagCommentResponse1.md create mode 100644 client/docs/GetApiCommentsResponse.md create mode 100644 client/docs/GetApiExportStatusResponse.md create mode 100644 client/docs/GetApiIdsResponse.md create mode 100644 client/docs/GetAuditLogsResponse1.md create mode 100644 client/docs/GetBanUsersFromCommentResponse.md create mode 100644 client/docs/GetCachedNotificationCountResponse1.md create mode 100644 client/docs/GetCommentBanStatusResponse1.md create mode 100644 client/docs/GetCommentChildrenResponse.md create mode 100644 client/docs/GetCommentResponse.md create mode 100644 client/docs/GetCommentTextResponse1.md create mode 100644 client/docs/GetCommentVoteUserNamesResponse.md create mode 100644 client/docs/GetCommentsForUserResponse1.md create mode 100644 client/docs/GetCommentsPublicResponse.md create mode 100644 client/docs/GetCommentsResponse.md create mode 100644 client/docs/GetCountResponse.md create mode 100644 client/docs/GetCountsResponse.md create mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md create mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md create mode 100644 client/docs/GetEmailTemplateResponse1.md create mode 100644 client/docs/GetEmailTemplatesResponse1.md create mode 100644 client/docs/GetEventLogResponse1.md create mode 100644 client/docs/GetFeedPostsPublicResponse.md create mode 100644 client/docs/GetFeedPostsResponse1.md create mode 100644 client/docs/GetFeedPostsStatsResponse.md create mode 100644 client/docs/GetGifLargeResponse.md create mode 100644 client/docs/GetGlobalEventLogResponse.md create mode 100644 client/docs/GetHashTagsResponse1.md create mode 100644 client/docs/GetLogsResponse.md create mode 100644 client/docs/GetManualBadgesForUserResponse.md create mode 100644 client/docs/GetManualBadgesResponse.md create mode 100644 client/docs/GetModerationCommentResponse.md create mode 100644 client/docs/GetModerationCommentTextResponse.md create mode 100644 client/docs/GetModeratorResponse1.md create mode 100644 client/docs/GetModeratorsResponse1.md create mode 100644 client/docs/GetNotificationCountResponse1.md create mode 100644 client/docs/GetNotificationsResponse1.md create mode 100644 client/docs/GetOfflineUsersResponse.md create mode 100644 client/docs/GetOnlineUsersResponse.md create mode 100644 client/docs/GetPagesPublicResponse.md create mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md create mode 100644 client/docs/GetPendingWebhookEventsResponse1.md create mode 100644 client/docs/GetPreBanSummaryResponse.md create mode 100644 client/docs/GetQuestionConfigResponse1.md create mode 100644 client/docs/GetQuestionConfigsResponse1.md create mode 100644 client/docs/GetQuestionResultResponse1.md create mode 100644 client/docs/GetQuestionResultsResponse1.md create mode 100644 client/docs/GetSearchCommentsSummaryResponse.md create mode 100644 client/docs/GetSearchPagesResponse.md create mode 100644 client/docs/GetSearchSitesResponse.md create mode 100644 client/docs/GetSearchSuggestResponse.md create mode 100644 client/docs/GetSearchUsersResponse.md create mode 100644 client/docs/GetTenantDailyUsagesResponse1.md create mode 100644 client/docs/GetTenantPackageResponse1.md create mode 100644 client/docs/GetTenantPackagesResponse1.md create mode 100644 client/docs/GetTenantResponse1.md create mode 100644 client/docs/GetTenantUserResponse1.md create mode 100644 client/docs/GetTenantUsersResponse1.md create mode 100644 client/docs/GetTenantsResponse1.md create mode 100644 client/docs/GetTicketResponse1.md create mode 100644 client/docs/GetTicketsResponse1.md create mode 100644 client/docs/GetTranslationsResponse1.md create mode 100644 client/docs/GetTrustFactorResponse.md create mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressListResponse.md create mode 100644 client/docs/GetUserBadgeResponse.md create mode 100644 client/docs/GetUserBadgesResponse.md create mode 100644 client/docs/GetUserBanPreferenceResponse.md create mode 100644 client/docs/GetUserInternalProfileResponse1.md create mode 100644 client/docs/GetUserNotificationCountResponse1.md create mode 100644 client/docs/GetUserNotificationsResponse.md create mode 100644 client/docs/GetUserPresenceStatusesResponse1.md create mode 100644 client/docs/GetUserReactsPublicResponse.md create mode 100644 client/docs/GetUserResponse1.md create mode 100644 client/docs/GetUsersInfoResponse.md create mode 100644 client/docs/GetV1PageLikesResponse.md create mode 100644 client/docs/GetV2PageReactUsersResponse1.md create mode 100644 client/docs/GetV2PageReactsResponse.md create mode 100644 client/docs/GetVotesForUserResponse1.md create mode 100644 client/docs/GetVotesResponse1.md create mode 100644 client/docs/LockCommentResponse.md create mode 100644 client/docs/PatchHashTagResponse.md create mode 100644 client/docs/PinCommentResponse.md create mode 100644 client/docs/PostAdjustCommentVotesResponse.md create mode 100644 client/docs/PostApiExportResponse.md create mode 100644 client/docs/PostBanUserFromCommentResponse.md create mode 100644 client/docs/PostBanUserUndoResponse.md create mode 100644 client/docs/PostBulkPreBanSummaryResponse.md create mode 100644 client/docs/PostCommentsByIdsResponse.md create mode 100644 client/docs/PostFlagCommentResponse.md create mode 100644 client/docs/PostRestoreDeletedCommentResponse.md create mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md create mode 100644 client/docs/PostSetCommentReviewStatusResponse.md create mode 100644 client/docs/PostSetCommentSpamStatusResponse.md create mode 100644 client/docs/PostSetCommentTextResponse.md create mode 100644 client/docs/PostUnFlagCommentResponse.md create mode 100644 client/docs/PostVoteResponse.md create mode 100644 client/docs/PutAwardBadgeResponse.md create mode 100644 client/docs/PutCloseThreadResponse.md create mode 100644 client/docs/PutRemoveBadgeResponse.md create mode 100644 client/docs/PutReopenThreadResponse.md create mode 100644 client/docs/ReactFeedPostPublicResponse.md create mode 100644 client/docs/RenderEmailTemplateResponse1.md create mode 100644 client/docs/ReplaceTenantPackageResponse.md create mode 100644 client/docs/ReplaceTenantUserResponse.md create mode 100644 client/docs/ResetUserNotificationCountResponse.md create mode 100644 client/docs/ResetUserNotificationsResponse1.md create mode 100644 client/docs/SaveCommentResponse.md create mode 100644 client/docs/SearchUsersResponse1.md create mode 100644 client/docs/SendInviteResponse.md create mode 100644 client/docs/SendLoginLinkResponse.md create mode 100644 client/docs/SetCommentTextResponse1.md create mode 100644 client/docs/SetTrustFactorResponse.md create mode 100644 client/docs/UnBlockCommentPublicResponse.md create mode 100644 client/docs/UnBlockUserFromCommentResponse.md create mode 100644 client/docs/UnFlagCommentResponse.md create mode 100644 client/docs/UnLockCommentResponse.md create mode 100644 client/docs/UnPinCommentResponse.md create mode 100644 client/docs/UpdateCommentResponse.md create mode 100644 client/docs/UpdateEmailTemplateResponse.md create mode 100644 client/docs/UpdateFeedPostPublicResponse.md create mode 100644 client/docs/UpdateFeedPostResponse.md create mode 100644 client/docs/UpdateModeratorResponse.md create mode 100644 client/docs/UpdateNotificationResponse.md create mode 100644 client/docs/UpdateQuestionConfigResponse.md create mode 100644 client/docs/UpdateQuestionResultResponse.md create mode 100644 client/docs/UpdateTenantPackageResponse.md create mode 100644 client/docs/UpdateTenantResponse.md create mode 100644 client/docs/UpdateTenantUserResponse.md create mode 100644 client/docs/UpdateUserBadgeResponse.md create mode 100644 client/docs/VoteCommentResponse.md create mode 100644 client/src/models/add_hash_tag_response.rs create mode 100644 client/src/models/add_hash_tags_bulk_response.rs create mode 100644 client/src/models/aggregate_question_results_response_1.rs create mode 100644 client/src/models/block_from_comment_public_response.rs create mode 100644 client/src/models/block_user_from_comment_response.rs create mode 100644 client/src/models/bulk_aggregate_question_results_response_1.rs create mode 100644 client/src/models/change_ticket_state_response_1.rs create mode 100644 client/src/models/checked_comments_for_blocked_response.rs create mode 100644 client/src/models/combine_comments_with_question_results_response.rs create mode 100644 client/src/models/create_comment_public_response.rs create mode 100644 client/src/models/create_email_template_response_1.rs create mode 100644 client/src/models/create_feed_post_public_response.rs create mode 100644 client/src/models/create_feed_post_response_1.rs create mode 100644 client/src/models/create_moderator_response_1.rs create mode 100644 client/src/models/create_question_config_response_1.rs create mode 100644 client/src/models/create_question_result_response_1.rs create mode 100644 client/src/models/create_tenant_package_response_1.rs create mode 100644 client/src/models/create_tenant_response_1.rs create mode 100644 client/src/models/create_tenant_user_response_1.rs create mode 100644 client/src/models/create_ticket_response_1.rs create mode 100644 client/src/models/create_user_badge_response.rs create mode 100644 client/src/models/create_v1_page_react_response.rs create mode 100644 client/src/models/create_v2_page_react_response.rs create mode 100644 client/src/models/create_vote_response.rs create mode 100644 client/src/models/delete_comment_public_response.rs create mode 100644 client/src/models/delete_comment_response.rs create mode 100644 client/src/models/delete_comment_vote_response.rs create mode 100644 client/src/models/delete_email_template_render_error_response.rs create mode 100644 client/src/models/delete_email_template_response.rs create mode 100644 client/src/models/delete_feed_post_public_response_any_of.rs create mode 100644 client/src/models/delete_hash_tag_response.rs create mode 100644 client/src/models/delete_moderation_vote_response.rs create mode 100644 client/src/models/delete_moderator_response.rs create mode 100644 client/src/models/delete_notification_count_response.rs create mode 100644 client/src/models/delete_pending_webhook_event_response.rs create mode 100644 client/src/models/delete_question_config_response.rs create mode 100644 client/src/models/delete_question_result_response.rs create mode 100644 client/src/models/delete_tenant_package_response.rs create mode 100644 client/src/models/delete_tenant_response.rs create mode 100644 client/src/models/delete_tenant_user_response.rs create mode 100644 client/src/models/delete_user_badge_response.rs create mode 100644 client/src/models/delete_v1_page_react_response.rs create mode 100644 client/src/models/delete_v2_page_react_response.rs create mode 100644 client/src/models/delete_vote_response.rs create mode 100644 client/src/models/flag_comment_public_response.rs create mode 100644 client/src/models/flag_comment_response_1.rs create mode 100644 client/src/models/get_api_comments_response.rs create mode 100644 client/src/models/get_api_export_status_response.rs create mode 100644 client/src/models/get_api_ids_response.rs create mode 100644 client/src/models/get_audit_logs_response_1.rs create mode 100644 client/src/models/get_ban_users_from_comment_response.rs create mode 100644 client/src/models/get_cached_notification_count_response_1.rs create mode 100644 client/src/models/get_comment_ban_status_response_1.rs create mode 100644 client/src/models/get_comment_children_response.rs create mode 100644 client/src/models/get_comment_response.rs create mode 100644 client/src/models/get_comment_text_response_1.rs create mode 100644 client/src/models/get_comment_vote_user_names_response.rs create mode 100644 client/src/models/get_comments_for_user_response_1.rs create mode 100644 client/src/models/get_comments_public_response.rs create mode 100644 client/src/models/get_comments_response.rs create mode 100644 client/src/models/get_count_response.rs create mode 100644 client/src/models/get_counts_response.rs create mode 100644 client/src/models/get_email_template_definitions_response_1.rs create mode 100644 client/src/models/get_email_template_render_errors_response_1.rs create mode 100644 client/src/models/get_email_template_response_1.rs create mode 100644 client/src/models/get_email_templates_response_1.rs create mode 100644 client/src/models/get_event_log_response_1.rs create mode 100644 client/src/models/get_feed_posts_public_response.rs create mode 100644 client/src/models/get_feed_posts_response_1.rs create mode 100644 client/src/models/get_feed_posts_stats_response.rs create mode 100644 client/src/models/get_gif_large_response.rs create mode 100644 client/src/models/get_global_event_log_response.rs create mode 100644 client/src/models/get_hash_tags_response_1.rs create mode 100644 client/src/models/get_logs_response.rs create mode 100644 client/src/models/get_manual_badges_for_user_response.rs create mode 100644 client/src/models/get_manual_badges_response.rs create mode 100644 client/src/models/get_moderation_comment_response.rs create mode 100644 client/src/models/get_moderation_comment_text_response.rs create mode 100644 client/src/models/get_moderator_response_1.rs create mode 100644 client/src/models/get_moderators_response_1.rs create mode 100644 client/src/models/get_notification_count_response_1.rs create mode 100644 client/src/models/get_notifications_response_1.rs create mode 100644 client/src/models/get_offline_users_response.rs create mode 100644 client/src/models/get_online_users_response.rs create mode 100644 client/src/models/get_pages_public_response.rs create mode 100644 client/src/models/get_pending_webhook_event_count_response_1.rs create mode 100644 client/src/models/get_pending_webhook_events_response_1.rs create mode 100644 client/src/models/get_pre_ban_summary_response.rs create mode 100644 client/src/models/get_question_config_response_1.rs create mode 100644 client/src/models/get_question_configs_response_1.rs create mode 100644 client/src/models/get_question_result_response_1.rs create mode 100644 client/src/models/get_question_results_response_1.rs create mode 100644 client/src/models/get_search_comments_summary_response.rs create mode 100644 client/src/models/get_search_pages_response.rs create mode 100644 client/src/models/get_search_sites_response.rs create mode 100644 client/src/models/get_search_suggest_response.rs create mode 100644 client/src/models/get_search_users_response.rs create mode 100644 client/src/models/get_tenant_daily_usages_response_1.rs create mode 100644 client/src/models/get_tenant_package_response_1.rs create mode 100644 client/src/models/get_tenant_packages_response_1.rs create mode 100644 client/src/models/get_tenant_response_1.rs create mode 100644 client/src/models/get_tenant_user_response_1.rs create mode 100644 client/src/models/get_tenant_users_response_1.rs create mode 100644 client/src/models/get_tenants_response_1.rs create mode 100644 client/src/models/get_ticket_response_1.rs create mode 100644 client/src/models/get_tickets_response_1.rs create mode 100644 client/src/models/get_translations_response_1.rs create mode 100644 client/src/models/get_trust_factor_response.rs create mode 100644 client/src/models/get_user_badge_progress_by_id_response.rs create mode 100644 client/src/models/get_user_badge_progress_by_user_id_response.rs create mode 100644 client/src/models/get_user_badge_progress_list_response.rs create mode 100644 client/src/models/get_user_badge_response.rs create mode 100644 client/src/models/get_user_badges_response.rs create mode 100644 client/src/models/get_user_ban_preference_response.rs create mode 100644 client/src/models/get_user_internal_profile_response_1.rs create mode 100644 client/src/models/get_user_notification_count_response_1.rs create mode 100644 client/src/models/get_user_notifications_response.rs create mode 100644 client/src/models/get_user_presence_statuses_response_1.rs create mode 100644 client/src/models/get_user_reacts_public_response.rs create mode 100644 client/src/models/get_user_response_1.rs create mode 100644 client/src/models/get_users_info_response.rs create mode 100644 client/src/models/get_v1_page_likes_response.rs create mode 100644 client/src/models/get_v2_page_react_users_response_1.rs create mode 100644 client/src/models/get_v2_page_reacts_response.rs create mode 100644 client/src/models/get_votes_for_user_response_1.rs create mode 100644 client/src/models/get_votes_response_1.rs create mode 100644 client/src/models/lock_comment_response.rs create mode 100644 client/src/models/patch_hash_tag_response.rs create mode 100644 client/src/models/pin_comment_response.rs create mode 100644 client/src/models/post_adjust_comment_votes_response.rs create mode 100644 client/src/models/post_api_export_response.rs create mode 100644 client/src/models/post_ban_user_from_comment_response.rs create mode 100644 client/src/models/post_ban_user_undo_response.rs create mode 100644 client/src/models/post_bulk_pre_ban_summary_response.rs create mode 100644 client/src/models/post_comments_by_ids_response.rs create mode 100644 client/src/models/post_flag_comment_response.rs create mode 100644 client/src/models/post_restore_deleted_comment_response.rs create mode 100644 client/src/models/post_set_comment_approval_status_response.rs create mode 100644 client/src/models/post_set_comment_review_status_response.rs create mode 100644 client/src/models/post_set_comment_spam_status_response.rs create mode 100644 client/src/models/post_set_comment_text_response.rs create mode 100644 client/src/models/post_un_flag_comment_response.rs create mode 100644 client/src/models/post_vote_response.rs create mode 100644 client/src/models/put_award_badge_response.rs create mode 100644 client/src/models/put_close_thread_response.rs create mode 100644 client/src/models/put_remove_badge_response.rs create mode 100644 client/src/models/put_reopen_thread_response.rs create mode 100644 client/src/models/react_feed_post_public_response.rs create mode 100644 client/src/models/render_email_template_response_1.rs create mode 100644 client/src/models/replace_tenant_package_response.rs create mode 100644 client/src/models/replace_tenant_user_response.rs create mode 100644 client/src/models/reset_user_notification_count_response.rs create mode 100644 client/src/models/reset_user_notifications_response_1.rs create mode 100644 client/src/models/save_comment_response.rs create mode 100644 client/src/models/search_users_response_1.rs create mode 100644 client/src/models/send_invite_response.rs create mode 100644 client/src/models/send_login_link_response.rs create mode 100644 client/src/models/set_comment_text_response_1.rs create mode 100644 client/src/models/set_trust_factor_response.rs create mode 100644 client/src/models/un_block_comment_public_response.rs create mode 100644 client/src/models/un_block_user_from_comment_response.rs create mode 100644 client/src/models/un_flag_comment_response.rs create mode 100644 client/src/models/un_lock_comment_response.rs create mode 100644 client/src/models/un_pin_comment_response.rs create mode 100644 client/src/models/update_comment_response.rs create mode 100644 client/src/models/update_email_template_response.rs create mode 100644 client/src/models/update_feed_post_public_response.rs create mode 100644 client/src/models/update_feed_post_response.rs create mode 100644 client/src/models/update_moderator_response.rs create mode 100644 client/src/models/update_notification_response.rs create mode 100644 client/src/models/update_question_config_response.rs create mode 100644 client/src/models/update_question_result_response.rs create mode 100644 client/src/models/update_tenant_package_response.rs create mode 100644 client/src/models/update_tenant_response.rs create mode 100644 client/src/models/update_tenant_user_response.rs create mode 100644 client/src/models/update_user_badge_response.rs create mode 100644 client/src/models/vote_comment_response.rs diff --git a/Cargo.lock b/Cargo.lock index 87071c4..59ab6b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "fastcomments-sdk" -version = "1.3.1" +version = "2.0.0" dependencies = [ "base64", "chrono", diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index d814395..225e1d7 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -6,11 +6,14 @@ README.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md +docs/AddHashTagResponse.md +docs/AddHashTagsBulkResponse.md docs/AddPageApiResponse.md docs/AddSsoUserApiResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md +docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationApiError.md @@ -62,12 +65,15 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md +docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md +docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md +docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -77,7 +83,10 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md +docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md +docs/CheckedCommentsForBlockedResponse.md +docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHtmlRenderingMode.md @@ -97,41 +106,76 @@ docs/CreateApiPageData.md docs/CreateApiUserSubscriptionData.md docs/CreateApissoUserData.md docs/CreateCommentParams.md +docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md +docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md +docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md +docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md +docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md +docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md +docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionApiResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md +docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md +docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md +docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md +docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md +docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md +docs/CreateV1PageReactResponse.md +docs/CreateV2PageReactResponse.md +docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultApi.md docs/DeleteCommentAction.md +docs/DeleteCommentPublicResponse.md +docs/DeleteCommentResponse.md docs/DeleteCommentResult.md +docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md +docs/DeleteEmailTemplateRenderErrorResponse.md +docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md +docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md +docs/DeleteHashTagResponse.md +docs/DeleteModerationVoteResponse.md +docs/DeleteModeratorResponse.md +docs/DeleteNotificationCountResponse.md docs/DeletePageApiResponse.md +docs/DeletePendingWebhookEventResponse.md +docs/DeleteQuestionConfigResponse.md +docs/DeleteQuestionResultResponse.md docs/DeleteSsoUserApiResponse.md docs/DeleteSubscriptionApiResponse.md +docs/DeleteTenantPackageResponse.md +docs/DeleteTenantResponse.md +docs/DeleteTenantUserResponse.md +docs/DeleteUserBadgeResponse.md +docs/DeleteV1PageReactResponse.md +docs/DeleteV2PageReactResponse.md +docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -147,72 +191,154 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md +docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md +docs/FlagCommentResponse1.md +docs/GetApiCommentsResponse.md +docs/GetApiExportStatusResponse.md +docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md +docs/GetAuditLogsResponse1.md +docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md +docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md +docs/GetCommentBanStatusResponse1.md +docs/GetCommentChildrenResponse.md +docs/GetCommentResponse.md docs/GetCommentTextResponse.md +docs/GetCommentTextResponse1.md +docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md +docs/GetCommentsForUserResponse1.md +docs/GetCommentsPublicResponse.md +docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md +docs/GetCountResponse.md +docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md +docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md +docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md +docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md +docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md +docs/GetEventLogResponse1.md +docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md +docs/GetFeedPostsResponse1.md +docs/GetFeedPostsStatsResponse.md +docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md +docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md +docs/GetHashTagsResponse1.md +docs/GetLogsResponse.md +docs/GetManualBadgesForUserResponse.md +docs/GetManualBadgesResponse.md +docs/GetModerationCommentResponse.md +docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md +docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md +docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md +docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md +docs/GetNotificationsResponse1.md +docs/GetOfflineUsersResponse.md +docs/GetOnlineUsersResponse.md docs/GetPageByUrlidApiResponse.md docs/GetPagesApiResponse.md +docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md +docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md +docs/GetPendingWebhookEventsResponse1.md +docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md +docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md +docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md +docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md +docs/GetQuestionResultsResponse1.md +docs/GetSearchCommentsSummaryResponse.md +docs/GetSearchPagesResponse.md +docs/GetSearchSitesResponse.md +docs/GetSearchSuggestResponse.md +docs/GetSearchUsersResponse.md docs/GetSsoUserByEmailApiResponse.md docs/GetSsoUserByIdApiResponse.md docs/GetSsoUsersResponse.md docs/GetSubscriptionsApiResponse.md docs/GetTenantDailyUsagesResponse.md +docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md +docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md +docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md +docs/GetTenantResponse1.md docs/GetTenantUserResponse.md +docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md +docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md +docs/GetTenantsResponse1.md docs/GetTicketResponse.md +docs/GetTicketResponse1.md docs/GetTicketsResponse.md +docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md +docs/GetTranslationsResponse1.md +docs/GetTrustFactorResponse.md +docs/GetUserBadgeProgressByIdResponse.md +docs/GetUserBadgeProgressByUserIdResponse.md +docs/GetUserBadgeProgressListResponse.md +docs/GetUserBadgeResponse.md +docs/GetUserBadgesResponse.md +docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md +docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md +docs/GetUserNotificationCountResponse1.md +docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md +docs/GetUserPresenceStatusesResponse1.md +docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md +docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md +docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md +docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md +docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md +docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md +docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md +docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -227,6 +353,7 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md +docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -261,10 +388,26 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md +docs/PatchHashTagResponse.md docs/PatchPageApiResponse.md docs/PatchSsoUserApiResponse.md docs/PendingCommentToSyncOutbound.md +docs/PinCommentResponse.md +docs/PostAdjustCommentVotesResponse.md +docs/PostApiExportResponse.md +docs/PostBanUserFromCommentResponse.md +docs/PostBanUserUndoResponse.md +docs/PostBulkPreBanSummaryResponse.md +docs/PostCommentsByIdsResponse.md +docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md +docs/PostRestoreDeletedCommentResponse.md +docs/PostSetCommentApprovalStatusResponse.md +docs/PostSetCommentReviewStatusResponse.md +docs/PostSetCommentSpamStatusResponse.md +docs/PostSetCommentTextResponse.md +docs/PostUnFlagCommentResponse.md +docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -279,7 +422,11 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md +docs/PutAwardBadgeResponse.md +docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md +docs/PutRemoveBadgeResponse.md +docs/PutReopenThreadResponse.md docs/PutSsoUserApiResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -292,28 +439,40 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md +docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md +docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md +docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md +docs/ReplaceTenantUserResponse.md +docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md +docs/ResetUserNotificationsResponse1.md +docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md +docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md +docs/SendInviteResponse.md +docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md +docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md +docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDir.md @@ -324,26 +483,43 @@ docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md docs/TosConfig.md +docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md +docs/UnBlockUserFromCommentResponse.md +docs/UnFlagCommentResponse.md +docs/UnLockCommentResponse.md +docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateApiPageData.md docs/UpdateApiUserSubscriptionData.md docs/UpdateApissoUserData.md +docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md +docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md +docs/UpdateFeedPostPublicResponse.md +docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md +docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md +docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md +docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md +docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionApiResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md +docs/UpdateTenantPackageResponse.md +docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md +docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md +docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -362,6 +538,7 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md +docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseUser.md @@ -376,11 +553,14 @@ src/lib.rs src/models/add_domain_config_params.rs src/models/add_domain_config_response.rs src/models/add_domain_config_response_any_of.rs +src/models/add_hash_tag_response.rs +src/models/add_hash_tags_bulk_response.rs src/models/add_page_api_response.rs src/models/add_sso_user_api_response.rs src/models/adjust_comment_votes_params.rs src/models/adjust_votes_response.rs src/models/aggregate_question_results_response.rs +src/models/aggregate_question_results_response_1.rs src/models/aggregate_response.rs src/models/aggregate_time_bucket.rs src/models/aggregation_api_error.rs @@ -432,12 +612,15 @@ src/models/banned_user_match_matched_on_value.rs src/models/banned_user_match_type.rs src/models/billing_info.rs src/models/block_from_comment_params.rs +src/models/block_from_comment_public_response.rs src/models/block_success.rs +src/models/block_user_from_comment_response.rs src/models/build_moderation_filter_params.rs src/models/build_moderation_filter_response.rs src/models/bulk_aggregate_question_item.rs src/models/bulk_aggregate_question_results_request.rs src/models/bulk_aggregate_question_results_response.rs +src/models/bulk_aggregate_question_results_response_1.rs src/models/bulk_create_hash_tags_body.rs src/models/bulk_create_hash_tags_body_tags_inner.rs src/models/bulk_create_hash_tags_response.rs @@ -447,7 +630,10 @@ src/models/bulk_pre_ban_summary.rs src/models/change_comment_pin_status_response.rs src/models/change_ticket_state_body.rs src/models/change_ticket_state_response.rs +src/models/change_ticket_state_response_1.rs src/models/check_blocked_comments_response.rs +src/models/checked_comments_for_blocked_response.rs +src/models/combine_comments_with_question_results_response.rs src/models/combine_question_results_with_comments_response.rs src/models/comment_data.rs src/models/comment_html_rendering_mode.rs @@ -467,40 +653,75 @@ src/models/create_api_page_data.rs src/models/create_api_user_subscription_data.rs src/models/create_apisso_user_data.rs src/models/create_comment_params.rs +src/models/create_comment_public_response.rs src/models/create_email_template_body.rs src/models/create_email_template_response.rs +src/models/create_email_template_response_1.rs src/models/create_feed_post_params.rs +src/models/create_feed_post_public_response.rs src/models/create_feed_post_response.rs +src/models/create_feed_post_response_1.rs src/models/create_feed_posts_response.rs src/models/create_hash_tag_body.rs src/models/create_hash_tag_response.rs src/models/create_moderator_body.rs src/models/create_moderator_response.rs +src/models/create_moderator_response_1.rs src/models/create_question_config_body.rs src/models/create_question_config_response.rs +src/models/create_question_config_response_1.rs src/models/create_question_result_body.rs src/models/create_question_result_response.rs +src/models/create_question_result_response_1.rs src/models/create_subscription_api_response.rs src/models/create_tenant_body.rs src/models/create_tenant_package_body.rs src/models/create_tenant_package_response.rs +src/models/create_tenant_package_response_1.rs src/models/create_tenant_response.rs +src/models/create_tenant_response_1.rs src/models/create_tenant_user_body.rs src/models/create_tenant_user_response.rs +src/models/create_tenant_user_response_1.rs src/models/create_ticket_body.rs src/models/create_ticket_response.rs +src/models/create_ticket_response_1.rs src/models/create_user_badge_params.rs +src/models/create_user_badge_response.rs src/models/create_v1_page_react.rs +src/models/create_v1_page_react_response.rs +src/models/create_v2_page_react_response.rs +src/models/create_vote_response.rs src/models/custom_config_parameters.rs src/models/custom_email_template.rs src/models/delete_comment_action.rs +src/models/delete_comment_public_response.rs +src/models/delete_comment_response.rs src/models/delete_comment_result.rs +src/models/delete_comment_vote_response.rs src/models/delete_domain_config_response.rs +src/models/delete_email_template_render_error_response.rs +src/models/delete_email_template_response.rs src/models/delete_feed_post_public_response.rs +src/models/delete_feed_post_public_response_any_of.rs src/models/delete_hash_tag_request_body.rs +src/models/delete_hash_tag_response.rs +src/models/delete_moderation_vote_response.rs +src/models/delete_moderator_response.rs +src/models/delete_notification_count_response.rs src/models/delete_page_api_response.rs +src/models/delete_pending_webhook_event_response.rs +src/models/delete_question_config_response.rs +src/models/delete_question_result_response.rs src/models/delete_sso_user_api_response.rs src/models/delete_subscription_api_response.rs +src/models/delete_tenant_package_response.rs +src/models/delete_tenant_response.rs +src/models/delete_tenant_user_response.rs +src/models/delete_user_badge_response.rs +src/models/delete_v1_page_react_response.rs +src/models/delete_v2_page_react_response.rs +src/models/delete_vote_response.rs src/models/deleted_comment_result_comment.rs src/models/digest_email_frequency.rs src/models/email_template_definition.rs @@ -516,72 +737,154 @@ src/models/feed_post_stats.rs src/models/feed_posts_stats_response.rs src/models/find_comments_by_range_item.rs src/models/find_comments_by_range_response.rs +src/models/flag_comment_public_response.rs src/models/flag_comment_response.rs +src/models/flag_comment_response_1.rs +src/models/get_api_comments_response.rs +src/models/get_api_export_status_response.rs +src/models/get_api_ids_response.rs src/models/get_audit_logs_response.rs +src/models/get_audit_logs_response_1.rs +src/models/get_ban_users_from_comment_response.rs src/models/get_banned_users_count_response.rs src/models/get_banned_users_from_comment_response.rs src/models/get_cached_notification_count_response.rs +src/models/get_cached_notification_count_response_1.rs src/models/get_comment_ban_status_response.rs +src/models/get_comment_ban_status_response_1.rs +src/models/get_comment_children_response.rs +src/models/get_comment_response.rs src/models/get_comment_text_response.rs +src/models/get_comment_text_response_1.rs +src/models/get_comment_vote_user_names_response.rs src/models/get_comment_vote_user_names_success_response.rs src/models/get_comments_for_user_response.rs +src/models/get_comments_for_user_response_1.rs +src/models/get_comments_public_response.rs +src/models/get_comments_response.rs src/models/get_comments_response_public_comment_.rs src/models/get_comments_response_with_presence_public_comment_.rs +src/models/get_count_response.rs +src/models/get_counts_response.rs src/models/get_domain_config_response.rs src/models/get_domain_configs_response.rs src/models/get_domain_configs_response_any_of.rs src/models/get_domain_configs_response_any_of_1.rs src/models/get_email_template_definitions_response.rs +src/models/get_email_template_definitions_response_1.rs src/models/get_email_template_render_errors_response.rs +src/models/get_email_template_render_errors_response_1.rs src/models/get_email_template_response.rs +src/models/get_email_template_response_1.rs src/models/get_email_templates_response.rs +src/models/get_email_templates_response_1.rs src/models/get_event_log_response.rs +src/models/get_event_log_response_1.rs +src/models/get_feed_posts_public_response.rs src/models/get_feed_posts_response.rs +src/models/get_feed_posts_response_1.rs +src/models/get_feed_posts_stats_response.rs +src/models/get_gif_large_response.rs src/models/get_gifs_search_response.rs src/models/get_gifs_trending_response.rs +src/models/get_global_event_log_response.rs src/models/get_hash_tags_response.rs +src/models/get_hash_tags_response_1.rs +src/models/get_logs_response.rs +src/models/get_manual_badges_for_user_response.rs +src/models/get_manual_badges_response.rs +src/models/get_moderation_comment_response.rs +src/models/get_moderation_comment_text_response.rs src/models/get_moderator_response.rs +src/models/get_moderator_response_1.rs src/models/get_moderators_response.rs +src/models/get_moderators_response_1.rs src/models/get_my_notifications_response.rs src/models/get_notification_count_response.rs +src/models/get_notification_count_response_1.rs src/models/get_notifications_response.rs +src/models/get_notifications_response_1.rs +src/models/get_offline_users_response.rs +src/models/get_online_users_response.rs src/models/get_page_by_urlid_api_response.rs src/models/get_pages_api_response.rs +src/models/get_pages_public_response.rs src/models/get_pending_webhook_event_count_response.rs +src/models/get_pending_webhook_event_count_response_1.rs src/models/get_pending_webhook_events_response.rs +src/models/get_pending_webhook_events_response_1.rs +src/models/get_pre_ban_summary_response.rs src/models/get_public_feed_posts_response.rs src/models/get_public_pages_response.rs src/models/get_question_config_response.rs +src/models/get_question_config_response_1.rs src/models/get_question_configs_response.rs +src/models/get_question_configs_response_1.rs src/models/get_question_result_response.rs +src/models/get_question_result_response_1.rs src/models/get_question_results_response.rs +src/models/get_question_results_response_1.rs +src/models/get_search_comments_summary_response.rs +src/models/get_search_pages_response.rs +src/models/get_search_sites_response.rs +src/models/get_search_suggest_response.rs +src/models/get_search_users_response.rs src/models/get_sso_user_by_email_api_response.rs src/models/get_sso_user_by_id_api_response.rs src/models/get_sso_users_response.rs src/models/get_subscriptions_api_response.rs src/models/get_tenant_daily_usages_response.rs +src/models/get_tenant_daily_usages_response_1.rs src/models/get_tenant_manual_badges_response.rs src/models/get_tenant_package_response.rs +src/models/get_tenant_package_response_1.rs src/models/get_tenant_packages_response.rs +src/models/get_tenant_packages_response_1.rs src/models/get_tenant_response.rs +src/models/get_tenant_response_1.rs src/models/get_tenant_user_response.rs +src/models/get_tenant_user_response_1.rs src/models/get_tenant_users_response.rs +src/models/get_tenant_users_response_1.rs src/models/get_tenants_response.rs +src/models/get_tenants_response_1.rs src/models/get_ticket_response.rs +src/models/get_ticket_response_1.rs src/models/get_tickets_response.rs +src/models/get_tickets_response_1.rs src/models/get_translations_response.rs +src/models/get_translations_response_1.rs +src/models/get_trust_factor_response.rs +src/models/get_user_badge_progress_by_id_response.rs +src/models/get_user_badge_progress_by_user_id_response.rs +src/models/get_user_badge_progress_list_response.rs +src/models/get_user_badge_response.rs +src/models/get_user_badges_response.rs +src/models/get_user_ban_preference_response.rs src/models/get_user_internal_profile_response.rs +src/models/get_user_internal_profile_response_1.rs src/models/get_user_internal_profile_response_profile.rs src/models/get_user_manual_badges_response.rs src/models/get_user_notification_count_response.rs +src/models/get_user_notification_count_response_1.rs +src/models/get_user_notifications_response.rs src/models/get_user_presence_statuses_response.rs +src/models/get_user_presence_statuses_response_1.rs +src/models/get_user_reacts_public_response.rs src/models/get_user_response.rs +src/models/get_user_response_1.rs src/models/get_user_trust_factor_response.rs +src/models/get_users_info_response.rs src/models/get_v1_page_likes.rs +src/models/get_v1_page_likes_response.rs src/models/get_v2_page_react_users_response.rs +src/models/get_v2_page_react_users_response_1.rs src/models/get_v2_page_reacts.rs +src/models/get_v2_page_reacts_response.rs src/models/get_votes_for_user_response.rs +src/models/get_votes_for_user_response_1.rs src/models/get_votes_response.rs +src/models/get_votes_response_1.rs src/models/gif_get_large_response.rs src/models/gif_rating.rs src/models/gif_search_internal_error.rs @@ -596,6 +899,7 @@ src/models/imported_site_type.rs src/models/live_event.rs src/models/live_event_extra_info.rs src/models/live_event_type.rs +src/models/lock_comment_response.rs src/models/media_asset.rs src/models/mention_auto_complete_mode.rs src/models/meta_item.rs @@ -630,10 +934,26 @@ src/models/page_users_online_response.rs src/models/pages_sort_by.rs src/models/patch_domain_config_params.rs src/models/patch_domain_config_response.rs +src/models/patch_hash_tag_response.rs src/models/patch_page_api_response.rs src/models/patch_sso_user_api_response.rs src/models/pending_comment_to_sync_outbound.rs +src/models/pin_comment_response.rs +src/models/post_adjust_comment_votes_response.rs +src/models/post_api_export_response.rs +src/models/post_ban_user_from_comment_response.rs +src/models/post_ban_user_undo_response.rs +src/models/post_bulk_pre_ban_summary_response.rs +src/models/post_comments_by_ids_response.rs +src/models/post_flag_comment_response.rs src/models/post_remove_comment_response.rs +src/models/post_restore_deleted_comment_response.rs +src/models/post_set_comment_approval_status_response.rs +src/models/post_set_comment_review_status_response.rs +src/models/post_set_comment_spam_status_response.rs +src/models/post_set_comment_text_response.rs +src/models/post_un_flag_comment_response.rs +src/models/post_vote_response.rs src/models/pre_ban_summary.rs src/models/pub_sub_comment.rs src/models/pub_sub_comment_base.rs @@ -647,7 +967,11 @@ src/models/public_comment_base.rs src/models/public_feed_posts_response.rs src/models/public_page.rs src/models/public_vote.rs +src/models/put_award_badge_response.rs +src/models/put_close_thread_response.rs src/models/put_domain_config_response.rs +src/models/put_remove_badge_response.rs +src/models/put_reopen_thread_response.rs src/models/put_sso_user_api_response.rs src/models/query_predicate.rs src/models/query_predicate_value.rs @@ -660,28 +984,40 @@ src/models/question_result_aggregation_overall.rs src/models/question_sub_question_visibility.rs src/models/question_when_save.rs src/models/react_body_params.rs +src/models/react_feed_post_public_response.rs src/models/react_feed_post_response.rs src/models/record_string__before_string_or_null__after_string_or_null___value.rs src/models/remove_comment_action_response.rs src/models/remove_user_badge_response.rs src/models/render_email_template_body.rs src/models/render_email_template_response.rs +src/models/render_email_template_response_1.rs src/models/renderable_user_notification.rs src/models/repeat_comment_check_ignored_reason.rs src/models/repeat_comment_handling_action.rs src/models/replace_tenant_package_body.rs +src/models/replace_tenant_package_response.rs src/models/replace_tenant_user_body.rs +src/models/replace_tenant_user_response.rs +src/models/reset_user_notification_count_response.rs src/models/reset_user_notifications_response.rs +src/models/reset_user_notifications_response_1.rs +src/models/save_comment_response.rs src/models/save_comment_response_optimized.rs src/models/save_comments_bulk_response.rs src/models/save_comments_response_with_presence.rs src/models/search_users_response.rs +src/models/search_users_response_1.rs src/models/search_users_result.rs src/models/search_users_sectioned_response.rs +src/models/send_invite_response.rs +src/models/send_login_link_response.rs src/models/set_comment_approved_response.rs src/models/set_comment_text_params.rs src/models/set_comment_text_response.rs +src/models/set_comment_text_response_1.rs src/models/set_comment_text_result.rs +src/models/set_trust_factor_response.rs src/models/set_user_trust_factor_response.rs src/models/size_preset.rs src/models/sort_dir.rs @@ -692,26 +1028,43 @@ src/models/tenant_badge.rs src/models/tenant_hash_tag.rs src/models/tenant_package.rs src/models/tos_config.rs +src/models/un_block_comment_public_response.rs src/models/un_block_from_comment_params.rs +src/models/un_block_user_from_comment_response.rs +src/models/un_flag_comment_response.rs +src/models/un_lock_comment_response.rs +src/models/un_pin_comment_response.rs src/models/unblock_success.rs src/models/updatable_comment_params.rs src/models/update_api_page_data.rs src/models/update_api_user_subscription_data.rs src/models/update_apisso_user_data.rs +src/models/update_comment_response.rs src/models/update_domain_config_params.rs src/models/update_email_template_body.rs +src/models/update_email_template_response.rs src/models/update_feed_post_params.rs +src/models/update_feed_post_public_response.rs +src/models/update_feed_post_response.rs src/models/update_hash_tag_body.rs src/models/update_hash_tag_response.rs src/models/update_moderator_body.rs +src/models/update_moderator_response.rs src/models/update_notification_body.rs +src/models/update_notification_response.rs src/models/update_question_config_body.rs +src/models/update_question_config_response.rs src/models/update_question_result_body.rs +src/models/update_question_result_response.rs src/models/update_subscription_api_response.rs src/models/update_tenant_body.rs src/models/update_tenant_package_body.rs +src/models/update_tenant_package_response.rs +src/models/update_tenant_response.rs src/models/update_tenant_user_body.rs +src/models/update_tenant_user_response.rs src/models/update_user_badge_params.rs +src/models/update_user_badge_response.rs src/models/update_user_notification_comment_subscription_status_response.rs src/models/update_user_notification_page_subscription_status_response.rs src/models/update_user_notification_status_response.rs @@ -730,6 +1083,7 @@ src/models/user_search_section_result.rs src/models/user_session_info.rs src/models/users_list_location.rs src/models/vote_body_params.rs +src/models/vote_comment_response.rs src/models/vote_delete_response.rs src/models/vote_response.rs src/models/vote_response_user.rs diff --git a/client/README.md b/client/README.md index f2ee83d..87bb118 100644 --- a/client/README.md +++ b/client/README.md @@ -8,7 +8,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 0.0.0 -- Package version: 1.3.1 +- Package version: 2.0.0 - Generator version: 7.23.0-SNAPSHOT - Build package: `org.openapitools.codegen.languages.RustClientCodegen` @@ -242,11 +242,14 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) + - [AddHashTagResponse](docs/AddHashTagResponse.md) + - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageApiResponse](docs/AddPageApiResponse.md) - [AddSsoUserApiResponse](docs/AddSsoUserApiResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) + - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationApiError](docs/AggregationApiError.md) @@ -298,12 +301,15 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) + - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) + - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) + - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -313,7 +319,10 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) + - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) + - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) + - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHtmlRenderingMode](docs/CommentHtmlRenderingMode.md) @@ -333,40 +342,75 @@ Class | Method | HTTP request | Description - [CreateApiUserSubscriptionData](docs/CreateApiUserSubscriptionData.md) - [CreateApissoUserData](docs/CreateApissoUserData.md) - [CreateCommentParams](docs/CreateCommentParams.md) + - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) + - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) + - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) + - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) + - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) + - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) + - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionApiResponse](docs/CreateSubscriptionApiResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) + - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) + - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) + - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) + - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) + - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) + - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) + - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) + - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) + - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) + - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) + - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) + - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) + - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) + - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) + - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) + - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) + - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) + - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageApiResponse](docs/DeletePageApiResponse.md) + - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) + - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) + - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSsoUserApiResponse](docs/DeleteSsoUserApiResponse.md) - [DeleteSubscriptionApiResponse](docs/DeleteSubscriptionApiResponse.md) + - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) + - [DeleteTenantResponse](docs/DeleteTenantResponse.md) + - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) + - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) + - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) + - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) + - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -382,72 +426,154 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) + - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) + - [FlagCommentResponse1](docs/FlagCommentResponse1.md) + - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) + - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) + - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) + - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) + - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) + - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) + - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) + - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) + - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) + - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) + - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) + - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) + - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) + - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) + - [GetCountResponse](docs/GetCountResponse.md) + - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) + - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) + - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) + - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) + - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) + - [GetEventLogResponse1](docs/GetEventLogResponse1.md) + - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) + - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) + - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) + - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) + - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) + - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) + - [GetLogsResponse](docs/GetLogsResponse.md) + - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) + - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) + - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) + - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) + - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) + - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) + - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) + - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) + - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) + - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByUrlidApiResponse](docs/GetPageByUrlidApiResponse.md) - [GetPagesApiResponse](docs/GetPagesApiResponse.md) + - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) + - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) + - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) + - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) + - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) + - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) + - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) + - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) + - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) + - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) + - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) + - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) + - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSsoUserByEmailApiResponse](docs/GetSsoUserByEmailApiResponse.md) - [GetSsoUserByIdApiResponse](docs/GetSsoUserByIdApiResponse.md) - [GetSsoUsersResponse](docs/GetSsoUsersResponse.md) - [GetSubscriptionsApiResponse](docs/GetSubscriptionsApiResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) + - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) + - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) + - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) + - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) + - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) + - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) + - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) + - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) + - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) + - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) + - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) + - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) + - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) + - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) + - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) + - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) + - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) + - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) + - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) + - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) + - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) + - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) + - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) + - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) + - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) + - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) + - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) + - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) + - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -462,6 +588,7 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) + - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -495,10 +622,26 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) + - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageApiResponse](docs/PatchPageApiResponse.md) - [PatchSsoUserApiResponse](docs/PatchSsoUserApiResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) + - [PinCommentResponse](docs/PinCommentResponse.md) + - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) + - [PostApiExportResponse](docs/PostApiExportResponse.md) + - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) + - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) + - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) + - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) + - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) + - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) + - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) + - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) + - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) + - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) + - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -512,7 +655,11 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) + - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) + - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) + - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) + - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSsoUserApiResponse](docs/PutSsoUserApiResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -525,28 +672,40 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) + - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) + - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) + - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) + - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) + - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) + - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) + - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) + - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) + - [SendInviteResponse](docs/SendInviteResponse.md) + - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) + - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) + - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDir](docs/SortDir.md) @@ -557,26 +716,43 @@ Class | Method | HTTP request | Description - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) - [TosConfig](docs/TosConfig.md) + - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) + - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) + - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) + - [UnLockCommentResponse](docs/UnLockCommentResponse.md) + - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateApiPageData](docs/UpdateApiPageData.md) - [UpdateApiUserSubscriptionData](docs/UpdateApiUserSubscriptionData.md) - [UpdateApissoUserData](docs/UpdateApissoUserData.md) + - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) + - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) + - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) + - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) + - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) + - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) + - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) + - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionApiResponse](docs/UpdateSubscriptionApiResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) + - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) + - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) + - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) + - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -595,6 +771,7 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) + - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseUser](docs/VoteResponseUser.md) diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md new file mode 100644 index 0000000..cd757d8 --- /dev/null +++ b/client/docs/AddHashTagResponse.md @@ -0,0 +1,19 @@ +# AddHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**hash_tag** | Option<[**models::TenantHashTag**](TenantHashTag.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md new file mode 100644 index 0000000..77d6414 --- /dev/null +++ b/client/docs/AddHashTagsBulkResponse.md @@ -0,0 +1,19 @@ +# AddHashTagsBulkResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**results** | Option<[**Vec**](BulkCreateHashTagsResponseResultsInner.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..d5e97e0 --- /dev/null +++ b/client/docs/AggregateQuestionResultsResponse1.md @@ -0,0 +1,19 @@ +# AggregateQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**data** | Option<[**models::QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md new file mode 100644 index 0000000..a878064 --- /dev/null +++ b/client/docs/BlockFromCommentPublicResponse.md @@ -0,0 +1,19 @@ +# BlockFromCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md new file mode 100644 index 0000000..b062cbe --- /dev/null +++ b/client/docs/BlockUserFromCommentResponse.md @@ -0,0 +1,19 @@ +# BlockUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..18e2acc --- /dev/null +++ b/client/docs/BulkAggregateQuestionResultsResponse1.md @@ -0,0 +1,19 @@ +# BulkAggregateQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**data** | Option<[**std::collections::HashMap**](QuestionResultAggregationOverall.md)> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md new file mode 100644 index 0000000..e9d81bc --- /dev/null +++ b/client/docs/ChangeTicketStateResponse1.md @@ -0,0 +1,19 @@ +# ChangeTicketStateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**ticket** | Option<[**models::ApiTicket**](APITicket.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md new file mode 100644 index 0000000..7da7f5d --- /dev/null +++ b/client/docs/CheckedCommentsForBlockedResponse.md @@ -0,0 +1,19 @@ +# CheckedCommentsForBlockedResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md new file mode 100644 index 0000000..435c350 --- /dev/null +++ b/client/docs/CombineCommentsWithQuestionResultsResponse.md @@ -0,0 +1,19 @@ +# CombineCommentsWithQuestionResultsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**data** | Option<[**models::FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md new file mode 100644 index 0000000..598b2c0 --- /dev/null +++ b/client/docs/CreateCommentPublicResponse.md @@ -0,0 +1,22 @@ +# CreateCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment** | Option<[**models::PublicComment**](PublicComment.md)> | | [optional] +**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] +**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**user_id_ws** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md new file mode 100644 index 0000000..cb3b398 --- /dev/null +++ b/client/docs/CreateEmailTemplateResponse1.md @@ -0,0 +1,19 @@ +# CreateEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**email_template** | Option<[**models::CustomEmailTemplate**](CustomEmailTemplate.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md new file mode 100644 index 0000000..324942d --- /dev/null +++ b/client/docs/CreateFeedPostPublicResponse.md @@ -0,0 +1,19 @@ +# CreateFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md new file mode 100644 index 0000000..57b68ac --- /dev/null +++ b/client/docs/CreateFeedPostResponse1.md @@ -0,0 +1,19 @@ +# CreateFeedPostResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md new file mode 100644 index 0000000..80cd825 --- /dev/null +++ b/client/docs/CreateModeratorResponse1.md @@ -0,0 +1,19 @@ +# CreateModeratorResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**moderator** | Option<[**models::Moderator**](Moderator.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md new file mode 100644 index 0000000..d45e123 --- /dev/null +++ b/client/docs/CreateQuestionConfigResponse1.md @@ -0,0 +1,19 @@ +# CreateQuestionConfigResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_config** | Option<[**models::QuestionConfig**](QuestionConfig.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md new file mode 100644 index 0000000..55f3cbc --- /dev/null +++ b/client/docs/CreateQuestionResultResponse1.md @@ -0,0 +1,19 @@ +# CreateQuestionResultResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_result** | Option<[**models::QuestionResult**](QuestionResult.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md new file mode 100644 index 0000000..5e15cb3 --- /dev/null +++ b/client/docs/CreateTenantPackageResponse1.md @@ -0,0 +1,19 @@ +# CreateTenantPackageResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_package** | Option<[**models::TenantPackage**](TenantPackage.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md new file mode 100644 index 0000000..c0e3d4e --- /dev/null +++ b/client/docs/CreateTenantResponse1.md @@ -0,0 +1,19 @@ +# CreateTenantResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant** | Option<[**models::ApiTenant**](APITenant.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md new file mode 100644 index 0000000..6a68ffb --- /dev/null +++ b/client/docs/CreateTenantUserResponse1.md @@ -0,0 +1,19 @@ +# CreateTenantUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_user** | Option<[**models::User**](User.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md new file mode 100644 index 0000000..0102caf --- /dev/null +++ b/client/docs/CreateTicketResponse1.md @@ -0,0 +1,19 @@ +# CreateTicketResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**ticket** | Option<[**models::ApiTicket**](APITicket.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md new file mode 100644 index 0000000..5ec5c05 --- /dev/null +++ b/client/docs/CreateUserBadgeResponse.md @@ -0,0 +1,20 @@ +# CreateUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badge** | Option<[**models::UserBadge**](UserBadge.md)> | | [optional] +**notes** | Option<**Vec**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md new file mode 100644 index 0000000..fe589d6 --- /dev/null +++ b/client/docs/CreateV1PageReactResponse.md @@ -0,0 +1,18 @@ +# CreateV1PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md new file mode 100644 index 0000000..3a73159 --- /dev/null +++ b/client/docs/CreateV2PageReactResponse.md @@ -0,0 +1,18 @@ +# CreateV2PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md new file mode 100644 index 0000000..6795284 --- /dev/null +++ b/client/docs/CreateVoteResponse.md @@ -0,0 +1,22 @@ +# CreateVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**vote_id** | Option<**String**> | | [optional] +**is_verified** | Option<**bool**> | | [optional] +**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] +**edit_key** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md index 91abd85..2f1d92e 100644 --- a/client/docs/DefaultApi.md +++ b/client/docs/DefaultApi.md @@ -152,7 +152,7 @@ Name | Type | Description | Required | Notes ## add_hash_tag -> models::CreateHashTagResponse add_hash_tag(tenant_id, create_hash_tag_body) +> models::AddHashTagResponse add_hash_tag(tenant_id, create_hash_tag_body) ### Parameters @@ -165,7 +165,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateHashTagResponse**](CreateHashTagResponse.md) +[**models::AddHashTagResponse**](AddHashTagResponse.md) ### Authorization @@ -181,7 +181,7 @@ Name | Type | Description | Required | Notes ## add_hash_tags_bulk -> models::BulkCreateHashTagsResponse add_hash_tags_bulk(tenant_id, bulk_create_hash_tags_body) +> models::AddHashTagsBulkResponse add_hash_tags_bulk(tenant_id, bulk_create_hash_tags_body) ### Parameters @@ -194,7 +194,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) +[**models::AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) ### Authorization @@ -301,7 +301,7 @@ Name | Type | Description | Required | Notes ## aggregate_question_results -> models::AggregateQuestionResultsResponse aggregate_question_results(tenant_id, question_id, question_ids, url_id, time_bucket, start_date, force_recalculate) +> models::AggregateQuestionResultsResponse1 aggregate_question_results(tenant_id, question_id, question_ids, url_id, time_bucket, start_date, force_recalculate) ### Parameters @@ -319,7 +319,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) +[**models::AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse_1.md) ### Authorization @@ -335,7 +335,7 @@ Name | Type | Description | Required | Notes ## block_user_from_comment -> models::BlockSuccess block_user_from_comment(tenant_id, id, block_from_comment_params, user_id, anon_user_id) +> models::BlockUserFromCommentResponse block_user_from_comment(tenant_id, id, block_from_comment_params, user_id, anon_user_id) ### Parameters @@ -351,7 +351,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BlockSuccess**](BlockSuccess.md) +[**models::BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) ### Authorization @@ -367,7 +367,7 @@ Name | Type | Description | Required | Notes ## bulk_aggregate_question_results -> models::BulkAggregateQuestionResultsResponse bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, force_recalculate) +> models::BulkAggregateQuestionResultsResponse1 bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, force_recalculate) ### Parameters @@ -381,7 +381,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) +[**models::BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse_1.md) ### Authorization @@ -397,7 +397,7 @@ Name | Type | Description | Required | Notes ## change_ticket_state -> models::ChangeTicketStateResponse change_ticket_state(tenant_id, user_id, id, change_ticket_state_body) +> models::ChangeTicketStateResponse1 change_ticket_state(tenant_id, user_id, id, change_ticket_state_body) ### Parameters @@ -412,7 +412,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ChangeTicketStateResponse**](ChangeTicketStateResponse.md) +[**models::ChangeTicketStateResponse1**](ChangeTicketStateResponse_1.md) ### Authorization @@ -428,7 +428,7 @@ Name | Type | Description | Required | Notes ## combine_comments_with_question_results -> models::CombineQuestionResultsWithCommentsResponse combine_comments_with_question_results(tenant_id, question_id, question_ids, url_id, start_date, force_recalculate, min_value, max_value, limit) +> models::CombineCommentsWithQuestionResultsResponse combine_comments_with_question_results(tenant_id, question_id, question_ids, url_id, start_date, force_recalculate, min_value, max_value, limit) ### Parameters @@ -448,7 +448,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) +[**models::CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) ### Authorization @@ -464,7 +464,7 @@ Name | Type | Description | Required | Notes ## create_email_template -> models::CreateEmailTemplateResponse create_email_template(tenant_id, create_email_template_body) +> models::CreateEmailTemplateResponse1 create_email_template(tenant_id, create_email_template_body) ### Parameters @@ -477,7 +477,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) +[**models::CreateEmailTemplateResponse1**](CreateEmailTemplateResponse_1.md) ### Authorization @@ -493,7 +493,7 @@ Name | Type | Description | Required | Notes ## create_feed_post -> models::CreateFeedPostsResponse create_feed_post(tenant_id, create_feed_post_params, broadcast_id, is_live, do_spam_check, skip_dup_check) +> models::CreateFeedPostResponse1 create_feed_post(tenant_id, create_feed_post_params, broadcast_id, is_live, do_spam_check, skip_dup_check) ### Parameters @@ -510,7 +510,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateFeedPostsResponse**](CreateFeedPostsResponse.md) +[**models::CreateFeedPostResponse1**](CreateFeedPostResponse_1.md) ### Authorization @@ -526,7 +526,7 @@ Name | Type | Description | Required | Notes ## create_moderator -> models::CreateModeratorResponse create_moderator(tenant_id, create_moderator_body) +> models::CreateModeratorResponse1 create_moderator(tenant_id, create_moderator_body) ### Parameters @@ -539,7 +539,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateModeratorResponse**](CreateModeratorResponse.md) +[**models::CreateModeratorResponse1**](CreateModeratorResponse_1.md) ### Authorization @@ -555,7 +555,7 @@ Name | Type | Description | Required | Notes ## create_question_config -> models::CreateQuestionConfigResponse create_question_config(tenant_id, create_question_config_body) +> models::CreateQuestionConfigResponse1 create_question_config(tenant_id, create_question_config_body) ### Parameters @@ -568,7 +568,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) +[**models::CreateQuestionConfigResponse1**](CreateQuestionConfigResponse_1.md) ### Authorization @@ -584,7 +584,7 @@ Name | Type | Description | Required | Notes ## create_question_result -> models::CreateQuestionResultResponse create_question_result(tenant_id, create_question_result_body) +> models::CreateQuestionResultResponse1 create_question_result(tenant_id, create_question_result_body) ### Parameters @@ -597,7 +597,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateQuestionResultResponse**](CreateQuestionResultResponse.md) +[**models::CreateQuestionResultResponse1**](CreateQuestionResultResponse_1.md) ### Authorization @@ -642,7 +642,7 @@ Name | Type | Description | Required | Notes ## create_tenant -> models::CreateTenantResponse create_tenant(tenant_id, create_tenant_body) +> models::CreateTenantResponse1 create_tenant(tenant_id, create_tenant_body) ### Parameters @@ -655,7 +655,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantResponse**](CreateTenantResponse.md) +[**models::CreateTenantResponse1**](CreateTenantResponse_1.md) ### Authorization @@ -671,7 +671,7 @@ Name | Type | Description | Required | Notes ## create_tenant_package -> models::CreateTenantPackageResponse create_tenant_package(tenant_id, create_tenant_package_body) +> models::CreateTenantPackageResponse1 create_tenant_package(tenant_id, create_tenant_package_body) ### Parameters @@ -684,7 +684,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantPackageResponse**](CreateTenantPackageResponse.md) +[**models::CreateTenantPackageResponse1**](CreateTenantPackageResponse_1.md) ### Authorization @@ -700,7 +700,7 @@ Name | Type | Description | Required | Notes ## create_tenant_user -> models::CreateTenantUserResponse create_tenant_user(tenant_id, create_tenant_user_body) +> models::CreateTenantUserResponse1 create_tenant_user(tenant_id, create_tenant_user_body) ### Parameters @@ -713,7 +713,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantUserResponse**](CreateTenantUserResponse.md) +[**models::CreateTenantUserResponse1**](CreateTenantUserResponse_1.md) ### Authorization @@ -729,7 +729,7 @@ Name | Type | Description | Required | Notes ## create_ticket -> models::CreateTicketResponse create_ticket(tenant_id, user_id, create_ticket_body) +> models::CreateTicketResponse1 create_ticket(tenant_id, user_id, create_ticket_body) ### Parameters @@ -743,7 +743,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTicketResponse**](CreateTicketResponse.md) +[**models::CreateTicketResponse1**](CreateTicketResponse_1.md) ### Authorization @@ -759,7 +759,7 @@ Name | Type | Description | Required | Notes ## create_user_badge -> models::ApiCreateUserBadgeResponse create_user_badge(tenant_id, create_user_badge_params) +> models::CreateUserBadgeResponse create_user_badge(tenant_id, create_user_badge_params) ### Parameters @@ -772,7 +772,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiCreateUserBadgeResponse**](APICreateUserBadgeResponse.md) +[**models::CreateUserBadgeResponse**](CreateUserBadgeResponse.md) ### Authorization @@ -788,7 +788,7 @@ Name | Type | Description | Required | Notes ## create_vote -> models::VoteResponse create_vote(tenant_id, comment_id, direction, user_id, anon_user_id) +> models::CreateVoteResponse create_vote(tenant_id, comment_id, direction, user_id, anon_user_id) ### Parameters @@ -804,7 +804,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::VoteResponse**](VoteResponse.md) +[**models::CreateVoteResponse**](CreateVoteResponse.md) ### Authorization @@ -820,7 +820,7 @@ Name | Type | Description | Required | Notes ## delete_comment -> models::DeleteCommentResult delete_comment(tenant_id, id, context_user_id, is_live) +> models::DeleteCommentResponse delete_comment(tenant_id, id, context_user_id, is_live) ### Parameters @@ -835,7 +835,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteCommentResult**](DeleteCommentResult.md) +[**models::DeleteCommentResponse**](DeleteCommentResponse.md) ### Authorization @@ -880,7 +880,7 @@ Name | Type | Description | Required | Notes ## delete_email_template -> models::ApiEmptyResponse delete_email_template(tenant_id, id) +> models::DeleteEmailTemplateResponse delete_email_template(tenant_id, id) ### Parameters @@ -893,7 +893,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) ### Authorization @@ -909,7 +909,7 @@ Name | Type | Description | Required | Notes ## delete_email_template_render_error -> models::ApiEmptyResponse delete_email_template_render_error(tenant_id, id, error_id) +> models::DeleteEmailTemplateRenderErrorResponse delete_email_template_render_error(tenant_id, id, error_id) ### Parameters @@ -923,7 +923,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) ### Authorization @@ -939,7 +939,7 @@ Name | Type | Description | Required | Notes ## delete_hash_tag -> models::ApiEmptyResponse delete_hash_tag(tag, tenant_id, delete_hash_tag_request_body) +> models::DeleteHashTagResponse delete_hash_tag(tag, tenant_id, delete_hash_tag_request_body) ### Parameters @@ -953,7 +953,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteHashTagResponse**](DeleteHashTagResponse.md) ### Authorization @@ -969,7 +969,7 @@ Name | Type | Description | Required | Notes ## delete_moderator -> models::ApiEmptyResponse delete_moderator(tenant_id, id, send_email) +> models::DeleteModeratorResponse delete_moderator(tenant_id, id, send_email) ### Parameters @@ -983,7 +983,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteModeratorResponse**](DeleteModeratorResponse.md) ### Authorization @@ -999,7 +999,7 @@ Name | Type | Description | Required | Notes ## delete_notification_count -> models::ApiEmptyResponse delete_notification_count(tenant_id, id) +> models::DeleteNotificationCountResponse delete_notification_count(tenant_id, id) ### Parameters @@ -1012,7 +1012,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) ### Authorization @@ -1057,7 +1057,7 @@ Name | Type | Description | Required | Notes ## delete_pending_webhook_event -> models::ApiEmptyResponse delete_pending_webhook_event(tenant_id, id) +> models::DeletePendingWebhookEventResponse delete_pending_webhook_event(tenant_id, id) ### Parameters @@ -1070,7 +1070,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) ### Authorization @@ -1086,7 +1086,7 @@ Name | Type | Description | Required | Notes ## delete_question_config -> models::ApiEmptyResponse delete_question_config(tenant_id, id) +> models::DeleteQuestionConfigResponse delete_question_config(tenant_id, id) ### Parameters @@ -1099,7 +1099,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) ### Authorization @@ -1115,7 +1115,7 @@ Name | Type | Description | Required | Notes ## delete_question_result -> models::ApiEmptyResponse delete_question_result(tenant_id, id) +> models::DeleteQuestionResultResponse delete_question_result(tenant_id, id) ### Parameters @@ -1128,7 +1128,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) ### Authorization @@ -1205,7 +1205,7 @@ Name | Type | Description | Required | Notes ## delete_tenant -> models::ApiEmptyResponse delete_tenant(tenant_id, id, sure) +> models::DeleteTenantResponse delete_tenant(tenant_id, id, sure) ### Parameters @@ -1219,7 +1219,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteTenantResponse**](DeleteTenantResponse.md) ### Authorization @@ -1235,7 +1235,7 @@ Name | Type | Description | Required | Notes ## delete_tenant_package -> models::ApiEmptyResponse delete_tenant_package(tenant_id, id) +> models::DeleteTenantPackageResponse delete_tenant_package(tenant_id, id) ### Parameters @@ -1248,7 +1248,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) ### Authorization @@ -1264,7 +1264,7 @@ Name | Type | Description | Required | Notes ## delete_tenant_user -> models::ApiEmptyResponse delete_tenant_user(tenant_id, id, delete_comments, comment_delete_mode) +> models::DeleteTenantUserResponse delete_tenant_user(tenant_id, id, delete_comments, comment_delete_mode) ### Parameters @@ -1279,7 +1279,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::DeleteTenantUserResponse**](DeleteTenantUserResponse.md) ### Authorization @@ -1295,7 +1295,7 @@ Name | Type | Description | Required | Notes ## delete_user_badge -> models::ApiEmptySuccessResponse delete_user_badge(tenant_id, id) +> models::DeleteUserBadgeResponse delete_user_badge(tenant_id, id) ### Parameters @@ -1308,7 +1308,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**models::DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) ### Authorization @@ -1324,7 +1324,7 @@ Name | Type | Description | Required | Notes ## delete_vote -> models::VoteDeleteResponse delete_vote(tenant_id, id, edit_key) +> models::DeleteVoteResponse delete_vote(tenant_id, id, edit_key) ### Parameters @@ -1338,7 +1338,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::VoteDeleteResponse**](VoteDeleteResponse.md) +[**models::DeleteVoteResponse**](DeleteVoteResponse.md) ### Authorization @@ -1354,7 +1354,7 @@ Name | Type | Description | Required | Notes ## flag_comment -> models::FlagCommentResponse flag_comment(tenant_id, id, user_id, anon_user_id) +> models::FlagCommentResponse1 flag_comment(tenant_id, id, user_id, anon_user_id) ### Parameters @@ -1369,7 +1369,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::FlagCommentResponse**](FlagCommentResponse.md) +[**models::FlagCommentResponse1**](FlagCommentResponse_1.md) ### Authorization @@ -1385,7 +1385,7 @@ Name | Type | Description | Required | Notes ## get_audit_logs -> models::GetAuditLogsResponse get_audit_logs(tenant_id, limit, skip, order, after, before) +> models::GetAuditLogsResponse1 get_audit_logs(tenant_id, limit, skip, order, after, before) ### Parameters @@ -1402,7 +1402,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetAuditLogsResponse**](GetAuditLogsResponse.md) +[**models::GetAuditLogsResponse1**](GetAuditLogsResponse_1.md) ### Authorization @@ -1418,7 +1418,7 @@ Name | Type | Description | Required | Notes ## get_cached_notification_count -> models::GetCachedNotificationCountResponse get_cached_notification_count(tenant_id, id) +> models::GetCachedNotificationCountResponse1 get_cached_notification_count(tenant_id, id) ### Parameters @@ -1431,7 +1431,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) +[**models::GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse_1.md) ### Authorization @@ -1447,7 +1447,7 @@ Name | Type | Description | Required | Notes ## get_comment -> models::ApiGetCommentResponse get_comment(tenant_id, id) +> models::GetCommentResponse get_comment(tenant_id, id) ### Parameters @@ -1460,7 +1460,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetCommentResponse**](APIGetCommentResponse.md) +[**models::GetCommentResponse**](GetCommentResponse.md) ### Authorization @@ -1476,7 +1476,7 @@ Name | Type | Description | Required | Notes ## get_comments -> models::ApiGetCommentsResponse get_comments(tenant_id, page, limit, skip, as_tree, skip_children, limit_children, max_tree_depth, url_id, user_id, anon_user_id, context_user_id, hash_tag, parent_id, direction, from_date, to_date) +> models::GetCommentsResponse get_comments(tenant_id, page, limit, skip, as_tree, skip_children, limit_children, max_tree_depth, url_id, user_id, anon_user_id, context_user_id, hash_tag, parent_id, direction, from_date, to_date) ### Parameters @@ -1504,7 +1504,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetCommentsResponse**](APIGetCommentsResponse.md) +[**models::GetCommentsResponse**](GetCommentsResponse.md) ### Authorization @@ -1577,7 +1577,7 @@ Name | Type | Description | Required | Notes ## get_email_template -> models::GetEmailTemplateResponse get_email_template(tenant_id, id) +> models::GetEmailTemplateResponse1 get_email_template(tenant_id, id) ### Parameters @@ -1590,7 +1590,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateResponse**](GetEmailTemplateResponse.md) +[**models::GetEmailTemplateResponse1**](GetEmailTemplateResponse_1.md) ### Authorization @@ -1606,7 +1606,7 @@ Name | Type | Description | Required | Notes ## get_email_template_definitions -> models::GetEmailTemplateDefinitionsResponse get_email_template_definitions(tenant_id) +> models::GetEmailTemplateDefinitionsResponse1 get_email_template_definitions(tenant_id) ### Parameters @@ -1618,7 +1618,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) +[**models::GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse_1.md) ### Authorization @@ -1634,7 +1634,7 @@ Name | Type | Description | Required | Notes ## get_email_template_render_errors -> models::GetEmailTemplateRenderErrorsResponse get_email_template_render_errors(tenant_id, id, skip) +> models::GetEmailTemplateRenderErrorsResponse1 get_email_template_render_errors(tenant_id, id, skip) ### Parameters @@ -1648,7 +1648,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) +[**models::GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse_1.md) ### Authorization @@ -1664,7 +1664,7 @@ Name | Type | Description | Required | Notes ## get_email_templates -> models::GetEmailTemplatesResponse get_email_templates(tenant_id, skip) +> models::GetEmailTemplatesResponse1 get_email_templates(tenant_id, skip) ### Parameters @@ -1677,7 +1677,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) +[**models::GetEmailTemplatesResponse1**](GetEmailTemplatesResponse_1.md) ### Authorization @@ -1693,7 +1693,7 @@ Name | Type | Description | Required | Notes ## get_feed_posts -> models::GetFeedPostsResponse get_feed_posts(tenant_id, after_id, limit, tags) +> models::GetFeedPostsResponse1 get_feed_posts(tenant_id, after_id, limit, tags) req tenantId afterId @@ -1710,7 +1710,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetFeedPostsResponse**](GetFeedPostsResponse.md) +[**models::GetFeedPostsResponse1**](GetFeedPostsResponse_1.md) ### Authorization @@ -1726,7 +1726,7 @@ Name | Type | Description | Required | Notes ## get_hash_tags -> models::GetHashTagsResponse get_hash_tags(tenant_id, page) +> models::GetHashTagsResponse1 get_hash_tags(tenant_id, page) ### Parameters @@ -1739,7 +1739,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetHashTagsResponse**](GetHashTagsResponse.md) +[**models::GetHashTagsResponse1**](GetHashTagsResponse_1.md) ### Authorization @@ -1755,7 +1755,7 @@ Name | Type | Description | Required | Notes ## get_moderator -> models::GetModeratorResponse get_moderator(tenant_id, id) +> models::GetModeratorResponse1 get_moderator(tenant_id, id) ### Parameters @@ -1768,7 +1768,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModeratorResponse**](GetModeratorResponse.md) +[**models::GetModeratorResponse1**](GetModeratorResponse_1.md) ### Authorization @@ -1784,7 +1784,7 @@ Name | Type | Description | Required | Notes ## get_moderators -> models::GetModeratorsResponse get_moderators(tenant_id, skip) +> models::GetModeratorsResponse1 get_moderators(tenant_id, skip) ### Parameters @@ -1797,7 +1797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModeratorsResponse**](GetModeratorsResponse.md) +[**models::GetModeratorsResponse1**](GetModeratorsResponse_1.md) ### Authorization @@ -1813,7 +1813,7 @@ Name | Type | Description | Required | Notes ## get_notification_count -> models::GetNotificationCountResponse get_notification_count(tenant_id, user_id, url_id, from_comment_id, viewed, r#type) +> models::GetNotificationCountResponse1 get_notification_count(tenant_id, user_id, url_id, from_comment_id, viewed, r#type) ### Parameters @@ -1830,7 +1830,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetNotificationCountResponse**](GetNotificationCountResponse.md) +[**models::GetNotificationCountResponse1**](GetNotificationCountResponse_1.md) ### Authorization @@ -1846,7 +1846,7 @@ Name | Type | Description | Required | Notes ## get_notifications -> models::GetNotificationsResponse get_notifications(tenant_id, user_id, url_id, from_comment_id, viewed, r#type, skip) +> models::GetNotificationsResponse1 get_notifications(tenant_id, user_id, url_id, from_comment_id, viewed, r#type, skip) ### Parameters @@ -1864,7 +1864,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetNotificationsResponse**](GetNotificationsResponse.md) +[**models::GetNotificationsResponse1**](GetNotificationsResponse_1.md) ### Authorization @@ -1937,7 +1937,7 @@ Name | Type | Description | Required | Notes ## get_pending_webhook_event_count -> models::GetPendingWebhookEventCountResponse get_pending_webhook_event_count(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt) +> models::GetPendingWebhookEventCountResponse1 get_pending_webhook_event_count(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt) ### Parameters @@ -1955,7 +1955,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) +[**models::GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse_1.md) ### Authorization @@ -1971,7 +1971,7 @@ Name | Type | Description | Required | Notes ## get_pending_webhook_events -> models::GetPendingWebhookEventsResponse get_pending_webhook_events(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt, skip) +> models::GetPendingWebhookEventsResponse1 get_pending_webhook_events(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt, skip) ### Parameters @@ -1990,7 +1990,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) +[**models::GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse_1.md) ### Authorization @@ -2006,7 +2006,7 @@ Name | Type | Description | Required | Notes ## get_question_config -> models::GetQuestionConfigResponse get_question_config(tenant_id, id) +> models::GetQuestionConfigResponse1 get_question_config(tenant_id, id) ### Parameters @@ -2019,7 +2019,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionConfigResponse**](GetQuestionConfigResponse.md) +[**models::GetQuestionConfigResponse1**](GetQuestionConfigResponse_1.md) ### Authorization @@ -2035,7 +2035,7 @@ Name | Type | Description | Required | Notes ## get_question_configs -> models::GetQuestionConfigsResponse get_question_configs(tenant_id, skip) +> models::GetQuestionConfigsResponse1 get_question_configs(tenant_id, skip) ### Parameters @@ -2048,7 +2048,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) +[**models::GetQuestionConfigsResponse1**](GetQuestionConfigsResponse_1.md) ### Authorization @@ -2064,7 +2064,7 @@ Name | Type | Description | Required | Notes ## get_question_result -> models::GetQuestionResultResponse get_question_result(tenant_id, id) +> models::GetQuestionResultResponse1 get_question_result(tenant_id, id) ### Parameters @@ -2077,7 +2077,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionResultResponse**](GetQuestionResultResponse.md) +[**models::GetQuestionResultResponse1**](GetQuestionResultResponse_1.md) ### Authorization @@ -2093,7 +2093,7 @@ Name | Type | Description | Required | Notes ## get_question_results -> models::GetQuestionResultsResponse get_question_results(tenant_id, url_id, user_id, start_date, question_id, question_ids, skip) +> models::GetQuestionResultsResponse1 get_question_results(tenant_id, url_id, user_id, start_date, question_id, question_ids, skip) ### Parameters @@ -2111,7 +2111,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionResultsResponse**](GetQuestionResultsResponse.md) +[**models::GetQuestionResultsResponse1**](GetQuestionResultsResponse_1.md) ### Authorization @@ -2243,7 +2243,7 @@ Name | Type | Description | Required | Notes ## get_tenant -> models::GetTenantResponse get_tenant(tenant_id, id) +> models::GetTenantResponse1 get_tenant(tenant_id, id) ### Parameters @@ -2256,7 +2256,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantResponse**](GetTenantResponse.md) +[**models::GetTenantResponse1**](GetTenantResponse_1.md) ### Authorization @@ -2272,7 +2272,7 @@ Name | Type | Description | Required | Notes ## get_tenant_daily_usages -> models::GetTenantDailyUsagesResponse get_tenant_daily_usages(tenant_id, year_number, month_number, day_number, skip) +> models::GetTenantDailyUsagesResponse1 get_tenant_daily_usages(tenant_id, year_number, month_number, day_number, skip) ### Parameters @@ -2288,7 +2288,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) +[**models::GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse_1.md) ### Authorization @@ -2304,7 +2304,7 @@ Name | Type | Description | Required | Notes ## get_tenant_package -> models::GetTenantPackageResponse get_tenant_package(tenant_id, id) +> models::GetTenantPackageResponse1 get_tenant_package(tenant_id, id) ### Parameters @@ -2317,7 +2317,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantPackageResponse**](GetTenantPackageResponse.md) +[**models::GetTenantPackageResponse1**](GetTenantPackageResponse_1.md) ### Authorization @@ -2333,7 +2333,7 @@ Name | Type | Description | Required | Notes ## get_tenant_packages -> models::GetTenantPackagesResponse get_tenant_packages(tenant_id, skip) +> models::GetTenantPackagesResponse1 get_tenant_packages(tenant_id, skip) ### Parameters @@ -2346,7 +2346,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantPackagesResponse**](GetTenantPackagesResponse.md) +[**models::GetTenantPackagesResponse1**](GetTenantPackagesResponse_1.md) ### Authorization @@ -2362,7 +2362,7 @@ Name | Type | Description | Required | Notes ## get_tenant_user -> models::GetTenantUserResponse get_tenant_user(tenant_id, id) +> models::GetTenantUserResponse1 get_tenant_user(tenant_id, id) ### Parameters @@ -2375,7 +2375,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantUserResponse**](GetTenantUserResponse.md) +[**models::GetTenantUserResponse1**](GetTenantUserResponse_1.md) ### Authorization @@ -2391,7 +2391,7 @@ Name | Type | Description | Required | Notes ## get_tenant_users -> models::GetTenantUsersResponse get_tenant_users(tenant_id, skip) +> models::GetTenantUsersResponse1 get_tenant_users(tenant_id, skip) ### Parameters @@ -2404,7 +2404,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantUsersResponse**](GetTenantUsersResponse.md) +[**models::GetTenantUsersResponse1**](GetTenantUsersResponse_1.md) ### Authorization @@ -2420,7 +2420,7 @@ Name | Type | Description | Required | Notes ## get_tenants -> models::GetTenantsResponse get_tenants(tenant_id, meta, skip) +> models::GetTenantsResponse1 get_tenants(tenant_id, meta, skip) ### Parameters @@ -2434,7 +2434,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantsResponse**](GetTenantsResponse.md) +[**models::GetTenantsResponse1**](GetTenantsResponse_1.md) ### Authorization @@ -2450,7 +2450,7 @@ Name | Type | Description | Required | Notes ## get_ticket -> models::GetTicketResponse get_ticket(tenant_id, id, user_id) +> models::GetTicketResponse1 get_ticket(tenant_id, id, user_id) ### Parameters @@ -2464,7 +2464,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTicketResponse**](GetTicketResponse.md) +[**models::GetTicketResponse1**](GetTicketResponse_1.md) ### Authorization @@ -2480,7 +2480,7 @@ Name | Type | Description | Required | Notes ## get_tickets -> models::GetTicketsResponse get_tickets(tenant_id, user_id, state, skip, limit) +> models::GetTicketsResponse1 get_tickets(tenant_id, user_id, state, skip, limit) ### Parameters @@ -2496,7 +2496,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTicketsResponse**](GetTicketsResponse.md) +[**models::GetTicketsResponse1**](GetTicketsResponse_1.md) ### Authorization @@ -2512,7 +2512,7 @@ Name | Type | Description | Required | Notes ## get_user -> models::GetUserResponse get_user(tenant_id, id) +> models::GetUserResponse1 get_user(tenant_id, id) ### Parameters @@ -2525,7 +2525,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserResponse**](GetUserResponse.md) +[**models::GetUserResponse1**](GetUserResponse_1.md) ### Authorization @@ -2541,7 +2541,7 @@ Name | Type | Description | Required | Notes ## get_user_badge -> models::ApiGetUserBadgeResponse get_user_badge(tenant_id, id) +> models::GetUserBadgeResponse get_user_badge(tenant_id, id) ### Parameters @@ -2554,7 +2554,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetUserBadgeResponse**](APIGetUserBadgeResponse.md) +[**models::GetUserBadgeResponse**](GetUserBadgeResponse.md) ### Authorization @@ -2570,7 +2570,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_by_id -> models::ApiGetUserBadgeProgressResponse get_user_badge_progress_by_id(tenant_id, id) +> models::GetUserBadgeProgressByIdResponse get_user_badge_progress_by_id(tenant_id, id) ### Parameters @@ -2583,7 +2583,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**models::GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) ### Authorization @@ -2599,7 +2599,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_by_user_id -> models::ApiGetUserBadgeProgressResponse get_user_badge_progress_by_user_id(tenant_id, user_id) +> models::GetUserBadgeProgressByUserIdResponse get_user_badge_progress_by_user_id(tenant_id, user_id) ### Parameters @@ -2612,7 +2612,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**models::GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) ### Authorization @@ -2628,7 +2628,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_list -> models::ApiGetUserBadgeProgressListResponse get_user_badge_progress_list(tenant_id, user_id, limit, skip) +> models::GetUserBadgeProgressListResponse get_user_badge_progress_list(tenant_id, user_id, limit, skip) ### Parameters @@ -2643,7 +2643,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) +[**models::GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) ### Authorization @@ -2659,7 +2659,7 @@ Name | Type | Description | Required | Notes ## get_user_badges -> models::ApiGetUserBadgesResponse get_user_badges(tenant_id, user_id, badge_id, r#type, displayed_on_comments, limit, skip) +> models::GetUserBadgesResponse get_user_badges(tenant_id, user_id, badge_id, r#type, displayed_on_comments, limit, skip) ### Parameters @@ -2677,7 +2677,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiGetUserBadgesResponse**](APIGetUserBadgesResponse.md) +[**models::GetUserBadgesResponse**](GetUserBadgesResponse.md) ### Authorization @@ -2693,7 +2693,7 @@ Name | Type | Description | Required | Notes ## get_votes -> models::GetVotesResponse get_votes(tenant_id, url_id) +> models::GetVotesResponse1 get_votes(tenant_id, url_id) ### Parameters @@ -2706,7 +2706,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetVotesResponse**](GetVotesResponse.md) +[**models::GetVotesResponse1**](GetVotesResponse_1.md) ### Authorization @@ -2722,7 +2722,7 @@ Name | Type | Description | Required | Notes ## get_votes_for_user -> models::GetVotesForUserResponse get_votes_for_user(tenant_id, url_id, user_id, anon_user_id) +> models::GetVotesForUserResponse1 get_votes_for_user(tenant_id, url_id, user_id, anon_user_id) ### Parameters @@ -2737,7 +2737,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetVotesForUserResponse**](GetVotesForUserResponse.md) +[**models::GetVotesForUserResponse1**](GetVotesForUserResponse_1.md) ### Authorization @@ -2783,7 +2783,7 @@ Name | Type | Description | Required | Notes ## patch_hash_tag -> models::UpdateHashTagResponse patch_hash_tag(tag, tenant_id, update_hash_tag_body) +> models::PatchHashTagResponse patch_hash_tag(tag, tenant_id, update_hash_tag_body) ### Parameters @@ -2797,7 +2797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateHashTagResponse**](UpdateHashTagResponse.md) +[**models::PatchHashTagResponse**](PatchHashTagResponse.md) ### Authorization @@ -2935,7 +2935,7 @@ Name | Type | Description | Required | Notes ## render_email_template -> models::RenderEmailTemplateResponse render_email_template(tenant_id, render_email_template_body, locale) +> models::RenderEmailTemplateResponse1 render_email_template(tenant_id, render_email_template_body, locale) ### Parameters @@ -2949,7 +2949,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) +[**models::RenderEmailTemplateResponse1**](RenderEmailTemplateResponse_1.md) ### Authorization @@ -2965,7 +2965,7 @@ Name | Type | Description | Required | Notes ## replace_tenant_package -> models::ApiEmptyResponse replace_tenant_package(tenant_id, id, replace_tenant_package_body) +> models::ReplaceTenantPackageResponse replace_tenant_package(tenant_id, id, replace_tenant_package_body) ### Parameters @@ -2979,7 +2979,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) ### Authorization @@ -2995,7 +2995,7 @@ Name | Type | Description | Required | Notes ## replace_tenant_user -> models::ApiEmptyResponse replace_tenant_user(tenant_id, id, replace_tenant_user_body, update_comments) +> models::ReplaceTenantUserResponse replace_tenant_user(tenant_id, id, replace_tenant_user_body, update_comments) ### Parameters @@ -3010,7 +3010,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) ### Authorization @@ -3026,7 +3026,7 @@ Name | Type | Description | Required | Notes ## save_comment -> models::ApiSaveCommentResponse save_comment(tenant_id, create_comment_params, is_live, do_spam_check, send_emails, populate_notifications) +> models::SaveCommentResponse save_comment(tenant_id, create_comment_params, is_live, do_spam_check, send_emails, populate_notifications) ### Parameters @@ -3043,7 +3043,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiSaveCommentResponse**](APISaveCommentResponse.md) +[**models::SaveCommentResponse**](SaveCommentResponse.md) ### Authorization @@ -3092,7 +3092,7 @@ Name | Type | Description | Required | Notes ## send_invite -> models::ApiEmptyResponse send_invite(tenant_id, id, from_name) +> models::SendInviteResponse send_invite(tenant_id, id, from_name) ### Parameters @@ -3106,7 +3106,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::SendInviteResponse**](SendInviteResponse.md) ### Authorization @@ -3122,7 +3122,7 @@ Name | Type | Description | Required | Notes ## send_login_link -> models::ApiEmptyResponse send_login_link(tenant_id, id, redirect_url) +> models::SendLoginLinkResponse send_login_link(tenant_id, id, redirect_url) ### Parameters @@ -3136,7 +3136,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::SendLoginLinkResponse**](SendLoginLinkResponse.md) ### Authorization @@ -3152,7 +3152,7 @@ Name | Type | Description | Required | Notes ## un_block_user_from_comment -> models::UnblockSuccess un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, user_id, anon_user_id) +> models::UnBlockUserFromCommentResponse un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, user_id, anon_user_id) ### Parameters @@ -3168,7 +3168,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnblockSuccess**](UnblockSuccess.md) +[**models::UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) ### Authorization @@ -3184,7 +3184,7 @@ Name | Type | Description | Required | Notes ## un_flag_comment -> models::FlagCommentResponse un_flag_comment(tenant_id, id, user_id, anon_user_id) +> models::UnFlagCommentResponse un_flag_comment(tenant_id, id, user_id, anon_user_id) ### Parameters @@ -3199,7 +3199,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::FlagCommentResponse**](FlagCommentResponse.md) +[**models::UnFlagCommentResponse**](UnFlagCommentResponse.md) ### Authorization @@ -3215,7 +3215,7 @@ Name | Type | Description | Required | Notes ## update_comment -> models::ApiEmptyResponse update_comment(tenant_id, id, updatable_comment_params, context_user_id, do_spam_check, is_live) +> models::UpdateCommentResponse update_comment(tenant_id, id, updatable_comment_params, context_user_id, do_spam_check, is_live) ### Parameters @@ -3232,7 +3232,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateCommentResponse**](UpdateCommentResponse.md) ### Authorization @@ -3248,7 +3248,7 @@ Name | Type | Description | Required | Notes ## update_email_template -> models::ApiEmptyResponse update_email_template(tenant_id, id, update_email_template_body) +> models::UpdateEmailTemplateResponse update_email_template(tenant_id, id, update_email_template_body) ### Parameters @@ -3262,7 +3262,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) ### Authorization @@ -3278,7 +3278,7 @@ Name | Type | Description | Required | Notes ## update_feed_post -> models::ApiEmptyResponse update_feed_post(tenant_id, id, feed_post) +> models::UpdateFeedPostResponse update_feed_post(tenant_id, id, feed_post) ### Parameters @@ -3292,7 +3292,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateFeedPostResponse**](UpdateFeedPostResponse.md) ### Authorization @@ -3308,7 +3308,7 @@ Name | Type | Description | Required | Notes ## update_moderator -> models::ApiEmptyResponse update_moderator(tenant_id, id, update_moderator_body) +> models::UpdateModeratorResponse update_moderator(tenant_id, id, update_moderator_body) ### Parameters @@ -3322,7 +3322,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateModeratorResponse**](UpdateModeratorResponse.md) ### Authorization @@ -3338,7 +3338,7 @@ Name | Type | Description | Required | Notes ## update_notification -> models::ApiEmptyResponse update_notification(tenant_id, id, update_notification_body, user_id) +> models::UpdateNotificationResponse update_notification(tenant_id, id, update_notification_body, user_id) ### Parameters @@ -3353,7 +3353,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateNotificationResponse**](UpdateNotificationResponse.md) ### Authorization @@ -3369,7 +3369,7 @@ Name | Type | Description | Required | Notes ## update_question_config -> models::ApiEmptyResponse update_question_config(tenant_id, id, update_question_config_body) +> models::UpdateQuestionConfigResponse update_question_config(tenant_id, id, update_question_config_body) ### Parameters @@ -3383,7 +3383,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) ### Authorization @@ -3399,7 +3399,7 @@ Name | Type | Description | Required | Notes ## update_question_result -> models::ApiEmptyResponse update_question_result(tenant_id, id, update_question_result_body) +> models::UpdateQuestionResultResponse update_question_result(tenant_id, id, update_question_result_body) ### Parameters @@ -3413,7 +3413,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) ### Authorization @@ -3460,7 +3460,7 @@ Name | Type | Description | Required | Notes ## update_tenant -> models::ApiEmptyResponse update_tenant(tenant_id, id, update_tenant_body) +> models::UpdateTenantResponse update_tenant(tenant_id, id, update_tenant_body) ### Parameters @@ -3474,7 +3474,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateTenantResponse**](UpdateTenantResponse.md) ### Authorization @@ -3490,7 +3490,7 @@ Name | Type | Description | Required | Notes ## update_tenant_package -> models::ApiEmptyResponse update_tenant_package(tenant_id, id, update_tenant_package_body) +> models::UpdateTenantPackageResponse update_tenant_package(tenant_id, id, update_tenant_package_body) ### Parameters @@ -3504,7 +3504,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) ### Authorization @@ -3520,7 +3520,7 @@ Name | Type | Description | Required | Notes ## update_tenant_user -> models::ApiEmptyResponse update_tenant_user(tenant_id, id, update_tenant_user_body, update_comments) +> models::UpdateTenantUserResponse update_tenant_user(tenant_id, id, update_tenant_user_body, update_comments) ### Parameters @@ -3535,7 +3535,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UpdateTenantUserResponse**](UpdateTenantUserResponse.md) ### Authorization @@ -3551,7 +3551,7 @@ Name | Type | Description | Required | Notes ## update_user_badge -> models::ApiEmptySuccessResponse update_user_badge(tenant_id, id, update_user_badge_params) +> models::UpdateUserBadgeResponse update_user_badge(tenant_id, id, update_user_badge_params) ### Parameters @@ -3565,7 +3565,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**models::UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md new file mode 100644 index 0000000..444b970 --- /dev/null +++ b/client/docs/DeleteCommentPublicResponse.md @@ -0,0 +1,20 @@ +# DeleteCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | Option<[**models::DeletedCommentResultComment**](DeletedCommentResultComment.md)> | | [optional] +**hard_removed** | Option<**bool**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md new file mode 100644 index 0000000..0091e84 --- /dev/null +++ b/client/docs/DeleteCommentResponse.md @@ -0,0 +1,19 @@ +# DeleteCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**action** | Option<[**models::DeleteCommentAction**](DeleteCommentAction.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md new file mode 100644 index 0000000..7c57b07 --- /dev/null +++ b/client/docs/DeleteCommentVoteResponse.md @@ -0,0 +1,19 @@ +# DeleteCommentVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**was_pending_vote** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md new file mode 100644 index 0000000..fde8965 --- /dev/null +++ b/client/docs/DeleteEmailTemplateRenderErrorResponse.md @@ -0,0 +1,18 @@ +# DeleteEmailTemplateRenderErrorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md new file mode 100644 index 0000000..6427b15 --- /dev/null +++ b/client/docs/DeleteEmailTemplateResponse.md @@ -0,0 +1,18 @@ +# DeleteEmailTemplateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index f427e23..0a9f7b7 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -5,6 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md new file mode 100644 index 0000000..d484de8 --- /dev/null +++ b/client/docs/DeleteFeedPostPublicResponseAnyOf.md @@ -0,0 +1,11 @@ +# DeleteFeedPostPublicResponseAnyOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md new file mode 100644 index 0000000..544eb94 --- /dev/null +++ b/client/docs/DeleteHashTagResponse.md @@ -0,0 +1,18 @@ +# DeleteHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md new file mode 100644 index 0000000..4b0ffbb --- /dev/null +++ b/client/docs/DeleteModerationVoteResponse.md @@ -0,0 +1,19 @@ +# DeleteModerationVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**was_pending_vote** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md new file mode 100644 index 0000000..51c5ef0 --- /dev/null +++ b/client/docs/DeleteModeratorResponse.md @@ -0,0 +1,18 @@ +# DeleteModeratorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md new file mode 100644 index 0000000..66641c1 --- /dev/null +++ b/client/docs/DeleteNotificationCountResponse.md @@ -0,0 +1,18 @@ +# DeleteNotificationCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md new file mode 100644 index 0000000..276e4e3 --- /dev/null +++ b/client/docs/DeletePendingWebhookEventResponse.md @@ -0,0 +1,18 @@ +# DeletePendingWebhookEventResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md new file mode 100644 index 0000000..9f62b13 --- /dev/null +++ b/client/docs/DeleteQuestionConfigResponse.md @@ -0,0 +1,18 @@ +# DeleteQuestionConfigResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md new file mode 100644 index 0000000..3bce96a --- /dev/null +++ b/client/docs/DeleteQuestionResultResponse.md @@ -0,0 +1,18 @@ +# DeleteQuestionResultResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md new file mode 100644 index 0000000..e0734d9 --- /dev/null +++ b/client/docs/DeleteTenantPackageResponse.md @@ -0,0 +1,18 @@ +# DeleteTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md new file mode 100644 index 0000000..1c492e3 --- /dev/null +++ b/client/docs/DeleteTenantResponse.md @@ -0,0 +1,18 @@ +# DeleteTenantResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md new file mode 100644 index 0000000..bfd3b0c --- /dev/null +++ b/client/docs/DeleteTenantUserResponse.md @@ -0,0 +1,18 @@ +# DeleteTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md new file mode 100644 index 0000000..9f00f17 --- /dev/null +++ b/client/docs/DeleteUserBadgeResponse.md @@ -0,0 +1,18 @@ +# DeleteUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md new file mode 100644 index 0000000..7c133af --- /dev/null +++ b/client/docs/DeleteV1PageReactResponse.md @@ -0,0 +1,18 @@ +# DeleteV1PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md new file mode 100644 index 0000000..564e178 --- /dev/null +++ b/client/docs/DeleteV2PageReactResponse.md @@ -0,0 +1,18 @@ +# DeleteV2PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md new file mode 100644 index 0000000..8d29cea --- /dev/null +++ b/client/docs/DeleteVoteResponse.md @@ -0,0 +1,19 @@ +# DeleteVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**was_pending_vote** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md new file mode 100644 index 0000000..5fd3e4b --- /dev/null +++ b/client/docs/FlagCommentPublicResponse.md @@ -0,0 +1,18 @@ +# FlagCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md new file mode 100644 index 0000000..dbd0941 --- /dev/null +++ b/client/docs/FlagCommentResponse1.md @@ -0,0 +1,20 @@ +# FlagCommentResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | Option<**i32**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**was_unapproved** | Option<**bool**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md new file mode 100644 index 0000000..0cf0687 --- /dev/null +++ b/client/docs/GetApiCommentsResponse.md @@ -0,0 +1,21 @@ +# GetApiCommentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**translations** | Option<**serde_json::Value**> | | [optional] +**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] +**moderation_filter** | Option<[**models::ModerationFilter**](ModerationFilter.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md new file mode 100644 index 0000000..1360dcd --- /dev/null +++ b/client/docs/GetApiExportStatusResponse.md @@ -0,0 +1,21 @@ +# GetApiExportStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**job_status** | Option<**String**> | | [optional] +**record_count** | Option<**i32**> | | [optional] +**download_url** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md new file mode 100644 index 0000000..6e8b5e6 --- /dev/null +++ b/client/docs/GetApiIdsResponse.md @@ -0,0 +1,20 @@ +# GetApiIdsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ids** | Option<**Vec**> | | [optional] +**has_more** | Option<**bool**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md new file mode 100644 index 0000000..079a31d --- /dev/null +++ b/client/docs/GetAuditLogsResponse1.md @@ -0,0 +1,19 @@ +# GetAuditLogsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**audit_logs** | Option<[**Vec**](APIAuditLog.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md new file mode 100644 index 0000000..ed279d9 --- /dev/null +++ b/client/docs/GetBanUsersFromCommentResponse.md @@ -0,0 +1,19 @@ +# GetBanUsersFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**banned_users** | Option<[**Vec**](APIBannedUserWithMultiMatchInfo.md)> | | [optional] +**code** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md new file mode 100644 index 0000000..70492f8 --- /dev/null +++ b/client/docs/GetCachedNotificationCountResponse1.md @@ -0,0 +1,19 @@ +# GetCachedNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**data** | Option<[**models::UserNotificationCount**](UserNotificationCount.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md new file mode 100644 index 0000000..05184a7 --- /dev/null +++ b/client/docs/GetCommentBanStatusResponse1.md @@ -0,0 +1,20 @@ +# GetCommentBanStatusResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**email_domain** | Option<**String**> | | [optional] +**can_ip_ban** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md new file mode 100644 index 0000000..1ea82d4 --- /dev/null +++ b/client/docs/GetCommentChildrenResponse.md @@ -0,0 +1,19 @@ +# GetCommentChildrenResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md new file mode 100644 index 0000000..ad3f1ba --- /dev/null +++ b/client/docs/GetCommentResponse.md @@ -0,0 +1,19 @@ +# GetCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment** | Option<[**models::ApiComment**](APIComment.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md new file mode 100644 index 0000000..0a31240 --- /dev/null +++ b/client/docs/GetCommentTextResponse1.md @@ -0,0 +1,20 @@ +# GetCommentTextResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment_text** | Option<**String**> | | [optional] +**sanitized_comment_text** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md new file mode 100644 index 0000000..afd691c --- /dev/null +++ b/client/docs/GetCommentVoteUserNamesResponse.md @@ -0,0 +1,20 @@ +# GetCommentVoteUserNamesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**vote_user_names** | Option<**Vec**> | | [optional] +**has_more** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md new file mode 100644 index 0000000..7ce8222 --- /dev/null +++ b/client/docs/GetCommentsForUserResponse1.md @@ -0,0 +1,19 @@ +# GetCommentsForUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**moderating_tenant_ids** | Option<**Vec**> | | [optional] +**status** | Option<[**models::ApiStatus**](APIStatus.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md new file mode 100644 index 0000000..df75e7a --- /dev/null +++ b/client/docs/GetCommentsPublicResponse.md @@ -0,0 +1,41 @@ +# GetCommentsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | Option<**i32**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**translated_warning** | Option<**String**> | | [optional] +**comments** | Option<[**Vec**](PublicComment.md)> | | [optional] +**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] +**url_id_clean** | Option<**String**> | | [optional] +**last_gen_date** | Option<**i64**> | | [optional] +**includes_past_pages** | Option<**bool**> | | [optional] +**is_demo** | Option<**bool**> | | [optional] +**comment_count** | Option<**i32**> | | [optional] +**is_site_admin** | Option<**bool**> | | [optional] +**has_billing_issue** | Option<**bool**> | | [optional] +**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**page_number** | Option<**i32**> | | [optional] +**is_white_labeled** | Option<**bool**> | | [optional] +**is_prod** | Option<**bool**> | | [optional] +**is_crawler** | Option<**bool**> | | [optional] +**notification_count** | Option<**i32**> | | [optional] +**has_more** | Option<**bool**> | | [optional] +**is_closed** | Option<**bool**> | | [optional] +**presence_poll_state** | Option<**i32**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] +**url_id_ws** | Option<**String**> | | [optional] +**user_id_ws** | Option<**String**> | | [optional] +**tenant_id_ws** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md new file mode 100644 index 0000000..8fd9af4 --- /dev/null +++ b/client/docs/GetCommentsResponse.md @@ -0,0 +1,19 @@ +# GetCommentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comments** | Option<[**Vec**](APIComment.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md new file mode 100644 index 0000000..4497993 --- /dev/null +++ b/client/docs/GetCountResponse.md @@ -0,0 +1,19 @@ +# GetCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**count** | Option<**f64**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md new file mode 100644 index 0000000..6275696 --- /dev/null +++ b/client/docs/GetCountsResponse.md @@ -0,0 +1,19 @@ +# GetCountsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_count** | Option<**f64**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md new file mode 100644 index 0000000..10281e6 --- /dev/null +++ b/client/docs/GetEmailTemplateDefinitionsResponse1.md @@ -0,0 +1,19 @@ +# GetEmailTemplateDefinitionsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**definitions** | Option<[**Vec**](EmailTemplateDefinition.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md new file mode 100644 index 0000000..b760be2 --- /dev/null +++ b/client/docs/GetEmailTemplateRenderErrorsResponse1.md @@ -0,0 +1,19 @@ +# GetEmailTemplateRenderErrorsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**render_errors** | Option<[**Vec**](EmailTemplateRenderErrorResponse.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md new file mode 100644 index 0000000..2d4d5c1 --- /dev/null +++ b/client/docs/GetEmailTemplateResponse1.md @@ -0,0 +1,19 @@ +# GetEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**email_template** | Option<[**models::CustomEmailTemplate**](CustomEmailTemplate.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md new file mode 100644 index 0000000..825ffec --- /dev/null +++ b/client/docs/GetEmailTemplatesResponse1.md @@ -0,0 +1,19 @@ +# GetEmailTemplatesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**email_templates** | Option<[**Vec**](CustomEmailTemplate.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md new file mode 100644 index 0000000..34d4c31 --- /dev/null +++ b/client/docs/GetEventLogResponse1.md @@ -0,0 +1,19 @@ +# GetEventLogResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**events** | Option<[**Vec**](EventLogEntry.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md new file mode 100644 index 0000000..bf7640e --- /dev/null +++ b/client/docs/GetFeedPostsPublicResponse.md @@ -0,0 +1,24 @@ +# GetFeedPostsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**my_reacts** | Option<**std::collections::HashMap>**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**feed_posts** | Option<[**Vec**](FeedPost.md)> | | [optional] +**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] +**url_id_ws** | Option<**String**> | | [optional] +**user_id_ws** | Option<**String**> | | [optional] +**tenant_id_ws** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md new file mode 100644 index 0000000..23d8532 --- /dev/null +++ b/client/docs/GetFeedPostsResponse1.md @@ -0,0 +1,19 @@ +# GetFeedPostsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**feed_posts** | Option<[**Vec**](FeedPost.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md new file mode 100644 index 0000000..9a2174e --- /dev/null +++ b/client/docs/GetFeedPostsStatsResponse.md @@ -0,0 +1,19 @@ +# GetFeedPostsStatsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**stats** | Option<[**std::collections::HashMap**](FeedPostStats.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md new file mode 100644 index 0000000..9d9ed72 --- /dev/null +++ b/client/docs/GetGifLargeResponse.md @@ -0,0 +1,19 @@ +# GetGifLargeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**src** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index 06c1f8d..62c3b76 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -7,6 +7,12 @@ Name | Type | Description | Notes **images** | Option<[**Vec>**](Vec.md)> | | [optional] **status** | [**models::ApiStatus**](APIStatus.md) | | **code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md new file mode 100644 index 0000000..c64827f --- /dev/null +++ b/client/docs/GetGlobalEventLogResponse.md @@ -0,0 +1,19 @@ +# GetGlobalEventLogResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**events** | Option<[**Vec**](EventLogEntry.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md new file mode 100644 index 0000000..7dd9bae --- /dev/null +++ b/client/docs/GetHashTagsResponse1.md @@ -0,0 +1,19 @@ +# GetHashTagsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**hash_tags** | Option<[**Vec**](TenantHashTag.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md new file mode 100644 index 0000000..a8fd1d4 --- /dev/null +++ b/client/docs/GetLogsResponse.md @@ -0,0 +1,19 @@ +# GetLogsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**logs** | Option<[**Vec**](ModerationAPICommentLog.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md new file mode 100644 index 0000000..59dc776 --- /dev/null +++ b/client/docs/GetManualBadgesForUserResponse.md @@ -0,0 +1,19 @@ +# GetManualBadgesForUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | Option<[**Vec**](UserBadge.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md new file mode 100644 index 0000000..d6e2c15 --- /dev/null +++ b/client/docs/GetManualBadgesResponse.md @@ -0,0 +1,19 @@ +# GetManualBadgesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | Option<[**Vec**](TenantBadge.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md new file mode 100644 index 0000000..772ec57 --- /dev/null +++ b/client/docs/GetModerationCommentResponse.md @@ -0,0 +1,19 @@ +# GetModerationCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | Option<[**models::ModerationApiComment**](ModerationAPIComment.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md new file mode 100644 index 0000000..674694e --- /dev/null +++ b/client/docs/GetModerationCommentTextResponse.md @@ -0,0 +1,19 @@ +# GetModerationCommentTextResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md new file mode 100644 index 0000000..03665bf --- /dev/null +++ b/client/docs/GetModeratorResponse1.md @@ -0,0 +1,19 @@ +# GetModeratorResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**moderator** | Option<[**models::Moderator**](Moderator.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md new file mode 100644 index 0000000..aa6c640 --- /dev/null +++ b/client/docs/GetModeratorsResponse1.md @@ -0,0 +1,19 @@ +# GetModeratorsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**moderators** | Option<[**Vec**](Moderator.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md new file mode 100644 index 0000000..319476e --- /dev/null +++ b/client/docs/GetNotificationCountResponse1.md @@ -0,0 +1,19 @@ +# GetNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**count** | Option<**f64**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md new file mode 100644 index 0000000..3dcef9a --- /dev/null +++ b/client/docs/GetNotificationsResponse1.md @@ -0,0 +1,19 @@ +# GetNotificationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**notifications** | Option<[**Vec**](UserNotification.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md new file mode 100644 index 0000000..ce87afe --- /dev/null +++ b/client/docs/GetOfflineUsersResponse.md @@ -0,0 +1,21 @@ +# GetOfflineUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**next_after_user_id** | Option<**String**> | | [optional] +**next_after_name** | Option<**String**> | | [optional] +**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md new file mode 100644 index 0000000..3d3089c --- /dev/null +++ b/client/docs/GetOnlineUsersResponse.md @@ -0,0 +1,23 @@ +# GetOnlineUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**next_after_user_id** | Option<**String**> | | [optional] +**next_after_name** | Option<**String**> | | [optional] +**total_count** | Option<**f64**> | | [optional] +**anon_count** | Option<**f64**> | | [optional] +**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md new file mode 100644 index 0000000..a8cefd7 --- /dev/null +++ b/client/docs/GetPagesPublicResponse.md @@ -0,0 +1,20 @@ +# GetPagesPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**next_cursor** | Option<**String**> | | [optional] +**pages** | Option<[**Vec**](PublicPage.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md new file mode 100644 index 0000000..eccae48 --- /dev/null +++ b/client/docs/GetPendingWebhookEventCountResponse1.md @@ -0,0 +1,19 @@ +# GetPendingWebhookEventCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**count** | Option<**f64**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md new file mode 100644 index 0000000..1f03d51 --- /dev/null +++ b/client/docs/GetPendingWebhookEventsResponse1.md @@ -0,0 +1,19 @@ +# GetPendingWebhookEventsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**pending_webhook_events** | Option<[**Vec**](PendingCommentToSyncOutbound.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md new file mode 100644 index 0000000..7581496 --- /dev/null +++ b/client/docs/GetPreBanSummaryResponse.md @@ -0,0 +1,20 @@ +# GetPreBanSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**usernames** | Option<**Vec**> | | [optional] +**count** | Option<**f64**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md new file mode 100644 index 0000000..ba6a6b8 --- /dev/null +++ b/client/docs/GetQuestionConfigResponse1.md @@ -0,0 +1,19 @@ +# GetQuestionConfigResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_config** | Option<[**models::QuestionConfig**](QuestionConfig.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md new file mode 100644 index 0000000..14bf0a2 --- /dev/null +++ b/client/docs/GetQuestionConfigsResponse1.md @@ -0,0 +1,19 @@ +# GetQuestionConfigsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_configs** | Option<[**Vec**](QuestionConfig.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md new file mode 100644 index 0000000..3be684f --- /dev/null +++ b/client/docs/GetQuestionResultResponse1.md @@ -0,0 +1,19 @@ +# GetQuestionResultResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_result** | Option<[**models::QuestionResult**](QuestionResult.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md new file mode 100644 index 0000000..ed12044 --- /dev/null +++ b/client/docs/GetQuestionResultsResponse1.md @@ -0,0 +1,19 @@ +# GetQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**question_results** | Option<[**Vec**](QuestionResult.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md new file mode 100644 index 0000000..cd0364a --- /dev/null +++ b/client/docs/GetSearchCommentsSummaryResponse.md @@ -0,0 +1,19 @@ +# GetSearchCommentsSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment_count** | Option<**i32**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md new file mode 100644 index 0000000..3999a04 --- /dev/null +++ b/client/docs/GetSearchPagesResponse.md @@ -0,0 +1,19 @@ +# GetSearchPagesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pages** | Option<[**Vec**](ModerationPageSearchProjected.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md new file mode 100644 index 0000000..ea678cd --- /dev/null +++ b/client/docs/GetSearchSitesResponse.md @@ -0,0 +1,19 @@ +# GetSearchSitesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sites** | Option<[**Vec**](ModerationSiteSearchProjected.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md new file mode 100644 index 0000000..0ed14e9 --- /dev/null +++ b/client/docs/GetSearchSuggestResponse.md @@ -0,0 +1,20 @@ +# GetSearchSuggestResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**pages** | Option<[**Vec**](ModerationPageSearchProjected.md)> | | [optional] +**users** | Option<[**Vec**](ModerationUserSearchProjected.md)> | | [optional] +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md new file mode 100644 index 0000000..9f6220c --- /dev/null +++ b/client/docs/GetSearchUsersResponse.md @@ -0,0 +1,19 @@ +# GetSearchUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**users** | Option<[**Vec**](ModerationUserSearchProjected.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md new file mode 100644 index 0000000..8da15d9 --- /dev/null +++ b/client/docs/GetTenantDailyUsagesResponse1.md @@ -0,0 +1,19 @@ +# GetTenantDailyUsagesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_daily_usages** | Option<[**Vec**](APITenantDailyUsage.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md new file mode 100644 index 0000000..4fc334d --- /dev/null +++ b/client/docs/GetTenantPackageResponse1.md @@ -0,0 +1,19 @@ +# GetTenantPackageResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_package** | Option<[**models::TenantPackage**](TenantPackage.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md new file mode 100644 index 0000000..641a5fd --- /dev/null +++ b/client/docs/GetTenantPackagesResponse1.md @@ -0,0 +1,19 @@ +# GetTenantPackagesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_packages** | Option<[**Vec**](TenantPackage.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md new file mode 100644 index 0000000..9952193 --- /dev/null +++ b/client/docs/GetTenantResponse1.md @@ -0,0 +1,19 @@ +# GetTenantResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant** | Option<[**models::ApiTenant**](APITenant.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md new file mode 100644 index 0000000..3652998 --- /dev/null +++ b/client/docs/GetTenantUserResponse1.md @@ -0,0 +1,19 @@ +# GetTenantUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_user** | Option<[**models::User**](User.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md new file mode 100644 index 0000000..8a2fc50 --- /dev/null +++ b/client/docs/GetTenantUsersResponse1.md @@ -0,0 +1,19 @@ +# GetTenantUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenant_users** | Option<[**Vec**](User.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md new file mode 100644 index 0000000..ef029dd --- /dev/null +++ b/client/docs/GetTenantsResponse1.md @@ -0,0 +1,19 @@ +# GetTenantsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tenants** | Option<[**Vec**](APITenant.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md new file mode 100644 index 0000000..16994d0 --- /dev/null +++ b/client/docs/GetTicketResponse1.md @@ -0,0 +1,20 @@ +# GetTicketResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**ticket** | Option<[**models::ApiTicketDetail**](APITicketDetail.md)> | | [optional] +**available_states** | Option<**Vec**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md new file mode 100644 index 0000000..7678c4b --- /dev/null +++ b/client/docs/GetTicketsResponse1.md @@ -0,0 +1,19 @@ +# GetTicketsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**tickets** | Option<[**Vec**](APITicket.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md new file mode 100644 index 0000000..84556bf --- /dev/null +++ b/client/docs/GetTranslationsResponse1.md @@ -0,0 +1,19 @@ +# GetTranslationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**translations** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md new file mode 100644 index 0000000..23cc698 --- /dev/null +++ b/client/docs/GetTrustFactorResponse.md @@ -0,0 +1,20 @@ +# GetTrustFactorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manual_trust_factor** | Option<**f64**> | | [optional] +**auto_trust_factor** | Option<**f64**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md new file mode 100644 index 0000000..00f977a --- /dev/null +++ b/client/docs/GetUserBadgeProgressByIdResponse.md @@ -0,0 +1,19 @@ +# GetUserBadgeProgressByIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badge_progress** | Option<[**models::UserBadgeProgress**](UserBadgeProgress.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md new file mode 100644 index 0000000..6fc72cc --- /dev/null +++ b/client/docs/GetUserBadgeProgressByUserIdResponse.md @@ -0,0 +1,19 @@ +# GetUserBadgeProgressByUserIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badge_progress** | Option<[**models::UserBadgeProgress**](UserBadgeProgress.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md new file mode 100644 index 0000000..e545eae --- /dev/null +++ b/client/docs/GetUserBadgeProgressListResponse.md @@ -0,0 +1,19 @@ +# GetUserBadgeProgressListResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badge_progresses** | Option<[**Vec**](UserBadgeProgress.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md new file mode 100644 index 0000000..f94bd6d --- /dev/null +++ b/client/docs/GetUserBadgeResponse.md @@ -0,0 +1,19 @@ +# GetUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badge** | Option<[**models::UserBadge**](UserBadge.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md new file mode 100644 index 0000000..9e086a7 --- /dev/null +++ b/client/docs/GetUserBadgesResponse.md @@ -0,0 +1,19 @@ +# GetUserBadgesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_badges** | Option<[**Vec**](UserBadge.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md new file mode 100644 index 0000000..0d38710 --- /dev/null +++ b/client/docs/GetUserBanPreferenceResponse.md @@ -0,0 +1,19 @@ +# GetUserBanPreferenceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**preferences** | Option<[**models::ApiModerateUserBanPreferences**](APIModerateUserBanPreferences.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md new file mode 100644 index 0000000..3319058 --- /dev/null +++ b/client/docs/GetUserInternalProfileResponse1.md @@ -0,0 +1,19 @@ +# GetUserInternalProfileResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**profile** | Option<[**models::GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md new file mode 100644 index 0000000..b20dea2 --- /dev/null +++ b/client/docs/GetUserNotificationCountResponse1.md @@ -0,0 +1,19 @@ +# GetUserNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**count** | Option<**i64**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md new file mode 100644 index 0000000..b0a9cd3 --- /dev/null +++ b/client/docs/GetUserNotificationsResponse.md @@ -0,0 +1,22 @@ +# GetUserNotificationsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**translations** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**is_subscribed** | Option<**bool**> | | [optional] +**has_more** | Option<**bool**> | | [optional] +**notifications** | Option<[**Vec**](RenderableUserNotification.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md new file mode 100644 index 0000000..6c798d8 --- /dev/null +++ b/client/docs/GetUserPresenceStatusesResponse1.md @@ -0,0 +1,19 @@ +# GetUserPresenceStatusesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user_ids_online** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md new file mode 100644 index 0000000..5e4d475 --- /dev/null +++ b/client/docs/GetUserReactsPublicResponse.md @@ -0,0 +1,19 @@ +# GetUserReactsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reacts** | Option<**std::collections::HashMap>**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md new file mode 100644 index 0000000..e056210 --- /dev/null +++ b/client/docs/GetUserResponse1.md @@ -0,0 +1,19 @@ +# GetUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**user** | Option<[**models::User**](User.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md new file mode 100644 index 0000000..a4e3545 --- /dev/null +++ b/client/docs/GetUsersInfoResponse.md @@ -0,0 +1,19 @@ +# GetUsersInfoResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md new file mode 100644 index 0000000..f4866a4 --- /dev/null +++ b/client/docs/GetV1PageLikesResponse.md @@ -0,0 +1,22 @@ +# GetV1PageLikesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**url_id_ws** | Option<**String**> | | [optional] +**did_like** | Option<**bool**> | | [optional] +**comment_count** | Option<**i32**> | | [optional] +**like_count** | Option<**i32**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md new file mode 100644 index 0000000..0a7650b --- /dev/null +++ b/client/docs/GetV2PageReactUsersResponse1.md @@ -0,0 +1,19 @@ +# GetV2PageReactUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_names** | Option<**Vec**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md new file mode 100644 index 0000000..f378e8a --- /dev/null +++ b/client/docs/GetV2PageReactsResponse.md @@ -0,0 +1,20 @@ +# GetV2PageReactsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reacted_ids** | Option<**Vec**> | | [optional] +**counts** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md new file mode 100644 index 0000000..776fbfa --- /dev/null +++ b/client/docs/GetVotesForUserResponse1.md @@ -0,0 +1,21 @@ +# GetVotesForUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**applied_authorized_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**applied_anonymous_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**pending_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md new file mode 100644 index 0000000..036a4d5 --- /dev/null +++ b/client/docs/GetVotesResponse1.md @@ -0,0 +1,21 @@ +# GetVotesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**applied_authorized_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**applied_anonymous_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**pending_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md new file mode 100644 index 0000000..480df07 --- /dev/null +++ b/client/docs/LockCommentResponse.md @@ -0,0 +1,18 @@ +# LockCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ModerationApi.md b/client/docs/ModerationApi.md index a7bd1ac..bd305f0 100644 --- a/client/docs/ModerationApi.md +++ b/client/docs/ModerationApi.md @@ -52,7 +52,7 @@ Method | HTTP request | Description ## delete_moderation_vote -> models::VoteDeleteResponse delete_moderation_vote(comment_id, vote_id, sso) +> models::DeleteModerationVoteResponse delete_moderation_vote(comment_id, vote_id, broadcast_id, tenant_id, sso) ### Parameters @@ -62,11 +62,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **vote_id** | **String** | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::VoteDeleteResponse**](VoteDeleteResponse.md) +[**models::DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) ### Authorization @@ -82,7 +84,7 @@ No authorization required ## get_api_comments -> models::ModerationApiGetCommentsResponse get_api_comments(page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, sso) +> models::GetApiCommentsResponse get_api_comments(page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, tenant_id, sso) ### Parameters @@ -98,11 +100,12 @@ Name | Type | Description | Required | Notes **search_filters** | Option<**String**> | | | **sorts** | Option<**String**> | | | **demo** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) +[**models::GetApiCommentsResponse**](GetApiCommentsResponse.md) ### Authorization @@ -118,7 +121,7 @@ No authorization required ## get_api_export_status -> models::ModerationExportStatusResponse get_api_export_status(batch_job_id, sso) +> models::GetApiExportStatusResponse get_api_export_status(batch_job_id, tenant_id, sso) ### Parameters @@ -127,11 +130,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **batch_job_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationExportStatusResponse**](ModerationExportStatusResponse.md) +[**models::GetApiExportStatusResponse**](GetApiExportStatusResponse.md) ### Authorization @@ -147,7 +151,7 @@ No authorization required ## get_api_ids -> models::ModerationApiGetCommentIdsResponse get_api_ids(text_search, by_ip_from_comment, filters, search_filters, after_id, demo, sso) +> models::GetApiIdsResponse get_api_ids(text_search, by_ip_from_comment, filters, search_filters, after_id, demo, tenant_id, sso) ### Parameters @@ -161,11 +165,12 @@ Name | Type | Description | Required | Notes **search_filters** | Option<**String**> | | | **after_id** | Option<**String**> | | | **demo** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) +[**models::GetApiIdsResponse**](GetApiIdsResponse.md) ### Authorization @@ -181,7 +186,7 @@ No authorization required ## get_ban_users_from_comment -> models::GetBannedUsersFromCommentResponse get_ban_users_from_comment(comment_id, sso) +> models::GetBanUsersFromCommentResponse get_ban_users_from_comment(comment_id, tenant_id, sso) ### Parameters @@ -190,11 +195,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) +[**models::GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) ### Authorization @@ -210,7 +216,7 @@ No authorization required ## get_comment_ban_status -> models::GetCommentBanStatusResponse get_comment_ban_status(comment_id, sso) +> models::GetCommentBanStatusResponse1 get_comment_ban_status(comment_id, tenant_id, sso) ### Parameters @@ -219,11 +225,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) +[**models::GetCommentBanStatusResponse1**](GetCommentBanStatusResponse_1.md) ### Authorization @@ -239,7 +246,7 @@ No authorization required ## get_comment_children -> models::ModerationApiChildCommentsResponse get_comment_children(comment_id, sso) +> models::GetCommentChildrenResponse get_comment_children(comment_id, tenant_id, sso) ### Parameters @@ -248,11 +255,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**models::GetCommentChildrenResponse**](GetCommentChildrenResponse.md) ### Authorization @@ -268,7 +276,7 @@ No authorization required ## get_count -> models::ModerationApiCountCommentsResponse get_count(text_search, by_ip_from_comment, filter, search_filters, demo, sso) +> models::GetCountResponse get_count(text_search, by_ip_from_comment, filter, search_filters, demo, tenant_id, sso) ### Parameters @@ -281,11 +289,12 @@ Name | Type | Description | Required | Notes **filter** | Option<**String**> | | | **search_filters** | Option<**String**> | | | **demo** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiCountCommentsResponse**](ModerationAPICountCommentsResponse.md) +[**models::GetCountResponse**](GetCountResponse.md) ### Authorization @@ -301,7 +310,7 @@ No authorization required ## get_counts -> models::GetBannedUsersCountResponse get_counts(sso) +> models::GetCountsResponse get_counts(tenant_id, sso) ### Parameters @@ -309,11 +318,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) +[**models::GetCountsResponse**](GetCountsResponse.md) ### Authorization @@ -329,7 +339,7 @@ No authorization required ## get_logs -> models::ModerationApiGetLogsResponse get_logs(comment_id, sso) +> models::GetLogsResponse get_logs(comment_id, tenant_id, sso) ### Parameters @@ -338,11 +348,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiGetLogsResponse**](ModerationAPIGetLogsResponse.md) +[**models::GetLogsResponse**](GetLogsResponse.md) ### Authorization @@ -358,7 +369,7 @@ No authorization required ## get_manual_badges -> models::GetTenantManualBadgesResponse get_manual_badges(sso) +> models::GetManualBadgesResponse get_manual_badges(tenant_id, sso) ### Parameters @@ -366,11 +377,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) +[**models::GetManualBadgesResponse**](GetManualBadgesResponse.md) ### Authorization @@ -386,7 +398,7 @@ No authorization required ## get_manual_badges_for_user -> models::GetUserManualBadgesResponse get_manual_badges_for_user(badges_user_id, comment_id, sso) +> models::GetManualBadgesForUserResponse get_manual_badges_for_user(badges_user_id, comment_id, tenant_id, sso) ### Parameters @@ -396,11 +408,12 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **badges_user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) +[**models::GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) ### Authorization @@ -416,7 +429,7 @@ No authorization required ## get_moderation_comment -> models::ModerationApiCommentResponse get_moderation_comment(comment_id, include_email, include_ip, sso) +> models::GetModerationCommentResponse get_moderation_comment(comment_id, include_email, include_ip, tenant_id, sso) ### Parameters @@ -427,11 +440,12 @@ Name | Type | Description | Required | Notes **comment_id** | **String** | | [required] | **include_email** | Option<**bool**> | | | **include_ip** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiCommentResponse**](ModerationAPICommentResponse.md) +[**models::GetModerationCommentResponse**](GetModerationCommentResponse.md) ### Authorization @@ -447,7 +461,7 @@ No authorization required ## get_moderation_comment_text -> models::GetCommentTextResponse get_moderation_comment_text(comment_id, sso) +> models::GetModerationCommentTextResponse get_moderation_comment_text(comment_id, tenant_id, sso) ### Parameters @@ -456,11 +470,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetCommentTextResponse**](GetCommentTextResponse.md) +[**models::GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) ### Authorization @@ -476,7 +491,7 @@ No authorization required ## get_pre_ban_summary -> models::PreBanSummary get_pre_ban_summary(comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, sso) +> models::GetPreBanSummaryResponse get_pre_ban_summary(comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) ### Parameters @@ -488,11 +503,12 @@ Name | Type | Description | Required | Notes **include_by_user_id_and_email** | Option<**bool**> | | | **include_by_ip** | Option<**bool**> | | | **include_by_email_domain** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::PreBanSummary**](PreBanSummary.md) +[**models::GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) ### Authorization @@ -508,7 +524,7 @@ No authorization required ## get_search_comments_summary -> models::ModerationCommentSearchResponse get_search_comments_summary(value, filters, search_filters, sso) +> models::GetSearchCommentsSummaryResponse get_search_comments_summary(value, filters, search_filters, tenant_id, sso) ### Parameters @@ -519,11 +535,12 @@ Name | Type | Description | Required | Notes **value** | Option<**String**> | | | **filters** | Option<**String**> | | | **search_filters** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) +[**models::GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) ### Authorization @@ -539,7 +556,7 @@ No authorization required ## get_search_pages -> models::ModerationPageSearchResponse get_search_pages(value, sso) +> models::GetSearchPagesResponse get_search_pages(value, tenant_id, sso) ### Parameters @@ -548,11 +565,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **value** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationPageSearchResponse**](ModerationPageSearchResponse.md) +[**models::GetSearchPagesResponse**](GetSearchPagesResponse.md) ### Authorization @@ -568,7 +586,7 @@ No authorization required ## get_search_sites -> models::ModerationSiteSearchResponse get_search_sites(value, sso) +> models::GetSearchSitesResponse get_search_sites(value, tenant_id, sso) ### Parameters @@ -577,11 +595,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **value** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) +[**models::GetSearchSitesResponse**](GetSearchSitesResponse.md) ### Authorization @@ -597,7 +616,7 @@ No authorization required ## get_search_suggest -> models::ModerationSuggestResponse get_search_suggest(text_search, sso) +> models::GetSearchSuggestResponse get_search_suggest(text_search, tenant_id, sso) ### Parameters @@ -606,11 +625,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **text_search** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationSuggestResponse**](ModerationSuggestResponse.md) +[**models::GetSearchSuggestResponse**](GetSearchSuggestResponse.md) ### Authorization @@ -626,7 +646,7 @@ No authorization required ## get_search_users -> models::ModerationUserSearchResponse get_search_users(value, sso) +> models::GetSearchUsersResponse get_search_users(value, tenant_id, sso) ### Parameters @@ -635,11 +655,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **value** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationUserSearchResponse**](ModerationUserSearchResponse.md) +[**models::GetSearchUsersResponse**](GetSearchUsersResponse.md) ### Authorization @@ -655,7 +676,7 @@ No authorization required ## get_trust_factor -> models::GetUserTrustFactorResponse get_trust_factor(user_id, sso) +> models::GetTrustFactorResponse get_trust_factor(user_id, tenant_id, sso) ### Parameters @@ -664,11 +685,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **user_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) +[**models::GetTrustFactorResponse**](GetTrustFactorResponse.md) ### Authorization @@ -684,7 +706,7 @@ No authorization required ## get_user_ban_preference -> models::ApiModerateGetUserBanPreferencesResponse get_user_ban_preference(sso) +> models::GetUserBanPreferenceResponse get_user_ban_preference(tenant_id, sso) ### Parameters @@ -692,11 +714,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) +[**models::GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) ### Authorization @@ -712,7 +735,7 @@ No authorization required ## get_user_internal_profile -> models::GetUserInternalProfileResponse get_user_internal_profile(comment_id, sso) +> models::GetUserInternalProfileResponse1 get_user_internal_profile(comment_id, tenant_id, sso) ### Parameters @@ -721,11 +744,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) +[**models::GetUserInternalProfileResponse1**](GetUserInternalProfileResponse_1.md) ### Authorization @@ -741,7 +765,7 @@ No authorization required ## post_adjust_comment_votes -> models::AdjustVotesResponse post_adjust_comment_votes(comment_id, adjust_comment_votes_params, sso) +> models::PostAdjustCommentVotesResponse post_adjust_comment_votes(comment_id, adjust_comment_votes_params, broadcast_id, tenant_id, sso) ### Parameters @@ -751,11 +775,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **adjust_comment_votes_params** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::AdjustVotesResponse**](AdjustVotesResponse.md) +[**models::PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) ### Authorization @@ -771,7 +797,7 @@ No authorization required ## post_api_export -> models::ModerationExportResponse post_api_export(text_search, by_ip_from_comment, filters, search_filters, sorts, sso) +> models::PostApiExportResponse post_api_export(text_search, by_ip_from_comment, filters, search_filters, sorts, tenant_id, sso) ### Parameters @@ -784,11 +810,12 @@ Name | Type | Description | Required | Notes **filters** | Option<**String**> | | | **search_filters** | Option<**String**> | | | **sorts** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationExportResponse**](ModerationExportResponse.md) +[**models::PostApiExportResponse**](PostApiExportResponse.md) ### Authorization @@ -804,7 +831,7 @@ No authorization required ## post_ban_user_from_comment -> models::BanUserFromCommentResult post_ban_user_from_comment(comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, sso) +> models::PostBanUserFromCommentResponse post_ban_user_from_comment(comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, tenant_id, sso) ### Parameters @@ -821,11 +848,12 @@ Name | Type | Description | Required | Notes **is_shadow_ban** | Option<**bool**> | | | **update_id** | Option<**String**> | | | **ban_reason** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::BanUserFromCommentResult**](BanUserFromCommentResult.md) +[**models::PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) ### Authorization @@ -841,7 +869,7 @@ No authorization required ## post_ban_user_undo -> models::ApiEmptyResponse post_ban_user_undo(ban_user_undo_params, sso) +> models::PostBanUserUndoResponse post_ban_user_undo(ban_user_undo_params, tenant_id, sso) ### Parameters @@ -850,11 +878,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ban_user_undo_params** | [**BanUserUndoParams**](BanUserUndoParams.md) | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostBanUserUndoResponse**](PostBanUserUndoResponse.md) ### Authorization @@ -870,7 +899,7 @@ No authorization required ## post_bulk_pre_ban_summary -> models::BulkPreBanSummary post_bulk_pre_ban_summary(bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, sso) +> models::PostBulkPreBanSummaryResponse post_bulk_pre_ban_summary(bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) ### Parameters @@ -882,11 +911,12 @@ Name | Type | Description | Required | Notes **include_by_user_id_and_email** | Option<**bool**> | | | **include_by_ip** | Option<**bool**> | | | **include_by_email_domain** | Option<**bool**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::BulkPreBanSummary**](BulkPreBanSummary.md) +[**models::PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) ### Authorization @@ -902,7 +932,7 @@ No authorization required ## post_comments_by_ids -> models::ModerationApiChildCommentsResponse post_comments_by_ids(comments_by_ids_params, sso) +> models::PostCommentsByIdsResponse post_comments_by_ids(comments_by_ids_params, tenant_id, sso) ### Parameters @@ -911,11 +941,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comments_by_ids_params** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ModerationApiChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**models::PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) ### Authorization @@ -931,7 +962,7 @@ No authorization required ## post_flag_comment -> models::ApiEmptyResponse post_flag_comment(comment_id, sso) +> models::PostFlagCommentResponse post_flag_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -940,11 +971,13 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostFlagCommentResponse**](PostFlagCommentResponse.md) ### Authorization @@ -960,7 +993,7 @@ No authorization required ## post_remove_comment -> models::PostRemoveCommentResponse post_remove_comment(comment_id, sso) +> models::PostRemoveCommentResponse post_remove_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -969,6 +1002,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -989,7 +1024,7 @@ No authorization required ## post_restore_deleted_comment -> models::ApiEmptyResponse post_restore_deleted_comment(comment_id, sso) +> models::PostRestoreDeletedCommentResponse post_restore_deleted_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -998,11 +1033,13 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) ### Authorization @@ -1018,7 +1055,7 @@ No authorization required ## post_set_comment_approval_status -> models::SetCommentApprovedResponse post_set_comment_approval_status(comment_id, approved, sso) +> models::PostSetCommentApprovalStatusResponse post_set_comment_approval_status(comment_id, approved, broadcast_id, tenant_id, sso) ### Parameters @@ -1028,11 +1065,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **approved** | Option<**bool**> | | | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::SetCommentApprovedResponse**](SetCommentApprovedResponse.md) +[**models::PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) ### Authorization @@ -1048,7 +1087,7 @@ No authorization required ## post_set_comment_review_status -> models::ApiEmptyResponse post_set_comment_review_status(comment_id, reviewed, sso) +> models::PostSetCommentReviewStatusResponse post_set_comment_review_status(comment_id, reviewed, broadcast_id, tenant_id, sso) ### Parameters @@ -1058,11 +1097,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **reviewed** | Option<**bool**> | | | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) ### Authorization @@ -1078,7 +1119,7 @@ No authorization required ## post_set_comment_spam_status -> models::ApiEmptyResponse post_set_comment_spam_status(comment_id, spam, perm_not_spam, sso) +> models::PostSetCommentSpamStatusResponse post_set_comment_spam_status(comment_id, spam, perm_not_spam, broadcast_id, tenant_id, sso) ### Parameters @@ -1089,11 +1130,13 @@ Name | Type | Description | Required | Notes **comment_id** | **String** | | [required] | **spam** | Option<**bool**> | | | **perm_not_spam** | Option<**bool**> | | | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) ### Authorization @@ -1109,7 +1152,7 @@ No authorization required ## post_set_comment_text -> models::SetCommentTextResponse post_set_comment_text(comment_id, set_comment_text_params, sso) +> models::PostSetCommentTextResponse post_set_comment_text(comment_id, set_comment_text_params, broadcast_id, tenant_id, sso) ### Parameters @@ -1119,11 +1162,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **set_comment_text_params** | [**SetCommentTextParams**](SetCommentTextParams.md) | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::SetCommentTextResponse**](SetCommentTextResponse.md) +[**models::PostSetCommentTextResponse**](PostSetCommentTextResponse.md) ### Authorization @@ -1139,7 +1184,7 @@ No authorization required ## post_un_flag_comment -> models::ApiEmptyResponse post_un_flag_comment(comment_id, sso) +> models::PostUnFlagCommentResponse post_un_flag_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1148,11 +1193,13 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) ### Authorization @@ -1168,7 +1215,7 @@ No authorization required ## post_vote -> models::VoteResponse post_vote(comment_id, direction, sso) +> models::PostVoteResponse post_vote(comment_id, direction, broadcast_id, tenant_id, sso) ### Parameters @@ -1178,11 +1225,13 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **comment_id** | **String** | | [required] | **direction** | Option<**String**> | | | +**broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::VoteResponse**](VoteResponse.md) +[**models::PostVoteResponse**](PostVoteResponse.md) ### Authorization @@ -1198,7 +1247,7 @@ No authorization required ## put_award_badge -> models::AwardUserBadgeResponse put_award_badge(badge_id, user_id, comment_id, broadcast_id, sso) +> models::PutAwardBadgeResponse put_award_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1210,11 +1259,12 @@ Name | Type | Description | Required | Notes **user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | **broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::AwardUserBadgeResponse**](AwardUserBadgeResponse.md) +[**models::PutAwardBadgeResponse**](PutAwardBadgeResponse.md) ### Authorization @@ -1230,7 +1280,7 @@ No authorization required ## put_close_thread -> models::ApiEmptyResponse put_close_thread(url_id, sso) +> models::PutCloseThreadResponse put_close_thread(url_id, tenant_id, sso) ### Parameters @@ -1239,11 +1289,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **url_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PutCloseThreadResponse**](PutCloseThreadResponse.md) ### Authorization @@ -1259,7 +1310,7 @@ No authorization required ## put_remove_badge -> models::RemoveUserBadgeResponse put_remove_badge(badge_id, user_id, comment_id, broadcast_id, sso) +> models::PutRemoveBadgeResponse put_remove_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1271,11 +1322,12 @@ Name | Type | Description | Required | Notes **user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | **broadcast_id** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) +[**models::PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) ### Authorization @@ -1291,7 +1343,7 @@ No authorization required ## put_reopen_thread -> models::ApiEmptyResponse put_reopen_thread(url_id, sso) +> models::PutReopenThreadResponse put_reopen_thread(url_id, tenant_id, sso) ### Parameters @@ -1300,11 +1352,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **url_id** | **String** | | [required] | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::PutReopenThreadResponse**](PutReopenThreadResponse.md) ### Authorization @@ -1320,7 +1373,7 @@ No authorization required ## set_trust_factor -> models::SetUserTrustFactorResponse set_trust_factor(user_id, trust_factor, sso) +> models::SetTrustFactorResponse set_trust_factor(user_id, trust_factor, tenant_id, sso) ### Parameters @@ -1330,11 +1383,12 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **user_id** | Option<**String**> | | | **trust_factor** | Option<**String**> | | | +**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) +[**models::SetTrustFactorResponse**](SetTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md new file mode 100644 index 0000000..b763ce5 --- /dev/null +++ b/client/docs/PatchHashTagResponse.md @@ -0,0 +1,19 @@ +# PatchHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**hash_tag** | Option<[**models::TenantHashTag**](TenantHashTag.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md new file mode 100644 index 0000000..ad7f729 --- /dev/null +++ b/client/docs/PinCommentResponse.md @@ -0,0 +1,19 @@ +# PinCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment_positions** | Option<[**std::collections::HashMap**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md)> | Construct a type with a set of properties K of type T | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md new file mode 100644 index 0000000..6514821 --- /dev/null +++ b/client/docs/PostAdjustCommentVotesResponse.md @@ -0,0 +1,19 @@ +# PostAdjustCommentVotesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**new_comment_votes** | Option<**i32**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md new file mode 100644 index 0000000..fbe7130 --- /dev/null +++ b/client/docs/PostApiExportResponse.md @@ -0,0 +1,19 @@ +# PostApiExportResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**batch_job_id** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md new file mode 100644 index 0000000..6295982 --- /dev/null +++ b/client/docs/PostBanUserFromCommentResponse.md @@ -0,0 +1,19 @@ +# PostBanUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**changelog** | Option<[**models::ApiBanUserChangeLog**](APIBanUserChangeLog.md)> | | [optional] +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md new file mode 100644 index 0000000..45320d3 --- /dev/null +++ b/client/docs/PostBanUserUndoResponse.md @@ -0,0 +1,18 @@ +# PostBanUserUndoResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md new file mode 100644 index 0000000..c0464ba --- /dev/null +++ b/client/docs/PostBulkPreBanSummaryResponse.md @@ -0,0 +1,23 @@ +# PostBulkPreBanSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**total_related_comment_count** | Option<**i32**> | | [optional] +**email_domains** | Option<**Vec**> | | [optional] +**emails** | Option<**Vec**> | | [optional] +**user_ids** | Option<**Vec**> | | [optional] +**ip_hashes** | Option<**Vec**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md new file mode 100644 index 0000000..994f337 --- /dev/null +++ b/client/docs/PostCommentsByIdsResponse.md @@ -0,0 +1,19 @@ +# PostCommentsByIdsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md new file mode 100644 index 0000000..9559867 --- /dev/null +++ b/client/docs/PostFlagCommentResponse.md @@ -0,0 +1,18 @@ +# PostFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index c4f773e..22d5848 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -4,8 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | **String** | | -**status** | **String** | | +**action** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md new file mode 100644 index 0000000..aaf49e8 --- /dev/null +++ b/client/docs/PostRestoreDeletedCommentResponse.md @@ -0,0 +1,18 @@ +# PostRestoreDeletedCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md new file mode 100644 index 0000000..285ea4a --- /dev/null +++ b/client/docs/PostSetCommentApprovalStatusResponse.md @@ -0,0 +1,19 @@ +# PostSetCommentApprovalStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**did_reset_flagged_count** | Option<**bool**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md new file mode 100644 index 0000000..bea1838 --- /dev/null +++ b/client/docs/PostSetCommentReviewStatusResponse.md @@ -0,0 +1,18 @@ +# PostSetCommentReviewStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md new file mode 100644 index 0000000..6d8153e --- /dev/null +++ b/client/docs/PostSetCommentSpamStatusResponse.md @@ -0,0 +1,18 @@ +# PostSetCommentSpamStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md new file mode 100644 index 0000000..24d0b83 --- /dev/null +++ b/client/docs/PostSetCommentTextResponse.md @@ -0,0 +1,19 @@ +# PostSetCommentTextResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**new_comment_text_html** | Option<**String**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md new file mode 100644 index 0000000..ff0da09 --- /dev/null +++ b/client/docs/PostUnFlagCommentResponse.md @@ -0,0 +1,18 @@ +# PostUnFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md new file mode 100644 index 0000000..4bf6d5b --- /dev/null +++ b/client/docs/PostVoteResponse.md @@ -0,0 +1,22 @@ +# PostVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**vote_id** | Option<**String**> | | [optional] +**is_verified** | Option<**bool**> | | [optional] +**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] +**edit_key** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PublicApi.md b/client/docs/PublicApi.md index c4135de..42aca61 100644 --- a/client/docs/PublicApi.md +++ b/client/docs/PublicApi.md @@ -61,7 +61,7 @@ Method | HTTP request | Description ## block_from_comment_public -> models::BlockSuccess block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) +> models::BlockFromCommentPublicResponse block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) ### Parameters @@ -76,7 +76,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BlockSuccess**](BlockSuccess.md) +[**models::BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) ### Authorization @@ -92,7 +92,7 @@ No authorization required ## checked_comments_for_blocked -> models::CheckBlockedCommentsResponse checked_comments_for_blocked(tenant_id, comment_ids, sso) +> models::CheckedCommentsForBlockedResponse checked_comments_for_blocked(tenant_id, comment_ids, sso) ### Parameters @@ -106,7 +106,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) +[**models::CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) ### Authorization @@ -122,7 +122,7 @@ No authorization required ## create_comment_public -> models::SaveCommentsResponseWithPresence create_comment_public(tenant_id, url_id, broadcast_id, comment_data, session_id, sso) +> models::CreateCommentPublicResponse create_comment_public(tenant_id, url_id, broadcast_id, comment_data, session_id, sso) ### Parameters @@ -139,7 +139,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) +[**models::CreateCommentPublicResponse**](CreateCommentPublicResponse.md) ### Authorization @@ -155,7 +155,7 @@ No authorization required ## create_feed_post_public -> models::CreateFeedPostResponse create_feed_post_public(tenant_id, create_feed_post_params, broadcast_id, sso) +> models::CreateFeedPostPublicResponse create_feed_post_public(tenant_id, create_feed_post_params, broadcast_id, sso) ### Parameters @@ -170,7 +170,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**models::CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) ### Authorization @@ -186,7 +186,7 @@ No authorization required ## create_v1_page_react -> models::CreateV1PageReact create_v1_page_react(tenant_id, url_id, title) +> models::CreateV1PageReactResponse create_v1_page_react(tenant_id, url_id, title) ### Parameters @@ -200,7 +200,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV1PageReact**](CreateV1PageReact.md) +[**models::CreateV1PageReactResponse**](CreateV1PageReactResponse.md) ### Authorization @@ -216,7 +216,7 @@ No authorization required ## create_v2_page_react -> models::CreateV1PageReact create_v2_page_react(tenant_id, url_id, id, title) +> models::CreateV2PageReactResponse create_v2_page_react(tenant_id, url_id, id, title) ### Parameters @@ -231,7 +231,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV1PageReact**](CreateV1PageReact.md) +[**models::CreateV2PageReactResponse**](CreateV2PageReactResponse.md) ### Authorization @@ -247,7 +247,7 @@ No authorization required ## delete_comment_public -> models::PublicApiDeleteCommentResponse delete_comment_public(tenant_id, comment_id, broadcast_id, edit_key, sso) +> models::DeleteCommentPublicResponse delete_comment_public(tenant_id, comment_id, broadcast_id, edit_key, sso) ### Parameters @@ -263,7 +263,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PublicApiDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) +[**models::DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) ### Authorization @@ -279,7 +279,7 @@ No authorization required ## delete_comment_vote -> models::VoteDeleteResponse delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, edit_key, sso) +> models::DeleteCommentVoteResponse delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, edit_key, sso) ### Parameters @@ -297,7 +297,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::VoteDeleteResponse**](VoteDeleteResponse.md) +[**models::DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) ### Authorization @@ -344,7 +344,7 @@ No authorization required ## delete_v1_page_react -> models::CreateV1PageReact delete_v1_page_react(tenant_id, url_id) +> models::DeleteV1PageReactResponse delete_v1_page_react(tenant_id, url_id) ### Parameters @@ -357,7 +357,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV1PageReact**](CreateV1PageReact.md) +[**models::DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) ### Authorization @@ -373,7 +373,7 @@ No authorization required ## delete_v2_page_react -> models::CreateV1PageReact delete_v2_page_react(tenant_id, url_id, id) +> models::DeleteV2PageReactResponse delete_v2_page_react(tenant_id, url_id, id) ### Parameters @@ -387,7 +387,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV1PageReact**](CreateV1PageReact.md) +[**models::DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) ### Authorization @@ -403,7 +403,7 @@ No authorization required ## flag_comment_public -> models::ApiEmptyResponse flag_comment_public(tenant_id, comment_id, is_flagged, sso) +> models::FlagCommentPublicResponse flag_comment_public(tenant_id, comment_id, is_flagged, sso) ### Parameters @@ -418,7 +418,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::FlagCommentPublicResponse**](FlagCommentPublicResponse.md) ### Authorization @@ -434,7 +434,7 @@ No authorization required ## get_comment_text -> models::PublicApiGetCommentTextResponse get_comment_text(tenant_id, comment_id, edit_key, sso) +> models::GetCommentTextResponse1 get_comment_text(tenant_id, comment_id, edit_key, sso) ### Parameters @@ -449,7 +449,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PublicApiGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) +[**models::GetCommentTextResponse1**](GetCommentTextResponse_1.md) ### Authorization @@ -465,7 +465,7 @@ No authorization required ## get_comment_vote_user_names -> models::GetCommentVoteUserNamesSuccessResponse get_comment_vote_user_names(tenant_id, comment_id, dir, sso) +> models::GetCommentVoteUserNamesResponse get_comment_vote_user_names(tenant_id, comment_id, dir, sso) ### Parameters @@ -480,7 +480,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) +[**models::GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) ### Authorization @@ -496,7 +496,7 @@ No authorization required ## get_comments_for_user -> models::GetCommentsForUserResponse get_comments_for_user(user_id, direction, replies_to_user_id, page, includei10n, locale, is_crawler) +> models::GetCommentsForUserResponse1 get_comments_for_user(user_id, direction, replies_to_user_id, page, includei10n, locale, is_crawler) ### Parameters @@ -514,7 +514,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentsForUserResponse**](GetCommentsForUserResponse.md) +[**models::GetCommentsForUserResponse1**](GetCommentsForUserResponse_1.md) ### Authorization @@ -530,7 +530,7 @@ No authorization required ## get_comments_public -> models::GetCommentsResponseWithPresencePublicComment get_comments_public(tenant_id, url_id, page, direction, sso, skip, skip_children, limit, limit_children, count_children, fetch_page_for_comment_id, include_config, count_all, includei10n, locale, modules, is_crawler, include_notification_count, as_tree, max_tree_depth, use_full_translation_ids, parent_id, search_text, hash_tags, user_id, custom_config_str, after_comment_id, before_comment_id) +> models::GetCommentsPublicResponse get_comments_public(tenant_id, url_id, page, direction, sso, skip, skip_children, limit, limit_children, count_children, fetch_page_for_comment_id, include_config, count_all, includei10n, locale, modules, is_crawler, include_notification_count, as_tree, max_tree_depth, use_full_translation_ids, parent_id, search_text, hash_tags, user_id, custom_config_str, after_comment_id, before_comment_id) req tenantId urlId @@ -571,7 +571,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresence_PublicComment_.md) +[**models::GetCommentsPublicResponse**](GetCommentsPublicResponse.md) ### Authorization @@ -587,7 +587,7 @@ No authorization required ## get_event_log -> models::GetEventLogResponse get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) +> models::GetEventLogResponse1 get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) req tenantId urlId userIdWS @@ -605,7 +605,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEventLogResponse**](GetEventLogResponse.md) +[**models::GetEventLogResponse1**](GetEventLogResponse_1.md) ### Authorization @@ -621,7 +621,7 @@ No authorization required ## get_feed_posts_public -> models::PublicFeedPostsResponse get_feed_posts_public(tenant_id, after_id, limit, tags, sso, is_crawler, include_user_info) +> models::GetFeedPostsPublicResponse get_feed_posts_public(tenant_id, after_id, limit, tags, sso, is_crawler, include_user_info) req tenantId afterId @@ -641,7 +641,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PublicFeedPostsResponse**](PublicFeedPostsResponse.md) +[**models::GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) ### Authorization @@ -657,7 +657,7 @@ No authorization required ## get_feed_posts_stats -> models::FeedPostsStatsResponse get_feed_posts_stats(tenant_id, post_ids, sso) +> models::GetFeedPostsStatsResponse get_feed_posts_stats(tenant_id, post_ids, sso) ### Parameters @@ -671,7 +671,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::FeedPostsStatsResponse**](FeedPostsStatsResponse.md) +[**models::GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) ### Authorization @@ -687,7 +687,7 @@ No authorization required ## get_gif_large -> models::GifGetLargeResponse get_gif_large(tenant_id, large_internal_url_sanitized) +> models::GetGifLargeResponse get_gif_large(tenant_id, large_internal_url_sanitized) ### Parameters @@ -700,7 +700,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GifGetLargeResponse**](GifGetLargeResponse.md) +[**models::GetGifLargeResponse**](GetGifLargeResponse.md) ### Authorization @@ -779,7 +779,7 @@ No authorization required ## get_global_event_log -> models::GetEventLogResponse get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) +> models::GetGlobalEventLogResponse get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) req tenantId urlId userIdWS @@ -797,7 +797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEventLogResponse**](GetEventLogResponse.md) +[**models::GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) ### Authorization @@ -813,7 +813,7 @@ No authorization required ## get_offline_users -> models::PageUsersOfflineResponse get_offline_users(tenant_id, url_id, after_name, after_user_id) +> models::GetOfflineUsersResponse get_offline_users(tenant_id, url_id, after_name, after_user_id) Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost. @@ -830,7 +830,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PageUsersOfflineResponse**](PageUsersOfflineResponse.md) +[**models::GetOfflineUsersResponse**](GetOfflineUsersResponse.md) ### Authorization @@ -846,7 +846,7 @@ No authorization required ## get_online_users -> models::PageUsersOnlineResponse get_online_users(tenant_id, url_id, after_name, after_user_id) +> models::GetOnlineUsersResponse get_online_users(tenant_id, url_id, after_name, after_user_id) Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). @@ -863,7 +863,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PageUsersOnlineResponse**](PageUsersOnlineResponse.md) +[**models::GetOnlineUsersResponse**](GetOnlineUsersResponse.md) ### Authorization @@ -879,7 +879,7 @@ No authorization required ## get_pages_public -> models::GetPublicPagesResponse get_pages_public(tenant_id, cursor, limit, q, sort_by, has_comments) +> models::GetPagesPublicResponse get_pages_public(tenant_id, cursor, limit, q, sort_by, has_comments) List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access. @@ -898,7 +898,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPublicPagesResponse**](GetPublicPagesResponse.md) +[**models::GetPagesPublicResponse**](GetPagesPublicResponse.md) ### Authorization @@ -914,7 +914,7 @@ No authorization required ## get_translations -> models::GetTranslationsResponse get_translations(namespace, component, locale, use_full_translation_ids) +> models::GetTranslationsResponse1 get_translations(namespace, component, locale, use_full_translation_ids) ### Parameters @@ -929,7 +929,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTranslationsResponse**](GetTranslationsResponse.md) +[**models::GetTranslationsResponse1**](GetTranslationsResponse_1.md) ### Authorization @@ -945,7 +945,7 @@ No authorization required ## get_user_notification_count -> models::GetUserNotificationCountResponse get_user_notification_count(tenant_id, sso) +> models::GetUserNotificationCountResponse1 get_user_notification_count(tenant_id, sso) ### Parameters @@ -958,7 +958,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) +[**models::GetUserNotificationCountResponse1**](GetUserNotificationCountResponse_1.md) ### Authorization @@ -974,7 +974,7 @@ No authorization required ## get_user_notifications -> models::GetMyNotificationsResponse get_user_notifications(tenant_id, url_id, page_size, after_id, include_context, after_created_at, unread_only, dm_only, no_dm, include_translations, include_tenant_notifications, sso) +> models::GetUserNotificationsResponse get_user_notifications(tenant_id, url_id, page_size, after_id, include_context, after_created_at, unread_only, dm_only, no_dm, include_translations, include_tenant_notifications, sso) ### Parameters @@ -997,7 +997,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetMyNotificationsResponse**](GetMyNotificationsResponse.md) +[**models::GetUserNotificationsResponse**](GetUserNotificationsResponse.md) ### Authorization @@ -1013,7 +1013,7 @@ No authorization required ## get_user_presence_statuses -> models::GetUserPresenceStatusesResponse get_user_presence_statuses(tenant_id, url_id_ws, user_ids) +> models::GetUserPresenceStatusesResponse1 get_user_presence_statuses(tenant_id, url_id_ws, user_ids) ### Parameters @@ -1027,7 +1027,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) +[**models::GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse_1.md) ### Authorization @@ -1043,7 +1043,7 @@ No authorization required ## get_user_reacts_public -> models::UserReactsResponse get_user_reacts_public(tenant_id, post_ids, sso) +> models::GetUserReactsPublicResponse get_user_reacts_public(tenant_id, post_ids, sso) ### Parameters @@ -1057,7 +1057,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UserReactsResponse**](UserReactsResponse.md) +[**models::GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) ### Authorization @@ -1073,7 +1073,7 @@ No authorization required ## get_users_info -> models::PageUsersInfoResponse get_users_info(tenant_id, ids) +> models::GetUsersInfoResponse get_users_info(tenant_id, ids) Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). @@ -1088,7 +1088,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PageUsersInfoResponse**](PageUsersInfoResponse.md) +[**models::GetUsersInfoResponse**](GetUsersInfoResponse.md) ### Authorization @@ -1104,7 +1104,7 @@ No authorization required ## get_v1_page_likes -> models::GetV1PageLikes get_v1_page_likes(tenant_id, url_id) +> models::GetV1PageLikesResponse get_v1_page_likes(tenant_id, url_id) ### Parameters @@ -1117,7 +1117,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV1PageLikes**](GetV1PageLikes.md) +[**models::GetV1PageLikesResponse**](GetV1PageLikesResponse.md) ### Authorization @@ -1133,7 +1133,7 @@ No authorization required ## get_v2_page_react_users -> models::GetV2PageReactUsersResponse get_v2_page_react_users(tenant_id, url_id, id) +> models::GetV2PageReactUsersResponse1 get_v2_page_react_users(tenant_id, url_id, id) ### Parameters @@ -1147,7 +1147,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) +[**models::GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse_1.md) ### Authorization @@ -1163,7 +1163,7 @@ No authorization required ## get_v2_page_reacts -> models::GetV2PageReacts get_v2_page_reacts(tenant_id, url_id) +> models::GetV2PageReactsResponse get_v2_page_reacts(tenant_id, url_id) ### Parameters @@ -1176,7 +1176,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV2PageReacts**](GetV2PageReacts.md) +[**models::GetV2PageReactsResponse**](GetV2PageReactsResponse.md) ### Authorization @@ -1192,7 +1192,7 @@ No authorization required ## lock_comment -> models::ApiEmptyResponse lock_comment(tenant_id, comment_id, broadcast_id, sso) +> models::LockCommentResponse lock_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1207,7 +1207,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::LockCommentResponse**](LockCommentResponse.md) ### Authorization @@ -1248,7 +1248,7 @@ No authorization required ## pin_comment -> models::ChangeCommentPinStatusResponse pin_comment(tenant_id, comment_id, broadcast_id, sso) +> models::PinCommentResponse pin_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1263,7 +1263,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**models::PinCommentResponse**](PinCommentResponse.md) ### Authorization @@ -1279,7 +1279,7 @@ No authorization required ## react_feed_post_public -> models::ReactFeedPostResponse react_feed_post_public(tenant_id, post_id, react_body_params, is_undo, broadcast_id, sso) +> models::ReactFeedPostPublicResponse react_feed_post_public(tenant_id, post_id, react_body_params, is_undo, broadcast_id, sso) ### Parameters @@ -1296,7 +1296,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ReactFeedPostResponse**](ReactFeedPostResponse.md) +[**models::ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) ### Authorization @@ -1312,7 +1312,7 @@ No authorization required ## reset_user_notification_count -> models::ResetUserNotificationsResponse reset_user_notification_count(tenant_id, sso) +> models::ResetUserNotificationCountResponse reset_user_notification_count(tenant_id, sso) ### Parameters @@ -1325,7 +1325,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**models::ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) ### Authorization @@ -1341,7 +1341,7 @@ No authorization required ## reset_user_notifications -> models::ResetUserNotificationsResponse reset_user_notifications(tenant_id, after_id, after_created_at, unread_only, dm_only, no_dm, sso) +> models::ResetUserNotificationsResponse1 reset_user_notifications(tenant_id, after_id, after_created_at, unread_only, dm_only, no_dm, sso) ### Parameters @@ -1359,7 +1359,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**models::ResetUserNotificationsResponse1**](ResetUserNotificationsResponse_1.md) ### Authorization @@ -1375,7 +1375,7 @@ No authorization required ## search_users -> models::SearchUsersResult search_users(tenant_id, url_id, username_starts_with, mention_group_ids, sso, search_section) +> models::SearchUsersResponse1 search_users(tenant_id, url_id, username_starts_with, mention_group_ids, sso, search_section) ### Parameters @@ -1392,7 +1392,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SearchUsersResult**](SearchUsersResult.md) +[**models::SearchUsersResponse1**](SearchUsersResponse_1.md) ### Authorization @@ -1408,7 +1408,7 @@ No authorization required ## set_comment_text -> models::PublicApiSetCommentTextResponse set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, edit_key, sso) +> models::SetCommentTextResponse1 set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, edit_key, sso) ### Parameters @@ -1425,7 +1425,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PublicApiSetCommentTextResponse**](PublicAPISetCommentTextResponse.md) +[**models::SetCommentTextResponse1**](SetCommentTextResponse_1.md) ### Authorization @@ -1441,7 +1441,7 @@ No authorization required ## un_block_comment_public -> models::UnblockSuccess un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) +> models::UnBlockCommentPublicResponse un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) ### Parameters @@ -1456,7 +1456,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnblockSuccess**](UnblockSuccess.md) +[**models::UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) ### Authorization @@ -1472,7 +1472,7 @@ No authorization required ## un_lock_comment -> models::ApiEmptyResponse un_lock_comment(tenant_id, comment_id, broadcast_id, sso) +> models::UnLockCommentResponse un_lock_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1487,7 +1487,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ApiEmptyResponse**](APIEmptyResponse.md) +[**models::UnLockCommentResponse**](UnLockCommentResponse.md) ### Authorization @@ -1503,7 +1503,7 @@ No authorization required ## un_pin_comment -> models::ChangeCommentPinStatusResponse un_pin_comment(tenant_id, comment_id, broadcast_id, sso) +> models::UnPinCommentResponse un_pin_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1518,7 +1518,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**models::UnPinCommentResponse**](UnPinCommentResponse.md) ### Authorization @@ -1534,7 +1534,7 @@ No authorization required ## update_feed_post_public -> models::CreateFeedPostResponse update_feed_post_public(tenant_id, post_id, update_feed_post_params, broadcast_id, sso) +> models::UpdateFeedPostPublicResponse update_feed_post_public(tenant_id, post_id, update_feed_post_params, broadcast_id, sso) ### Parameters @@ -1550,7 +1550,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**models::UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) ### Authorization @@ -1699,7 +1699,7 @@ No authorization required ## vote_comment -> models::VoteResponse vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, session_id, sso) +> models::VoteCommentResponse vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, session_id, sso) ### Parameters @@ -1717,7 +1717,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::VoteResponse**](VoteResponse.md) +[**models::VoteCommentResponse**](VoteCommentResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md new file mode 100644 index 0000000..10a32e5 --- /dev/null +++ b/client/docs/PutAwardBadgeResponse.md @@ -0,0 +1,20 @@ +# PutAwardBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notes** | Option<**Vec**> | | [optional] +**badges** | Option<[**Vec**](CommentUserBadgeInfo.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md new file mode 100644 index 0000000..0ebfdf2 --- /dev/null +++ b/client/docs/PutCloseThreadResponse.md @@ -0,0 +1,18 @@ +# PutCloseThreadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md new file mode 100644 index 0000000..730f3d3 --- /dev/null +++ b/client/docs/PutRemoveBadgeResponse.md @@ -0,0 +1,19 @@ +# PutRemoveBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | Option<[**Vec**](CommentUserBadgeInfo.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md new file mode 100644 index 0000000..dae709e --- /dev/null +++ b/client/docs/PutReopenThreadResponse.md @@ -0,0 +1,18 @@ +# PutReopenThreadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md new file mode 100644 index 0000000..9ed5b12 --- /dev/null +++ b/client/docs/ReactFeedPostPublicResponse.md @@ -0,0 +1,20 @@ +# ReactFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**react_type** | Option<**String**> | | [optional] +**is_undo** | Option<**bool**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md new file mode 100644 index 0000000..825844a --- /dev/null +++ b/client/docs/RenderEmailTemplateResponse1.md @@ -0,0 +1,19 @@ +# RenderEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**html** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md new file mode 100644 index 0000000..e70409b --- /dev/null +++ b/client/docs/ReplaceTenantPackageResponse.md @@ -0,0 +1,18 @@ +# ReplaceTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md new file mode 100644 index 0000000..7e04f30 --- /dev/null +++ b/client/docs/ReplaceTenantUserResponse.md @@ -0,0 +1,18 @@ +# ReplaceTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md new file mode 100644 index 0000000..019b9fc --- /dev/null +++ b/client/docs/ResetUserNotificationCountResponse.md @@ -0,0 +1,18 @@ +# ResetUserNotificationCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md new file mode 100644 index 0000000..6d1f56d --- /dev/null +++ b/client/docs/ResetUserNotificationsResponse1.md @@ -0,0 +1,18 @@ +# ResetUserNotificationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md new file mode 100644 index 0000000..8cf3b4c --- /dev/null +++ b/client/docs/SaveCommentResponse.md @@ -0,0 +1,21 @@ +# SaveCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment** | Option<[**models::ApiComment**](APIComment.md)> | | [optional] +**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] +**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md new file mode 100644 index 0000000..a40cbc4 --- /dev/null +++ b/client/docs/SearchUsersResponse1.md @@ -0,0 +1,20 @@ +# SearchUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**sections** | Option<[**Vec**](UserSearchSectionResult.md)> | | [optional] +**users** | Option<[**Vec**](UserSearchResult.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md new file mode 100644 index 0000000..d3040e9 --- /dev/null +++ b/client/docs/SendInviteResponse.md @@ -0,0 +1,18 @@ +# SendInviteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md new file mode 100644 index 0000000..43a30d7 --- /dev/null +++ b/client/docs/SendLoginLinkResponse.md @@ -0,0 +1,18 @@ +# SendLoginLinkResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md new file mode 100644 index 0000000..df666c0 --- /dev/null +++ b/client/docs/SetCommentTextResponse1.md @@ -0,0 +1,19 @@ +# SetCommentTextResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | Option<[**models::SetCommentTextResult**](SetCommentTextResult.md)> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md new file mode 100644 index 0000000..7f8af8b --- /dev/null +++ b/client/docs/SetTrustFactorResponse.md @@ -0,0 +1,19 @@ +# SetTrustFactorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**previous_manual_trust_factor** | Option<**f64**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md new file mode 100644 index 0000000..4ef422a --- /dev/null +++ b/client/docs/UnBlockCommentPublicResponse.md @@ -0,0 +1,19 @@ +# UnBlockCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md new file mode 100644 index 0000000..b43029e --- /dev/null +++ b/client/docs/UnBlockUserFromCommentResponse.md @@ -0,0 +1,19 @@ +# UnBlockUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md new file mode 100644 index 0000000..6d8de2a --- /dev/null +++ b/client/docs/UnFlagCommentResponse.md @@ -0,0 +1,20 @@ +# UnFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | Option<**i32**> | | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**code** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**was_unapproved** | Option<**bool**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md new file mode 100644 index 0000000..4c7d8a5 --- /dev/null +++ b/client/docs/UnLockCommentResponse.md @@ -0,0 +1,18 @@ +# UnLockCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md new file mode 100644 index 0000000..7611e90 --- /dev/null +++ b/client/docs/UnPinCommentResponse.md @@ -0,0 +1,19 @@ +# UnPinCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment_positions** | Option<[**std::collections::HashMap**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md)> | Construct a type with a set of properties K of type T | [optional] +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md new file mode 100644 index 0000000..3c9ed46 --- /dev/null +++ b/client/docs/UpdateCommentResponse.md @@ -0,0 +1,18 @@ +# UpdateCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md new file mode 100644 index 0000000..2a69af0 --- /dev/null +++ b/client/docs/UpdateEmailTemplateResponse.md @@ -0,0 +1,18 @@ +# UpdateEmailTemplateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md new file mode 100644 index 0000000..7755aa0 --- /dev/null +++ b/client/docs/UpdateFeedPostPublicResponse.md @@ -0,0 +1,19 @@ +# UpdateFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md new file mode 100644 index 0000000..6811cff --- /dev/null +++ b/client/docs/UpdateFeedPostResponse.md @@ -0,0 +1,18 @@ +# UpdateFeedPostResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md new file mode 100644 index 0000000..a94b66c --- /dev/null +++ b/client/docs/UpdateModeratorResponse.md @@ -0,0 +1,18 @@ +# UpdateModeratorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md new file mode 100644 index 0000000..b94d6a7 --- /dev/null +++ b/client/docs/UpdateNotificationResponse.md @@ -0,0 +1,18 @@ +# UpdateNotificationResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md new file mode 100644 index 0000000..951152d --- /dev/null +++ b/client/docs/UpdateQuestionConfigResponse.md @@ -0,0 +1,18 @@ +# UpdateQuestionConfigResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md new file mode 100644 index 0000000..506df66 --- /dev/null +++ b/client/docs/UpdateQuestionResultResponse.md @@ -0,0 +1,18 @@ +# UpdateQuestionResultResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md new file mode 100644 index 0000000..5e6544b --- /dev/null +++ b/client/docs/UpdateTenantPackageResponse.md @@ -0,0 +1,18 @@ +# UpdateTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md new file mode 100644 index 0000000..396c82c --- /dev/null +++ b/client/docs/UpdateTenantResponse.md @@ -0,0 +1,18 @@ +# UpdateTenantResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md new file mode 100644 index 0000000..5748212 --- /dev/null +++ b/client/docs/UpdateTenantUserResponse.md @@ -0,0 +1,18 @@ +# UpdateTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md new file mode 100644 index 0000000..feb44f0 --- /dev/null +++ b/client/docs/UpdateUserBadgeResponse.md @@ -0,0 +1,18 @@ +# UpdateUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 33bc723..43e1743 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -8,6 +8,13 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index 1cee2f3..12862a7 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -8,6 +8,13 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index 69895aa..910b008 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -8,6 +8,13 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md new file mode 100644 index 0000000..a06620b --- /dev/null +++ b/client/docs/VoteCommentResponse.md @@ -0,0 +1,22 @@ +# VoteCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**models::ApiStatus**](APIStatus.md) | | +**vote_id** | Option<**String**> | | [optional] +**is_verified** | Option<**bool**> | | [optional] +**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] +**edit_key** | Option<**String**> | | [optional] +**reason** | Option<**String**> | | [optional] +**code** | Option<**String**> | | [optional] +**secondary_code** | Option<**String**> | | [optional] +**banned_until** | Option<**i64**> | | [optional] +**max_character_length** | Option<**i32**> | | [optional] +**translated_error** | Option<**String**> | | [optional] +**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/src/apis/default_api.rs b/client/src/apis/default_api.rs index e08f752..f1fa72d 100644 --- a/client/src/apis/default_api.rs +++ b/client/src/apis/default_api.rs @@ -972,7 +972,6 @@ pub enum AddDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AddHashTagError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -980,7 +979,6 @@ pub enum AddHashTagError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AddHashTagsBulkError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1009,7 +1007,6 @@ pub enum AggregateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AggregateQuestionResultsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1017,7 +1014,6 @@ pub enum AggregateQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BlockUserFromCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1025,7 +1021,6 @@ pub enum BlockUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BulkAggregateQuestionResultsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1033,7 +1028,6 @@ pub enum BulkAggregateQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ChangeTicketStateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1041,7 +1035,6 @@ pub enum ChangeTicketStateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CombineCommentsWithQuestionResultsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1049,7 +1042,6 @@ pub enum CombineCommentsWithQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateEmailTemplateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1057,7 +1049,6 @@ pub enum CreateEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateFeedPostError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1065,7 +1056,6 @@ pub enum CreateFeedPostError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateModeratorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1073,7 +1063,6 @@ pub enum CreateModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateQuestionConfigError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1081,7 +1070,6 @@ pub enum CreateQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateQuestionResultError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1096,7 +1084,6 @@ pub enum CreateSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1104,7 +1091,6 @@ pub enum CreateTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantPackageError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1112,7 +1098,6 @@ pub enum CreateTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1120,7 +1105,6 @@ pub enum CreateTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTicketError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1128,7 +1112,6 @@ pub enum CreateTicketError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateUserBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1136,7 +1119,6 @@ pub enum CreateUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateVoteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1144,7 +1126,6 @@ pub enum CreateVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1159,7 +1140,6 @@ pub enum DeleteDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteEmailTemplateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1167,7 +1147,6 @@ pub enum DeleteEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteEmailTemplateRenderErrorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1175,7 +1154,6 @@ pub enum DeleteEmailTemplateRenderErrorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteHashTagError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1183,7 +1161,6 @@ pub enum DeleteHashTagError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteModeratorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1191,7 +1168,6 @@ pub enum DeleteModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteNotificationCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1206,7 +1182,6 @@ pub enum DeletePageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeletePendingWebhookEventError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1214,7 +1189,6 @@ pub enum DeletePendingWebhookEventError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteQuestionConfigError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1222,7 +1196,6 @@ pub enum DeleteQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteQuestionResultError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1244,7 +1217,6 @@ pub enum DeleteSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1252,7 +1224,6 @@ pub enum DeleteTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantPackageError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1260,7 +1231,6 @@ pub enum DeleteTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1268,7 +1238,6 @@ pub enum DeleteTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteUserBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1276,7 +1245,6 @@ pub enum DeleteUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteVoteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1284,7 +1252,6 @@ pub enum DeleteVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum FlagCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1292,7 +1259,6 @@ pub enum FlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetAuditLogsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1300,7 +1266,6 @@ pub enum GetAuditLogsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCachedNotificationCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1308,7 +1273,6 @@ pub enum GetCachedNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1316,7 +1280,6 @@ pub enum GetCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1338,7 +1301,6 @@ pub enum GetDomainConfigsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1346,7 +1308,6 @@ pub enum GetEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateDefinitionsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1354,7 +1315,6 @@ pub enum GetEmailTemplateDefinitionsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateRenderErrorsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1362,7 +1322,6 @@ pub enum GetEmailTemplateRenderErrorsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplatesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1370,7 +1329,6 @@ pub enum GetEmailTemplatesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1378,7 +1336,6 @@ pub enum GetFeedPostsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetHashTagsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1386,7 +1343,6 @@ pub enum GetHashTagsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModeratorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1394,7 +1350,6 @@ pub enum GetModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModeratorsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1402,7 +1357,6 @@ pub enum GetModeratorsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetNotificationCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1410,7 +1364,6 @@ pub enum GetNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetNotificationsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1432,7 +1385,6 @@ pub enum GetPagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPendingWebhookEventCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1440,7 +1392,6 @@ pub enum GetPendingWebhookEventCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPendingWebhookEventsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1448,7 +1399,6 @@ pub enum GetPendingWebhookEventsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionConfigError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1456,7 +1406,6 @@ pub enum GetQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionConfigsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1464,7 +1413,6 @@ pub enum GetQuestionConfigsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionResultError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1472,7 +1420,6 @@ pub enum GetQuestionResultError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionResultsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1508,7 +1455,6 @@ pub enum GetSubscriptionsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1516,7 +1462,6 @@ pub enum GetTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantDailyUsagesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1524,7 +1469,6 @@ pub enum GetTenantDailyUsagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantPackageError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1532,7 +1476,6 @@ pub enum GetTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantPackagesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1540,7 +1483,6 @@ pub enum GetTenantPackagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1548,7 +1490,6 @@ pub enum GetTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantUsersError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1556,7 +1497,6 @@ pub enum GetTenantUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1564,7 +1504,6 @@ pub enum GetTenantsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTicketError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1572,7 +1511,6 @@ pub enum GetTicketError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTicketsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1580,7 +1518,6 @@ pub enum GetTicketsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1588,7 +1525,6 @@ pub enum GetUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1596,7 +1532,6 @@ pub enum GetUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressByIdError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1604,7 +1539,6 @@ pub enum GetUserBadgeProgressByIdError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressByUserIdError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1612,7 +1546,6 @@ pub enum GetUserBadgeProgressByUserIdError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressListError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1620,7 +1553,6 @@ pub enum GetUserBadgeProgressListError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1628,7 +1560,6 @@ pub enum GetUserBadgesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetVotesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1636,7 +1567,6 @@ pub enum GetVotesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetVotesForUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1651,7 +1581,6 @@ pub enum PatchDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PatchHashTagError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1687,7 +1616,6 @@ pub enum PutSsoUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum RenderEmailTemplateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1695,7 +1623,6 @@ pub enum RenderEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReplaceTenantPackageError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1703,7 +1630,6 @@ pub enum ReplaceTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReplaceTenantUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1711,7 +1637,6 @@ pub enum ReplaceTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SaveCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1726,7 +1651,6 @@ pub enum SaveCommentsBulkError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SendInviteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1734,7 +1658,6 @@ pub enum SendInviteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SendLoginLinkError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1742,7 +1665,6 @@ pub enum SendLoginLinkError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnBlockUserFromCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1750,7 +1672,6 @@ pub enum UnBlockUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnFlagCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1758,7 +1679,6 @@ pub enum UnFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1766,7 +1686,6 @@ pub enum UpdateCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateEmailTemplateError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1774,7 +1693,6 @@ pub enum UpdateEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateFeedPostError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1782,7 +1700,6 @@ pub enum UpdateFeedPostError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateModeratorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1790,7 +1707,6 @@ pub enum UpdateModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateNotificationError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1798,7 +1714,6 @@ pub enum UpdateNotificationError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateQuestionConfigError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1806,7 +1721,6 @@ pub enum UpdateQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateQuestionResultError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1821,7 +1735,6 @@ pub enum UpdateSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1829,7 +1742,6 @@ pub enum UpdateTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantPackageError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1837,7 +1749,6 @@ pub enum UpdateTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1845,7 +1756,6 @@ pub enum UpdateTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1894,7 +1804,7 @@ pub async fn add_domain_config(configuration: &configuration::Configuration, par } } -pub async fn add_hash_tag(configuration: &configuration::Configuration, params: AddHashTagParams) -> Result> { +pub async fn add_hash_tag(configuration: &configuration::Configuration, params: AddHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1930,8 +1840,8 @@ pub async fn add_hash_tag(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateHashTagResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateHashTagResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AddHashTagResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AddHashTagResponse`")))), } } else { let content = resp.text().await?; @@ -1940,7 +1850,7 @@ pub async fn add_hash_tag(configuration: &configuration::Configuration, params: } } -pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, params: AddHashTagsBulkParams) -> Result> { +pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, params: AddHashTagsBulkParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/bulk", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1976,8 +1886,8 @@ pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkCreateHashTagsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkCreateHashTagsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AddHashTagsBulkResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AddHashTagsBulkResponse`")))), } } else { let content = resp.text().await?; @@ -2125,7 +2035,7 @@ pub async fn aggregate(configuration: &configuration::Configuration, params: Agg } } -pub async fn aggregate_question_results(configuration: &configuration::Configuration, params: AggregateQuestionResultsParams) -> Result> { +pub async fn aggregate_question_results(configuration: &configuration::Configuration, params: AggregateQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2179,8 +2089,8 @@ pub async fn aggregate_question_results(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AggregateQuestionResultsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AggregateQuestionResultsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AggregateQuestionResultsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AggregateQuestionResultsResponse1`")))), } } else { let content = resp.text().await?; @@ -2189,7 +2099,7 @@ pub async fn aggregate_question_results(configuration: &configuration::Configura } } -pub async fn block_user_from_comment(configuration: &configuration::Configuration, params: BlockUserFromCommentParams) -> Result> { +pub async fn block_user_from_comment(configuration: &configuration::Configuration, params: BlockUserFromCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/block", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2229,8 +2139,8 @@ pub async fn block_user_from_comment(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockSuccess`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockSuccess`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockUserFromCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockUserFromCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2239,7 +2149,7 @@ pub async fn block_user_from_comment(configuration: &configuration::Configuratio } } -pub async fn bulk_aggregate_question_results(configuration: &configuration::Configuration, params: BulkAggregateQuestionResultsParams) -> Result> { +pub async fn bulk_aggregate_question_results(configuration: &configuration::Configuration, params: BulkAggregateQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation/bulk", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2276,8 +2186,8 @@ pub async fn bulk_aggregate_question_results(configuration: &configuration::Conf let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse1`")))), } } else { let content = resp.text().await?; @@ -2286,7 +2196,7 @@ pub async fn bulk_aggregate_question_results(configuration: &configuration::Conf } } -pub async fn change_ticket_state(configuration: &configuration::Configuration, params: ChangeTicketStateParams) -> Result> { +pub async fn change_ticket_state(configuration: &configuration::Configuration, params: ChangeTicketStateParams) -> Result> { let uri_str = format!("{}/api/v1/tickets/{id}/state", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -2321,8 +2231,8 @@ pub async fn change_ticket_state(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeTicketStateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeTicketStateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeTicketStateResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeTicketStateResponse1`")))), } } else { let content = resp.text().await?; @@ -2331,7 +2241,7 @@ pub async fn change_ticket_state(configuration: &configuration::Configuration, p } } -pub async fn combine_comments_with_question_results(configuration: &configuration::Configuration, params: CombineCommentsWithQuestionResultsParams) -> Result> { +pub async fn combine_comments_with_question_results(configuration: &configuration::Configuration, params: CombineCommentsWithQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation/combine/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2391,8 +2301,8 @@ pub async fn combine_comments_with_question_results(configuration: &configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CombineQuestionResultsWithCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CombineQuestionResultsWithCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CombineCommentsWithQuestionResultsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CombineCommentsWithQuestionResultsResponse`")))), } } else { let content = resp.text().await?; @@ -2401,7 +2311,7 @@ pub async fn combine_comments_with_question_results(configuration: &configuratio } } -pub async fn create_email_template(configuration: &configuration::Configuration, params: CreateEmailTemplateParams) -> Result> { +pub async fn create_email_template(configuration: &configuration::Configuration, params: CreateEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2435,8 +2345,8 @@ pub async fn create_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateEmailTemplateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateEmailTemplateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateEmailTemplateResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateEmailTemplateResponse1`")))), } } else { let content = resp.text().await?; @@ -2445,7 +2355,7 @@ pub async fn create_email_template(configuration: &configuration::Configuration, } } -pub async fn create_feed_post(configuration: &configuration::Configuration, params: CreateFeedPostParams) -> Result> { +pub async fn create_feed_post(configuration: &configuration::Configuration, params: CreateFeedPostParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2491,8 +2401,8 @@ pub async fn create_feed_post(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse1`")))), } } else { let content = resp.text().await?; @@ -2501,7 +2411,7 @@ pub async fn create_feed_post(configuration: &configuration::Configuration, para } } -pub async fn create_moderator(configuration: &configuration::Configuration, params: CreateModeratorParams) -> Result> { +pub async fn create_moderator(configuration: &configuration::Configuration, params: CreateModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2535,8 +2445,8 @@ pub async fn create_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateModeratorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateModeratorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateModeratorResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateModeratorResponse1`")))), } } else { let content = resp.text().await?; @@ -2545,7 +2455,7 @@ pub async fn create_moderator(configuration: &configuration::Configuration, para } } -pub async fn create_question_config(configuration: &configuration::Configuration, params: CreateQuestionConfigParams) -> Result> { +pub async fn create_question_config(configuration: &configuration::Configuration, params: CreateQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2579,8 +2489,8 @@ pub async fn create_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionConfigResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionConfigResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionConfigResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionConfigResponse1`")))), } } else { let content = resp.text().await?; @@ -2589,7 +2499,7 @@ pub async fn create_question_config(configuration: &configuration::Configuration } } -pub async fn create_question_result(configuration: &configuration::Configuration, params: CreateQuestionResultParams) -> Result> { +pub async fn create_question_result(configuration: &configuration::Configuration, params: CreateQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2623,8 +2533,8 @@ pub async fn create_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionResultResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionResultResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionResultResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionResultResponse1`")))), } } else { let content = resp.text().await?; @@ -2677,7 +2587,7 @@ pub async fn create_subscription(configuration: &configuration::Configuration, p } } -pub async fn create_tenant(configuration: &configuration::Configuration, params: CreateTenantParams) -> Result> { +pub async fn create_tenant(configuration: &configuration::Configuration, params: CreateTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2711,8 +2621,8 @@ pub async fn create_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantResponse1`")))), } } else { let content = resp.text().await?; @@ -2721,7 +2631,7 @@ pub async fn create_tenant(configuration: &configuration::Configuration, params: } } -pub async fn create_tenant_package(configuration: &configuration::Configuration, params: CreateTenantPackageParams) -> Result> { +pub async fn create_tenant_package(configuration: &configuration::Configuration, params: CreateTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2755,8 +2665,8 @@ pub async fn create_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantPackageResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantPackageResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantPackageResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantPackageResponse1`")))), } } else { let content = resp.text().await?; @@ -2765,7 +2675,7 @@ pub async fn create_tenant_package(configuration: &configuration::Configuration, } } -pub async fn create_tenant_user(configuration: &configuration::Configuration, params: CreateTenantUserParams) -> Result> { +pub async fn create_tenant_user(configuration: &configuration::Configuration, params: CreateTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2799,8 +2709,8 @@ pub async fn create_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantUserResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantUserResponse1`")))), } } else { let content = resp.text().await?; @@ -2809,7 +2719,7 @@ pub async fn create_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn create_ticket(configuration: &configuration::Configuration, params: CreateTicketParams) -> Result> { +pub async fn create_ticket(configuration: &configuration::Configuration, params: CreateTicketParams) -> Result> { let uri_str = format!("{}/api/v1/tickets", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2844,8 +2754,8 @@ pub async fn create_ticket(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTicketResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTicketResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTicketResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTicketResponse1`")))), } } else { let content = resp.text().await?; @@ -2854,7 +2764,7 @@ pub async fn create_ticket(configuration: &configuration::Configuration, params: } } -pub async fn create_user_badge(configuration: &configuration::Configuration, params: CreateUserBadgeParams) -> Result> { +pub async fn create_user_badge(configuration: &configuration::Configuration, params: CreateUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2888,8 +2798,8 @@ pub async fn create_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiCreateUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiCreateUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2898,7 +2808,7 @@ pub async fn create_user_badge(configuration: &configuration::Configuration, par } } -pub async fn create_vote(configuration: &configuration::Configuration, params: CreateVoteParams) -> Result> { +pub async fn create_vote(configuration: &configuration::Configuration, params: CreateVoteParams) -> Result> { let uri_str = format!("{}/api/v1/votes", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2939,8 +2849,8 @@ pub async fn create_vote(configuration: &configuration::Configuration, params: C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateVoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateVoteResponse`")))), } } else { let content = resp.text().await?; @@ -2949,7 +2859,7 @@ pub async fn create_vote(configuration: &configuration::Configuration, params: C } } -pub async fn delete_comment(configuration: &configuration::Configuration, params: DeleteCommentParams) -> Result> { +pub async fn delete_comment(configuration: &configuration::Configuration, params: DeleteCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -2988,8 +2898,8 @@ pub async fn delete_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentResult`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentResult`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentResponse`")))), } } else { let content = resp.text().await?; @@ -3041,7 +2951,7 @@ pub async fn delete_domain_config(configuration: &configuration::Configuration, } } -pub async fn delete_email_template(configuration: &configuration::Configuration, params: DeleteEmailTemplateParams) -> Result> { +pub async fn delete_email_template(configuration: &configuration::Configuration, params: DeleteEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3074,8 +2984,8 @@ pub async fn delete_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteEmailTemplateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteEmailTemplateResponse`")))), } } else { let content = resp.text().await?; @@ -3084,7 +2994,7 @@ pub async fn delete_email_template(configuration: &configuration::Configuration, } } -pub async fn delete_email_template_render_error(configuration: &configuration::Configuration, params: DeleteEmailTemplateRenderErrorParams) -> Result> { +pub async fn delete_email_template_render_error(configuration: &configuration::Configuration, params: DeleteEmailTemplateRenderErrorParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}/render-errors/{errorId}", configuration.base_path, id=crate::client::apis::urlencode(params.id), errorId=crate::client::apis::urlencode(params.error_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3117,8 +3027,8 @@ pub async fn delete_email_template_render_error(configuration: &configuration::C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteEmailTemplateRenderErrorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteEmailTemplateRenderErrorResponse`")))), } } else { let content = resp.text().await?; @@ -3127,7 +3037,7 @@ pub async fn delete_email_template_render_error(configuration: &configuration::C } } -pub async fn delete_hash_tag(configuration: &configuration::Configuration, params: DeleteHashTagParams) -> Result> { +pub async fn delete_hash_tag(configuration: &configuration::Configuration, params: DeleteHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3163,8 +3073,8 @@ pub async fn delete_hash_tag(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteHashTagResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteHashTagResponse`")))), } } else { let content = resp.text().await?; @@ -3173,7 +3083,7 @@ pub async fn delete_hash_tag(configuration: &configuration::Configuration, param } } -pub async fn delete_moderator(configuration: &configuration::Configuration, params: DeleteModeratorParams) -> Result> { +pub async fn delete_moderator(configuration: &configuration::Configuration, params: DeleteModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3209,8 +3119,8 @@ pub async fn delete_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteModeratorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteModeratorResponse`")))), } } else { let content = resp.text().await?; @@ -3219,7 +3129,7 @@ pub async fn delete_moderator(configuration: &configuration::Configuration, para } } -pub async fn delete_notification_count(configuration: &configuration::Configuration, params: DeleteNotificationCountParams) -> Result> { +pub async fn delete_notification_count(configuration: &configuration::Configuration, params: DeleteNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notification-count/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3252,8 +3162,8 @@ pub async fn delete_notification_count(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteNotificationCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteNotificationCountResponse`")))), } } else { let content = resp.text().await?; @@ -3305,7 +3215,7 @@ pub async fn delete_page(configuration: &configuration::Configuration, params: D } } -pub async fn delete_pending_webhook_event(configuration: &configuration::Configuration, params: DeletePendingWebhookEventParams) -> Result> { +pub async fn delete_pending_webhook_event(configuration: &configuration::Configuration, params: DeletePendingWebhookEventParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3338,8 +3248,8 @@ pub async fn delete_pending_webhook_event(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeletePendingWebhookEventResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeletePendingWebhookEventResponse`")))), } } else { let content = resp.text().await?; @@ -3348,7 +3258,7 @@ pub async fn delete_pending_webhook_event(configuration: &configuration::Configu } } -pub async fn delete_question_config(configuration: &configuration::Configuration, params: DeleteQuestionConfigParams) -> Result> { +pub async fn delete_question_config(configuration: &configuration::Configuration, params: DeleteQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3381,8 +3291,8 @@ pub async fn delete_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteQuestionConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteQuestionConfigResponse`")))), } } else { let content = resp.text().await?; @@ -3391,7 +3301,7 @@ pub async fn delete_question_config(configuration: &configuration::Configuration } } -pub async fn delete_question_result(configuration: &configuration::Configuration, params: DeleteQuestionResultParams) -> Result> { +pub async fn delete_question_result(configuration: &configuration::Configuration, params: DeleteQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3424,8 +3334,8 @@ pub async fn delete_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteQuestionResultResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteQuestionResultResponse`")))), } } else { let content = resp.text().await?; @@ -3529,7 +3439,7 @@ pub async fn delete_subscription(configuration: &configuration::Configuration, p } } -pub async fn delete_tenant(configuration: &configuration::Configuration, params: DeleteTenantParams) -> Result> { +pub async fn delete_tenant(configuration: &configuration::Configuration, params: DeleteTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3565,8 +3475,8 @@ pub async fn delete_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantResponse`")))), } } else { let content = resp.text().await?; @@ -3575,7 +3485,7 @@ pub async fn delete_tenant(configuration: &configuration::Configuration, params: } } -pub async fn delete_tenant_package(configuration: &configuration::Configuration, params: DeleteTenantPackageParams) -> Result> { +pub async fn delete_tenant_package(configuration: &configuration::Configuration, params: DeleteTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3608,8 +3518,8 @@ pub async fn delete_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantPackageResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantPackageResponse`")))), } } else { let content = resp.text().await?; @@ -3618,7 +3528,7 @@ pub async fn delete_tenant_package(configuration: &configuration::Configuration, } } -pub async fn delete_tenant_user(configuration: &configuration::Configuration, params: DeleteTenantUserParams) -> Result> { +pub async fn delete_tenant_user(configuration: &configuration::Configuration, params: DeleteTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3657,8 +3567,8 @@ pub async fn delete_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantUserResponse`")))), } } else { let content = resp.text().await?; @@ -3667,7 +3577,7 @@ pub async fn delete_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn delete_user_badge(configuration: &configuration::Configuration, params: DeleteUserBadgeParams) -> Result> { +pub async fn delete_user_badge(configuration: &configuration::Configuration, params: DeleteUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3700,8 +3610,8 @@ pub async fn delete_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptySuccessResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptySuccessResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -3710,7 +3620,7 @@ pub async fn delete_user_badge(configuration: &configuration::Configuration, par } } -pub async fn delete_vote(configuration: &configuration::Configuration, params: DeleteVoteParams) -> Result> { +pub async fn delete_vote(configuration: &configuration::Configuration, params: DeleteVoteParams) -> Result> { let uri_str = format!("{}/api/v1/votes/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3746,8 +3656,8 @@ pub async fn delete_vote(configuration: &configuration::Configuration, params: D let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteVoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteVoteResponse`")))), } } else { let content = resp.text().await?; @@ -3756,7 +3666,7 @@ pub async fn delete_vote(configuration: &configuration::Configuration, params: D } } -pub async fn flag_comment(configuration: &configuration::Configuration, params: FlagCommentParams) -> Result> { +pub async fn flag_comment(configuration: &configuration::Configuration, params: FlagCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/flag", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -3795,8 +3705,8 @@ pub async fn flag_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse1`")))), } } else { let content = resp.text().await?; @@ -3805,7 +3715,7 @@ pub async fn flag_comment(configuration: &configuration::Configuration, params: } } -pub async fn get_audit_logs(configuration: &configuration::Configuration, params: GetAuditLogsParams) -> Result> { +pub async fn get_audit_logs(configuration: &configuration::Configuration, params: GetAuditLogsParams) -> Result> { let uri_str = format!("{}/api/v1/audit-logs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3853,8 +3763,8 @@ pub async fn get_audit_logs(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetAuditLogsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetAuditLogsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetAuditLogsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetAuditLogsResponse1`")))), } } else { let content = resp.text().await?; @@ -3863,7 +3773,7 @@ pub async fn get_audit_logs(configuration: &configuration::Configuration, params } } -pub async fn get_cached_notification_count(configuration: &configuration::Configuration, params: GetCachedNotificationCountParams) -> Result> { +pub async fn get_cached_notification_count(configuration: &configuration::Configuration, params: GetCachedNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notification-count/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3896,8 +3806,8 @@ pub async fn get_cached_notification_count(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCachedNotificationCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCachedNotificationCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCachedNotificationCountResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCachedNotificationCountResponse1`")))), } } else { let content = resp.text().await?; @@ -3906,7 +3816,7 @@ pub async fn get_cached_notification_count(configuration: &configuration::Config } } -pub async fn get_comment(configuration: &configuration::Configuration, params: GetCommentParams) -> Result> { +pub async fn get_comment(configuration: &configuration::Configuration, params: GetCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3939,8 +3849,8 @@ pub async fn get_comment(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentResponse`")))), } } else { let content = resp.text().await?; @@ -3949,7 +3859,7 @@ pub async fn get_comment(configuration: &configuration::Configuration, params: G } } -pub async fn get_comments(configuration: &configuration::Configuration, params: GetCommentsParams) -> Result> { +pub async fn get_comments(configuration: &configuration::Configuration, params: GetCommentsParams) -> Result> { let uri_str = format!("{}/api/v1/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4030,8 +3940,8 @@ pub async fn get_comments(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -4126,7 +4036,7 @@ pub async fn get_domain_configs(configuration: &configuration::Configuration, pa } } -pub async fn get_email_template(configuration: &configuration::Configuration, params: GetEmailTemplateParams) -> Result> { +pub async fn get_email_template(configuration: &configuration::Configuration, params: GetEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4159,8 +4069,8 @@ pub async fn get_email_template(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateResponse1`")))), } } else { let content = resp.text().await?; @@ -4169,7 +4079,7 @@ pub async fn get_email_template(configuration: &configuration::Configuration, pa } } -pub async fn get_email_template_definitions(configuration: &configuration::Configuration, params: GetEmailTemplateDefinitionsParams) -> Result> { +pub async fn get_email_template_definitions(configuration: &configuration::Configuration, params: GetEmailTemplateDefinitionsParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/definitions", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4202,8 +4112,8 @@ pub async fn get_email_template_definitions(configuration: &configuration::Confi let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse1`")))), } } else { let content = resp.text().await?; @@ -4212,7 +4122,7 @@ pub async fn get_email_template_definitions(configuration: &configuration::Confi } } -pub async fn get_email_template_render_errors(configuration: &configuration::Configuration, params: GetEmailTemplateRenderErrorsParams) -> Result> { +pub async fn get_email_template_render_errors(configuration: &configuration::Configuration, params: GetEmailTemplateRenderErrorsParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}/render-errors", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4248,8 +4158,8 @@ pub async fn get_email_template_render_errors(configuration: &configuration::Con let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse1`")))), } } else { let content = resp.text().await?; @@ -4258,7 +4168,7 @@ pub async fn get_email_template_render_errors(configuration: &configuration::Con } } -pub async fn get_email_templates(configuration: &configuration::Configuration, params: GetEmailTemplatesParams) -> Result> { +pub async fn get_email_templates(configuration: &configuration::Configuration, params: GetEmailTemplatesParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4294,8 +4204,8 @@ pub async fn get_email_templates(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplatesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplatesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplatesResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplatesResponse1`")))), } } else { let content = resp.text().await?; @@ -4305,7 +4215,7 @@ pub async fn get_email_templates(configuration: &configuration::Configuration, p } /// req tenantId afterId -pub async fn get_feed_posts(configuration: &configuration::Configuration, params: GetFeedPostsParams) -> Result> { +pub async fn get_feed_posts(configuration: &configuration::Configuration, params: GetFeedPostsParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4350,8 +4260,8 @@ pub async fn get_feed_posts(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsResponse1`")))), } } else { let content = resp.text().await?; @@ -4360,7 +4270,7 @@ pub async fn get_feed_posts(configuration: &configuration::Configuration, params } } -pub async fn get_hash_tags(configuration: &configuration::Configuration, params: GetHashTagsParams) -> Result> { +pub async fn get_hash_tags(configuration: &configuration::Configuration, params: GetHashTagsParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4396,8 +4306,8 @@ pub async fn get_hash_tags(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetHashTagsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetHashTagsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetHashTagsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetHashTagsResponse1`")))), } } else { let content = resp.text().await?; @@ -4406,7 +4316,7 @@ pub async fn get_hash_tags(configuration: &configuration::Configuration, params: } } -pub async fn get_moderator(configuration: &configuration::Configuration, params: GetModeratorParams) -> Result> { +pub async fn get_moderator(configuration: &configuration::Configuration, params: GetModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4439,8 +4349,8 @@ pub async fn get_moderator(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorResponse1`")))), } } else { let content = resp.text().await?; @@ -4449,7 +4359,7 @@ pub async fn get_moderator(configuration: &configuration::Configuration, params: } } -pub async fn get_moderators(configuration: &configuration::Configuration, params: GetModeratorsParams) -> Result> { +pub async fn get_moderators(configuration: &configuration::Configuration, params: GetModeratorsParams) -> Result> { let uri_str = format!("{}/api/v1/moderators", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4485,8 +4395,8 @@ pub async fn get_moderators(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorsResponse1`")))), } } else { let content = resp.text().await?; @@ -4495,7 +4405,7 @@ pub async fn get_moderators(configuration: &configuration::Configuration, params } } -pub async fn get_notification_count(configuration: &configuration::Configuration, params: GetNotificationCountParams) -> Result> { +pub async fn get_notification_count(configuration: &configuration::Configuration, params: GetNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notifications/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4543,8 +4453,8 @@ pub async fn get_notification_count(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationCountResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationCountResponse1`")))), } } else { let content = resp.text().await?; @@ -4553,7 +4463,7 @@ pub async fn get_notification_count(configuration: &configuration::Configuration } } -pub async fn get_notifications(configuration: &configuration::Configuration, params: GetNotificationsParams) -> Result> { +pub async fn get_notifications(configuration: &configuration::Configuration, params: GetNotificationsParams) -> Result> { let uri_str = format!("{}/api/v1/notifications", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4604,8 +4514,8 @@ pub async fn get_notifications(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationsResponse1`")))), } } else { let content = resp.text().await?; @@ -4701,7 +4611,7 @@ pub async fn get_pages(configuration: &configuration::Configuration, params: Get } } -pub async fn get_pending_webhook_event_count(configuration: &configuration::Configuration, params: GetPendingWebhookEventCountParams) -> Result> { +pub async fn get_pending_webhook_event_count(configuration: &configuration::Configuration, params: GetPendingWebhookEventCountParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4752,8 +4662,8 @@ pub async fn get_pending_webhook_event_count(configuration: &configuration::Conf let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse1`")))), } } else { let content = resp.text().await?; @@ -4762,7 +4672,7 @@ pub async fn get_pending_webhook_event_count(configuration: &configuration::Conf } } -pub async fn get_pending_webhook_events(configuration: &configuration::Configuration, params: GetPendingWebhookEventsParams) -> Result> { +pub async fn get_pending_webhook_events(configuration: &configuration::Configuration, params: GetPendingWebhookEventsParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4816,8 +4726,8 @@ pub async fn get_pending_webhook_events(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse1`")))), } } else { let content = resp.text().await?; @@ -4826,7 +4736,7 @@ pub async fn get_pending_webhook_events(configuration: &configuration::Configura } } -pub async fn get_question_config(configuration: &configuration::Configuration, params: GetQuestionConfigParams) -> Result> { +pub async fn get_question_config(configuration: &configuration::Configuration, params: GetQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4859,8 +4769,8 @@ pub async fn get_question_config(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigResponse1`")))), } } else { let content = resp.text().await?; @@ -4869,7 +4779,7 @@ pub async fn get_question_config(configuration: &configuration::Configuration, p } } -pub async fn get_question_configs(configuration: &configuration::Configuration, params: GetQuestionConfigsParams) -> Result> { +pub async fn get_question_configs(configuration: &configuration::Configuration, params: GetQuestionConfigsParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4905,8 +4815,8 @@ pub async fn get_question_configs(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigsResponse1`")))), } } else { let content = resp.text().await?; @@ -4915,7 +4825,7 @@ pub async fn get_question_configs(configuration: &configuration::Configuration, } } -pub async fn get_question_result(configuration: &configuration::Configuration, params: GetQuestionResultParams) -> Result> { +pub async fn get_question_result(configuration: &configuration::Configuration, params: GetQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4948,8 +4858,8 @@ pub async fn get_question_result(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultResponse1`")))), } } else { let content = resp.text().await?; @@ -4958,7 +4868,7 @@ pub async fn get_question_result(configuration: &configuration::Configuration, p } } -pub async fn get_question_results(configuration: &configuration::Configuration, params: GetQuestionResultsParams) -> Result> { +pub async fn get_question_results(configuration: &configuration::Configuration, params: GetQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5009,8 +4919,8 @@ pub async fn get_question_results(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultsResponse1`")))), } } else { let content = resp.text().await?; @@ -5197,7 +5107,7 @@ pub async fn get_subscriptions(configuration: &configuration::Configuration, par } } -pub async fn get_tenant(configuration: &configuration::Configuration, params: GetTenantParams) -> Result> { +pub async fn get_tenant(configuration: &configuration::Configuration, params: GetTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5230,8 +5140,8 @@ pub async fn get_tenant(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantResponse1`")))), } } else { let content = resp.text().await?; @@ -5240,7 +5150,7 @@ pub async fn get_tenant(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_tenant_daily_usages(configuration: &configuration::Configuration, params: GetTenantDailyUsagesParams) -> Result> { +pub async fn get_tenant_daily_usages(configuration: &configuration::Configuration, params: GetTenantDailyUsagesParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-daily-usage", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5285,8 +5195,8 @@ pub async fn get_tenant_daily_usages(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse1`")))), } } else { let content = resp.text().await?; @@ -5295,7 +5205,7 @@ pub async fn get_tenant_daily_usages(configuration: &configuration::Configuratio } } -pub async fn get_tenant_package(configuration: &configuration::Configuration, params: GetTenantPackageParams) -> Result> { +pub async fn get_tenant_package(configuration: &configuration::Configuration, params: GetTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5328,8 +5238,8 @@ pub async fn get_tenant_package(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackageResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackageResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackageResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackageResponse1`")))), } } else { let content = resp.text().await?; @@ -5338,7 +5248,7 @@ pub async fn get_tenant_package(configuration: &configuration::Configuration, pa } } -pub async fn get_tenant_packages(configuration: &configuration::Configuration, params: GetTenantPackagesParams) -> Result> { +pub async fn get_tenant_packages(configuration: &configuration::Configuration, params: GetTenantPackagesParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5374,8 +5284,8 @@ pub async fn get_tenant_packages(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackagesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackagesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackagesResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackagesResponse1`")))), } } else { let content = resp.text().await?; @@ -5384,7 +5294,7 @@ pub async fn get_tenant_packages(configuration: &configuration::Configuration, p } } -pub async fn get_tenant_user(configuration: &configuration::Configuration, params: GetTenantUserParams) -> Result> { +pub async fn get_tenant_user(configuration: &configuration::Configuration, params: GetTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5417,8 +5327,8 @@ pub async fn get_tenant_user(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUserResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUserResponse1`")))), } } else { let content = resp.text().await?; @@ -5427,7 +5337,7 @@ pub async fn get_tenant_user(configuration: &configuration::Configuration, param } } -pub async fn get_tenant_users(configuration: &configuration::Configuration, params: GetTenantUsersParams) -> Result> { +pub async fn get_tenant_users(configuration: &configuration::Configuration, params: GetTenantUsersParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5463,8 +5373,8 @@ pub async fn get_tenant_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUsersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUsersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUsersResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUsersResponse1`")))), } } else { let content = resp.text().await?; @@ -5473,7 +5383,7 @@ pub async fn get_tenant_users(configuration: &configuration::Configuration, para } } -pub async fn get_tenants(configuration: &configuration::Configuration, params: GetTenantsParams) -> Result> { +pub async fn get_tenants(configuration: &configuration::Configuration, params: GetTenantsParams) -> Result> { let uri_str = format!("{}/api/v1/tenants", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5512,8 +5422,8 @@ pub async fn get_tenants(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantsResponse1`")))), } } else { let content = resp.text().await?; @@ -5522,7 +5432,7 @@ pub async fn get_tenants(configuration: &configuration::Configuration, params: G } } -pub async fn get_ticket(configuration: &configuration::Configuration, params: GetTicketParams) -> Result> { +pub async fn get_ticket(configuration: &configuration::Configuration, params: GetTicketParams) -> Result> { let uri_str = format!("{}/api/v1/tickets/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5558,8 +5468,8 @@ pub async fn get_ticket(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketResponse1`")))), } } else { let content = resp.text().await?; @@ -5568,7 +5478,7 @@ pub async fn get_ticket(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_tickets(configuration: &configuration::Configuration, params: GetTicketsParams) -> Result> { +pub async fn get_tickets(configuration: &configuration::Configuration, params: GetTicketsParams) -> Result> { let uri_str = format!("{}/api/v1/tickets", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5613,8 +5523,8 @@ pub async fn get_tickets(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketsResponse1`")))), } } else { let content = resp.text().await?; @@ -5623,7 +5533,7 @@ pub async fn get_tickets(configuration: &configuration::Configuration, params: G } } -pub async fn get_user(configuration: &configuration::Configuration, params: GetUserParams) -> Result> { +pub async fn get_user(configuration: &configuration::Configuration, params: GetUserParams) -> Result> { let uri_str = format!("{}/api/v1/users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5656,8 +5566,8 @@ pub async fn get_user(configuration: &configuration::Configuration, params: GetU let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserResponse1`")))), } } else { let content = resp.text().await?; @@ -5666,7 +5576,7 @@ pub async fn get_user(configuration: &configuration::Configuration, params: GetU } } -pub async fn get_user_badge(configuration: &configuration::Configuration, params: GetUserBadgeParams) -> Result> { +pub async fn get_user_badge(configuration: &configuration::Configuration, params: GetUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5699,8 +5609,8 @@ pub async fn get_user_badge(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -5709,7 +5619,7 @@ pub async fn get_user_badge(configuration: &configuration::Configuration, params } } -pub async fn get_user_badge_progress_by_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByIdParams) -> Result> { +pub async fn get_user_badge_progress_by_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByIdParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5742,8 +5652,8 @@ pub async fn get_user_badge_progress_by_id(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressByIdResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressByIdResponse`")))), } } else { let content = resp.text().await?; @@ -5752,7 +5662,7 @@ pub async fn get_user_badge_progress_by_id(configuration: &configuration::Config } } -pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByUserIdParams) -> Result> { +pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByUserIdParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress/user/{userId}", configuration.base_path, userId=crate::client::apis::urlencode(params.user_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5785,8 +5695,8 @@ pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressByUserIdResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressByUserIdResponse`")))), } } else { let content = resp.text().await?; @@ -5795,7 +5705,7 @@ pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::C } } -pub async fn get_user_badge_progress_list(configuration: &configuration::Configuration, params: GetUserBadgeProgressListParams) -> Result> { +pub async fn get_user_badge_progress_list(configuration: &configuration::Configuration, params: GetUserBadgeProgressListParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5837,8 +5747,8 @@ pub async fn get_user_badge_progress_list(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressListResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressListResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressListResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressListResponse`")))), } } else { let content = resp.text().await?; @@ -5847,7 +5757,7 @@ pub async fn get_user_badge_progress_list(configuration: &configuration::Configu } } -pub async fn get_user_badges(configuration: &configuration::Configuration, params: GetUserBadgesParams) -> Result> { +pub async fn get_user_badges(configuration: &configuration::Configuration, params: GetUserBadgesParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5898,8 +5808,8 @@ pub async fn get_user_badges(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgesResponse`")))), } } else { let content = resp.text().await?; @@ -5908,7 +5818,7 @@ pub async fn get_user_badges(configuration: &configuration::Configuration, param } } -pub async fn get_votes(configuration: &configuration::Configuration, params: GetVotesParams) -> Result> { +pub async fn get_votes(configuration: &configuration::Configuration, params: GetVotesParams) -> Result> { let uri_str = format!("{}/api/v1/votes", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5942,8 +5852,8 @@ pub async fn get_votes(configuration: &configuration::Configuration, params: Get let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesResponse1`")))), } } else { let content = resp.text().await?; @@ -5952,7 +5862,7 @@ pub async fn get_votes(configuration: &configuration::Configuration, params: Get } } -pub async fn get_votes_for_user(configuration: &configuration::Configuration, params: GetVotesForUserParams) -> Result> { +pub async fn get_votes_for_user(configuration: &configuration::Configuration, params: GetVotesForUserParams) -> Result> { let uri_str = format!("{}/api/v1/votes/for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5992,8 +5902,8 @@ pub async fn get_votes_for_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesForUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesForUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesForUserResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesForUserResponse1`")))), } } else { let content = resp.text().await?; @@ -6046,7 +5956,7 @@ pub async fn patch_domain_config(configuration: &configuration::Configuration, p } } -pub async fn patch_hash_tag(configuration: &configuration::Configuration, params: PatchHashTagParams) -> Result> { +pub async fn patch_hash_tag(configuration: &configuration::Configuration, params: PatchHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6082,8 +5992,8 @@ pub async fn patch_hash_tag(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateHashTagResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateHashTagResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PatchHashTagResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PatchHashTagResponse`")))), } } else { let content = resp.text().await?; @@ -6274,7 +6184,7 @@ pub async fn put_sso_user(configuration: &configuration::Configuration, params: } } -pub async fn render_email_template(configuration: &configuration::Configuration, params: RenderEmailTemplateParams) -> Result> { +pub async fn render_email_template(configuration: &configuration::Configuration, params: RenderEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/render", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6311,8 +6221,8 @@ pub async fn render_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RenderEmailTemplateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RenderEmailTemplateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RenderEmailTemplateResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RenderEmailTemplateResponse1`")))), } } else { let content = resp.text().await?; @@ -6321,7 +6231,7 @@ pub async fn render_email_template(configuration: &configuration::Configuration, } } -pub async fn replace_tenant_package(configuration: &configuration::Configuration, params: ReplaceTenantPackageParams) -> Result> { +pub async fn replace_tenant_package(configuration: &configuration::Configuration, params: ReplaceTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -6355,8 +6265,8 @@ pub async fn replace_tenant_package(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReplaceTenantPackageResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReplaceTenantPackageResponse`")))), } } else { let content = resp.text().await?; @@ -6365,7 +6275,7 @@ pub async fn replace_tenant_package(configuration: &configuration::Configuration } } -pub async fn replace_tenant_user(configuration: &configuration::Configuration, params: ReplaceTenantUserParams) -> Result> { +pub async fn replace_tenant_user(configuration: &configuration::Configuration, params: ReplaceTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -6402,8 +6312,8 @@ pub async fn replace_tenant_user(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReplaceTenantUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReplaceTenantUserResponse`")))), } } else { let content = resp.text().await?; @@ -6412,7 +6322,7 @@ pub async fn replace_tenant_user(configuration: &configuration::Configuration, p } } -pub async fn save_comment(configuration: &configuration::Configuration, params: SaveCommentParams) -> Result> { +pub async fn save_comment(configuration: &configuration::Configuration, params: SaveCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6458,8 +6368,8 @@ pub async fn save_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiSaveCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiSaveCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SaveCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SaveCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6524,7 +6434,7 @@ pub async fn save_comments_bulk(configuration: &configuration::Configuration, pa } } -pub async fn send_invite(configuration: &configuration::Configuration, params: SendInviteParams) -> Result> { +pub async fn send_invite(configuration: &configuration::Configuration, params: SendInviteParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}/send-invite", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6558,8 +6468,8 @@ pub async fn send_invite(configuration: &configuration::Configuration, params: S let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SendInviteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SendInviteResponse`")))), } } else { let content = resp.text().await?; @@ -6568,7 +6478,7 @@ pub async fn send_invite(configuration: &configuration::Configuration, params: S } } -pub async fn send_login_link(configuration: &configuration::Configuration, params: SendLoginLinkParams) -> Result> { +pub async fn send_login_link(configuration: &configuration::Configuration, params: SendLoginLinkParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}/send-login-link", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6604,8 +6514,8 @@ pub async fn send_login_link(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SendLoginLinkResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SendLoginLinkResponse`")))), } } else { let content = resp.text().await?; @@ -6614,7 +6524,7 @@ pub async fn send_login_link(configuration: &configuration::Configuration, param } } -pub async fn un_block_user_from_comment(configuration: &configuration::Configuration, params: UnBlockUserFromCommentParams) -> Result> { +pub async fn un_block_user_from_comment(configuration: &configuration::Configuration, params: UnBlockUserFromCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/un-block", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6654,8 +6564,8 @@ pub async fn un_block_user_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnblockSuccess`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnblockSuccess`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnBlockUserFromCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnBlockUserFromCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6664,7 +6574,7 @@ pub async fn un_block_user_from_comment(configuration: &configuration::Configura } } -pub async fn un_flag_comment(configuration: &configuration::Configuration, params: UnFlagCommentParams) -> Result> { +pub async fn un_flag_comment(configuration: &configuration::Configuration, params: UnFlagCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/un-flag", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6703,8 +6613,8 @@ pub async fn un_flag_comment(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnFlagCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnFlagCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6713,7 +6623,7 @@ pub async fn un_flag_comment(configuration: &configuration::Configuration, param } } -pub async fn update_comment(configuration: &configuration::Configuration, params: UpdateCommentParams) -> Result> { +pub async fn update_comment(configuration: &configuration::Configuration, params: UpdateCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6756,8 +6666,8 @@ pub async fn update_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6766,7 +6676,7 @@ pub async fn update_comment(configuration: &configuration::Configuration, params } } -pub async fn update_email_template(configuration: &configuration::Configuration, params: UpdateEmailTemplateParams) -> Result> { +pub async fn update_email_template(configuration: &configuration::Configuration, params: UpdateEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6800,8 +6710,8 @@ pub async fn update_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateEmailTemplateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateEmailTemplateResponse`")))), } } else { let content = resp.text().await?; @@ -6810,7 +6720,7 @@ pub async fn update_email_template(configuration: &configuration::Configuration, } } -pub async fn update_feed_post(configuration: &configuration::Configuration, params: UpdateFeedPostParams) -> Result> { +pub async fn update_feed_post(configuration: &configuration::Configuration, params: UpdateFeedPostParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6844,8 +6754,8 @@ pub async fn update_feed_post(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateFeedPostResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateFeedPostResponse`")))), } } else { let content = resp.text().await?; @@ -6854,7 +6764,7 @@ pub async fn update_feed_post(configuration: &configuration::Configuration, para } } -pub async fn update_moderator(configuration: &configuration::Configuration, params: UpdateModeratorParams) -> Result> { +pub async fn update_moderator(configuration: &configuration::Configuration, params: UpdateModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6888,8 +6798,8 @@ pub async fn update_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateModeratorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateModeratorResponse`")))), } } else { let content = resp.text().await?; @@ -6898,7 +6808,7 @@ pub async fn update_moderator(configuration: &configuration::Configuration, para } } -pub async fn update_notification(configuration: &configuration::Configuration, params: UpdateNotificationParams) -> Result> { +pub async fn update_notification(configuration: &configuration::Configuration, params: UpdateNotificationParams) -> Result> { let uri_str = format!("{}/api/v1/notifications/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6935,8 +6845,8 @@ pub async fn update_notification(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateNotificationResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateNotificationResponse`")))), } } else { let content = resp.text().await?; @@ -6945,7 +6855,7 @@ pub async fn update_notification(configuration: &configuration::Configuration, p } } -pub async fn update_question_config(configuration: &configuration::Configuration, params: UpdateQuestionConfigParams) -> Result> { +pub async fn update_question_config(configuration: &configuration::Configuration, params: UpdateQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6979,8 +6889,8 @@ pub async fn update_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateQuestionConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateQuestionConfigResponse`")))), } } else { let content = resp.text().await?; @@ -6989,7 +6899,7 @@ pub async fn update_question_config(configuration: &configuration::Configuration } } -pub async fn update_question_result(configuration: &configuration::Configuration, params: UpdateQuestionResultParams) -> Result> { +pub async fn update_question_result(configuration: &configuration::Configuration, params: UpdateQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7023,8 +6933,8 @@ pub async fn update_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateQuestionResultResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateQuestionResultResponse`")))), } } else { let content = resp.text().await?; @@ -7080,7 +6990,7 @@ pub async fn update_subscription(configuration: &configuration::Configuration, p } } -pub async fn update_tenant(configuration: &configuration::Configuration, params: UpdateTenantParams) -> Result> { +pub async fn update_tenant(configuration: &configuration::Configuration, params: UpdateTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7114,8 +7024,8 @@ pub async fn update_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantResponse`")))), } } else { let content = resp.text().await?; @@ -7124,7 +7034,7 @@ pub async fn update_tenant(configuration: &configuration::Configuration, params: } } -pub async fn update_tenant_package(configuration: &configuration::Configuration, params: UpdateTenantPackageParams) -> Result> { +pub async fn update_tenant_package(configuration: &configuration::Configuration, params: UpdateTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7158,8 +7068,8 @@ pub async fn update_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantPackageResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantPackageResponse`")))), } } else { let content = resp.text().await?; @@ -7168,7 +7078,7 @@ pub async fn update_tenant_package(configuration: &configuration::Configuration, } } -pub async fn update_tenant_user(configuration: &configuration::Configuration, params: UpdateTenantUserParams) -> Result> { +pub async fn update_tenant_user(configuration: &configuration::Configuration, params: UpdateTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7205,8 +7115,8 @@ pub async fn update_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantUserResponse`")))), } } else { let content = resp.text().await?; @@ -7215,7 +7125,7 @@ pub async fn update_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn update_user_badge(configuration: &configuration::Configuration, params: UpdateUserBadgeParams) -> Result> { +pub async fn update_user_badge(configuration: &configuration::Configuration, params: UpdateUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -7249,8 +7159,8 @@ pub async fn update_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptySuccessResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptySuccessResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateUserBadgeResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/apis/moderation_api.rs b/client/src/apis/moderation_api.rs index fb06f8f..b7a82d6 100644 --- a/client/src/apis/moderation_api.rs +++ b/client/src/apis/moderation_api.rs @@ -19,6 +19,8 @@ use super::{Error, configuration, ContentType}; pub struct DeleteModerationVoteParams { pub comment_id: String, pub vote_id: String, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -33,6 +35,7 @@ pub struct GetApiCommentsParams { pub search_filters: Option, pub sorts: Option, pub demo: Option, + pub tenant_id: Option, pub sso: Option } @@ -40,6 +43,7 @@ pub struct GetApiCommentsParams { #[derive(Clone, Debug)] pub struct GetApiExportStatusParams { pub batch_job_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -52,6 +56,7 @@ pub struct GetApiIdsParams { pub search_filters: Option, pub after_id: Option, pub demo: Option, + pub tenant_id: Option, pub sso: Option } @@ -59,6 +64,7 @@ pub struct GetApiIdsParams { #[derive(Clone, Debug)] pub struct GetBanUsersFromCommentParams { pub comment_id: String, + pub tenant_id: Option, pub sso: Option } @@ -66,6 +72,7 @@ pub struct GetBanUsersFromCommentParams { #[derive(Clone, Debug)] pub struct GetCommentBanStatusParams { pub comment_id: String, + pub tenant_id: Option, pub sso: Option } @@ -73,6 +80,7 @@ pub struct GetCommentBanStatusParams { #[derive(Clone, Debug)] pub struct GetCommentChildrenParams { pub comment_id: String, + pub tenant_id: Option, pub sso: Option } @@ -84,12 +92,14 @@ pub struct GetCountParams { pub filter: Option, pub search_filters: Option, pub demo: Option, + pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_counts`] #[derive(Clone, Debug)] pub struct GetCountsParams { + pub tenant_id: Option, pub sso: Option } @@ -97,12 +107,14 @@ pub struct GetCountsParams { #[derive(Clone, Debug)] pub struct GetLogsParams { pub comment_id: String, + pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_manual_badges`] #[derive(Clone, Debug)] pub struct GetManualBadgesParams { + pub tenant_id: Option, pub sso: Option } @@ -111,6 +123,7 @@ pub struct GetManualBadgesParams { pub struct GetManualBadgesForUserParams { pub badges_user_id: Option, pub comment_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -120,6 +133,7 @@ pub struct GetModerationCommentParams { pub comment_id: String, pub include_email: Option, pub include_ip: Option, + pub tenant_id: Option, pub sso: Option } @@ -127,6 +141,7 @@ pub struct GetModerationCommentParams { #[derive(Clone, Debug)] pub struct GetModerationCommentTextParams { pub comment_id: String, + pub tenant_id: Option, pub sso: Option } @@ -137,6 +152,7 @@ pub struct GetPreBanSummaryParams { pub include_by_user_id_and_email: Option, pub include_by_ip: Option, pub include_by_email_domain: Option, + pub tenant_id: Option, pub sso: Option } @@ -146,6 +162,7 @@ pub struct GetSearchCommentsSummaryParams { pub value: Option, pub filters: Option, pub search_filters: Option, + pub tenant_id: Option, pub sso: Option } @@ -153,6 +170,7 @@ pub struct GetSearchCommentsSummaryParams { #[derive(Clone, Debug)] pub struct GetSearchPagesParams { pub value: Option, + pub tenant_id: Option, pub sso: Option } @@ -160,6 +178,7 @@ pub struct GetSearchPagesParams { #[derive(Clone, Debug)] pub struct GetSearchSitesParams { pub value: Option, + pub tenant_id: Option, pub sso: Option } @@ -167,6 +186,7 @@ pub struct GetSearchSitesParams { #[derive(Clone, Debug)] pub struct GetSearchSuggestParams { pub text_search: Option, + pub tenant_id: Option, pub sso: Option } @@ -174,6 +194,7 @@ pub struct GetSearchSuggestParams { #[derive(Clone, Debug)] pub struct GetSearchUsersParams { pub value: Option, + pub tenant_id: Option, pub sso: Option } @@ -181,12 +202,14 @@ pub struct GetSearchUsersParams { #[derive(Clone, Debug)] pub struct GetTrustFactorParams { pub user_id: Option, + pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_user_ban_preference`] #[derive(Clone, Debug)] pub struct GetUserBanPreferenceParams { + pub tenant_id: Option, pub sso: Option } @@ -194,6 +217,7 @@ pub struct GetUserBanPreferenceParams { #[derive(Clone, Debug)] pub struct GetUserInternalProfileParams { pub comment_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -202,6 +226,8 @@ pub struct GetUserInternalProfileParams { pub struct PostAdjustCommentVotesParams { pub comment_id: String, pub adjust_comment_votes_params: models::AdjustCommentVotesParams, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -213,6 +239,7 @@ pub struct PostApiExportParams { pub filters: Option, pub search_filters: Option, pub sorts: Option, + pub tenant_id: Option, pub sso: Option } @@ -228,6 +255,7 @@ pub struct PostBanUserFromCommentParams { pub is_shadow_ban: Option, pub update_id: Option, pub ban_reason: Option, + pub tenant_id: Option, pub sso: Option } @@ -235,6 +263,7 @@ pub struct PostBanUserFromCommentParams { #[derive(Clone, Debug)] pub struct PostBanUserUndoParams { pub ban_user_undo_params: models::BanUserUndoParams, + pub tenant_id: Option, pub sso: Option } @@ -245,6 +274,7 @@ pub struct PostBulkPreBanSummaryParams { pub include_by_user_id_and_email: Option, pub include_by_ip: Option, pub include_by_email_domain: Option, + pub tenant_id: Option, pub sso: Option } @@ -252,6 +282,7 @@ pub struct PostBulkPreBanSummaryParams { #[derive(Clone, Debug)] pub struct PostCommentsByIdsParams { pub comments_by_ids_params: models::CommentsByIdsParams, + pub tenant_id: Option, pub sso: Option } @@ -259,6 +290,8 @@ pub struct PostCommentsByIdsParams { #[derive(Clone, Debug)] pub struct PostFlagCommentParams { pub comment_id: String, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -266,6 +299,8 @@ pub struct PostFlagCommentParams { #[derive(Clone, Debug)] pub struct PostRemoveCommentParams { pub comment_id: String, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -273,6 +308,8 @@ pub struct PostRemoveCommentParams { #[derive(Clone, Debug)] pub struct PostRestoreDeletedCommentParams { pub comment_id: String, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -281,6 +318,8 @@ pub struct PostRestoreDeletedCommentParams { pub struct PostSetCommentApprovalStatusParams { pub comment_id: String, pub approved: Option, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -289,6 +328,8 @@ pub struct PostSetCommentApprovalStatusParams { pub struct PostSetCommentReviewStatusParams { pub comment_id: String, pub reviewed: Option, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -298,6 +339,8 @@ pub struct PostSetCommentSpamStatusParams { pub comment_id: String, pub spam: Option, pub perm_not_spam: Option, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -306,6 +349,8 @@ pub struct PostSetCommentSpamStatusParams { pub struct PostSetCommentTextParams { pub comment_id: String, pub set_comment_text_params: models::SetCommentTextParams, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -313,6 +358,8 @@ pub struct PostSetCommentTextParams { #[derive(Clone, Debug)] pub struct PostUnFlagCommentParams { pub comment_id: String, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -321,6 +368,8 @@ pub struct PostUnFlagCommentParams { pub struct PostVoteParams { pub comment_id: String, pub direction: Option, + pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -331,6 +380,7 @@ pub struct PutAwardBadgeParams { pub user_id: Option, pub comment_id: Option, pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -338,6 +388,7 @@ pub struct PutAwardBadgeParams { #[derive(Clone, Debug)] pub struct PutCloseThreadParams { pub url_id: String, + pub tenant_id: Option, pub sso: Option } @@ -348,6 +399,7 @@ pub struct PutRemoveBadgeParams { pub user_id: Option, pub comment_id: Option, pub broadcast_id: Option, + pub tenant_id: Option, pub sso: Option } @@ -355,6 +407,7 @@ pub struct PutRemoveBadgeParams { #[derive(Clone, Debug)] pub struct PutReopenThreadParams { pub url_id: String, + pub tenant_id: Option, pub sso: Option } @@ -363,6 +416,7 @@ pub struct PutReopenThreadParams { pub struct SetTrustFactorParams { pub user_id: Option, pub trust_factor: Option, + pub tenant_id: Option, pub sso: Option } @@ -371,7 +425,6 @@ pub struct SetTrustFactorParams { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteModerationVoteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -379,7 +432,6 @@ pub enum DeleteModerationVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiCommentsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -387,7 +439,6 @@ pub enum GetApiCommentsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiExportStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -395,7 +446,6 @@ pub enum GetApiExportStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiIdsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -403,7 +453,6 @@ pub enum GetApiIdsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetBanUsersFromCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -411,7 +460,6 @@ pub enum GetBanUsersFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentBanStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -419,7 +467,6 @@ pub enum GetCommentBanStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentChildrenError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -427,7 +474,6 @@ pub enum GetCommentChildrenError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -435,7 +481,6 @@ pub enum GetCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCountsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -443,7 +488,6 @@ pub enum GetCountsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetLogsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -451,7 +495,6 @@ pub enum GetLogsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetManualBadgesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -459,7 +502,6 @@ pub enum GetManualBadgesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetManualBadgesForUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -467,7 +509,6 @@ pub enum GetManualBadgesForUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModerationCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -475,7 +516,6 @@ pub enum GetModerationCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModerationCommentTextError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -483,7 +523,6 @@ pub enum GetModerationCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPreBanSummaryError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -491,7 +530,6 @@ pub enum GetPreBanSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchCommentsSummaryError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -499,7 +537,6 @@ pub enum GetSearchCommentsSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchPagesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -507,7 +544,6 @@ pub enum GetSearchPagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchSitesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -515,7 +551,6 @@ pub enum GetSearchSitesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchSuggestError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -523,7 +558,6 @@ pub enum GetSearchSuggestError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchUsersError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -531,7 +565,6 @@ pub enum GetSearchUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTrustFactorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -539,7 +572,6 @@ pub enum GetTrustFactorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBanPreferenceError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -547,7 +579,6 @@ pub enum GetUserBanPreferenceError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserInternalProfileError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -555,7 +586,6 @@ pub enum GetUserInternalProfileError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostAdjustCommentVotesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -563,7 +593,6 @@ pub enum PostAdjustCommentVotesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostApiExportError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -571,7 +600,6 @@ pub enum PostApiExportError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBanUserFromCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -579,7 +607,6 @@ pub enum PostBanUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBanUserUndoError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -587,7 +614,6 @@ pub enum PostBanUserUndoError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBulkPreBanSummaryError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -595,7 +621,6 @@ pub enum PostBulkPreBanSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostCommentsByIdsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -603,7 +628,6 @@ pub enum PostCommentsByIdsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostFlagCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -611,7 +635,6 @@ pub enum PostFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostRemoveCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -619,7 +642,6 @@ pub enum PostRemoveCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostRestoreDeletedCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -627,7 +649,6 @@ pub enum PostRestoreDeletedCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentApprovalStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -635,7 +656,6 @@ pub enum PostSetCommentApprovalStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentReviewStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -643,7 +663,6 @@ pub enum PostSetCommentReviewStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentSpamStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -651,7 +670,6 @@ pub enum PostSetCommentSpamStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentTextError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -659,7 +677,6 @@ pub enum PostSetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostUnFlagCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -667,7 +684,6 @@ pub enum PostUnFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostVoteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -675,7 +691,6 @@ pub enum PostVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutAwardBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -683,7 +698,6 @@ pub enum PutAwardBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutCloseThreadError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -691,7 +705,6 @@ pub enum PutCloseThreadError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutRemoveBadgeError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -699,7 +712,6 @@ pub enum PutRemoveBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutReopenThreadError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -707,16 +719,21 @@ pub enum PutReopenThreadError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SetTrustFactorError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } -pub async fn delete_moderation_vote(configuration: &configuration::Configuration, params: DeleteModerationVoteParams) -> Result> { +pub async fn delete_moderation_vote(configuration: &configuration::Configuration, params: DeleteModerationVoteParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}/{voteId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -739,8 +756,8 @@ pub async fn delete_moderation_vote(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteModerationVoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteModerationVoteResponse`")))), } } else { let content = resp.text().await?; @@ -749,7 +766,7 @@ pub async fn delete_moderation_vote(configuration: &configuration::Configuration } } -pub async fn get_api_comments(configuration: &configuration::Configuration, params: GetApiCommentsParams) -> Result> { +pub async fn get_api_comments(configuration: &configuration::Configuration, params: GetApiCommentsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -778,6 +795,9 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -800,8 +820,8 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -810,7 +830,7 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para } } -pub async fn get_api_export_status(configuration: &configuration::Configuration, params: GetApiExportStatusParams) -> Result> { +pub async fn get_api_export_status(configuration: &configuration::Configuration, params: GetApiExportStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/export/status", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -818,6 +838,9 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, if let Some(ref param_value) = params.batch_job_id { req_builder = req_builder.query(&[("batchJobId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -840,8 +863,8 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationExportStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationExportStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiExportStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiExportStatusResponse`")))), } } else { let content = resp.text().await?; @@ -850,7 +873,7 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, } } -pub async fn get_api_ids(configuration: &configuration::Configuration, params: GetApiIdsParams) -> Result> { +pub async fn get_api_ids(configuration: &configuration::Configuration, params: GetApiIdsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -873,6 +896,9 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -895,8 +921,8 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetCommentIdsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetCommentIdsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiIdsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiIdsResponse`")))), } } else { let content = resp.text().await?; @@ -905,11 +931,14 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G } } -pub async fn get_ban_users_from_comment(configuration: &configuration::Configuration, params: GetBanUsersFromCommentParams) -> Result> { +pub async fn get_ban_users_from_comment(configuration: &configuration::Configuration, params: GetBanUsersFromCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -932,8 +961,8 @@ pub async fn get_ban_users_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBannedUsersFromCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBannedUsersFromCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBanUsersFromCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBanUsersFromCommentResponse`")))), } } else { let content = resp.text().await?; @@ -942,11 +971,14 @@ pub async fn get_ban_users_from_comment(configuration: &configuration::Configura } } -pub async fn get_comment_ban_status(configuration: &configuration::Configuration, params: GetCommentBanStatusParams) -> Result> { +pub async fn get_comment_ban_status(configuration: &configuration::Configuration, params: GetCommentBanStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -969,8 +1001,8 @@ pub async fn get_comment_ban_status(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentBanStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentBanStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentBanStatusResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentBanStatusResponse1`")))), } } else { let content = resp.text().await?; @@ -979,11 +1011,14 @@ pub async fn get_comment_ban_status(configuration: &configuration::Configuration } } -pub async fn get_comment_children(configuration: &configuration::Configuration, params: GetCommentChildrenParams) -> Result> { +pub async fn get_comment_children(configuration: &configuration::Configuration, params: GetCommentChildrenParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comment-children/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1006,8 +1041,8 @@ pub async fn get_comment_children(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentChildrenResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentChildrenResponse`")))), } } else { let content = resp.text().await?; @@ -1016,7 +1051,7 @@ pub async fn get_comment_children(configuration: &configuration::Configuration, } } -pub async fn get_count(configuration: &configuration::Configuration, params: GetCountParams) -> Result> { +pub async fn get_count(configuration: &configuration::Configuration, params: GetCountParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1036,6 +1071,9 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1058,8 +1096,8 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiCountCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiCountCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCountResponse`")))), } } else { let content = resp.text().await?; @@ -1068,11 +1106,14 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get } } -pub async fn get_counts(configuration: &configuration::Configuration, params: GetCountsParams) -> Result> { +pub async fn get_counts(configuration: &configuration::Configuration, params: GetCountsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/banned-users/counts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1095,8 +1136,8 @@ pub async fn get_counts(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBannedUsersCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBannedUsersCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCountsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCountsResponse`")))), } } else { let content = resp.text().await?; @@ -1105,11 +1146,14 @@ pub async fn get_counts(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_logs(configuration: &configuration::Configuration, params: GetLogsParams) -> Result> { +pub async fn get_logs(configuration: &configuration::Configuration, params: GetLogsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/logs/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1132,8 +1176,8 @@ pub async fn get_logs(configuration: &configuration::Configuration, params: GetL let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetLogsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetLogsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetLogsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetLogsResponse`")))), } } else { let content = resp.text().await?; @@ -1142,11 +1186,14 @@ pub async fn get_logs(configuration: &configuration::Configuration, params: GetL } } -pub async fn get_manual_badges(configuration: &configuration::Configuration, params: GetManualBadgesParams) -> Result> { +pub async fn get_manual_badges(configuration: &configuration::Configuration, params: GetManualBadgesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1169,8 +1216,8 @@ pub async fn get_manual_badges(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantManualBadgesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantManualBadgesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetManualBadgesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetManualBadgesResponse`")))), } } else { let content = resp.text().await?; @@ -1179,7 +1226,7 @@ pub async fn get_manual_badges(configuration: &configuration::Configuration, par } } -pub async fn get_manual_badges_for_user(configuration: &configuration::Configuration, params: GetManualBadgesForUserParams) -> Result> { +pub async fn get_manual_badges_for_user(configuration: &configuration::Configuration, params: GetManualBadgesForUserParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges-for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1190,6 +1237,9 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura if let Some(ref param_value) = params.comment_id { req_builder = req_builder.query(&[("commentId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1212,8 +1262,8 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserManualBadgesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserManualBadgesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetManualBadgesForUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetManualBadgesForUserResponse`")))), } } else { let content = resp.text().await?; @@ -1222,7 +1272,7 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura } } -pub async fn get_moderation_comment(configuration: &configuration::Configuration, params: GetModerationCommentParams) -> Result> { +pub async fn get_moderation_comment(configuration: &configuration::Configuration, params: GetModerationCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1233,6 +1283,9 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration if let Some(ref param_value) = params.include_ip { req_builder = req_builder.query(&[("includeIP", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1255,8 +1308,8 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModerationCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModerationCommentResponse`")))), } } else { let content = resp.text().await?; @@ -1265,11 +1318,14 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration } } -pub async fn get_moderation_comment_text(configuration: &configuration::Configuration, params: GetModerationCommentTextParams) -> Result> { +pub async fn get_moderation_comment_text(configuration: &configuration::Configuration, params: GetModerationCommentTextParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1292,8 +1348,8 @@ pub async fn get_moderation_comment_text(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModerationCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModerationCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -1302,7 +1358,7 @@ pub async fn get_moderation_comment_text(configuration: &configuration::Configur } } -pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, params: GetPreBanSummaryParams) -> Result> { +pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, params: GetPreBanSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/pre-ban-summary/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1316,6 +1372,9 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p if let Some(ref param_value) = params.include_by_email_domain { req_builder = req_builder.query(&[("includeByEmailDomain", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1338,8 +1397,8 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PreBanSummary`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PreBanSummary`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPreBanSummaryResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPreBanSummaryResponse`")))), } } else { let content = resp.text().await?; @@ -1348,7 +1407,7 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p } } -pub async fn get_search_comments_summary(configuration: &configuration::Configuration, params: GetSearchCommentsSummaryParams) -> Result> { +pub async fn get_search_comments_summary(configuration: &configuration::Configuration, params: GetSearchCommentsSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/comments/summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1362,6 +1421,9 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur if let Some(ref param_value) = params.search_filters { req_builder = req_builder.query(&[("searchFilters", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1384,8 +1446,8 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationCommentSearchResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationCommentSearchResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchCommentsSummaryResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchCommentsSummaryResponse`")))), } } else { let content = resp.text().await?; @@ -1394,7 +1456,7 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur } } -pub async fn get_search_pages(configuration: &configuration::Configuration, params: GetSearchPagesParams) -> Result> { +pub async fn get_search_pages(configuration: &configuration::Configuration, params: GetSearchPagesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/pages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1402,6 +1464,9 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1424,8 +1489,8 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationPageSearchResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationPageSearchResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchPagesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchPagesResponse`")))), } } else { let content = resp.text().await?; @@ -1434,7 +1499,7 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para } } -pub async fn get_search_sites(configuration: &configuration::Configuration, params: GetSearchSitesParams) -> Result> { +pub async fn get_search_sites(configuration: &configuration::Configuration, params: GetSearchSitesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/sites", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1442,6 +1507,9 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1464,8 +1532,8 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationSiteSearchResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationSiteSearchResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchSitesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchSitesResponse`")))), } } else { let content = resp.text().await?; @@ -1474,7 +1542,7 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para } } -pub async fn get_search_suggest(configuration: &configuration::Configuration, params: GetSearchSuggestParams) -> Result> { +pub async fn get_search_suggest(configuration: &configuration::Configuration, params: GetSearchSuggestParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/suggest", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1482,6 +1550,9 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa if let Some(ref param_value) = params.text_search { req_builder = req_builder.query(&[("text-search", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1504,8 +1575,8 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationSuggestResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationSuggestResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchSuggestResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchSuggestResponse`")))), } } else { let content = resp.text().await?; @@ -1514,7 +1585,7 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa } } -pub async fn get_search_users(configuration: &configuration::Configuration, params: GetSearchUsersParams) -> Result> { +pub async fn get_search_users(configuration: &configuration::Configuration, params: GetSearchUsersParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1522,6 +1593,9 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1544,8 +1618,8 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationUserSearchResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationUserSearchResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchUsersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchUsersResponse`")))), } } else { let content = resp.text().await?; @@ -1554,7 +1628,7 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para } } -pub async fn get_trust_factor(configuration: &configuration::Configuration, params: GetTrustFactorParams) -> Result> { +pub async fn get_trust_factor(configuration: &configuration::Configuration, params: GetTrustFactorParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1562,6 +1636,9 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.user_id { req_builder = req_builder.query(&[("userId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1584,8 +1661,8 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserTrustFactorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserTrustFactorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTrustFactorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTrustFactorResponse`")))), } } else { let content = resp.text().await?; @@ -1594,11 +1671,14 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para } } -pub async fn get_user_ban_preference(configuration: &configuration::Configuration, params: GetUserBanPreferenceParams) -> Result> { +pub async fn get_user_ban_preference(configuration: &configuration::Configuration, params: GetUserBanPreferenceParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/user-ban-preference", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1621,8 +1701,8 @@ pub async fn get_user_ban_preference(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiModerateGetUserBanPreferencesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiModerateGetUserBanPreferencesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBanPreferenceResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBanPreferenceResponse`")))), } } else { let content = resp.text().await?; @@ -1631,7 +1711,7 @@ pub async fn get_user_ban_preference(configuration: &configuration::Configuratio } } -pub async fn get_user_internal_profile(configuration: &configuration::Configuration, params: GetUserInternalProfileParams) -> Result> { +pub async fn get_user_internal_profile(configuration: &configuration::Configuration, params: GetUserInternalProfileParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-user-internal-profile", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1639,6 +1719,9 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat if let Some(ref param_value) = params.comment_id { req_builder = req_builder.query(&[("commentId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1661,8 +1744,8 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserInternalProfileResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserInternalProfileResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserInternalProfileResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserInternalProfileResponse1`")))), } } else { let content = resp.text().await?; @@ -1671,11 +1754,17 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat } } -pub async fn post_adjust_comment_votes(configuration: &configuration::Configuration, params: PostAdjustCommentVotesParams) -> Result> { +pub async fn post_adjust_comment_votes(configuration: &configuration::Configuration, params: PostAdjustCommentVotesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1699,8 +1788,8 @@ pub async fn post_adjust_comment_votes(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AdjustVotesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AdjustVotesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostAdjustCommentVotesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostAdjustCommentVotesResponse`")))), } } else { let content = resp.text().await?; @@ -1709,7 +1798,7 @@ pub async fn post_adjust_comment_votes(configuration: &configuration::Configurat } } -pub async fn post_api_export(configuration: &configuration::Configuration, params: PostApiExportParams) -> Result> { +pub async fn post_api_export(configuration: &configuration::Configuration, params: PostApiExportParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/export", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1729,6 +1818,9 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param if let Some(ref param_value) = params.sorts { req_builder = req_builder.query(&[("sorts", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1751,8 +1843,8 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationExportResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationExportResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostApiExportResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostApiExportResponse`")))), } } else { let content = resp.text().await?; @@ -1761,7 +1853,7 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param } } -pub async fn post_ban_user_from_comment(configuration: &configuration::Configuration, params: PostBanUserFromCommentParams) -> Result> { +pub async fn post_ban_user_from_comment(configuration: &configuration::Configuration, params: PostBanUserFromCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1790,6 +1882,9 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura if let Some(ref param_value) = params.ban_reason { req_builder = req_builder.query(&[("banReason", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1812,8 +1907,8 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BanUserFromCommentResult`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BanUserFromCommentResult`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBanUserFromCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBanUserFromCommentResponse`")))), } } else { let content = resp.text().await?; @@ -1822,11 +1917,14 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura } } -pub async fn post_ban_user_undo(configuration: &configuration::Configuration, params: PostBanUserUndoParams) -> Result> { +pub async fn post_ban_user_undo(configuration: &configuration::Configuration, params: PostBanUserUndoParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/undo", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1850,8 +1948,8 @@ pub async fn post_ban_user_undo(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBanUserUndoResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBanUserUndoResponse`")))), } } else { let content = resp.text().await?; @@ -1860,7 +1958,7 @@ pub async fn post_ban_user_undo(configuration: &configuration::Configuration, pa } } -pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configuration, params: PostBulkPreBanSummaryParams) -> Result> { +pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configuration, params: PostBulkPreBanSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/bulk-pre-ban-summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1874,6 +1972,9 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat if let Some(ref param_value) = params.include_by_email_domain { req_builder = req_builder.query(&[("includeByEmailDomain", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1897,8 +1998,8 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkPreBanSummary`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkPreBanSummary`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBulkPreBanSummaryResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBulkPreBanSummaryResponse`")))), } } else { let content = resp.text().await?; @@ -1907,11 +2008,14 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat } } -pub async fn post_comments_by_ids(configuration: &configuration::Configuration, params: PostCommentsByIdsParams) -> Result> { +pub async fn post_comments_by_ids(configuration: &configuration::Configuration, params: PostCommentsByIdsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comments-by-ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1935,8 +2039,8 @@ pub async fn post_comments_by_ids(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostCommentsByIdsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostCommentsByIdsResponse`")))), } } else { let content = resp.text().await?; @@ -1945,11 +2049,17 @@ pub async fn post_comments_by_ids(configuration: &configuration::Configuration, } } -pub async fn post_flag_comment(configuration: &configuration::Configuration, params: PostFlagCommentParams) -> Result> { +pub async fn post_flag_comment(configuration: &configuration::Configuration, params: PostFlagCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1972,8 +2082,8 @@ pub async fn post_flag_comment(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostFlagCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostFlagCommentResponse`")))), } } else { let content = resp.text().await?; @@ -1987,6 +2097,12 @@ pub async fn post_remove_comment(configuration: &configuration::Configuration, p let uri_str = format!("{}/auth/my-account/moderate-comments/remove-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2019,11 +2135,17 @@ pub async fn post_remove_comment(configuration: &configuration::Configuration, p } } -pub async fn post_restore_deleted_comment(configuration: &configuration::Configuration, params: PostRestoreDeletedCommentParams) -> Result> { +pub async fn post_restore_deleted_comment(configuration: &configuration::Configuration, params: PostRestoreDeletedCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2046,8 +2168,8 @@ pub async fn post_restore_deleted_comment(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostRestoreDeletedCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostRestoreDeletedCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2056,7 +2178,7 @@ pub async fn post_restore_deleted_comment(configuration: &configuration::Configu } } -pub async fn post_set_comment_approval_status(configuration: &configuration::Configuration, params: PostSetCommentApprovalStatusParams) -> Result> { +pub async fn post_set_comment_approval_status(configuration: &configuration::Configuration, params: PostSetCommentApprovalStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2064,6 +2186,12 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con if let Some(ref param_value) = params.approved { req_builder = req_builder.query(&[("approved", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2086,8 +2214,8 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentApprovedResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentApprovedResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentApprovalStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentApprovalStatusResponse`")))), } } else { let content = resp.text().await?; @@ -2096,7 +2224,7 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con } } -pub async fn post_set_comment_review_status(configuration: &configuration::Configuration, params: PostSetCommentReviewStatusParams) -> Result> { +pub async fn post_set_comment_review_status(configuration: &configuration::Configuration, params: PostSetCommentReviewStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-review-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2104,6 +2232,12 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi if let Some(ref param_value) = params.reviewed { req_builder = req_builder.query(&[("reviewed", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2126,8 +2260,8 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentReviewStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentReviewStatusResponse`")))), } } else { let content = resp.text().await?; @@ -2136,7 +2270,7 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi } } -pub async fn post_set_comment_spam_status(configuration: &configuration::Configuration, params: PostSetCommentSpamStatusParams) -> Result> { +pub async fn post_set_comment_spam_status(configuration: &configuration::Configuration, params: PostSetCommentSpamStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2147,6 +2281,12 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu if let Some(ref param_value) = params.perm_not_spam { req_builder = req_builder.query(&[("permNotSpam", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2169,8 +2309,8 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentSpamStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentSpamStatusResponse`")))), } } else { let content = resp.text().await?; @@ -2179,11 +2319,17 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu } } -pub async fn post_set_comment_text(configuration: &configuration::Configuration, params: PostSetCommentTextParams) -> Result> { +pub async fn post_set_comment_text(configuration: &configuration::Configuration, params: PostSetCommentTextParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2207,8 +2353,8 @@ pub async fn post_set_comment_text(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -2217,11 +2363,17 @@ pub async fn post_set_comment_text(configuration: &configuration::Configuration, } } -pub async fn post_un_flag_comment(configuration: &configuration::Configuration, params: PostUnFlagCommentParams) -> Result> { +pub async fn post_un_flag_comment(configuration: &configuration::Configuration, params: PostUnFlagCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/un-flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2244,8 +2396,8 @@ pub async fn post_un_flag_comment(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostUnFlagCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostUnFlagCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2254,7 +2406,7 @@ pub async fn post_un_flag_comment(configuration: &configuration::Configuration, } } -pub async fn post_vote(configuration: &configuration::Configuration, params: PostVoteParams) -> Result> { +pub async fn post_vote(configuration: &configuration::Configuration, params: PostVoteParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2262,6 +2414,12 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos if let Some(ref param_value) = params.direction { req_builder = req_builder.query(&[("direction", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.broadcast_id { + req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2284,8 +2442,8 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostVoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostVoteResponse`")))), } } else { let content = resp.text().await?; @@ -2294,7 +2452,7 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos } } -pub async fn put_award_badge(configuration: &configuration::Configuration, params: PutAwardBadgeParams) -> Result> { +pub async fn put_award_badge(configuration: &configuration::Configuration, params: PutAwardBadgeParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/award-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2309,6 +2467,9 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2331,8 +2492,8 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AwardUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AwardUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutAwardBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutAwardBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2341,12 +2502,15 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param } } -pub async fn put_close_thread(configuration: &configuration::Configuration, params: PutCloseThreadParams) -> Result> { +pub async fn put_close_thread(configuration: &configuration::Configuration, params: PutCloseThreadParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/close-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); req_builder = req_builder.query(&[("urlId", ¶ms.url_id.to_string())]); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2369,8 +2533,8 @@ pub async fn put_close_thread(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutCloseThreadResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutCloseThreadResponse`")))), } } else { let content = resp.text().await?; @@ -2379,7 +2543,7 @@ pub async fn put_close_thread(configuration: &configuration::Configuration, para } } -pub async fn put_remove_badge(configuration: &configuration::Configuration, params: PutRemoveBadgeParams) -> Result> { +pub async fn put_remove_badge(configuration: &configuration::Configuration, params: PutRemoveBadgeParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/remove-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2394,6 +2558,9 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2416,8 +2583,8 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RemoveUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RemoveUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutRemoveBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutRemoveBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2426,12 +2593,15 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para } } -pub async fn put_reopen_thread(configuration: &configuration::Configuration, params: PutReopenThreadParams) -> Result> { +pub async fn put_reopen_thread(configuration: &configuration::Configuration, params: PutReopenThreadParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/reopen-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); req_builder = req_builder.query(&[("urlId", ¶ms.url_id.to_string())]); + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2454,8 +2624,8 @@ pub async fn put_reopen_thread(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutReopenThreadResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutReopenThreadResponse`")))), } } else { let content = resp.text().await?; @@ -2464,7 +2634,7 @@ pub async fn put_reopen_thread(configuration: &configuration::Configuration, par } } -pub async fn set_trust_factor(configuration: &configuration::Configuration, params: SetTrustFactorParams) -> Result> { +pub async fn set_trust_factor(configuration: &configuration::Configuration, params: SetTrustFactorParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2475,6 +2645,9 @@ pub async fn set_trust_factor(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.trust_factor { req_builder = req_builder.query(&[("trustFactor", ¶m_value.to_string())]); } + if let Some(ref param_value) = params.tenant_id { + req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); + } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2497,8 +2670,8 @@ pub async fn set_trust_factor(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetUserTrustFactorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetUserTrustFactorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetTrustFactorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetTrustFactorResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/apis/public_api.rs b/client/src/apis/public_api.rs index 436cc59..901da5d 100644 --- a/client/src/apis/public_api.rs +++ b/client/src/apis/public_api.rs @@ -540,7 +540,6 @@ pub struct VoteCommentParams { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BlockFromCommentPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -548,7 +547,6 @@ pub enum BlockFromCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CheckedCommentsForBlockedError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -556,7 +554,6 @@ pub enum CheckedCommentsForBlockedError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateCommentPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -564,7 +561,6 @@ pub enum CreateCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateFeedPostPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -572,7 +568,6 @@ pub enum CreateFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateV1PageReactError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -580,7 +575,6 @@ pub enum CreateV1PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateV2PageReactError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -588,7 +582,6 @@ pub enum CreateV2PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -596,7 +589,6 @@ pub enum DeleteCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentVoteError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -604,7 +596,6 @@ pub enum DeleteCommentVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteFeedPostPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -612,7 +603,6 @@ pub enum DeleteFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteV1PageReactError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -620,7 +610,6 @@ pub enum DeleteV1PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteV2PageReactError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -628,7 +617,6 @@ pub enum DeleteV2PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum FlagCommentPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -636,7 +624,6 @@ pub enum FlagCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentTextError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -644,7 +631,6 @@ pub enum GetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentVoteUserNamesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -652,7 +638,6 @@ pub enum GetCommentVoteUserNamesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsForUserError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -660,7 +645,6 @@ pub enum GetCommentsForUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -668,7 +652,6 @@ pub enum GetCommentsPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEventLogError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -676,7 +659,6 @@ pub enum GetEventLogError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -684,7 +666,6 @@ pub enum GetFeedPostsPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsStatsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -693,7 +674,6 @@ pub enum GetFeedPostsStatsError { #[serde(untagged)] pub enum GetGifLargeError { Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -702,7 +682,6 @@ pub enum GetGifLargeError { #[serde(untagged)] pub enum GetGifsSearchError { Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -717,7 +696,6 @@ pub enum GetGifsTrendingError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetGlobalEventLogError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -727,7 +705,6 @@ pub enum GetGlobalEventLogError { pub enum GetOfflineUsersError { Status403(models::ApiError), Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -737,7 +714,6 @@ pub enum GetOfflineUsersError { pub enum GetOnlineUsersError { Status403(models::ApiError), Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -745,7 +721,6 @@ pub enum GetOnlineUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPagesPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -755,7 +730,6 @@ pub enum GetPagesPublicError { pub enum GetTranslationsError { Status422(models::ApiError), Status500(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -763,7 +737,6 @@ pub enum GetTranslationsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserNotificationCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -771,7 +744,6 @@ pub enum GetUserNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserNotificationsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -780,7 +752,6 @@ pub enum GetUserNotificationsError { #[serde(untagged)] pub enum GetUserPresenceStatusesError { Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -788,7 +759,6 @@ pub enum GetUserPresenceStatusesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserReactsPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -797,7 +767,6 @@ pub enum GetUserReactsPublicError { #[serde(untagged)] pub enum GetUsersInfoError { Status422(models::ApiError), - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -805,7 +774,6 @@ pub enum GetUsersInfoError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV1PageLikesError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -813,7 +781,6 @@ pub enum GetV1PageLikesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV2PageReactUsersError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -821,7 +788,6 @@ pub enum GetV2PageReactUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV2PageReactsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -829,7 +795,6 @@ pub enum GetV2PageReactsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum LockCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -844,7 +809,6 @@ pub enum LogoutPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PinCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -852,7 +816,6 @@ pub enum PinCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReactFeedPostPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -860,7 +823,6 @@ pub enum ReactFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ResetUserNotificationCountError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -868,7 +830,6 @@ pub enum ResetUserNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ResetUserNotificationsError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -876,7 +837,6 @@ pub enum ResetUserNotificationsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SearchUsersError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -884,7 +844,6 @@ pub enum SearchUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SetCommentTextError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -892,7 +851,6 @@ pub enum SetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnBlockCommentPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -900,7 +858,6 @@ pub enum UnBlockCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnLockCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -908,7 +865,6 @@ pub enum UnLockCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnPinCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -916,7 +872,6 @@ pub enum UnPinCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateFeedPostPublicError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -924,7 +879,6 @@ pub enum UpdateFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationCommentSubscriptionStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -932,7 +886,6 @@ pub enum UpdateUserNotificationCommentSubscriptionStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationPageSubscriptionStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -940,7 +893,6 @@ pub enum UpdateUserNotificationPageSubscriptionStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationStatusError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -955,12 +907,11 @@ pub enum UploadImageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum VoteCommentError { - DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } -pub async fn block_from_comment_public(configuration: &configuration::Configuration, params: BlockFromCommentPublicParams) -> Result> { +pub async fn block_from_comment_public(configuration: &configuration::Configuration, params: BlockFromCommentPublicParams) -> Result> { let uri_str = format!("{}/block-from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -989,8 +940,8 @@ pub async fn block_from_comment_public(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockSuccess`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockSuccess`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockFromCommentPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockFromCommentPublicResponse`")))), } } else { let content = resp.text().await?; @@ -999,7 +950,7 @@ pub async fn block_from_comment_public(configuration: &configuration::Configurat } } -pub async fn checked_comments_for_blocked(configuration: &configuration::Configuration, params: CheckedCommentsForBlockedParams) -> Result> { +pub async fn checked_comments_for_blocked(configuration: &configuration::Configuration, params: CheckedCommentsForBlockedParams) -> Result> { let uri_str = format!("{}/check-blocked-comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1028,8 +979,8 @@ pub async fn checked_comments_for_blocked(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CheckBlockedCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CheckBlockedCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CheckedCommentsForBlockedResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CheckedCommentsForBlockedResponse`")))), } } else { let content = resp.text().await?; @@ -1038,7 +989,7 @@ pub async fn checked_comments_for_blocked(configuration: &configuration::Configu } } -pub async fn create_comment_public(configuration: &configuration::Configuration, params: CreateCommentPublicParams) -> Result> { +pub async fn create_comment_public(configuration: &configuration::Configuration, params: CreateCommentPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1071,8 +1022,8 @@ pub async fn create_comment_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SaveCommentsResponseWithPresence`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SaveCommentsResponseWithPresence`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateCommentPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateCommentPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1081,7 +1032,7 @@ pub async fn create_comment_public(configuration: &configuration::Configuration, } } -pub async fn create_feed_post_public(configuration: &configuration::Configuration, params: CreateFeedPostPublicParams) -> Result> { +pub async fn create_feed_post_public(configuration: &configuration::Configuration, params: CreateFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1112,8 +1063,8 @@ pub async fn create_feed_post_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1122,7 +1073,7 @@ pub async fn create_feed_post_public(configuration: &configuration::Configuratio } } -pub async fn create_v1_page_react(configuration: &configuration::Configuration, params: CreateV1PageReactParams) -> Result> { +pub async fn create_v1_page_react(configuration: &configuration::Configuration, params: CreateV1PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1150,8 +1101,8 @@ pub async fn create_v1_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReactResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReactResponse`")))), } } else { let content = resp.text().await?; @@ -1160,7 +1111,7 @@ pub async fn create_v1_page_react(configuration: &configuration::Configuration, } } -pub async fn create_v2_page_react(configuration: &configuration::Configuration, params: CreateV2PageReactParams) -> Result> { +pub async fn create_v2_page_react(configuration: &configuration::Configuration, params: CreateV2PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1189,8 +1140,8 @@ pub async fn create_v2_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV2PageReactResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV2PageReactResponse`")))), } } else { let content = resp.text().await?; @@ -1199,7 +1150,7 @@ pub async fn create_v2_page_react(configuration: &configuration::Configuration, } } -pub async fn delete_comment_public(configuration: &configuration::Configuration, params: DeleteCommentPublicParams) -> Result> { +pub async fn delete_comment_public(configuration: &configuration::Configuration, params: DeleteCommentPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1230,8 +1181,8 @@ pub async fn delete_comment_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiDeleteCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiDeleteCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1240,7 +1191,7 @@ pub async fn delete_comment_public(configuration: &configuration::Configuration, } } -pub async fn delete_comment_vote(configuration: &configuration::Configuration, params: DeleteCommentVoteParams) -> Result> { +pub async fn delete_comment_vote(configuration: &configuration::Configuration, params: DeleteCommentVoteParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/vote/{voteId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1272,8 +1223,8 @@ pub async fn delete_comment_vote(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentVoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentVoteResponse`")))), } } else { let content = resp.text().await?; @@ -1322,7 +1273,7 @@ pub async fn delete_feed_post_public(configuration: &configuration::Configuratio } } -pub async fn delete_v1_page_react(configuration: &configuration::Configuration, params: DeleteV1PageReactParams) -> Result> { +pub async fn delete_v1_page_react(configuration: &configuration::Configuration, params: DeleteV1PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1347,8 +1298,8 @@ pub async fn delete_v1_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteV1PageReactResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteV1PageReactResponse`")))), } } else { let content = resp.text().await?; @@ -1357,7 +1308,7 @@ pub async fn delete_v1_page_react(configuration: &configuration::Configuration, } } -pub async fn delete_v2_page_react(configuration: &configuration::Configuration, params: DeleteV2PageReactParams) -> Result> { +pub async fn delete_v2_page_react(configuration: &configuration::Configuration, params: DeleteV2PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1383,8 +1334,8 @@ pub async fn delete_v2_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteV2PageReactResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteV2PageReactResponse`")))), } } else { let content = resp.text().await?; @@ -1393,7 +1344,7 @@ pub async fn delete_v2_page_react(configuration: &configuration::Configuration, } } -pub async fn flag_comment_public(configuration: &configuration::Configuration, params: FlagCommentPublicParams) -> Result> { +pub async fn flag_comment_public(configuration: &configuration::Configuration, params: FlagCommentPublicParams) -> Result> { let uri_str = format!("{}/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1422,8 +1373,8 @@ pub async fn flag_comment_public(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1432,7 +1383,7 @@ pub async fn flag_comment_public(configuration: &configuration::Configuration, p } } -pub async fn get_comment_text(configuration: &configuration::Configuration, params: GetCommentTextParams) -> Result> { +pub async fn get_comment_text(configuration: &configuration::Configuration, params: GetCommentTextParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/text", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1462,8 +1413,8 @@ pub async fn get_comment_text(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiGetCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiGetCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentTextResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentTextResponse1`")))), } } else { let content = resp.text().await?; @@ -1472,7 +1423,7 @@ pub async fn get_comment_text(configuration: &configuration::Configuration, para } } -pub async fn get_comment_vote_user_names(configuration: &configuration::Configuration, params: GetCommentVoteUserNamesParams) -> Result> { +pub async fn get_comment_vote_user_names(configuration: &configuration::Configuration, params: GetCommentVoteUserNamesParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/votes", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1500,8 +1451,8 @@ pub async fn get_comment_vote_user_names(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentVoteUserNamesSuccessResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentVoteUserNamesSuccessResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentVoteUserNamesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentVoteUserNamesResponse`")))), } } else { let content = resp.text().await?; @@ -1510,7 +1461,7 @@ pub async fn get_comment_vote_user_names(configuration: &configuration::Configur } } -pub async fn get_comments_for_user(configuration: &configuration::Configuration, params: GetCommentsForUserParams) -> Result> { +pub async fn get_comments_for_user(configuration: &configuration::Configuration, params: GetCommentsForUserParams) -> Result> { let uri_str = format!("{}/comments-for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1555,8 +1506,8 @@ pub async fn get_comments_for_user(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsForUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsForUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsForUserResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsForUserResponse1`")))), } } else { let content = resp.text().await?; @@ -1566,7 +1517,7 @@ pub async fn get_comments_for_user(configuration: &configuration::Configuration, } /// req tenantId urlId -pub async fn get_comments_public(configuration: &configuration::Configuration, params: GetCommentsPublicParams) -> Result> { +pub async fn get_comments_public(configuration: &configuration::Configuration, params: GetCommentsPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1672,8 +1623,8 @@ pub async fn get_comments_public(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsResponseWithPresencePublicComment`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsResponseWithPresencePublicComment`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1683,7 +1634,7 @@ pub async fn get_comments_public(configuration: &configuration::Configuration, p } /// req tenantId urlId userIdWS -pub async fn get_event_log(configuration: &configuration::Configuration, params: GetEventLogParams) -> Result> { +pub async fn get_event_log(configuration: &configuration::Configuration, params: GetEventLogParams) -> Result> { let uri_str = format!("{}/event-log/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1713,8 +1664,8 @@ pub async fn get_event_log(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse1`")))), } } else { let content = resp.text().await?; @@ -1724,7 +1675,7 @@ pub async fn get_event_log(configuration: &configuration::Configuration, params: } /// req tenantId afterId -pub async fn get_feed_posts_public(configuration: &configuration::Configuration, params: GetFeedPostsPublicParams) -> Result> { +pub async fn get_feed_posts_public(configuration: &configuration::Configuration, params: GetFeedPostsPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1769,8 +1720,8 @@ pub async fn get_feed_posts_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicFeedPostsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicFeedPostsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsPublicResponse`")))), } } else { let content = resp.text().await?; @@ -1779,7 +1730,7 @@ pub async fn get_feed_posts_public(configuration: &configuration::Configuration, } } -pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, params: GetFeedPostsStatsParams) -> Result> { +pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, params: GetFeedPostsStatsParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/stats", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1810,8 +1761,8 @@ pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FeedPostsStatsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FeedPostsStatsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsStatsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsStatsResponse`")))), } } else { let content = resp.text().await?; @@ -1820,7 +1771,7 @@ pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, } } -pub async fn get_gif_large(configuration: &configuration::Configuration, params: GetGifLargeParams) -> Result> { +pub async fn get_gif_large(configuration: &configuration::Configuration, params: GetGifLargeParams) -> Result> { let uri_str = format!("{}/gifs/get-large/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1845,8 +1796,8 @@ pub async fn get_gif_large(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GifGetLargeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GifGetLargeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGifLargeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGifLargeResponse`")))), } } else { let content = resp.text().await?; @@ -1943,7 +1894,7 @@ pub async fn get_gifs_trending(configuration: &configuration::Configuration, par } /// req tenantId urlId userIdWS -pub async fn get_global_event_log(configuration: &configuration::Configuration, params: GetGlobalEventLogParams) -> Result> { +pub async fn get_global_event_log(configuration: &configuration::Configuration, params: GetGlobalEventLogParams) -> Result> { let uri_str = format!("{}/event-log/global/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1973,8 +1924,8 @@ pub async fn get_global_event_log(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGlobalEventLogResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGlobalEventLogResponse`")))), } } else { let content = resp.text().await?; @@ -1984,7 +1935,7 @@ pub async fn get_global_event_log(configuration: &configuration::Configuration, } /// Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost. -pub async fn get_offline_users(configuration: &configuration::Configuration, params: GetOfflineUsersParams) -> Result> { +pub async fn get_offline_users(configuration: &configuration::Configuration, params: GetOfflineUsersParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/offline", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2015,8 +1966,8 @@ pub async fn get_offline_users(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersOfflineResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersOfflineResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetOfflineUsersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetOfflineUsersResponse`")))), } } else { let content = resp.text().await?; @@ -2026,7 +1977,7 @@ pub async fn get_offline_users(configuration: &configuration::Configuration, par } /// Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). -pub async fn get_online_users(configuration: &configuration::Configuration, params: GetOnlineUsersParams) -> Result> { +pub async fn get_online_users(configuration: &configuration::Configuration, params: GetOnlineUsersParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/online", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2057,8 +2008,8 @@ pub async fn get_online_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersOnlineResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersOnlineResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetOnlineUsersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetOnlineUsersResponse`")))), } } else { let content = resp.text().await?; @@ -2068,7 +2019,7 @@ pub async fn get_online_users(configuration: &configuration::Configuration, para } /// List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access. -pub async fn get_pages_public(configuration: &configuration::Configuration, params: GetPagesPublicParams) -> Result> { +pub async fn get_pages_public(configuration: &configuration::Configuration, params: GetPagesPublicParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2107,8 +2058,8 @@ pub async fn get_pages_public(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPublicPagesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPublicPagesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPagesPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPagesPublicResponse`")))), } } else { let content = resp.text().await?; @@ -2117,7 +2068,7 @@ pub async fn get_pages_public(configuration: &configuration::Configuration, para } } -pub async fn get_translations(configuration: &configuration::Configuration, params: GetTranslationsParams) -> Result> { +pub async fn get_translations(configuration: &configuration::Configuration, params: GetTranslationsParams) -> Result> { let uri_str = format!("{}/translations/{namespace}/{component}", configuration.base_path, namespace=crate::client::apis::urlencode(params.namespace), component=crate::client::apis::urlencode(params.component)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2147,8 +2098,8 @@ pub async fn get_translations(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTranslationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTranslationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTranslationsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTranslationsResponse1`")))), } } else { let content = resp.text().await?; @@ -2157,7 +2108,7 @@ pub async fn get_translations(configuration: &configuration::Configuration, para } } -pub async fn get_user_notification_count(configuration: &configuration::Configuration, params: GetUserNotificationCountParams) -> Result> { +pub async fn get_user_notification_count(configuration: &configuration::Configuration, params: GetUserNotificationCountParams) -> Result> { let uri_str = format!("{}/user-notifications/get-count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2185,8 +2136,8 @@ pub async fn get_user_notification_count(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationCountResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationCountResponse1`")))), } } else { let content = resp.text().await?; @@ -2195,7 +2146,7 @@ pub async fn get_user_notification_count(configuration: &configuration::Configur } } -pub async fn get_user_notifications(configuration: &configuration::Configuration, params: GetUserNotificationsParams) -> Result> { +pub async fn get_user_notifications(configuration: &configuration::Configuration, params: GetUserNotificationsParams) -> Result> { let uri_str = format!("{}/user-notifications", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2253,8 +2204,8 @@ pub async fn get_user_notifications(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetMyNotificationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetMyNotificationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationsResponse`")))), } } else { let content = resp.text().await?; @@ -2263,7 +2214,7 @@ pub async fn get_user_notifications(configuration: &configuration::Configuration } } -pub async fn get_user_presence_statuses(configuration: &configuration::Configuration, params: GetUserPresenceStatusesParams) -> Result> { +pub async fn get_user_presence_statuses(configuration: &configuration::Configuration, params: GetUserPresenceStatusesParams) -> Result> { let uri_str = format!("{}/user-presence-status", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2290,8 +2241,8 @@ pub async fn get_user_presence_statuses(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse1`")))), } } else { let content = resp.text().await?; @@ -2300,7 +2251,7 @@ pub async fn get_user_presence_statuses(configuration: &configuration::Configura } } -pub async fn get_user_reacts_public(configuration: &configuration::Configuration, params: GetUserReactsPublicParams) -> Result> { +pub async fn get_user_reacts_public(configuration: &configuration::Configuration, params: GetUserReactsPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/user-reacts", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2333,8 +2284,8 @@ pub async fn get_user_reacts_public(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UserReactsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UserReactsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserReactsPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserReactsPublicResponse`")))), } } else { let content = resp.text().await?; @@ -2344,7 +2295,7 @@ pub async fn get_user_reacts_public(configuration: &configuration::Configuration } /// Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). -pub async fn get_users_info(configuration: &configuration::Configuration, params: GetUsersInfoParams) -> Result> { +pub async fn get_users_info(configuration: &configuration::Configuration, params: GetUsersInfoParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/info", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2369,8 +2320,8 @@ pub async fn get_users_info(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersInfoResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersInfoResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUsersInfoResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUsersInfoResponse`")))), } } else { let content = resp.text().await?; @@ -2379,7 +2330,7 @@ pub async fn get_users_info(configuration: &configuration::Configuration, params } } -pub async fn get_v1_page_likes(configuration: &configuration::Configuration, params: GetV1PageLikesParams) -> Result> { +pub async fn get_v1_page_likes(configuration: &configuration::Configuration, params: GetV1PageLikesParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2404,8 +2355,8 @@ pub async fn get_v1_page_likes(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV1PageLikes`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV1PageLikes`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV1PageLikesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV1PageLikesResponse`")))), } } else { let content = resp.text().await?; @@ -2414,7 +2365,7 @@ pub async fn get_v1_page_likes(configuration: &configuration::Configuration, par } } -pub async fn get_v2_page_react_users(configuration: &configuration::Configuration, params: GetV2PageReactUsersParams) -> Result> { +pub async fn get_v2_page_react_users(configuration: &configuration::Configuration, params: GetV2PageReactUsersParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}/list", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2440,8 +2391,8 @@ pub async fn get_v2_page_react_users(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactUsersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactUsersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactUsersResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactUsersResponse1`")))), } } else { let content = resp.text().await?; @@ -2450,7 +2401,7 @@ pub async fn get_v2_page_react_users(configuration: &configuration::Configuratio } } -pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, params: GetV2PageReactsParams) -> Result> { +pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, params: GetV2PageReactsParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2475,8 +2426,8 @@ pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReacts`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReacts`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactsResponse`")))), } } else { let content = resp.text().await?; @@ -2485,7 +2436,7 @@ pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, pa } } -pub async fn lock_comment(configuration: &configuration::Configuration, params: LockCommentParams) -> Result> { +pub async fn lock_comment(configuration: &configuration::Configuration, params: LockCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/lock", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2513,8 +2464,8 @@ pub async fn lock_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::LockCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::LockCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2557,7 +2508,7 @@ pub async fn logout_public(configuration: &configuration::Configuration) -> Resu } } -pub async fn pin_comment(configuration: &configuration::Configuration, params: PinCommentParams) -> Result> { +pub async fn pin_comment(configuration: &configuration::Configuration, params: PinCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/pin", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2585,8 +2536,8 @@ pub async fn pin_comment(configuration: &configuration::Configuration, params: P let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PinCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PinCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2595,7 +2546,7 @@ pub async fn pin_comment(configuration: &configuration::Configuration, params: P } } -pub async fn react_feed_post_public(configuration: &configuration::Configuration, params: ReactFeedPostPublicParams) -> Result> { +pub async fn react_feed_post_public(configuration: &configuration::Configuration, params: ReactFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/react/{postId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), postId=crate::client::apis::urlencode(params.post_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2629,8 +2580,8 @@ pub async fn react_feed_post_public(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReactFeedPostResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReactFeedPostResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReactFeedPostPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReactFeedPostPublicResponse`")))), } } else { let content = resp.text().await?; @@ -2639,7 +2590,7 @@ pub async fn react_feed_post_public(configuration: &configuration::Configuration } } -pub async fn reset_user_notification_count(configuration: &configuration::Configuration, params: ResetUserNotificationCountParams) -> Result> { +pub async fn reset_user_notification_count(configuration: &configuration::Configuration, params: ResetUserNotificationCountParams) -> Result> { let uri_str = format!("{}/user-notifications/reset-count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2667,8 +2618,8 @@ pub async fn reset_user_notification_count(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationCountResponse`")))), } } else { let content = resp.text().await?; @@ -2677,7 +2628,7 @@ pub async fn reset_user_notification_count(configuration: &configuration::Config } } -pub async fn reset_user_notifications(configuration: &configuration::Configuration, params: ResetUserNotificationsParams) -> Result> { +pub async fn reset_user_notifications(configuration: &configuration::Configuration, params: ResetUserNotificationsParams) -> Result> { let uri_str = format!("{}/user-notifications/reset", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2720,8 +2671,8 @@ pub async fn reset_user_notifications(configuration: &configuration::Configurati let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse1`")))), } } else { let content = resp.text().await?; @@ -2730,7 +2681,7 @@ pub async fn reset_user_notifications(configuration: &configuration::Configurati } } -pub async fn search_users(configuration: &configuration::Configuration, params: SearchUsersParams) -> Result> { +pub async fn search_users(configuration: &configuration::Configuration, params: SearchUsersParams) -> Result> { let uri_str = format!("{}/user-search/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2770,8 +2721,8 @@ pub async fn search_users(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SearchUsersResult`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SearchUsersResult`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SearchUsersResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SearchUsersResponse1`")))), } } else { let content = resp.text().await?; @@ -2780,7 +2731,7 @@ pub async fn search_users(configuration: &configuration::Configuration, params: } } -pub async fn set_comment_text(configuration: &configuration::Configuration, params: SetCommentTextParams) -> Result> { +pub async fn set_comment_text(configuration: &configuration::Configuration, params: SetCommentTextParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/update-text", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2812,8 +2763,8 @@ pub async fn set_comment_text(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiSetCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiSetCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentTextResponse1`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentTextResponse1`")))), } } else { let content = resp.text().await?; @@ -2822,7 +2773,7 @@ pub async fn set_comment_text(configuration: &configuration::Configuration, para } } -pub async fn un_block_comment_public(configuration: &configuration::Configuration, params: UnBlockCommentPublicParams) -> Result> { +pub async fn un_block_comment_public(configuration: &configuration::Configuration, params: UnBlockCommentPublicParams) -> Result> { let uri_str = format!("{}/block-from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -2851,8 +2802,8 @@ pub async fn un_block_comment_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnblockSuccess`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnblockSuccess`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnBlockCommentPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnBlockCommentPublicResponse`")))), } } else { let content = resp.text().await?; @@ -2861,7 +2812,7 @@ pub async fn un_block_comment_public(configuration: &configuration::Configuratio } } -pub async fn un_lock_comment(configuration: &configuration::Configuration, params: UnLockCommentParams) -> Result> { +pub async fn un_lock_comment(configuration: &configuration::Configuration, params: UnLockCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/unlock", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2889,8 +2840,8 @@ pub async fn un_lock_comment(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnLockCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnLockCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2899,7 +2850,7 @@ pub async fn un_lock_comment(configuration: &configuration::Configuration, param } } -pub async fn un_pin_comment(configuration: &configuration::Configuration, params: UnPinCommentParams) -> Result> { +pub async fn un_pin_comment(configuration: &configuration::Configuration, params: UnPinCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/unpin", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2927,8 +2878,8 @@ pub async fn un_pin_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnPinCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnPinCommentResponse`")))), } } else { let content = resp.text().await?; @@ -2937,7 +2888,7 @@ pub async fn un_pin_comment(configuration: &configuration::Configuration, params } } -pub async fn update_feed_post_public(configuration: &configuration::Configuration, params: UpdateFeedPostPublicParams) -> Result> { +pub async fn update_feed_post_public(configuration: &configuration::Configuration, params: UpdateFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/{postId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), postId=crate::client::apis::urlencode(params.post_id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2968,8 +2919,8 @@ pub async fn update_feed_post_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateFeedPostPublicResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateFeedPostPublicResponse`")))), } } else { let content = resp.text().await?; @@ -3146,7 +3097,7 @@ pub async fn upload_image(configuration: &configuration::Configuration, params: } } -pub async fn vote_comment(configuration: &configuration::Configuration, params: VoteCommentParams) -> Result> { +pub async fn vote_comment(configuration: &configuration::Configuration, params: VoteCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/vote", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -3179,8 +3130,8 @@ pub async fn vote_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteCommentResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/models/add_hash_tag_response.rs b/client/src/models/add_hash_tag_response.rs new file mode 100644 index 0000000..b495fbe --- /dev/null +++ b/client/src/models/add_hash_tag_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct AddHashTagResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "hashTag", skip_serializing_if = "Option::is_none")] + pub hash_tag: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl AddHashTagResponse { + pub fn new(status: models::ApiStatus) -> AddHashTagResponse { + AddHashTagResponse { + status, + hash_tag: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/add_hash_tags_bulk_response.rs b/client/src/models/add_hash_tags_bulk_response.rs new file mode 100644 index 0000000..32dc413 --- /dev/null +++ b/client/src/models/add_hash_tags_bulk_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct AddHashTagsBulkResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "results", skip_serializing_if = "Option::is_none")] + pub results: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl AddHashTagsBulkResponse { + pub fn new(status: models::ApiStatus) -> AddHashTagsBulkResponse { + AddHashTagsBulkResponse { + status, + results: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/aggregate_question_results_response_1.rs b/client/src/models/aggregate_question_results_response_1.rs new file mode 100644 index 0000000..dcf9bf7 --- /dev/null +++ b/client/src/models/aggregate_question_results_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct AggregateQuestionResultsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "data", skip_serializing_if = "Option::is_none")] + pub data: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl AggregateQuestionResultsResponse1 { + pub fn new(status: models::ApiStatus) -> AggregateQuestionResultsResponse1 { + AggregateQuestionResultsResponse1 { + status, + data: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/block_from_comment_public_response.rs b/client/src/models/block_from_comment_public_response.rs new file mode 100644 index 0000000..5f6d643 --- /dev/null +++ b/client/src/models/block_from_comment_public_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct BlockFromCommentPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] + pub comment_statuses: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl BlockFromCommentPublicResponse { + pub fn new(status: models::ApiStatus) -> BlockFromCommentPublicResponse { + BlockFromCommentPublicResponse { + status, + comment_statuses: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/block_user_from_comment_response.rs b/client/src/models/block_user_from_comment_response.rs new file mode 100644 index 0000000..9e0cf70 --- /dev/null +++ b/client/src/models/block_user_from_comment_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct BlockUserFromCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] + pub comment_statuses: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl BlockUserFromCommentResponse { + pub fn new(status: models::ApiStatus) -> BlockUserFromCommentResponse { + BlockUserFromCommentResponse { + status, + comment_statuses: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/bulk_aggregate_question_results_response_1.rs b/client/src/models/bulk_aggregate_question_results_response_1.rs new file mode 100644 index 0000000..15a5f16 --- /dev/null +++ b/client/src/models/bulk_aggregate_question_results_response_1.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct BulkAggregateQuestionResultsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "data", skip_serializing_if = "Option::is_none")] + pub data: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl BulkAggregateQuestionResultsResponse1 { + pub fn new(status: models::ApiStatus) -> BulkAggregateQuestionResultsResponse1 { + BulkAggregateQuestionResultsResponse1 { + status, + data: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/change_ticket_state_response_1.rs b/client/src/models/change_ticket_state_response_1.rs new file mode 100644 index 0000000..8cf0f90 --- /dev/null +++ b/client/src/models/change_ticket_state_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ChangeTicketStateResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] + pub ticket: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ChangeTicketStateResponse1 { + pub fn new(status: models::ApiStatus) -> ChangeTicketStateResponse1 { + ChangeTicketStateResponse1 { + status, + ticket: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/checked_comments_for_blocked_response.rs b/client/src/models/checked_comments_for_blocked_response.rs new file mode 100644 index 0000000..49d767d --- /dev/null +++ b/client/src/models/checked_comments_for_blocked_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CheckedCommentsForBlockedResponse { + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] + pub comment_statuses: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CheckedCommentsForBlockedResponse { + pub fn new(status: models::ApiStatus) -> CheckedCommentsForBlockedResponse { + CheckedCommentsForBlockedResponse { + comment_statuses: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/combine_comments_with_question_results_response.rs b/client/src/models/combine_comments_with_question_results_response.rs new file mode 100644 index 0000000..67cbf39 --- /dev/null +++ b/client/src/models/combine_comments_with_question_results_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CombineCommentsWithQuestionResultsResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "data", skip_serializing_if = "Option::is_none")] + pub data: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CombineCommentsWithQuestionResultsResponse { + pub fn new(status: models::ApiStatus) -> CombineCommentsWithQuestionResultsResponse { + CombineCommentsWithQuestionResultsResponse { + status, + data: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_comment_public_response.rs b/client/src/models/create_comment_public_response.rs new file mode 100644 index 0000000..28b6515 --- /dev/null +++ b/client/src/models/create_comment_public_response.rs @@ -0,0 +1,61 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateCommentPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub user: Option>>, + /// Construct a type with a set of properties K of type T + #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] + pub module_data: Option>, + #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] + pub user_id_ws: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateCommentPublicResponse { + pub fn new(status: models::ApiStatus) -> CreateCommentPublicResponse { + CreateCommentPublicResponse { + status, + comment: None, + user: None, + module_data: None, + user_id_ws: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_email_template_response_1.rs b/client/src/models/create_email_template_response_1.rs new file mode 100644 index 0000000..ec76cef --- /dev/null +++ b/client/src/models/create_email_template_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateEmailTemplateResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "emailTemplate", skip_serializing_if = "Option::is_none")] + pub email_template: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateEmailTemplateResponse1 { + pub fn new(status: models::ApiStatus) -> CreateEmailTemplateResponse1 { + CreateEmailTemplateResponse1 { + status, + email_template: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_feed_post_public_response.rs b/client/src/models/create_feed_post_public_response.rs new file mode 100644 index 0000000..253a500 --- /dev/null +++ b/client/src/models/create_feed_post_public_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateFeedPostPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] + pub feed_post: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateFeedPostPublicResponse { + pub fn new(status: models::ApiStatus) -> CreateFeedPostPublicResponse { + CreateFeedPostPublicResponse { + status, + feed_post: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_feed_post_response_1.rs b/client/src/models/create_feed_post_response_1.rs new file mode 100644 index 0000000..9172883 --- /dev/null +++ b/client/src/models/create_feed_post_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateFeedPostResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] + pub feed_post: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateFeedPostResponse1 { + pub fn new(status: models::ApiStatus) -> CreateFeedPostResponse1 { + CreateFeedPostResponse1 { + status, + feed_post: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_moderator_response_1.rs b/client/src/models/create_moderator_response_1.rs new file mode 100644 index 0000000..bbac1e2 --- /dev/null +++ b/client/src/models/create_moderator_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateModeratorResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "moderator", skip_serializing_if = "Option::is_none")] + pub moderator: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateModeratorResponse1 { + pub fn new(status: models::ApiStatus) -> CreateModeratorResponse1 { + CreateModeratorResponse1 { + status, + moderator: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_question_config_response_1.rs b/client/src/models/create_question_config_response_1.rs new file mode 100644 index 0000000..ee5612e --- /dev/null +++ b/client/src/models/create_question_config_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateQuestionConfigResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionConfig", skip_serializing_if = "Option::is_none")] + pub question_config: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateQuestionConfigResponse1 { + pub fn new(status: models::ApiStatus) -> CreateQuestionConfigResponse1 { + CreateQuestionConfigResponse1 { + status, + question_config: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_question_result_response_1.rs b/client/src/models/create_question_result_response_1.rs new file mode 100644 index 0000000..534b57e --- /dev/null +++ b/client/src/models/create_question_result_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateQuestionResultResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionResult", skip_serializing_if = "Option::is_none")] + pub question_result: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateQuestionResultResponse1 { + pub fn new(status: models::ApiStatus) -> CreateQuestionResultResponse1 { + CreateQuestionResultResponse1 { + status, + question_result: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_tenant_package_response_1.rs b/client/src/models/create_tenant_package_response_1.rs new file mode 100644 index 0000000..f390b6f --- /dev/null +++ b/client/src/models/create_tenant_package_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateTenantPackageResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantPackage", skip_serializing_if = "Option::is_none")] + pub tenant_package: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateTenantPackageResponse1 { + pub fn new(status: models::ApiStatus) -> CreateTenantPackageResponse1 { + CreateTenantPackageResponse1 { + status, + tenant_package: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_tenant_response_1.rs b/client/src/models/create_tenant_response_1.rs new file mode 100644 index 0000000..cffa48b --- /dev/null +++ b/client/src/models/create_tenant_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateTenantResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")] + pub tenant: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateTenantResponse1 { + pub fn new(status: models::ApiStatus) -> CreateTenantResponse1 { + CreateTenantResponse1 { + status, + tenant: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_tenant_user_response_1.rs b/client/src/models/create_tenant_user_response_1.rs new file mode 100644 index 0000000..31c3562 --- /dev/null +++ b/client/src/models/create_tenant_user_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateTenantUserResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantUser", skip_serializing_if = "Option::is_none")] + pub tenant_user: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateTenantUserResponse1 { + pub fn new(status: models::ApiStatus) -> CreateTenantUserResponse1 { + CreateTenantUserResponse1 { + status, + tenant_user: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_ticket_response_1.rs b/client/src/models/create_ticket_response_1.rs new file mode 100644 index 0000000..304da8b --- /dev/null +++ b/client/src/models/create_ticket_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateTicketResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] + pub ticket: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateTicketResponse1 { + pub fn new(status: models::ApiStatus) -> CreateTicketResponse1 { + CreateTicketResponse1 { + status, + ticket: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_user_badge_response.rs b/client/src/models/create_user_badge_response.rs new file mode 100644 index 0000000..9943f9b --- /dev/null +++ b/client/src/models/create_user_badge_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateUserBadgeResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadge", skip_serializing_if = "Option::is_none")] + pub user_badge: Option>, + #[serde(rename = "notes", skip_serializing_if = "Option::is_none")] + pub notes: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateUserBadgeResponse { + pub fn new(status: models::ApiStatus) -> CreateUserBadgeResponse { + CreateUserBadgeResponse { + status, + user_badge: None, + notes: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_v1_page_react_response.rs b/client/src/models/create_v1_page_react_response.rs new file mode 100644 index 0000000..30b1242 --- /dev/null +++ b/client/src/models/create_v1_page_react_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateV1PageReactResponse { + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateV1PageReactResponse { + pub fn new(status: models::ApiStatus) -> CreateV1PageReactResponse { + CreateV1PageReactResponse { + code: None, + status, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_v2_page_react_response.rs b/client/src/models/create_v2_page_react_response.rs new file mode 100644 index 0000000..0e2ed18 --- /dev/null +++ b/client/src/models/create_v2_page_react_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateV2PageReactResponse { + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateV2PageReactResponse { + pub fn new(status: models::ApiStatus) -> CreateV2PageReactResponse { + CreateV2PageReactResponse { + code: None, + status, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/create_vote_response.rs b/client/src/models/create_vote_response.rs new file mode 100644 index 0000000..86d9073 --- /dev/null +++ b/client/src/models/create_vote_response.rs @@ -0,0 +1,60 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateVoteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] + pub vote_id: Option, + #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] + pub is_verified: Option, + #[serde(rename = "user", skip_serializing_if = "Option::is_none")] + pub user: Option>, + #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] + pub edit_key: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl CreateVoteResponse { + pub fn new(status: models::ApiStatus) -> CreateVoteResponse { + CreateVoteResponse { + status, + vote_id: None, + is_verified: None, + user: None, + edit_key: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_comment_public_response.rs b/client/src/models/delete_comment_public_response.rs new file mode 100644 index 0000000..a3713a1 --- /dev/null +++ b/client/src/models/delete_comment_public_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteCommentPublicResponse { + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "hardRemoved", skip_serializing_if = "Option::is_none")] + pub hard_removed: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteCommentPublicResponse { + pub fn new(status: models::ApiStatus) -> DeleteCommentPublicResponse { + DeleteCommentPublicResponse { + comment: None, + hard_removed: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_comment_response.rs b/client/src/models/delete_comment_response.rs new file mode 100644 index 0000000..8625222 --- /dev/null +++ b/client/src/models/delete_comment_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteCommentResponse { + #[serde(rename = "action", skip_serializing_if = "Option::is_none")] + pub action: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteCommentResponse { + pub fn new(status: models::ApiStatus) -> DeleteCommentResponse { + DeleteCommentResponse { + action: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_comment_vote_response.rs b/client/src/models/delete_comment_vote_response.rs new file mode 100644 index 0000000..577f906 --- /dev/null +++ b/client/src/models/delete_comment_vote_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteCommentVoteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] + pub was_pending_vote: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteCommentVoteResponse { + pub fn new(status: models::ApiStatus) -> DeleteCommentVoteResponse { + DeleteCommentVoteResponse { + status, + was_pending_vote: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_email_template_render_error_response.rs b/client/src/models/delete_email_template_render_error_response.rs new file mode 100644 index 0000000..bef7032 --- /dev/null +++ b/client/src/models/delete_email_template_render_error_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteEmailTemplateRenderErrorResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteEmailTemplateRenderErrorResponse { + pub fn new(status: models::ApiStatus) -> DeleteEmailTemplateRenderErrorResponse { + DeleteEmailTemplateRenderErrorResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_email_template_response.rs b/client/src/models/delete_email_template_response.rs new file mode 100644 index 0000000..d85c924 --- /dev/null +++ b/client/src/models/delete_email_template_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteEmailTemplateResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteEmailTemplateResponse { + pub fn new(status: models::ApiStatus) -> DeleteEmailTemplateResponse { + DeleteEmailTemplateResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_feed_post_public_response.rs b/client/src/models/delete_feed_post_public_response.rs index 603ed00..6833fdc 100644 --- a/client/src/models/delete_feed_post_public_response.rs +++ b/client/src/models/delete_feed_post_public_response.rs @@ -15,12 +15,33 @@ use serde::{Deserialize, Serialize}; pub struct DeleteFeedPostPublicResponse { #[serde(rename = "status")] pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl DeleteFeedPostPublicResponse { pub fn new(status: models::ApiStatus) -> DeleteFeedPostPublicResponse { DeleteFeedPostPublicResponse { status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/delete_feed_post_public_response_any_of.rs b/client/src/models/delete_feed_post_public_response_any_of.rs new file mode 100644 index 0000000..1972654 --- /dev/null +++ b/client/src/models/delete_feed_post_public_response_any_of.rs @@ -0,0 +1,27 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteFeedPostPublicResponseAnyOf { + #[serde(rename = "status")] + pub status: models::ApiStatus, +} + +impl DeleteFeedPostPublicResponseAnyOf { + pub fn new(status: models::ApiStatus) -> DeleteFeedPostPublicResponseAnyOf { + DeleteFeedPostPublicResponseAnyOf { + status, + } + } +} + diff --git a/client/src/models/delete_hash_tag_response.rs b/client/src/models/delete_hash_tag_response.rs new file mode 100644 index 0000000..75e5f7d --- /dev/null +++ b/client/src/models/delete_hash_tag_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteHashTagResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteHashTagResponse { + pub fn new(status: models::ApiStatus) -> DeleteHashTagResponse { + DeleteHashTagResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_moderation_vote_response.rs b/client/src/models/delete_moderation_vote_response.rs new file mode 100644 index 0000000..0266ed2 --- /dev/null +++ b/client/src/models/delete_moderation_vote_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteModerationVoteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] + pub was_pending_vote: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteModerationVoteResponse { + pub fn new(status: models::ApiStatus) -> DeleteModerationVoteResponse { + DeleteModerationVoteResponse { + status, + was_pending_vote: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_moderator_response.rs b/client/src/models/delete_moderator_response.rs new file mode 100644 index 0000000..0224279 --- /dev/null +++ b/client/src/models/delete_moderator_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteModeratorResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteModeratorResponse { + pub fn new(status: models::ApiStatus) -> DeleteModeratorResponse { + DeleteModeratorResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_notification_count_response.rs b/client/src/models/delete_notification_count_response.rs new file mode 100644 index 0000000..77bdfe5 --- /dev/null +++ b/client/src/models/delete_notification_count_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteNotificationCountResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteNotificationCountResponse { + pub fn new(status: models::ApiStatus) -> DeleteNotificationCountResponse { + DeleteNotificationCountResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_pending_webhook_event_response.rs b/client/src/models/delete_pending_webhook_event_response.rs new file mode 100644 index 0000000..575543e --- /dev/null +++ b/client/src/models/delete_pending_webhook_event_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeletePendingWebhookEventResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeletePendingWebhookEventResponse { + pub fn new(status: models::ApiStatus) -> DeletePendingWebhookEventResponse { + DeletePendingWebhookEventResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_question_config_response.rs b/client/src/models/delete_question_config_response.rs new file mode 100644 index 0000000..6b539b8 --- /dev/null +++ b/client/src/models/delete_question_config_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteQuestionConfigResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteQuestionConfigResponse { + pub fn new(status: models::ApiStatus) -> DeleteQuestionConfigResponse { + DeleteQuestionConfigResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_question_result_response.rs b/client/src/models/delete_question_result_response.rs new file mode 100644 index 0000000..0cbe3b0 --- /dev/null +++ b/client/src/models/delete_question_result_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteQuestionResultResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteQuestionResultResponse { + pub fn new(status: models::ApiStatus) -> DeleteQuestionResultResponse { + DeleteQuestionResultResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_tenant_package_response.rs b/client/src/models/delete_tenant_package_response.rs new file mode 100644 index 0000000..ac592ee --- /dev/null +++ b/client/src/models/delete_tenant_package_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteTenantPackageResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteTenantPackageResponse { + pub fn new(status: models::ApiStatus) -> DeleteTenantPackageResponse { + DeleteTenantPackageResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_tenant_response.rs b/client/src/models/delete_tenant_response.rs new file mode 100644 index 0000000..26fc465 --- /dev/null +++ b/client/src/models/delete_tenant_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteTenantResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteTenantResponse { + pub fn new(status: models::ApiStatus) -> DeleteTenantResponse { + DeleteTenantResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_tenant_user_response.rs b/client/src/models/delete_tenant_user_response.rs new file mode 100644 index 0000000..c7dddf5 --- /dev/null +++ b/client/src/models/delete_tenant_user_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteTenantUserResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteTenantUserResponse { + pub fn new(status: models::ApiStatus) -> DeleteTenantUserResponse { + DeleteTenantUserResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_user_badge_response.rs b/client/src/models/delete_user_badge_response.rs new file mode 100644 index 0000000..9ae9144 --- /dev/null +++ b/client/src/models/delete_user_badge_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteUserBadgeResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteUserBadgeResponse { + pub fn new(status: models::ApiStatus) -> DeleteUserBadgeResponse { + DeleteUserBadgeResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_v1_page_react_response.rs b/client/src/models/delete_v1_page_react_response.rs new file mode 100644 index 0000000..968867e --- /dev/null +++ b/client/src/models/delete_v1_page_react_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteV1PageReactResponse { + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteV1PageReactResponse { + pub fn new(status: models::ApiStatus) -> DeleteV1PageReactResponse { + DeleteV1PageReactResponse { + code: None, + status, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_v2_page_react_response.rs b/client/src/models/delete_v2_page_react_response.rs new file mode 100644 index 0000000..72eda77 --- /dev/null +++ b/client/src/models/delete_v2_page_react_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteV2PageReactResponse { + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteV2PageReactResponse { + pub fn new(status: models::ApiStatus) -> DeleteV2PageReactResponse { + DeleteV2PageReactResponse { + code: None, + status, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/delete_vote_response.rs b/client/src/models/delete_vote_response.rs new file mode 100644 index 0000000..97747a7 --- /dev/null +++ b/client/src/models/delete_vote_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeleteVoteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] + pub was_pending_vote: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl DeleteVoteResponse { + pub fn new(status: models::ApiStatus) -> DeleteVoteResponse { + DeleteVoteResponse { + status, + was_pending_vote: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/flag_comment_public_response.rs b/client/src/models/flag_comment_public_response.rs new file mode 100644 index 0000000..65d8b6f --- /dev/null +++ b/client/src/models/flag_comment_public_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct FlagCommentPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl FlagCommentPublicResponse { + pub fn new(status: models::ApiStatus) -> FlagCommentPublicResponse { + FlagCommentPublicResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/flag_comment_response_1.rs b/client/src/models/flag_comment_response_1.rs new file mode 100644 index 0000000..4dbcced --- /dev/null +++ b/client/src/models/flag_comment_response_1.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct FlagCommentResponse1 { + #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] + pub status_code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "wasUnapproved", skip_serializing_if = "Option::is_none")] + pub was_unapproved: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl FlagCommentResponse1 { + pub fn new(status: models::ApiStatus) -> FlagCommentResponse1 { + FlagCommentResponse1 { + status_code: None, + status, + code: None, + reason: None, + was_unapproved: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_api_comments_response.rs b/client/src/models/get_api_comments_response.rs new file mode 100644 index 0000000..280d745 --- /dev/null +++ b/client/src/models/get_api_comments_response.rs @@ -0,0 +1,57 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetApiCommentsResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] + pub translations: Option, + #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] + pub comments: Option>, + #[serde(rename = "moderationFilter", skip_serializing_if = "Option::is_none")] + pub moderation_filter: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetApiCommentsResponse { + pub fn new(status: models::ApiStatus) -> GetApiCommentsResponse { + GetApiCommentsResponse { + status, + translations: None, + comments: None, + moderation_filter: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_api_export_status_response.rs b/client/src/models/get_api_export_status_response.rs new file mode 100644 index 0000000..529ade5 --- /dev/null +++ b/client/src/models/get_api_export_status_response.rs @@ -0,0 +1,57 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetApiExportStatusResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "jobStatus", skip_serializing_if = "Option::is_none")] + pub job_status: Option, + #[serde(rename = "recordCount", skip_serializing_if = "Option::is_none")] + pub record_count: Option, + #[serde(rename = "downloadUrl", skip_serializing_if = "Option::is_none")] + pub download_url: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetApiExportStatusResponse { + pub fn new(status: models::ApiStatus) -> GetApiExportStatusResponse { + GetApiExportStatusResponse { + status, + job_status: None, + record_count: None, + download_url: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_api_ids_response.rs b/client/src/models/get_api_ids_response.rs new file mode 100644 index 0000000..e60fa6e --- /dev/null +++ b/client/src/models/get_api_ids_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetApiIdsResponse { + #[serde(rename = "ids", skip_serializing_if = "Option::is_none")] + pub ids: Option>, + #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] + pub has_more: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetApiIdsResponse { + pub fn new(status: models::ApiStatus) -> GetApiIdsResponse { + GetApiIdsResponse { + ids: None, + has_more: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_audit_logs_response_1.rs b/client/src/models/get_audit_logs_response_1.rs new file mode 100644 index 0000000..65e5175 --- /dev/null +++ b/client/src/models/get_audit_logs_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetAuditLogsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "auditLogs", skip_serializing_if = "Option::is_none")] + pub audit_logs: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetAuditLogsResponse1 { + pub fn new(status: models::ApiStatus) -> GetAuditLogsResponse1 { + GetAuditLogsResponse1 { + status, + audit_logs: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_ban_users_from_comment_response.rs b/client/src/models/get_ban_users_from_comment_response.rs new file mode 100644 index 0000000..c40fc0d --- /dev/null +++ b/client/src/models/get_ban_users_from_comment_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetBanUsersFromCommentResponse { + #[serde(rename = "bannedUsers", skip_serializing_if = "Option::is_none")] + pub banned_users: Option>, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetBanUsersFromCommentResponse { + pub fn new(status: models::ApiStatus) -> GetBanUsersFromCommentResponse { + GetBanUsersFromCommentResponse { + banned_users: None, + code: None, + status, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_cached_notification_count_response_1.rs b/client/src/models/get_cached_notification_count_response_1.rs new file mode 100644 index 0000000..6722e40 --- /dev/null +++ b/client/src/models/get_cached_notification_count_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCachedNotificationCountResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "data", skip_serializing_if = "Option::is_none")] + pub data: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCachedNotificationCountResponse1 { + pub fn new(status: models::ApiStatus) -> GetCachedNotificationCountResponse1 { + GetCachedNotificationCountResponse1 { + status, + data: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comment_ban_status_response_1.rs b/client/src/models/get_comment_ban_status_response_1.rs new file mode 100644 index 0000000..345a6e6 --- /dev/null +++ b/client/src/models/get_comment_ban_status_response_1.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentBanStatusResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "emailDomain", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub email_domain: Option>, + #[serde(rename = "canIPBan", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub can_ip_ban: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentBanStatusResponse1 { + pub fn new(status: models::ApiStatus) -> GetCommentBanStatusResponse1 { + GetCommentBanStatusResponse1 { + status, + email_domain: None, + can_ip_ban: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comment_children_response.rs b/client/src/models/get_comment_children_response.rs new file mode 100644 index 0000000..406f7ef --- /dev/null +++ b/client/src/models/get_comment_children_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentChildrenResponse { + #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] + pub comments: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentChildrenResponse { + pub fn new(status: models::ApiStatus) -> GetCommentChildrenResponse { + GetCommentChildrenResponse { + comments: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comment_response.rs b/client/src/models/get_comment_response.rs new file mode 100644 index 0000000..b849918 --- /dev/null +++ b/client/src/models/get_comment_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentResponse { + pub fn new(status: models::ApiStatus) -> GetCommentResponse { + GetCommentResponse { + status, + comment: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comment_text_response_1.rs b/client/src/models/get_comment_text_response_1.rs new file mode 100644 index 0000000..07632b0 --- /dev/null +++ b/client/src/models/get_comment_text_response_1.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentTextResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "commentText", skip_serializing_if = "Option::is_none")] + pub comment_text: Option, + #[serde(rename = "sanitizedCommentText", skip_serializing_if = "Option::is_none")] + pub sanitized_comment_text: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentTextResponse1 { + pub fn new(status: models::ApiStatus) -> GetCommentTextResponse1 { + GetCommentTextResponse1 { + status, + comment_text: None, + sanitized_comment_text: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comment_vote_user_names_response.rs b/client/src/models/get_comment_vote_user_names_response.rs new file mode 100644 index 0000000..16d658b --- /dev/null +++ b/client/src/models/get_comment_vote_user_names_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentVoteUserNamesResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "voteUserNames", skip_serializing_if = "Option::is_none")] + pub vote_user_names: Option>, + #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] + pub has_more: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentVoteUserNamesResponse { + pub fn new(status: models::ApiStatus) -> GetCommentVoteUserNamesResponse { + GetCommentVoteUserNamesResponse { + status, + vote_user_names: None, + has_more: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comments_for_user_response_1.rs b/client/src/models/get_comments_for_user_response_1.rs new file mode 100644 index 0000000..f35655c --- /dev/null +++ b/client/src/models/get_comments_for_user_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentsForUserResponse1 { + #[serde(rename = "moderatingTenantIds", skip_serializing_if = "Option::is_none")] + pub moderating_tenant_ids: Option>, + #[serde(rename = "status", skip_serializing_if = "Option::is_none")] + pub status: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentsForUserResponse1 { + pub fn new() -> GetCommentsForUserResponse1 { + GetCommentsForUserResponse1 { + moderating_tenant_ids: None, + status: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_comments_public_response.rs b/client/src/models/get_comments_public_response.rs new file mode 100644 index 0000000..53953b3 --- /dev/null +++ b/client/src/models/get_comments_public_response.rs @@ -0,0 +1,118 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentsPublicResponse { + #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] + pub status_code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "translatedWarning", skip_serializing_if = "Option::is_none")] + pub translated_warning: Option, + #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] + pub comments: Option>, + #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub user: Option>>, + #[serde(rename = "urlIdClean", skip_serializing_if = "Option::is_none")] + pub url_id_clean: Option, + #[serde(rename = "lastGenDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub last_gen_date: Option>, + #[serde(rename = "includesPastPages", skip_serializing_if = "Option::is_none")] + pub includes_past_pages: Option, + #[serde(rename = "isDemo", skip_serializing_if = "Option::is_none")] + pub is_demo: Option, + #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] + pub comment_count: Option, + #[serde(rename = "isSiteAdmin", skip_serializing_if = "Option::is_none")] + pub is_site_admin: Option, + #[serde(rename = "hasBillingIssue", skip_serializing_if = "Option::is_none")] + pub has_billing_issue: Option, + /// Construct a type with a set of properties K of type T + #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] + pub module_data: Option>, + #[serde(rename = "pageNumber", skip_serializing_if = "Option::is_none")] + pub page_number: Option, + #[serde(rename = "isWhiteLabeled", skip_serializing_if = "Option::is_none")] + pub is_white_labeled: Option, + #[serde(rename = "isProd", skip_serializing_if = "Option::is_none")] + pub is_prod: Option, + #[serde(rename = "isCrawler", skip_serializing_if = "Option::is_none")] + pub is_crawler: Option, + #[serde(rename = "notificationCount", skip_serializing_if = "Option::is_none")] + pub notification_count: Option, + #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] + pub has_more: Option, + #[serde(rename = "isClosed", skip_serializing_if = "Option::is_none")] + pub is_closed: Option, + #[serde(rename = "presencePollState", skip_serializing_if = "Option::is_none")] + pub presence_poll_state: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, + #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] + pub url_id_ws: Option, + #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] + pub user_id_ws: Option, + #[serde(rename = "tenantIdWS", skip_serializing_if = "Option::is_none")] + pub tenant_id_ws: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, +} + +impl GetCommentsPublicResponse { + pub fn new(status: models::ApiStatus) -> GetCommentsPublicResponse { + GetCommentsPublicResponse { + status_code: None, + status, + code: None, + reason: None, + translated_warning: None, + comments: None, + user: None, + url_id_clean: None, + last_gen_date: None, + includes_past_pages: None, + is_demo: None, + comment_count: None, + is_site_admin: None, + has_billing_issue: None, + module_data: None, + page_number: None, + is_white_labeled: None, + is_prod: None, + is_crawler: None, + notification_count: None, + has_more: None, + is_closed: None, + presence_poll_state: None, + custom_config: None, + url_id_ws: None, + user_id_ws: None, + tenant_id_ws: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + } + } +} + diff --git a/client/src/models/get_comments_response.rs b/client/src/models/get_comments_response.rs new file mode 100644 index 0000000..ba694ad --- /dev/null +++ b/client/src/models/get_comments_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCommentsResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] + pub comments: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCommentsResponse { + pub fn new(status: models::ApiStatus) -> GetCommentsResponse { + GetCommentsResponse { + status, + comments: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_count_response.rs b/client/src/models/get_count_response.rs new file mode 100644 index 0000000..4778bd3 --- /dev/null +++ b/client/src/models/get_count_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCountResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "count", skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCountResponse { + pub fn new(status: models::ApiStatus) -> GetCountResponse { + GetCountResponse { + status, + count: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_counts_response.rs b/client/src/models/get_counts_response.rs new file mode 100644 index 0000000..ccce89b --- /dev/null +++ b/client/src/models/get_counts_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetCountsResponse { + #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")] + pub total_count: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetCountsResponse { + pub fn new(status: models::ApiStatus) -> GetCountsResponse { + GetCountsResponse { + total_count: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_email_template_definitions_response_1.rs b/client/src/models/get_email_template_definitions_response_1.rs new file mode 100644 index 0000000..039294c --- /dev/null +++ b/client/src/models/get_email_template_definitions_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetEmailTemplateDefinitionsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "definitions", skip_serializing_if = "Option::is_none")] + pub definitions: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetEmailTemplateDefinitionsResponse1 { + pub fn new(status: models::ApiStatus) -> GetEmailTemplateDefinitionsResponse1 { + GetEmailTemplateDefinitionsResponse1 { + status, + definitions: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_email_template_render_errors_response_1.rs b/client/src/models/get_email_template_render_errors_response_1.rs new file mode 100644 index 0000000..13bb3e2 --- /dev/null +++ b/client/src/models/get_email_template_render_errors_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetEmailTemplateRenderErrorsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "renderErrors", skip_serializing_if = "Option::is_none")] + pub render_errors: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetEmailTemplateRenderErrorsResponse1 { + pub fn new(status: models::ApiStatus) -> GetEmailTemplateRenderErrorsResponse1 { + GetEmailTemplateRenderErrorsResponse1 { + status, + render_errors: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_email_template_response_1.rs b/client/src/models/get_email_template_response_1.rs new file mode 100644 index 0000000..f890f80 --- /dev/null +++ b/client/src/models/get_email_template_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetEmailTemplateResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "emailTemplate", skip_serializing_if = "Option::is_none")] + pub email_template: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetEmailTemplateResponse1 { + pub fn new(status: models::ApiStatus) -> GetEmailTemplateResponse1 { + GetEmailTemplateResponse1 { + status, + email_template: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_email_templates_response_1.rs b/client/src/models/get_email_templates_response_1.rs new file mode 100644 index 0000000..8e77220 --- /dev/null +++ b/client/src/models/get_email_templates_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetEmailTemplatesResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "emailTemplates", skip_serializing_if = "Option::is_none")] + pub email_templates: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetEmailTemplatesResponse1 { + pub fn new(status: models::ApiStatus) -> GetEmailTemplatesResponse1 { + GetEmailTemplatesResponse1 { + status, + email_templates: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_event_log_response_1.rs b/client/src/models/get_event_log_response_1.rs new file mode 100644 index 0000000..e1a0967 --- /dev/null +++ b/client/src/models/get_event_log_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetEventLogResponse1 { + #[serde(rename = "events", skip_serializing_if = "Option::is_none")] + pub events: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetEventLogResponse1 { + pub fn new(status: models::ApiStatus) -> GetEventLogResponse1 { + GetEventLogResponse1 { + events: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_feed_posts_public_response.rs b/client/src/models/get_feed_posts_public_response.rs new file mode 100644 index 0000000..b8a8ba9 --- /dev/null +++ b/client/src/models/get_feed_posts_public_response.rs @@ -0,0 +1,66 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetFeedPostsPublicResponse { + #[serde(rename = "myReacts", skip_serializing_if = "Option::is_none")] + pub my_reacts: Option>>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "feedPosts", skip_serializing_if = "Option::is_none")] + pub feed_posts: Option>, + #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub user: Option>>, + #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] + pub url_id_ws: Option, + #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] + pub user_id_ws: Option, + #[serde(rename = "tenantIdWS", skip_serializing_if = "Option::is_none")] + pub tenant_id_ws: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetFeedPostsPublicResponse { + pub fn new(status: models::ApiStatus) -> GetFeedPostsPublicResponse { + GetFeedPostsPublicResponse { + my_reacts: None, + status, + feed_posts: None, + user: None, + url_id_ws: None, + user_id_ws: None, + tenant_id_ws: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_feed_posts_response_1.rs b/client/src/models/get_feed_posts_response_1.rs new file mode 100644 index 0000000..a8ae2cd --- /dev/null +++ b/client/src/models/get_feed_posts_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetFeedPostsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "feedPosts", skip_serializing_if = "Option::is_none")] + pub feed_posts: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetFeedPostsResponse1 { + pub fn new(status: models::ApiStatus) -> GetFeedPostsResponse1 { + GetFeedPostsResponse1 { + status, + feed_posts: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_feed_posts_stats_response.rs b/client/src/models/get_feed_posts_stats_response.rs new file mode 100644 index 0000000..608dda8 --- /dev/null +++ b/client/src/models/get_feed_posts_stats_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetFeedPostsStatsResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "stats", skip_serializing_if = "Option::is_none")] + pub stats: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetFeedPostsStatsResponse { + pub fn new(status: models::ApiStatus) -> GetFeedPostsStatsResponse { + GetFeedPostsStatsResponse { + status, + stats: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_gif_large_response.rs b/client/src/models/get_gif_large_response.rs new file mode 100644 index 0000000..fc772dc --- /dev/null +++ b/client/src/models/get_gif_large_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetGifLargeResponse { + #[serde(rename = "src", skip_serializing_if = "Option::is_none")] + pub src: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetGifLargeResponse { + pub fn new(status: models::ApiStatus) -> GetGifLargeResponse { + GetGifLargeResponse { + src: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_gifs_search_response.rs b/client/src/models/get_gifs_search_response.rs index fbe449c..96d1743 100644 --- a/client/src/models/get_gifs_search_response.rs +++ b/client/src/models/get_gifs_search_response.rs @@ -19,6 +19,18 @@ pub struct GetGifsSearchResponse { pub status: models::ApiStatus, #[serde(rename = "code", skip_serializing_if = "Option::is_none")] pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl GetGifsSearchResponse { @@ -27,6 +39,12 @@ impl GetGifsSearchResponse { images: None, status, code: None, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/get_global_event_log_response.rs b/client/src/models/get_global_event_log_response.rs new file mode 100644 index 0000000..c8cdcba --- /dev/null +++ b/client/src/models/get_global_event_log_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetGlobalEventLogResponse { + #[serde(rename = "events", skip_serializing_if = "Option::is_none")] + pub events: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetGlobalEventLogResponse { + pub fn new(status: models::ApiStatus) -> GetGlobalEventLogResponse { + GetGlobalEventLogResponse { + events: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_hash_tags_response_1.rs b/client/src/models/get_hash_tags_response_1.rs new file mode 100644 index 0000000..2b37492 --- /dev/null +++ b/client/src/models/get_hash_tags_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetHashTagsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "hashTags", skip_serializing_if = "Option::is_none")] + pub hash_tags: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetHashTagsResponse1 { + pub fn new(status: models::ApiStatus) -> GetHashTagsResponse1 { + GetHashTagsResponse1 { + status, + hash_tags: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_logs_response.rs b/client/src/models/get_logs_response.rs new file mode 100644 index 0000000..475b21d --- /dev/null +++ b/client/src/models/get_logs_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetLogsResponse { + #[serde(rename = "logs", skip_serializing_if = "Option::is_none")] + pub logs: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetLogsResponse { + pub fn new(status: models::ApiStatus) -> GetLogsResponse { + GetLogsResponse { + logs: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_manual_badges_for_user_response.rs b/client/src/models/get_manual_badges_for_user_response.rs new file mode 100644 index 0000000..1449c54 --- /dev/null +++ b/client/src/models/get_manual_badges_for_user_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetManualBadgesForUserResponse { + #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] + pub badges: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetManualBadgesForUserResponse { + pub fn new(status: models::ApiStatus) -> GetManualBadgesForUserResponse { + GetManualBadgesForUserResponse { + badges: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_manual_badges_response.rs b/client/src/models/get_manual_badges_response.rs new file mode 100644 index 0000000..2226412 --- /dev/null +++ b/client/src/models/get_manual_badges_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetManualBadgesResponse { + #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] + pub badges: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetManualBadgesResponse { + pub fn new(status: models::ApiStatus) -> GetManualBadgesResponse { + GetManualBadgesResponse { + badges: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_moderation_comment_response.rs b/client/src/models/get_moderation_comment_response.rs new file mode 100644 index 0000000..73963af --- /dev/null +++ b/client/src/models/get_moderation_comment_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetModerationCommentResponse { + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetModerationCommentResponse { + pub fn new(status: models::ApiStatus) -> GetModerationCommentResponse { + GetModerationCommentResponse { + comment: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_moderation_comment_text_response.rs b/client/src/models/get_moderation_comment_text_response.rs new file mode 100644 index 0000000..442a3d5 --- /dev/null +++ b/client/src/models/get_moderation_comment_text_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetModerationCommentTextResponse { + #[serde(rename = "comment", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetModerationCommentTextResponse { + pub fn new(status: models::ApiStatus) -> GetModerationCommentTextResponse { + GetModerationCommentTextResponse { + comment: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_moderator_response_1.rs b/client/src/models/get_moderator_response_1.rs new file mode 100644 index 0000000..063261b --- /dev/null +++ b/client/src/models/get_moderator_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetModeratorResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "moderator", skip_serializing_if = "Option::is_none")] + pub moderator: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetModeratorResponse1 { + pub fn new(status: models::ApiStatus) -> GetModeratorResponse1 { + GetModeratorResponse1 { + status, + moderator: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_moderators_response_1.rs b/client/src/models/get_moderators_response_1.rs new file mode 100644 index 0000000..b828b78 --- /dev/null +++ b/client/src/models/get_moderators_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetModeratorsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "moderators", skip_serializing_if = "Option::is_none")] + pub moderators: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetModeratorsResponse1 { + pub fn new(status: models::ApiStatus) -> GetModeratorsResponse1 { + GetModeratorsResponse1 { + status, + moderators: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_notification_count_response_1.rs b/client/src/models/get_notification_count_response_1.rs new file mode 100644 index 0000000..7398ada --- /dev/null +++ b/client/src/models/get_notification_count_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetNotificationCountResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "count", skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetNotificationCountResponse1 { + pub fn new(status: models::ApiStatus) -> GetNotificationCountResponse1 { + GetNotificationCountResponse1 { + status, + count: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_notifications_response_1.rs b/client/src/models/get_notifications_response_1.rs new file mode 100644 index 0000000..30a4c7f --- /dev/null +++ b/client/src/models/get_notifications_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetNotificationsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "notifications", skip_serializing_if = "Option::is_none")] + pub notifications: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetNotificationsResponse1 { + pub fn new(status: models::ApiStatus) -> GetNotificationsResponse1 { + GetNotificationsResponse1 { + status, + notifications: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_offline_users_response.rs b/client/src/models/get_offline_users_response.rs new file mode 100644 index 0000000..8960cb5 --- /dev/null +++ b/client/src/models/get_offline_users_response.rs @@ -0,0 +1,57 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetOfflineUsersResponse { + #[serde(rename = "nextAfterUserId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub next_after_user_id: Option>, + #[serde(rename = "nextAfterName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub next_after_name: Option>, + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetOfflineUsersResponse { + pub fn new(status: models::ApiStatus) -> GetOfflineUsersResponse { + GetOfflineUsersResponse { + next_after_user_id: None, + next_after_name: None, + users: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_online_users_response.rs b/client/src/models/get_online_users_response.rs new file mode 100644 index 0000000..c77152a --- /dev/null +++ b/client/src/models/get_online_users_response.rs @@ -0,0 +1,63 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetOnlineUsersResponse { + #[serde(rename = "nextAfterUserId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub next_after_user_id: Option>, + #[serde(rename = "nextAfterName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub next_after_name: Option>, + #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")] + pub total_count: Option, + #[serde(rename = "anonCount", skip_serializing_if = "Option::is_none")] + pub anon_count: Option, + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetOnlineUsersResponse { + pub fn new(status: models::ApiStatus) -> GetOnlineUsersResponse { + GetOnlineUsersResponse { + next_after_user_id: None, + next_after_name: None, + total_count: None, + anon_count: None, + users: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_pages_public_response.rs b/client/src/models/get_pages_public_response.rs new file mode 100644 index 0000000..68df544 --- /dev/null +++ b/client/src/models/get_pages_public_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetPagesPublicResponse { + #[serde(rename = "nextCursor", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub next_cursor: Option>, + #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] + pub pages: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetPagesPublicResponse { + pub fn new(status: models::ApiStatus) -> GetPagesPublicResponse { + GetPagesPublicResponse { + next_cursor: None, + pages: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_pending_webhook_event_count_response_1.rs b/client/src/models/get_pending_webhook_event_count_response_1.rs new file mode 100644 index 0000000..92446ec --- /dev/null +++ b/client/src/models/get_pending_webhook_event_count_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetPendingWebhookEventCountResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "count", skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetPendingWebhookEventCountResponse1 { + pub fn new(status: models::ApiStatus) -> GetPendingWebhookEventCountResponse1 { + GetPendingWebhookEventCountResponse1 { + status, + count: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_pending_webhook_events_response_1.rs b/client/src/models/get_pending_webhook_events_response_1.rs new file mode 100644 index 0000000..3d4e013 --- /dev/null +++ b/client/src/models/get_pending_webhook_events_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetPendingWebhookEventsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "pendingWebhookEvents", skip_serializing_if = "Option::is_none")] + pub pending_webhook_events: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetPendingWebhookEventsResponse1 { + pub fn new(status: models::ApiStatus) -> GetPendingWebhookEventsResponse1 { + GetPendingWebhookEventsResponse1 { + status, + pending_webhook_events: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_pre_ban_summary_response.rs b/client/src/models/get_pre_ban_summary_response.rs new file mode 100644 index 0000000..b8a3d6b --- /dev/null +++ b/client/src/models/get_pre_ban_summary_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetPreBanSummaryResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "usernames", skip_serializing_if = "Option::is_none")] + pub usernames: Option>, + #[serde(rename = "count", skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetPreBanSummaryResponse { + pub fn new(status: models::ApiStatus) -> GetPreBanSummaryResponse { + GetPreBanSummaryResponse { + status, + usernames: None, + count: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_question_config_response_1.rs b/client/src/models/get_question_config_response_1.rs new file mode 100644 index 0000000..b45d1de --- /dev/null +++ b/client/src/models/get_question_config_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetQuestionConfigResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionConfig", skip_serializing_if = "Option::is_none")] + pub question_config: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetQuestionConfigResponse1 { + pub fn new(status: models::ApiStatus) -> GetQuestionConfigResponse1 { + GetQuestionConfigResponse1 { + status, + question_config: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_question_configs_response_1.rs b/client/src/models/get_question_configs_response_1.rs new file mode 100644 index 0000000..a8f3bf6 --- /dev/null +++ b/client/src/models/get_question_configs_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetQuestionConfigsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionConfigs", skip_serializing_if = "Option::is_none")] + pub question_configs: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetQuestionConfigsResponse1 { + pub fn new(status: models::ApiStatus) -> GetQuestionConfigsResponse1 { + GetQuestionConfigsResponse1 { + status, + question_configs: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_question_result_response_1.rs b/client/src/models/get_question_result_response_1.rs new file mode 100644 index 0000000..aa3761f --- /dev/null +++ b/client/src/models/get_question_result_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetQuestionResultResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionResult", skip_serializing_if = "Option::is_none")] + pub question_result: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetQuestionResultResponse1 { + pub fn new(status: models::ApiStatus) -> GetQuestionResultResponse1 { + GetQuestionResultResponse1 { + status, + question_result: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_question_results_response_1.rs b/client/src/models/get_question_results_response_1.rs new file mode 100644 index 0000000..b376eec --- /dev/null +++ b/client/src/models/get_question_results_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetQuestionResultsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "questionResults", skip_serializing_if = "Option::is_none")] + pub question_results: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetQuestionResultsResponse1 { + pub fn new(status: models::ApiStatus) -> GetQuestionResultsResponse1 { + GetQuestionResultsResponse1 { + status, + question_results: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_search_comments_summary_response.rs b/client/src/models/get_search_comments_summary_response.rs new file mode 100644 index 0000000..4bbbbf2 --- /dev/null +++ b/client/src/models/get_search_comments_summary_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetSearchCommentsSummaryResponse { + #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] + pub comment_count: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetSearchCommentsSummaryResponse { + pub fn new(status: models::ApiStatus) -> GetSearchCommentsSummaryResponse { + GetSearchCommentsSummaryResponse { + comment_count: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_search_pages_response.rs b/client/src/models/get_search_pages_response.rs new file mode 100644 index 0000000..dc11b63 --- /dev/null +++ b/client/src/models/get_search_pages_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetSearchPagesResponse { + #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] + pub pages: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetSearchPagesResponse { + pub fn new(status: models::ApiStatus) -> GetSearchPagesResponse { + GetSearchPagesResponse { + pages: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_search_sites_response.rs b/client/src/models/get_search_sites_response.rs new file mode 100644 index 0000000..cc48cbf --- /dev/null +++ b/client/src/models/get_search_sites_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetSearchSitesResponse { + #[serde(rename = "sites", skip_serializing_if = "Option::is_none")] + pub sites: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetSearchSitesResponse { + pub fn new(status: models::ApiStatus) -> GetSearchSitesResponse { + GetSearchSitesResponse { + sites: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_search_suggest_response.rs b/client/src/models/get_search_suggest_response.rs new file mode 100644 index 0000000..20dbc07 --- /dev/null +++ b/client/src/models/get_search_suggest_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetSearchSuggestResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] + pub pages: Option>, + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetSearchSuggestResponse { + pub fn new(status: models::ApiStatus) -> GetSearchSuggestResponse { + GetSearchSuggestResponse { + status, + pages: None, + users: None, + code: None, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_search_users_response.rs b/client/src/models/get_search_users_response.rs new file mode 100644 index 0000000..20bda99 --- /dev/null +++ b/client/src/models/get_search_users_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetSearchUsersResponse { + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetSearchUsersResponse { + pub fn new(status: models::ApiStatus) -> GetSearchUsersResponse { + GetSearchUsersResponse { + users: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_daily_usages_response_1.rs b/client/src/models/get_tenant_daily_usages_response_1.rs new file mode 100644 index 0000000..1d6130d --- /dev/null +++ b/client/src/models/get_tenant_daily_usages_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantDailyUsagesResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantDailyUsages", skip_serializing_if = "Option::is_none")] + pub tenant_daily_usages: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantDailyUsagesResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantDailyUsagesResponse1 { + GetTenantDailyUsagesResponse1 { + status, + tenant_daily_usages: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_package_response_1.rs b/client/src/models/get_tenant_package_response_1.rs new file mode 100644 index 0000000..083ad9b --- /dev/null +++ b/client/src/models/get_tenant_package_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantPackageResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantPackage", skip_serializing_if = "Option::is_none")] + pub tenant_package: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantPackageResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantPackageResponse1 { + GetTenantPackageResponse1 { + status, + tenant_package: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_packages_response_1.rs b/client/src/models/get_tenant_packages_response_1.rs new file mode 100644 index 0000000..6eec0d1 --- /dev/null +++ b/client/src/models/get_tenant_packages_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantPackagesResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantPackages", skip_serializing_if = "Option::is_none")] + pub tenant_packages: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantPackagesResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantPackagesResponse1 { + GetTenantPackagesResponse1 { + status, + tenant_packages: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_response_1.rs b/client/src/models/get_tenant_response_1.rs new file mode 100644 index 0000000..20eed04 --- /dev/null +++ b/client/src/models/get_tenant_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")] + pub tenant: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantResponse1 { + GetTenantResponse1 { + status, + tenant: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_user_response_1.rs b/client/src/models/get_tenant_user_response_1.rs new file mode 100644 index 0000000..7c37f57 --- /dev/null +++ b/client/src/models/get_tenant_user_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantUserResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantUser", skip_serializing_if = "Option::is_none")] + pub tenant_user: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantUserResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantUserResponse1 { + GetTenantUserResponse1 { + status, + tenant_user: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenant_users_response_1.rs b/client/src/models/get_tenant_users_response_1.rs new file mode 100644 index 0000000..4b00741 --- /dev/null +++ b/client/src/models/get_tenant_users_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantUsersResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenantUsers", skip_serializing_if = "Option::is_none")] + pub tenant_users: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantUsersResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantUsersResponse1 { + GetTenantUsersResponse1 { + status, + tenant_users: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tenants_response_1.rs b/client/src/models/get_tenants_response_1.rs new file mode 100644 index 0000000..587e584 --- /dev/null +++ b/client/src/models/get_tenants_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTenantsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tenants", skip_serializing_if = "Option::is_none")] + pub tenants: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTenantsResponse1 { + pub fn new(status: models::ApiStatus) -> GetTenantsResponse1 { + GetTenantsResponse1 { + status, + tenants: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_ticket_response_1.rs b/client/src/models/get_ticket_response_1.rs new file mode 100644 index 0000000..1d8d475 --- /dev/null +++ b/client/src/models/get_ticket_response_1.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTicketResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] + pub ticket: Option>, + #[serde(rename = "availableStates", skip_serializing_if = "Option::is_none")] + pub available_states: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTicketResponse1 { + pub fn new(status: models::ApiStatus) -> GetTicketResponse1 { + GetTicketResponse1 { + status, + ticket: None, + available_states: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_tickets_response_1.rs b/client/src/models/get_tickets_response_1.rs new file mode 100644 index 0000000..80cce5c --- /dev/null +++ b/client/src/models/get_tickets_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTicketsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "tickets", skip_serializing_if = "Option::is_none")] + pub tickets: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTicketsResponse1 { + pub fn new(status: models::ApiStatus) -> GetTicketsResponse1 { + GetTicketsResponse1 { + status, + tickets: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_translations_response_1.rs b/client/src/models/get_translations_response_1.rs new file mode 100644 index 0000000..5b8c35f --- /dev/null +++ b/client/src/models/get_translations_response_1.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTranslationsResponse1 { + /// Construct a type with a set of properties K of type T + #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] + pub translations: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTranslationsResponse1 { + pub fn new(status: models::ApiStatus) -> GetTranslationsResponse1 { + GetTranslationsResponse1 { + translations: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_trust_factor_response.rs b/client/src/models/get_trust_factor_response.rs new file mode 100644 index 0000000..be585a5 --- /dev/null +++ b/client/src/models/get_trust_factor_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetTrustFactorResponse { + #[serde(rename = "manualTrustFactor", skip_serializing_if = "Option::is_none")] + pub manual_trust_factor: Option, + #[serde(rename = "autoTrustFactor", skip_serializing_if = "Option::is_none")] + pub auto_trust_factor: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetTrustFactorResponse { + pub fn new(status: models::ApiStatus) -> GetTrustFactorResponse { + GetTrustFactorResponse { + manual_trust_factor: None, + auto_trust_factor: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_badge_progress_by_id_response.rs b/client/src/models/get_user_badge_progress_by_id_response.rs new file mode 100644 index 0000000..34a5a57 --- /dev/null +++ b/client/src/models/get_user_badge_progress_by_id_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBadgeProgressByIdResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadgeProgress", skip_serializing_if = "Option::is_none")] + pub user_badge_progress: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBadgeProgressByIdResponse { + pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressByIdResponse { + GetUserBadgeProgressByIdResponse { + status, + user_badge_progress: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_badge_progress_by_user_id_response.rs b/client/src/models/get_user_badge_progress_by_user_id_response.rs new file mode 100644 index 0000000..3a206ef --- /dev/null +++ b/client/src/models/get_user_badge_progress_by_user_id_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBadgeProgressByUserIdResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadgeProgress", skip_serializing_if = "Option::is_none")] + pub user_badge_progress: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBadgeProgressByUserIdResponse { + pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressByUserIdResponse { + GetUserBadgeProgressByUserIdResponse { + status, + user_badge_progress: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_badge_progress_list_response.rs b/client/src/models/get_user_badge_progress_list_response.rs new file mode 100644 index 0000000..d8cc551 --- /dev/null +++ b/client/src/models/get_user_badge_progress_list_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBadgeProgressListResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadgeProgresses", skip_serializing_if = "Option::is_none")] + pub user_badge_progresses: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBadgeProgressListResponse { + pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressListResponse { + GetUserBadgeProgressListResponse { + status, + user_badge_progresses: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_badge_response.rs b/client/src/models/get_user_badge_response.rs new file mode 100644 index 0000000..ab1cf98 --- /dev/null +++ b/client/src/models/get_user_badge_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBadgeResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadge", skip_serializing_if = "Option::is_none")] + pub user_badge: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBadgeResponse { + pub fn new(status: models::ApiStatus) -> GetUserBadgeResponse { + GetUserBadgeResponse { + status, + user_badge: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_badges_response.rs b/client/src/models/get_user_badges_response.rs new file mode 100644 index 0000000..95ea00d --- /dev/null +++ b/client/src/models/get_user_badges_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBadgesResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "userBadges", skip_serializing_if = "Option::is_none")] + pub user_badges: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBadgesResponse { + pub fn new(status: models::ApiStatus) -> GetUserBadgesResponse { + GetUserBadgesResponse { + status, + user_badges: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_ban_preference_response.rs b/client/src/models/get_user_ban_preference_response.rs new file mode 100644 index 0000000..35f6db4 --- /dev/null +++ b/client/src/models/get_user_ban_preference_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserBanPreferenceResponse { + #[serde(rename = "preferences", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub preferences: Option>>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserBanPreferenceResponse { + pub fn new(status: models::ApiStatus) -> GetUserBanPreferenceResponse { + GetUserBanPreferenceResponse { + preferences: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_internal_profile_response_1.rs b/client/src/models/get_user_internal_profile_response_1.rs new file mode 100644 index 0000000..440372c --- /dev/null +++ b/client/src/models/get_user_internal_profile_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserInternalProfileResponse1 { + #[serde(rename = "profile", skip_serializing_if = "Option::is_none")] + pub profile: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserInternalProfileResponse1 { + pub fn new(status: models::ApiStatus) -> GetUserInternalProfileResponse1 { + GetUserInternalProfileResponse1 { + profile: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_notification_count_response_1.rs b/client/src/models/get_user_notification_count_response_1.rs new file mode 100644 index 0000000..d58510d --- /dev/null +++ b/client/src/models/get_user_notification_count_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserNotificationCountResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "count", skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserNotificationCountResponse1 { + pub fn new(status: models::ApiStatus) -> GetUserNotificationCountResponse1 { + GetUserNotificationCountResponse1 { + status, + count: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_notifications_response.rs b/client/src/models/get_user_notifications_response.rs new file mode 100644 index 0000000..b8abb08 --- /dev/null +++ b/client/src/models/get_user_notifications_response.rs @@ -0,0 +1,61 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserNotificationsResponse { + /// Construct a type with a set of properties K of type T + #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] + pub translations: Option>, + #[serde(rename = "isSubscribed", skip_serializing_if = "Option::is_none")] + pub is_subscribed: Option, + #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] + pub has_more: Option, + #[serde(rename = "notifications", skip_serializing_if = "Option::is_none")] + pub notifications: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserNotificationsResponse { + pub fn new(status: models::ApiStatus) -> GetUserNotificationsResponse { + GetUserNotificationsResponse { + translations: None, + is_subscribed: None, + has_more: None, + notifications: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_presence_statuses_response_1.rs b/client/src/models/get_user_presence_statuses_response_1.rs new file mode 100644 index 0000000..76bf46b --- /dev/null +++ b/client/src/models/get_user_presence_statuses_response_1.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserPresenceStatusesResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "userIdsOnline", skip_serializing_if = "Option::is_none")] + pub user_ids_online: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserPresenceStatusesResponse1 { + pub fn new(status: models::ApiStatus) -> GetUserPresenceStatusesResponse1 { + GetUserPresenceStatusesResponse1 { + status, + user_ids_online: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_reacts_public_response.rs b/client/src/models/get_user_reacts_public_response.rs new file mode 100644 index 0000000..6d356d2 --- /dev/null +++ b/client/src/models/get_user_reacts_public_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserReactsPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reacts", skip_serializing_if = "Option::is_none")] + pub reacts: Option>>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserReactsPublicResponse { + pub fn new(status: models::ApiStatus) -> GetUserReactsPublicResponse { + GetUserReactsPublicResponse { + status, + reacts: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_user_response_1.rs b/client/src/models/get_user_response_1.rs new file mode 100644 index 0000000..8394fa7 --- /dev/null +++ b/client/src/models/get_user_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUserResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "user", skip_serializing_if = "Option::is_none")] + pub user: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUserResponse1 { + pub fn new(status: models::ApiStatus) -> GetUserResponse1 { + GetUserResponse1 { + status, + user: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_users_info_response.rs b/client/src/models/get_users_info_response.rs new file mode 100644 index 0000000..019fa10 --- /dev/null +++ b/client/src/models/get_users_info_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetUsersInfoResponse { + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetUsersInfoResponse { + pub fn new(status: models::ApiStatus) -> GetUsersInfoResponse { + GetUsersInfoResponse { + users: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_v1_page_likes_response.rs b/client/src/models/get_v1_page_likes_response.rs new file mode 100644 index 0000000..201e472 --- /dev/null +++ b/client/src/models/get_v1_page_likes_response.rs @@ -0,0 +1,60 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetV1PageLikesResponse { + #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] + pub url_id_ws: Option, + #[serde(rename = "didLike", skip_serializing_if = "Option::is_none")] + pub did_like: Option, + #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] + pub comment_count: Option, + #[serde(rename = "likeCount", skip_serializing_if = "Option::is_none")] + pub like_count: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetV1PageLikesResponse { + pub fn new(status: models::ApiStatus) -> GetV1PageLikesResponse { + GetV1PageLikesResponse { + url_id_ws: None, + did_like: None, + comment_count: None, + like_count: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_v2_page_react_users_response_1.rs b/client/src/models/get_v2_page_react_users_response_1.rs new file mode 100644 index 0000000..b15780e --- /dev/null +++ b/client/src/models/get_v2_page_react_users_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetV2PageReactUsersResponse1 { + #[serde(rename = "userNames", skip_serializing_if = "Option::is_none")] + pub user_names: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetV2PageReactUsersResponse1 { + pub fn new(status: models::ApiStatus) -> GetV2PageReactUsersResponse1 { + GetV2PageReactUsersResponse1 { + user_names: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_v2_page_reacts_response.rs b/client/src/models/get_v2_page_reacts_response.rs new file mode 100644 index 0000000..1305de8 --- /dev/null +++ b/client/src/models/get_v2_page_reacts_response.rs @@ -0,0 +1,55 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetV2PageReactsResponse { + #[serde(rename = "reactedIds", skip_serializing_if = "Option::is_none")] + pub reacted_ids: Option>, + /// Construct a type with a set of properties K of type T + #[serde(rename = "counts", skip_serializing_if = "Option::is_none")] + pub counts: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetV2PageReactsResponse { + pub fn new(status: models::ApiStatus) -> GetV2PageReactsResponse { + GetV2PageReactsResponse { + reacted_ids: None, + counts: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_votes_for_user_response_1.rs b/client/src/models/get_votes_for_user_response_1.rs new file mode 100644 index 0000000..ab6b75f --- /dev/null +++ b/client/src/models/get_votes_for_user_response_1.rs @@ -0,0 +1,57 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetVotesForUserResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "appliedAuthorizedVotes", skip_serializing_if = "Option::is_none")] + pub applied_authorized_votes: Option>, + #[serde(rename = "appliedAnonymousVotes", skip_serializing_if = "Option::is_none")] + pub applied_anonymous_votes: Option>, + #[serde(rename = "pendingVotes", skip_serializing_if = "Option::is_none")] + pub pending_votes: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetVotesForUserResponse1 { + pub fn new(status: models::ApiStatus) -> GetVotesForUserResponse1 { + GetVotesForUserResponse1 { + status, + applied_authorized_votes: None, + applied_anonymous_votes: None, + pending_votes: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/get_votes_response_1.rs b/client/src/models/get_votes_response_1.rs new file mode 100644 index 0000000..fa4b91c --- /dev/null +++ b/client/src/models/get_votes_response_1.rs @@ -0,0 +1,57 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetVotesResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "appliedAuthorizedVotes", skip_serializing_if = "Option::is_none")] + pub applied_authorized_votes: Option>, + #[serde(rename = "appliedAnonymousVotes", skip_serializing_if = "Option::is_none")] + pub applied_anonymous_votes: Option>, + #[serde(rename = "pendingVotes", skip_serializing_if = "Option::is_none")] + pub pending_votes: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl GetVotesResponse1 { + pub fn new(status: models::ApiStatus) -> GetVotesResponse1 { + GetVotesResponse1 { + status, + applied_authorized_votes: None, + applied_anonymous_votes: None, + pending_votes: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/lock_comment_response.rs b/client/src/models/lock_comment_response.rs new file mode 100644 index 0000000..22be280 --- /dev/null +++ b/client/src/models/lock_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct LockCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl LockCommentResponse { + pub fn new(status: models::ApiStatus) -> LockCommentResponse { + LockCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/mod.rs b/client/src/models/mod.rs index c686c4a..6d8c441 100644 --- a/client/src/models/mod.rs +++ b/client/src/models/mod.rs @@ -4,6 +4,10 @@ pub mod add_domain_config_response; pub use self::add_domain_config_response::AddDomainConfigResponse; pub mod add_domain_config_response_any_of; pub use self::add_domain_config_response_any_of::AddDomainConfigResponseAnyOf; +pub mod add_hash_tag_response; +pub use self::add_hash_tag_response::AddHashTagResponse; +pub mod add_hash_tags_bulk_response; +pub use self::add_hash_tags_bulk_response::AddHashTagsBulkResponse; pub mod add_page_api_response; pub use self::add_page_api_response::AddPageApiResponse; pub mod add_sso_user_api_response; @@ -14,6 +18,8 @@ pub mod adjust_votes_response; pub use self::adjust_votes_response::AdjustVotesResponse; pub mod aggregate_question_results_response; pub use self::aggregate_question_results_response::AggregateQuestionResultsResponse; +pub mod aggregate_question_results_response_1; +pub use self::aggregate_question_results_response_1::AggregateQuestionResultsResponse1; pub mod aggregate_response; pub use self::aggregate_response::AggregateResponse; pub mod aggregate_time_bucket; @@ -116,8 +122,12 @@ pub mod billing_info; pub use self::billing_info::BillingInfo; pub mod block_from_comment_params; pub use self::block_from_comment_params::BlockFromCommentParams; +pub mod block_from_comment_public_response; +pub use self::block_from_comment_public_response::BlockFromCommentPublicResponse; pub mod block_success; pub use self::block_success::BlockSuccess; +pub mod block_user_from_comment_response; +pub use self::block_user_from_comment_response::BlockUserFromCommentResponse; pub mod build_moderation_filter_params; pub use self::build_moderation_filter_params::BuildModerationFilterParams; pub mod build_moderation_filter_response; @@ -128,6 +138,8 @@ pub mod bulk_aggregate_question_results_request; pub use self::bulk_aggregate_question_results_request::BulkAggregateQuestionResultsRequest; pub mod bulk_aggregate_question_results_response; pub use self::bulk_aggregate_question_results_response::BulkAggregateQuestionResultsResponse; +pub mod bulk_aggregate_question_results_response_1; +pub use self::bulk_aggregate_question_results_response_1::BulkAggregateQuestionResultsResponse1; pub mod bulk_create_hash_tags_body; pub use self::bulk_create_hash_tags_body::BulkCreateHashTagsBody; pub mod bulk_create_hash_tags_body_tags_inner; @@ -146,8 +158,14 @@ pub mod change_ticket_state_body; pub use self::change_ticket_state_body::ChangeTicketStateBody; pub mod change_ticket_state_response; pub use self::change_ticket_state_response::ChangeTicketStateResponse; +pub mod change_ticket_state_response_1; +pub use self::change_ticket_state_response_1::ChangeTicketStateResponse1; pub mod check_blocked_comments_response; pub use self::check_blocked_comments_response::CheckBlockedCommentsResponse; +pub mod checked_comments_for_blocked_response; +pub use self::checked_comments_for_blocked_response::CheckedCommentsForBlockedResponse; +pub mod combine_comments_with_question_results_response; +pub use self::combine_comments_with_question_results_response::CombineCommentsWithQuestionResultsResponse; pub mod combine_question_results_with_comments_response; pub use self::combine_question_results_with_comments_response::CombineQuestionResultsWithCommentsResponse; pub mod comment_data; @@ -186,14 +204,22 @@ pub mod create_apisso_user_data; pub use self::create_apisso_user_data::CreateApissoUserData; pub mod create_comment_params; pub use self::create_comment_params::CreateCommentParams; +pub mod create_comment_public_response; +pub use self::create_comment_public_response::CreateCommentPublicResponse; pub mod create_email_template_body; pub use self::create_email_template_body::CreateEmailTemplateBody; pub mod create_email_template_response; pub use self::create_email_template_response::CreateEmailTemplateResponse; +pub mod create_email_template_response_1; +pub use self::create_email_template_response_1::CreateEmailTemplateResponse1; pub mod create_feed_post_params; pub use self::create_feed_post_params::CreateFeedPostParams; +pub mod create_feed_post_public_response; +pub use self::create_feed_post_public_response::CreateFeedPostPublicResponse; pub mod create_feed_post_response; pub use self::create_feed_post_response::CreateFeedPostResponse; +pub mod create_feed_post_response_1; +pub use self::create_feed_post_response_1::CreateFeedPostResponse1; pub mod create_feed_posts_response; pub use self::create_feed_posts_response::CreateFeedPostsResponse; pub mod create_hash_tag_body; @@ -204,14 +230,20 @@ pub mod create_moderator_body; pub use self::create_moderator_body::CreateModeratorBody; pub mod create_moderator_response; pub use self::create_moderator_response::CreateModeratorResponse; +pub mod create_moderator_response_1; +pub use self::create_moderator_response_1::CreateModeratorResponse1; pub mod create_question_config_body; pub use self::create_question_config_body::CreateQuestionConfigBody; pub mod create_question_config_response; pub use self::create_question_config_response::CreateQuestionConfigResponse; +pub mod create_question_config_response_1; +pub use self::create_question_config_response_1::CreateQuestionConfigResponse1; pub mod create_question_result_body; pub use self::create_question_result_body::CreateQuestionResultBody; pub mod create_question_result_response; pub use self::create_question_result_response::CreateQuestionResultResponse; +pub mod create_question_result_response_1; +pub use self::create_question_result_response_1::CreateQuestionResultResponse1; pub mod create_subscription_api_response; pub use self::create_subscription_api_response::CreateSubscriptionApiResponse; pub mod create_tenant_body; @@ -220,40 +252,96 @@ pub mod create_tenant_package_body; pub use self::create_tenant_package_body::CreateTenantPackageBody; pub mod create_tenant_package_response; pub use self::create_tenant_package_response::CreateTenantPackageResponse; +pub mod create_tenant_package_response_1; +pub use self::create_tenant_package_response_1::CreateTenantPackageResponse1; pub mod create_tenant_response; pub use self::create_tenant_response::CreateTenantResponse; +pub mod create_tenant_response_1; +pub use self::create_tenant_response_1::CreateTenantResponse1; pub mod create_tenant_user_body; pub use self::create_tenant_user_body::CreateTenantUserBody; pub mod create_tenant_user_response; pub use self::create_tenant_user_response::CreateTenantUserResponse; +pub mod create_tenant_user_response_1; +pub use self::create_tenant_user_response_1::CreateTenantUserResponse1; pub mod create_ticket_body; pub use self::create_ticket_body::CreateTicketBody; pub mod create_ticket_response; pub use self::create_ticket_response::CreateTicketResponse; +pub mod create_ticket_response_1; +pub use self::create_ticket_response_1::CreateTicketResponse1; pub mod create_user_badge_params; pub use self::create_user_badge_params::CreateUserBadgeParams; +pub mod create_user_badge_response; +pub use self::create_user_badge_response::CreateUserBadgeResponse; pub mod create_v1_page_react; pub use self::create_v1_page_react::CreateV1PageReact; +pub mod create_v1_page_react_response; +pub use self::create_v1_page_react_response::CreateV1PageReactResponse; +pub mod create_v2_page_react_response; +pub use self::create_v2_page_react_response::CreateV2PageReactResponse; +pub mod create_vote_response; +pub use self::create_vote_response::CreateVoteResponse; pub mod custom_config_parameters; pub use self::custom_config_parameters::CustomConfigParameters; pub mod custom_email_template; pub use self::custom_email_template::CustomEmailTemplate; pub mod delete_comment_action; pub use self::delete_comment_action::DeleteCommentAction; +pub mod delete_comment_public_response; +pub use self::delete_comment_public_response::DeleteCommentPublicResponse; +pub mod delete_comment_response; +pub use self::delete_comment_response::DeleteCommentResponse; pub mod delete_comment_result; pub use self::delete_comment_result::DeleteCommentResult; +pub mod delete_comment_vote_response; +pub use self::delete_comment_vote_response::DeleteCommentVoteResponse; pub mod delete_domain_config_response; pub use self::delete_domain_config_response::DeleteDomainConfigResponse; +pub mod delete_email_template_render_error_response; +pub use self::delete_email_template_render_error_response::DeleteEmailTemplateRenderErrorResponse; +pub mod delete_email_template_response; +pub use self::delete_email_template_response::DeleteEmailTemplateResponse; pub mod delete_feed_post_public_response; pub use self::delete_feed_post_public_response::DeleteFeedPostPublicResponse; +pub mod delete_feed_post_public_response_any_of; +pub use self::delete_feed_post_public_response_any_of::DeleteFeedPostPublicResponseAnyOf; pub mod delete_hash_tag_request_body; pub use self::delete_hash_tag_request_body::DeleteHashTagRequestBody; +pub mod delete_hash_tag_response; +pub use self::delete_hash_tag_response::DeleteHashTagResponse; +pub mod delete_moderation_vote_response; +pub use self::delete_moderation_vote_response::DeleteModerationVoteResponse; +pub mod delete_moderator_response; +pub use self::delete_moderator_response::DeleteModeratorResponse; +pub mod delete_notification_count_response; +pub use self::delete_notification_count_response::DeleteNotificationCountResponse; pub mod delete_page_api_response; pub use self::delete_page_api_response::DeletePageApiResponse; +pub mod delete_pending_webhook_event_response; +pub use self::delete_pending_webhook_event_response::DeletePendingWebhookEventResponse; +pub mod delete_question_config_response; +pub use self::delete_question_config_response::DeleteQuestionConfigResponse; +pub mod delete_question_result_response; +pub use self::delete_question_result_response::DeleteQuestionResultResponse; pub mod delete_sso_user_api_response; pub use self::delete_sso_user_api_response::DeleteSsoUserApiResponse; pub mod delete_subscription_api_response; pub use self::delete_subscription_api_response::DeleteSubscriptionApiResponse; +pub mod delete_tenant_package_response; +pub use self::delete_tenant_package_response::DeleteTenantPackageResponse; +pub mod delete_tenant_response; +pub use self::delete_tenant_response::DeleteTenantResponse; +pub mod delete_tenant_user_response; +pub use self::delete_tenant_user_response::DeleteTenantUserResponse; +pub mod delete_user_badge_response; +pub use self::delete_user_badge_response::DeleteUserBadgeResponse; +pub mod delete_v1_page_react_response; +pub use self::delete_v1_page_react_response::DeleteV1PageReactResponse; +pub mod delete_v2_page_react_response; +pub use self::delete_v2_page_react_response::DeleteV2PageReactResponse; +pub mod delete_vote_response; +pub use self::delete_vote_response::DeleteVoteResponse; pub mod deleted_comment_result_comment; pub use self::deleted_comment_result_comment::DeletedCommentResultComment; pub mod digest_email_frequency; @@ -284,28 +372,64 @@ pub mod find_comments_by_range_item; pub use self::find_comments_by_range_item::FindCommentsByRangeItem; pub mod find_comments_by_range_response; pub use self::find_comments_by_range_response::FindCommentsByRangeResponse; +pub mod flag_comment_public_response; +pub use self::flag_comment_public_response::FlagCommentPublicResponse; pub mod flag_comment_response; pub use self::flag_comment_response::FlagCommentResponse; +pub mod flag_comment_response_1; +pub use self::flag_comment_response_1::FlagCommentResponse1; +pub mod get_api_comments_response; +pub use self::get_api_comments_response::GetApiCommentsResponse; +pub mod get_api_export_status_response; +pub use self::get_api_export_status_response::GetApiExportStatusResponse; +pub mod get_api_ids_response; +pub use self::get_api_ids_response::GetApiIdsResponse; pub mod get_audit_logs_response; pub use self::get_audit_logs_response::GetAuditLogsResponse; +pub mod get_audit_logs_response_1; +pub use self::get_audit_logs_response_1::GetAuditLogsResponse1; +pub mod get_ban_users_from_comment_response; +pub use self::get_ban_users_from_comment_response::GetBanUsersFromCommentResponse; pub mod get_banned_users_count_response; pub use self::get_banned_users_count_response::GetBannedUsersCountResponse; pub mod get_banned_users_from_comment_response; pub use self::get_banned_users_from_comment_response::GetBannedUsersFromCommentResponse; pub mod get_cached_notification_count_response; pub use self::get_cached_notification_count_response::GetCachedNotificationCountResponse; +pub mod get_cached_notification_count_response_1; +pub use self::get_cached_notification_count_response_1::GetCachedNotificationCountResponse1; pub mod get_comment_ban_status_response; pub use self::get_comment_ban_status_response::GetCommentBanStatusResponse; +pub mod get_comment_ban_status_response_1; +pub use self::get_comment_ban_status_response_1::GetCommentBanStatusResponse1; +pub mod get_comment_children_response; +pub use self::get_comment_children_response::GetCommentChildrenResponse; +pub mod get_comment_response; +pub use self::get_comment_response::GetCommentResponse; pub mod get_comment_text_response; pub use self::get_comment_text_response::GetCommentTextResponse; +pub mod get_comment_text_response_1; +pub use self::get_comment_text_response_1::GetCommentTextResponse1; +pub mod get_comment_vote_user_names_response; +pub use self::get_comment_vote_user_names_response::GetCommentVoteUserNamesResponse; pub mod get_comment_vote_user_names_success_response; pub use self::get_comment_vote_user_names_success_response::GetCommentVoteUserNamesSuccessResponse; pub mod get_comments_for_user_response; pub use self::get_comments_for_user_response::GetCommentsForUserResponse; +pub mod get_comments_for_user_response_1; +pub use self::get_comments_for_user_response_1::GetCommentsForUserResponse1; +pub mod get_comments_public_response; +pub use self::get_comments_public_response::GetCommentsPublicResponse; +pub mod get_comments_response; +pub use self::get_comments_response::GetCommentsResponse; pub mod get_comments_response_public_comment_; pub use self::get_comments_response_public_comment_::GetCommentsResponsePublicComment; pub mod get_comments_response_with_presence_public_comment_; pub use self::get_comments_response_with_presence_public_comment_::GetCommentsResponseWithPresencePublicComment; +pub mod get_count_response; +pub use self::get_count_response::GetCountResponse; +pub mod get_counts_response; +pub use self::get_counts_response::GetCountsResponse; pub mod get_domain_config_response; pub use self::get_domain_config_response::GetDomainConfigResponse; pub mod get_domain_configs_response; @@ -316,52 +440,122 @@ pub mod get_domain_configs_response_any_of_1; pub use self::get_domain_configs_response_any_of_1::GetDomainConfigsResponseAnyOf1; pub mod get_email_template_definitions_response; pub use self::get_email_template_definitions_response::GetEmailTemplateDefinitionsResponse; +pub mod get_email_template_definitions_response_1; +pub use self::get_email_template_definitions_response_1::GetEmailTemplateDefinitionsResponse1; pub mod get_email_template_render_errors_response; pub use self::get_email_template_render_errors_response::GetEmailTemplateRenderErrorsResponse; +pub mod get_email_template_render_errors_response_1; +pub use self::get_email_template_render_errors_response_1::GetEmailTemplateRenderErrorsResponse1; pub mod get_email_template_response; pub use self::get_email_template_response::GetEmailTemplateResponse; +pub mod get_email_template_response_1; +pub use self::get_email_template_response_1::GetEmailTemplateResponse1; pub mod get_email_templates_response; pub use self::get_email_templates_response::GetEmailTemplatesResponse; +pub mod get_email_templates_response_1; +pub use self::get_email_templates_response_1::GetEmailTemplatesResponse1; pub mod get_event_log_response; pub use self::get_event_log_response::GetEventLogResponse; +pub mod get_event_log_response_1; +pub use self::get_event_log_response_1::GetEventLogResponse1; +pub mod get_feed_posts_public_response; +pub use self::get_feed_posts_public_response::GetFeedPostsPublicResponse; pub mod get_feed_posts_response; pub use self::get_feed_posts_response::GetFeedPostsResponse; +pub mod get_feed_posts_response_1; +pub use self::get_feed_posts_response_1::GetFeedPostsResponse1; +pub mod get_feed_posts_stats_response; +pub use self::get_feed_posts_stats_response::GetFeedPostsStatsResponse; +pub mod get_gif_large_response; +pub use self::get_gif_large_response::GetGifLargeResponse; pub mod get_gifs_search_response; pub use self::get_gifs_search_response::GetGifsSearchResponse; pub mod get_gifs_trending_response; pub use self::get_gifs_trending_response::GetGifsTrendingResponse; +pub mod get_global_event_log_response; +pub use self::get_global_event_log_response::GetGlobalEventLogResponse; pub mod get_hash_tags_response; pub use self::get_hash_tags_response::GetHashTagsResponse; +pub mod get_hash_tags_response_1; +pub use self::get_hash_tags_response_1::GetHashTagsResponse1; +pub mod get_logs_response; +pub use self::get_logs_response::GetLogsResponse; +pub mod get_manual_badges_for_user_response; +pub use self::get_manual_badges_for_user_response::GetManualBadgesForUserResponse; +pub mod get_manual_badges_response; +pub use self::get_manual_badges_response::GetManualBadgesResponse; +pub mod get_moderation_comment_response; +pub use self::get_moderation_comment_response::GetModerationCommentResponse; +pub mod get_moderation_comment_text_response; +pub use self::get_moderation_comment_text_response::GetModerationCommentTextResponse; pub mod get_moderator_response; pub use self::get_moderator_response::GetModeratorResponse; +pub mod get_moderator_response_1; +pub use self::get_moderator_response_1::GetModeratorResponse1; pub mod get_moderators_response; pub use self::get_moderators_response::GetModeratorsResponse; +pub mod get_moderators_response_1; +pub use self::get_moderators_response_1::GetModeratorsResponse1; pub mod get_my_notifications_response; pub use self::get_my_notifications_response::GetMyNotificationsResponse; pub mod get_notification_count_response; pub use self::get_notification_count_response::GetNotificationCountResponse; +pub mod get_notification_count_response_1; +pub use self::get_notification_count_response_1::GetNotificationCountResponse1; pub mod get_notifications_response; pub use self::get_notifications_response::GetNotificationsResponse; +pub mod get_notifications_response_1; +pub use self::get_notifications_response_1::GetNotificationsResponse1; +pub mod get_offline_users_response; +pub use self::get_offline_users_response::GetOfflineUsersResponse; +pub mod get_online_users_response; +pub use self::get_online_users_response::GetOnlineUsersResponse; pub mod get_page_by_urlid_api_response; pub use self::get_page_by_urlid_api_response::GetPageByUrlidApiResponse; pub mod get_pages_api_response; pub use self::get_pages_api_response::GetPagesApiResponse; +pub mod get_pages_public_response; +pub use self::get_pages_public_response::GetPagesPublicResponse; pub mod get_pending_webhook_event_count_response; pub use self::get_pending_webhook_event_count_response::GetPendingWebhookEventCountResponse; +pub mod get_pending_webhook_event_count_response_1; +pub use self::get_pending_webhook_event_count_response_1::GetPendingWebhookEventCountResponse1; pub mod get_pending_webhook_events_response; pub use self::get_pending_webhook_events_response::GetPendingWebhookEventsResponse; +pub mod get_pending_webhook_events_response_1; +pub use self::get_pending_webhook_events_response_1::GetPendingWebhookEventsResponse1; +pub mod get_pre_ban_summary_response; +pub use self::get_pre_ban_summary_response::GetPreBanSummaryResponse; pub mod get_public_feed_posts_response; pub use self::get_public_feed_posts_response::GetPublicFeedPostsResponse; pub mod get_public_pages_response; pub use self::get_public_pages_response::GetPublicPagesResponse; pub mod get_question_config_response; pub use self::get_question_config_response::GetQuestionConfigResponse; +pub mod get_question_config_response_1; +pub use self::get_question_config_response_1::GetQuestionConfigResponse1; pub mod get_question_configs_response; pub use self::get_question_configs_response::GetQuestionConfigsResponse; +pub mod get_question_configs_response_1; +pub use self::get_question_configs_response_1::GetQuestionConfigsResponse1; pub mod get_question_result_response; pub use self::get_question_result_response::GetQuestionResultResponse; +pub mod get_question_result_response_1; +pub use self::get_question_result_response_1::GetQuestionResultResponse1; pub mod get_question_results_response; pub use self::get_question_results_response::GetQuestionResultsResponse; +pub mod get_question_results_response_1; +pub use self::get_question_results_response_1::GetQuestionResultsResponse1; +pub mod get_search_comments_summary_response; +pub use self::get_search_comments_summary_response::GetSearchCommentsSummaryResponse; +pub mod get_search_pages_response; +pub use self::get_search_pages_response::GetSearchPagesResponse; +pub mod get_search_sites_response; +pub use self::get_search_sites_response::GetSearchSitesResponse; +pub mod get_search_suggest_response; +pub use self::get_search_suggest_response::GetSearchSuggestResponse; +pub mod get_search_users_response; +pub use self::get_search_users_response::GetSearchUsersResponse; pub mod get_sso_user_by_email_api_response; pub use self::get_sso_user_by_email_api_response::GetSsoUserByEmailApiResponse; pub mod get_sso_user_by_id_api_response; @@ -372,50 +566,108 @@ pub mod get_subscriptions_api_response; pub use self::get_subscriptions_api_response::GetSubscriptionsApiResponse; pub mod get_tenant_daily_usages_response; pub use self::get_tenant_daily_usages_response::GetTenantDailyUsagesResponse; +pub mod get_tenant_daily_usages_response_1; +pub use self::get_tenant_daily_usages_response_1::GetTenantDailyUsagesResponse1; pub mod get_tenant_manual_badges_response; pub use self::get_tenant_manual_badges_response::GetTenantManualBadgesResponse; pub mod get_tenant_package_response; pub use self::get_tenant_package_response::GetTenantPackageResponse; +pub mod get_tenant_package_response_1; +pub use self::get_tenant_package_response_1::GetTenantPackageResponse1; pub mod get_tenant_packages_response; pub use self::get_tenant_packages_response::GetTenantPackagesResponse; +pub mod get_tenant_packages_response_1; +pub use self::get_tenant_packages_response_1::GetTenantPackagesResponse1; pub mod get_tenant_response; pub use self::get_tenant_response::GetTenantResponse; +pub mod get_tenant_response_1; +pub use self::get_tenant_response_1::GetTenantResponse1; pub mod get_tenant_user_response; pub use self::get_tenant_user_response::GetTenantUserResponse; +pub mod get_tenant_user_response_1; +pub use self::get_tenant_user_response_1::GetTenantUserResponse1; pub mod get_tenant_users_response; pub use self::get_tenant_users_response::GetTenantUsersResponse; +pub mod get_tenant_users_response_1; +pub use self::get_tenant_users_response_1::GetTenantUsersResponse1; pub mod get_tenants_response; pub use self::get_tenants_response::GetTenantsResponse; +pub mod get_tenants_response_1; +pub use self::get_tenants_response_1::GetTenantsResponse1; pub mod get_ticket_response; pub use self::get_ticket_response::GetTicketResponse; +pub mod get_ticket_response_1; +pub use self::get_ticket_response_1::GetTicketResponse1; pub mod get_tickets_response; pub use self::get_tickets_response::GetTicketsResponse; +pub mod get_tickets_response_1; +pub use self::get_tickets_response_1::GetTicketsResponse1; pub mod get_translations_response; pub use self::get_translations_response::GetTranslationsResponse; +pub mod get_translations_response_1; +pub use self::get_translations_response_1::GetTranslationsResponse1; +pub mod get_trust_factor_response; +pub use self::get_trust_factor_response::GetTrustFactorResponse; +pub mod get_user_badge_progress_by_id_response; +pub use self::get_user_badge_progress_by_id_response::GetUserBadgeProgressByIdResponse; +pub mod get_user_badge_progress_by_user_id_response; +pub use self::get_user_badge_progress_by_user_id_response::GetUserBadgeProgressByUserIdResponse; +pub mod get_user_badge_progress_list_response; +pub use self::get_user_badge_progress_list_response::GetUserBadgeProgressListResponse; +pub mod get_user_badge_response; +pub use self::get_user_badge_response::GetUserBadgeResponse; +pub mod get_user_badges_response; +pub use self::get_user_badges_response::GetUserBadgesResponse; +pub mod get_user_ban_preference_response; +pub use self::get_user_ban_preference_response::GetUserBanPreferenceResponse; pub mod get_user_internal_profile_response; pub use self::get_user_internal_profile_response::GetUserInternalProfileResponse; +pub mod get_user_internal_profile_response_1; +pub use self::get_user_internal_profile_response_1::GetUserInternalProfileResponse1; pub mod get_user_internal_profile_response_profile; pub use self::get_user_internal_profile_response_profile::GetUserInternalProfileResponseProfile; pub mod get_user_manual_badges_response; pub use self::get_user_manual_badges_response::GetUserManualBadgesResponse; pub mod get_user_notification_count_response; pub use self::get_user_notification_count_response::GetUserNotificationCountResponse; +pub mod get_user_notification_count_response_1; +pub use self::get_user_notification_count_response_1::GetUserNotificationCountResponse1; +pub mod get_user_notifications_response; +pub use self::get_user_notifications_response::GetUserNotificationsResponse; pub mod get_user_presence_statuses_response; pub use self::get_user_presence_statuses_response::GetUserPresenceStatusesResponse; +pub mod get_user_presence_statuses_response_1; +pub use self::get_user_presence_statuses_response_1::GetUserPresenceStatusesResponse1; +pub mod get_user_reacts_public_response; +pub use self::get_user_reacts_public_response::GetUserReactsPublicResponse; pub mod get_user_response; pub use self::get_user_response::GetUserResponse; +pub mod get_user_response_1; +pub use self::get_user_response_1::GetUserResponse1; pub mod get_user_trust_factor_response; pub use self::get_user_trust_factor_response::GetUserTrustFactorResponse; +pub mod get_users_info_response; +pub use self::get_users_info_response::GetUsersInfoResponse; pub mod get_v1_page_likes; pub use self::get_v1_page_likes::GetV1PageLikes; +pub mod get_v1_page_likes_response; +pub use self::get_v1_page_likes_response::GetV1PageLikesResponse; pub mod get_v2_page_react_users_response; pub use self::get_v2_page_react_users_response::GetV2PageReactUsersResponse; +pub mod get_v2_page_react_users_response_1; +pub use self::get_v2_page_react_users_response_1::GetV2PageReactUsersResponse1; pub mod get_v2_page_reacts; pub use self::get_v2_page_reacts::GetV2PageReacts; +pub mod get_v2_page_reacts_response; +pub use self::get_v2_page_reacts_response::GetV2PageReactsResponse; pub mod get_votes_for_user_response; pub use self::get_votes_for_user_response::GetVotesForUserResponse; +pub mod get_votes_for_user_response_1; +pub use self::get_votes_for_user_response_1::GetVotesForUserResponse1; pub mod get_votes_response; pub use self::get_votes_response::GetVotesResponse; +pub mod get_votes_response_1; +pub use self::get_votes_response_1::GetVotesResponse1; pub mod gif_get_large_response; pub use self::gif_get_large_response::GifGetLargeResponse; pub mod gif_rating; @@ -444,6 +696,8 @@ pub mod live_event_extra_info; pub use self::live_event_extra_info::LiveEventExtraInfo; pub mod live_event_type; pub use self::live_event_type::LiveEventType; +pub mod lock_comment_response; +pub use self::lock_comment_response::LockCommentResponse; pub mod media_asset; pub use self::media_asset::MediaAsset; pub mod mention_auto_complete_mode; @@ -510,14 +764,46 @@ pub mod patch_domain_config_params; pub use self::patch_domain_config_params::PatchDomainConfigParams; pub mod patch_domain_config_response; pub use self::patch_domain_config_response::PatchDomainConfigResponse; +pub mod patch_hash_tag_response; +pub use self::patch_hash_tag_response::PatchHashTagResponse; pub mod patch_page_api_response; pub use self::patch_page_api_response::PatchPageApiResponse; pub mod patch_sso_user_api_response; pub use self::patch_sso_user_api_response::PatchSsoUserApiResponse; pub mod pending_comment_to_sync_outbound; pub use self::pending_comment_to_sync_outbound::PendingCommentToSyncOutbound; +pub mod pin_comment_response; +pub use self::pin_comment_response::PinCommentResponse; +pub mod post_adjust_comment_votes_response; +pub use self::post_adjust_comment_votes_response::PostAdjustCommentVotesResponse; +pub mod post_api_export_response; +pub use self::post_api_export_response::PostApiExportResponse; +pub mod post_ban_user_from_comment_response; +pub use self::post_ban_user_from_comment_response::PostBanUserFromCommentResponse; +pub mod post_ban_user_undo_response; +pub use self::post_ban_user_undo_response::PostBanUserUndoResponse; +pub mod post_bulk_pre_ban_summary_response; +pub use self::post_bulk_pre_ban_summary_response::PostBulkPreBanSummaryResponse; +pub mod post_comments_by_ids_response; +pub use self::post_comments_by_ids_response::PostCommentsByIdsResponse; +pub mod post_flag_comment_response; +pub use self::post_flag_comment_response::PostFlagCommentResponse; pub mod post_remove_comment_response; pub use self::post_remove_comment_response::PostRemoveCommentResponse; +pub mod post_restore_deleted_comment_response; +pub use self::post_restore_deleted_comment_response::PostRestoreDeletedCommentResponse; +pub mod post_set_comment_approval_status_response; +pub use self::post_set_comment_approval_status_response::PostSetCommentApprovalStatusResponse; +pub mod post_set_comment_review_status_response; +pub use self::post_set_comment_review_status_response::PostSetCommentReviewStatusResponse; +pub mod post_set_comment_spam_status_response; +pub use self::post_set_comment_spam_status_response::PostSetCommentSpamStatusResponse; +pub mod post_set_comment_text_response; +pub use self::post_set_comment_text_response::PostSetCommentTextResponse; +pub mod post_un_flag_comment_response; +pub use self::post_un_flag_comment_response::PostUnFlagCommentResponse; +pub mod post_vote_response; +pub use self::post_vote_response::PostVoteResponse; pub mod pre_ban_summary; pub use self::pre_ban_summary::PreBanSummary; pub mod pub_sub_comment; @@ -544,8 +830,16 @@ pub mod public_page; pub use self::public_page::PublicPage; pub mod public_vote; pub use self::public_vote::PublicVote; +pub mod put_award_badge_response; +pub use self::put_award_badge_response::PutAwardBadgeResponse; +pub mod put_close_thread_response; +pub use self::put_close_thread_response::PutCloseThreadResponse; pub mod put_domain_config_response; pub use self::put_domain_config_response::PutDomainConfigResponse; +pub mod put_remove_badge_response; +pub use self::put_remove_badge_response::PutRemoveBadgeResponse; +pub mod put_reopen_thread_response; +pub use self::put_reopen_thread_response::PutReopenThreadResponse; pub mod put_sso_user_api_response; pub use self::put_sso_user_api_response::PutSsoUserApiResponse; pub mod query_predicate; @@ -570,6 +864,8 @@ pub mod question_when_save; pub use self::question_when_save::QuestionWhenSave; pub mod react_body_params; pub use self::react_body_params::ReactBodyParams; +pub mod react_feed_post_public_response; +pub use self::react_feed_post_public_response::ReactFeedPostPublicResponse; pub mod react_feed_post_response; pub use self::react_feed_post_response::ReactFeedPostResponse; pub mod record_string__before_string_or_null__after_string_or_null___value; @@ -582,6 +878,8 @@ pub mod render_email_template_body; pub use self::render_email_template_body::RenderEmailTemplateBody; pub mod render_email_template_response; pub use self::render_email_template_response::RenderEmailTemplateResponse; +pub mod render_email_template_response_1; +pub use self::render_email_template_response_1::RenderEmailTemplateResponse1; pub mod renderable_user_notification; pub use self::renderable_user_notification::RenderableUserNotification; pub mod repeat_comment_check_ignored_reason; @@ -590,10 +888,20 @@ pub mod repeat_comment_handling_action; pub use self::repeat_comment_handling_action::RepeatCommentHandlingAction; pub mod replace_tenant_package_body; pub use self::replace_tenant_package_body::ReplaceTenantPackageBody; +pub mod replace_tenant_package_response; +pub use self::replace_tenant_package_response::ReplaceTenantPackageResponse; pub mod replace_tenant_user_body; pub use self::replace_tenant_user_body::ReplaceTenantUserBody; +pub mod replace_tenant_user_response; +pub use self::replace_tenant_user_response::ReplaceTenantUserResponse; +pub mod reset_user_notification_count_response; +pub use self::reset_user_notification_count_response::ResetUserNotificationCountResponse; pub mod reset_user_notifications_response; pub use self::reset_user_notifications_response::ResetUserNotificationsResponse; +pub mod reset_user_notifications_response_1; +pub use self::reset_user_notifications_response_1::ResetUserNotificationsResponse1; +pub mod save_comment_response; +pub use self::save_comment_response::SaveCommentResponse; pub mod save_comment_response_optimized; pub use self::save_comment_response_optimized::SaveCommentResponseOptimized; pub mod save_comments_bulk_response; @@ -602,18 +910,28 @@ pub mod save_comments_response_with_presence; pub use self::save_comments_response_with_presence::SaveCommentsResponseWithPresence; pub mod search_users_response; pub use self::search_users_response::SearchUsersResponse; +pub mod search_users_response_1; +pub use self::search_users_response_1::SearchUsersResponse1; pub mod search_users_result; pub use self::search_users_result::SearchUsersResult; pub mod search_users_sectioned_response; pub use self::search_users_sectioned_response::SearchUsersSectionedResponse; +pub mod send_invite_response; +pub use self::send_invite_response::SendInviteResponse; +pub mod send_login_link_response; +pub use self::send_login_link_response::SendLoginLinkResponse; pub mod set_comment_approved_response; pub use self::set_comment_approved_response::SetCommentApprovedResponse; pub mod set_comment_text_params; pub use self::set_comment_text_params::SetCommentTextParams; pub mod set_comment_text_response; pub use self::set_comment_text_response::SetCommentTextResponse; +pub mod set_comment_text_response_1; +pub use self::set_comment_text_response_1::SetCommentTextResponse1; pub mod set_comment_text_result; pub use self::set_comment_text_result::SetCommentTextResult; +pub mod set_trust_factor_response; +pub use self::set_trust_factor_response::SetTrustFactorResponse; pub mod set_user_trust_factor_response; pub use self::set_user_trust_factor_response::SetUserTrustFactorResponse; pub mod size_preset; @@ -634,8 +952,18 @@ pub mod tenant_package; pub use self::tenant_package::TenantPackage; pub mod tos_config; pub use self::tos_config::TosConfig; +pub mod un_block_comment_public_response; +pub use self::un_block_comment_public_response::UnBlockCommentPublicResponse; pub mod un_block_from_comment_params; pub use self::un_block_from_comment_params::UnBlockFromCommentParams; +pub mod un_block_user_from_comment_response; +pub use self::un_block_user_from_comment_response::UnBlockUserFromCommentResponse; +pub mod un_flag_comment_response; +pub use self::un_flag_comment_response::UnFlagCommentResponse; +pub mod un_lock_comment_response; +pub use self::un_lock_comment_response::UnLockCommentResponse; +pub mod un_pin_comment_response; +pub use self::un_pin_comment_response::UnPinCommentResponse; pub mod unblock_success; pub use self::unblock_success::UnblockSuccess; pub mod updatable_comment_params; @@ -646,34 +974,58 @@ pub mod update_api_user_subscription_data; pub use self::update_api_user_subscription_data::UpdateApiUserSubscriptionData; pub mod update_apisso_user_data; pub use self::update_apisso_user_data::UpdateApissoUserData; +pub mod update_comment_response; +pub use self::update_comment_response::UpdateCommentResponse; pub mod update_domain_config_params; pub use self::update_domain_config_params::UpdateDomainConfigParams; pub mod update_email_template_body; pub use self::update_email_template_body::UpdateEmailTemplateBody; +pub mod update_email_template_response; +pub use self::update_email_template_response::UpdateEmailTemplateResponse; pub mod update_feed_post_params; pub use self::update_feed_post_params::UpdateFeedPostParams; +pub mod update_feed_post_public_response; +pub use self::update_feed_post_public_response::UpdateFeedPostPublicResponse; +pub mod update_feed_post_response; +pub use self::update_feed_post_response::UpdateFeedPostResponse; pub mod update_hash_tag_body; pub use self::update_hash_tag_body::UpdateHashTagBody; pub mod update_hash_tag_response; pub use self::update_hash_tag_response::UpdateHashTagResponse; pub mod update_moderator_body; pub use self::update_moderator_body::UpdateModeratorBody; +pub mod update_moderator_response; +pub use self::update_moderator_response::UpdateModeratorResponse; pub mod update_notification_body; pub use self::update_notification_body::UpdateNotificationBody; +pub mod update_notification_response; +pub use self::update_notification_response::UpdateNotificationResponse; pub mod update_question_config_body; pub use self::update_question_config_body::UpdateQuestionConfigBody; +pub mod update_question_config_response; +pub use self::update_question_config_response::UpdateQuestionConfigResponse; pub mod update_question_result_body; pub use self::update_question_result_body::UpdateQuestionResultBody; +pub mod update_question_result_response; +pub use self::update_question_result_response::UpdateQuestionResultResponse; pub mod update_subscription_api_response; pub use self::update_subscription_api_response::UpdateSubscriptionApiResponse; pub mod update_tenant_body; pub use self::update_tenant_body::UpdateTenantBody; pub mod update_tenant_package_body; pub use self::update_tenant_package_body::UpdateTenantPackageBody; +pub mod update_tenant_package_response; +pub use self::update_tenant_package_response::UpdateTenantPackageResponse; +pub mod update_tenant_response; +pub use self::update_tenant_response::UpdateTenantResponse; pub mod update_tenant_user_body; pub use self::update_tenant_user_body::UpdateTenantUserBody; +pub mod update_tenant_user_response; +pub use self::update_tenant_user_response::UpdateTenantUserResponse; pub mod update_user_badge_params; pub use self::update_user_badge_params::UpdateUserBadgeParams; +pub mod update_user_badge_response; +pub use self::update_user_badge_response::UpdateUserBadgeResponse; pub mod update_user_notification_comment_subscription_status_response; pub use self::update_user_notification_comment_subscription_status_response::UpdateUserNotificationCommentSubscriptionStatusResponse; pub mod update_user_notification_page_subscription_status_response; @@ -710,6 +1062,8 @@ pub mod users_list_location; pub use self::users_list_location::UsersListLocation; pub mod vote_body_params; pub use self::vote_body_params::VoteBodyParams; +pub mod vote_comment_response; +pub use self::vote_comment_response::VoteCommentResponse; pub mod vote_delete_response; pub use self::vote_delete_response::VoteDeleteResponse; pub mod vote_response; diff --git a/client/src/models/patch_hash_tag_response.rs b/client/src/models/patch_hash_tag_response.rs new file mode 100644 index 0000000..9ad1699 --- /dev/null +++ b/client/src/models/patch_hash_tag_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PatchHashTagResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "hashTag", skip_serializing_if = "Option::is_none")] + pub hash_tag: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PatchHashTagResponse { + pub fn new(status: models::ApiStatus) -> PatchHashTagResponse { + PatchHashTagResponse { + status, + hash_tag: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/pin_comment_response.rs b/client/src/models/pin_comment_response.rs new file mode 100644 index 0000000..67f2a20 --- /dev/null +++ b/client/src/models/pin_comment_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PinCommentResponse { + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentPositions", skip_serializing_if = "Option::is_none")] + pub comment_positions: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PinCommentResponse { + pub fn new(status: models::ApiStatus) -> PinCommentResponse { + PinCommentResponse { + comment_positions: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_adjust_comment_votes_response.rs b/client/src/models/post_adjust_comment_votes_response.rs new file mode 100644 index 0000000..ea4fb46 --- /dev/null +++ b/client/src/models/post_adjust_comment_votes_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostAdjustCommentVotesResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "newCommentVotes", skip_serializing_if = "Option::is_none")] + pub new_comment_votes: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostAdjustCommentVotesResponse { + pub fn new(status: models::ApiStatus) -> PostAdjustCommentVotesResponse { + PostAdjustCommentVotesResponse { + status, + new_comment_votes: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_api_export_response.rs b/client/src/models/post_api_export_response.rs new file mode 100644 index 0000000..8c61714 --- /dev/null +++ b/client/src/models/post_api_export_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostApiExportResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "batchJobId", skip_serializing_if = "Option::is_none")] + pub batch_job_id: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostApiExportResponse { + pub fn new(status: models::ApiStatus) -> PostApiExportResponse { + PostApiExportResponse { + status, + batch_job_id: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_ban_user_from_comment_response.rs b/client/src/models/post_ban_user_from_comment_response.rs new file mode 100644 index 0000000..11561bf --- /dev/null +++ b/client/src/models/post_ban_user_from_comment_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostBanUserFromCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "changelog", skip_serializing_if = "Option::is_none")] + pub changelog: Option>, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostBanUserFromCommentResponse { + pub fn new(status: models::ApiStatus) -> PostBanUserFromCommentResponse { + PostBanUserFromCommentResponse { + status, + changelog: None, + code: None, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_ban_user_undo_response.rs b/client/src/models/post_ban_user_undo_response.rs new file mode 100644 index 0000000..2538745 --- /dev/null +++ b/client/src/models/post_ban_user_undo_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostBanUserUndoResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostBanUserUndoResponse { + pub fn new(status: models::ApiStatus) -> PostBanUserUndoResponse { + PostBanUserUndoResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_bulk_pre_ban_summary_response.rs b/client/src/models/post_bulk_pre_ban_summary_response.rs new file mode 100644 index 0000000..0d5f5f3 --- /dev/null +++ b/client/src/models/post_bulk_pre_ban_summary_response.rs @@ -0,0 +1,63 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostBulkPreBanSummaryResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "totalRelatedCommentCount", skip_serializing_if = "Option::is_none")] + pub total_related_comment_count: Option, + #[serde(rename = "emailDomains", skip_serializing_if = "Option::is_none")] + pub email_domains: Option>, + #[serde(rename = "emails", skip_serializing_if = "Option::is_none")] + pub emails: Option>, + #[serde(rename = "userIds", skip_serializing_if = "Option::is_none")] + pub user_ids: Option>, + #[serde(rename = "ipHashes", skip_serializing_if = "Option::is_none")] + pub ip_hashes: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostBulkPreBanSummaryResponse { + pub fn new(status: models::ApiStatus) -> PostBulkPreBanSummaryResponse { + PostBulkPreBanSummaryResponse { + status, + total_related_comment_count: None, + email_domains: None, + emails: None, + user_ids: None, + ip_hashes: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_comments_by_ids_response.rs b/client/src/models/post_comments_by_ids_response.rs new file mode 100644 index 0000000..9f224e8 --- /dev/null +++ b/client/src/models/post_comments_by_ids_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostCommentsByIdsResponse { + #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] + pub comments: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostCommentsByIdsResponse { + pub fn new(status: models::ApiStatus) -> PostCommentsByIdsResponse { + PostCommentsByIdsResponse { + comments: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_flag_comment_response.rs b/client/src/models/post_flag_comment_response.rs new file mode 100644 index 0000000..02323f0 --- /dev/null +++ b/client/src/models/post_flag_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostFlagCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostFlagCommentResponse { + pub fn new(status: models::ApiStatus) -> PostFlagCommentResponse { + PostFlagCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_remove_comment_response.rs b/client/src/models/post_remove_comment_response.rs index fef8ac3..751f47c 100644 --- a/client/src/models/post_remove_comment_response.rs +++ b/client/src/models/post_remove_comment_response.rs @@ -13,17 +13,38 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct PostRemoveCommentResponse { - #[serde(rename = "action")] - pub action: String, + #[serde(rename = "action", skip_serializing_if = "Option::is_none")] + pub action: Option, #[serde(rename = "status")] - pub status: String, + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl PostRemoveCommentResponse { - pub fn new(action: String, status: String) -> PostRemoveCommentResponse { + pub fn new(status: models::ApiStatus) -> PostRemoveCommentResponse { PostRemoveCommentResponse { - action, + action: None, status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/post_restore_deleted_comment_response.rs b/client/src/models/post_restore_deleted_comment_response.rs new file mode 100644 index 0000000..9cdac18 --- /dev/null +++ b/client/src/models/post_restore_deleted_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostRestoreDeletedCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostRestoreDeletedCommentResponse { + pub fn new(status: models::ApiStatus) -> PostRestoreDeletedCommentResponse { + PostRestoreDeletedCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_set_comment_approval_status_response.rs b/client/src/models/post_set_comment_approval_status_response.rs new file mode 100644 index 0000000..3a6ec77 --- /dev/null +++ b/client/src/models/post_set_comment_approval_status_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostSetCommentApprovalStatusResponse { + #[serde(rename = "didResetFlaggedCount", skip_serializing_if = "Option::is_none")] + pub did_reset_flagged_count: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostSetCommentApprovalStatusResponse { + pub fn new(status: models::ApiStatus) -> PostSetCommentApprovalStatusResponse { + PostSetCommentApprovalStatusResponse { + did_reset_flagged_count: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_set_comment_review_status_response.rs b/client/src/models/post_set_comment_review_status_response.rs new file mode 100644 index 0000000..a5d7980 --- /dev/null +++ b/client/src/models/post_set_comment_review_status_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostSetCommentReviewStatusResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostSetCommentReviewStatusResponse { + pub fn new(status: models::ApiStatus) -> PostSetCommentReviewStatusResponse { + PostSetCommentReviewStatusResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_set_comment_spam_status_response.rs b/client/src/models/post_set_comment_spam_status_response.rs new file mode 100644 index 0000000..ebf21c2 --- /dev/null +++ b/client/src/models/post_set_comment_spam_status_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostSetCommentSpamStatusResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostSetCommentSpamStatusResponse { + pub fn new(status: models::ApiStatus) -> PostSetCommentSpamStatusResponse { + PostSetCommentSpamStatusResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_set_comment_text_response.rs b/client/src/models/post_set_comment_text_response.rs new file mode 100644 index 0000000..b0abd24 --- /dev/null +++ b/client/src/models/post_set_comment_text_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostSetCommentTextResponse { + #[serde(rename = "newCommentTextHTML", skip_serializing_if = "Option::is_none")] + pub new_comment_text_html: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostSetCommentTextResponse { + pub fn new(status: models::ApiStatus) -> PostSetCommentTextResponse { + PostSetCommentTextResponse { + new_comment_text_html: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_un_flag_comment_response.rs b/client/src/models/post_un_flag_comment_response.rs new file mode 100644 index 0000000..3220736 --- /dev/null +++ b/client/src/models/post_un_flag_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostUnFlagCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostUnFlagCommentResponse { + pub fn new(status: models::ApiStatus) -> PostUnFlagCommentResponse { + PostUnFlagCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/post_vote_response.rs b/client/src/models/post_vote_response.rs new file mode 100644 index 0000000..2b07417 --- /dev/null +++ b/client/src/models/post_vote_response.rs @@ -0,0 +1,60 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PostVoteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] + pub vote_id: Option, + #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] + pub is_verified: Option, + #[serde(rename = "user", skip_serializing_if = "Option::is_none")] + pub user: Option>, + #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] + pub edit_key: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PostVoteResponse { + pub fn new(status: models::ApiStatus) -> PostVoteResponse { + PostVoteResponse { + status, + vote_id: None, + is_verified: None, + user: None, + edit_key: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/put_award_badge_response.rs b/client/src/models/put_award_badge_response.rs new file mode 100644 index 0000000..4e3ee37 --- /dev/null +++ b/client/src/models/put_award_badge_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PutAwardBadgeResponse { + #[serde(rename = "notes", skip_serializing_if = "Option::is_none")] + pub notes: Option>, + #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] + pub badges: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PutAwardBadgeResponse { + pub fn new(status: models::ApiStatus) -> PutAwardBadgeResponse { + PutAwardBadgeResponse { + notes: None, + badges: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/put_close_thread_response.rs b/client/src/models/put_close_thread_response.rs new file mode 100644 index 0000000..e6d2ea0 --- /dev/null +++ b/client/src/models/put_close_thread_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PutCloseThreadResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PutCloseThreadResponse { + pub fn new(status: models::ApiStatus) -> PutCloseThreadResponse { + PutCloseThreadResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/put_remove_badge_response.rs b/client/src/models/put_remove_badge_response.rs new file mode 100644 index 0000000..ec2b8be --- /dev/null +++ b/client/src/models/put_remove_badge_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PutRemoveBadgeResponse { + #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] + pub badges: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PutRemoveBadgeResponse { + pub fn new(status: models::ApiStatus) -> PutRemoveBadgeResponse { + PutRemoveBadgeResponse { + badges: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/put_reopen_thread_response.rs b/client/src/models/put_reopen_thread_response.rs new file mode 100644 index 0000000..ed509da --- /dev/null +++ b/client/src/models/put_reopen_thread_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct PutReopenThreadResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl PutReopenThreadResponse { + pub fn new(status: models::ApiStatus) -> PutReopenThreadResponse { + PutReopenThreadResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/react_feed_post_public_response.rs b/client/src/models/react_feed_post_public_response.rs new file mode 100644 index 0000000..e8e9ac4 --- /dev/null +++ b/client/src/models/react_feed_post_public_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ReactFeedPostPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reactType", skip_serializing_if = "Option::is_none")] + pub react_type: Option, + #[serde(rename = "isUndo", skip_serializing_if = "Option::is_none")] + pub is_undo: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ReactFeedPostPublicResponse { + pub fn new(status: models::ApiStatus) -> ReactFeedPostPublicResponse { + ReactFeedPostPublicResponse { + status, + react_type: None, + is_undo: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/render_email_template_response_1.rs b/client/src/models/render_email_template_response_1.rs new file mode 100644 index 0000000..a2b2091 --- /dev/null +++ b/client/src/models/render_email_template_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct RenderEmailTemplateResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "html", skip_serializing_if = "Option::is_none")] + pub html: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl RenderEmailTemplateResponse1 { + pub fn new(status: models::ApiStatus) -> RenderEmailTemplateResponse1 { + RenderEmailTemplateResponse1 { + status, + html: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/replace_tenant_package_response.rs b/client/src/models/replace_tenant_package_response.rs new file mode 100644 index 0000000..07d37ba --- /dev/null +++ b/client/src/models/replace_tenant_package_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ReplaceTenantPackageResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ReplaceTenantPackageResponse { + pub fn new(status: models::ApiStatus) -> ReplaceTenantPackageResponse { + ReplaceTenantPackageResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/replace_tenant_user_response.rs b/client/src/models/replace_tenant_user_response.rs new file mode 100644 index 0000000..e0f58f0 --- /dev/null +++ b/client/src/models/replace_tenant_user_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ReplaceTenantUserResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ReplaceTenantUserResponse { + pub fn new(status: models::ApiStatus) -> ReplaceTenantUserResponse { + ReplaceTenantUserResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/reset_user_notification_count_response.rs b/client/src/models/reset_user_notification_count_response.rs new file mode 100644 index 0000000..6e22168 --- /dev/null +++ b/client/src/models/reset_user_notification_count_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResetUserNotificationCountResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ResetUserNotificationCountResponse { + pub fn new(status: models::ApiStatus) -> ResetUserNotificationCountResponse { + ResetUserNotificationCountResponse { + status, + code: None, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/reset_user_notifications_response_1.rs b/client/src/models/reset_user_notifications_response_1.rs new file mode 100644 index 0000000..0162ab7 --- /dev/null +++ b/client/src/models/reset_user_notifications_response_1.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResetUserNotificationsResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl ResetUserNotificationsResponse1 { + pub fn new(status: models::ApiStatus) -> ResetUserNotificationsResponse1 { + ResetUserNotificationsResponse1 { + status, + code: None, + reason: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/save_comment_response.rs b/client/src/models/save_comment_response.rs new file mode 100644 index 0000000..38b4285 --- /dev/null +++ b/client/src/models/save_comment_response.rs @@ -0,0 +1,58 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SaveCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub user: Option>>, + /// Construct a type with a set of properties K of type T + #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] + pub module_data: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SaveCommentResponse { + pub fn new(status: models::ApiStatus) -> SaveCommentResponse { + SaveCommentResponse { + status, + comment: None, + user: None, + module_data: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/search_users_response_1.rs b/client/src/models/search_users_response_1.rs new file mode 100644 index 0000000..13a750f --- /dev/null +++ b/client/src/models/search_users_response_1.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SearchUsersResponse1 { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "sections", skip_serializing_if = "Option::is_none")] + pub sections: Option>, + #[serde(rename = "users", skip_serializing_if = "Option::is_none")] + pub users: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SearchUsersResponse1 { + pub fn new(status: models::ApiStatus) -> SearchUsersResponse1 { + SearchUsersResponse1 { + status, + sections: None, + users: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/send_invite_response.rs b/client/src/models/send_invite_response.rs new file mode 100644 index 0000000..83aecdd --- /dev/null +++ b/client/src/models/send_invite_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SendInviteResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SendInviteResponse { + pub fn new(status: models::ApiStatus) -> SendInviteResponse { + SendInviteResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/send_login_link_response.rs b/client/src/models/send_login_link_response.rs new file mode 100644 index 0000000..cd0014e --- /dev/null +++ b/client/src/models/send_login_link_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SendLoginLinkResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SendLoginLinkResponse { + pub fn new(status: models::ApiStatus) -> SendLoginLinkResponse { + SendLoginLinkResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/set_comment_text_response_1.rs b/client/src/models/set_comment_text_response_1.rs new file mode 100644 index 0000000..80a858b --- /dev/null +++ b/client/src/models/set_comment_text_response_1.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SetCommentTextResponse1 { + #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] + pub comment: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SetCommentTextResponse1 { + pub fn new(status: models::ApiStatus) -> SetCommentTextResponse1 { + SetCommentTextResponse1 { + comment: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/set_trust_factor_response.rs b/client/src/models/set_trust_factor_response.rs new file mode 100644 index 0000000..6696c8f --- /dev/null +++ b/client/src/models/set_trust_factor_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SetTrustFactorResponse { + #[serde(rename = "previousManualTrustFactor", skip_serializing_if = "Option::is_none")] + pub previous_manual_trust_factor: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl SetTrustFactorResponse { + pub fn new(status: models::ApiStatus) -> SetTrustFactorResponse { + SetTrustFactorResponse { + previous_manual_trust_factor: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/un_block_comment_public_response.rs b/client/src/models/un_block_comment_public_response.rs new file mode 100644 index 0000000..ab36add --- /dev/null +++ b/client/src/models/un_block_comment_public_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UnBlockCommentPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] + pub comment_statuses: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UnBlockCommentPublicResponse { + pub fn new(status: models::ApiStatus) -> UnBlockCommentPublicResponse { + UnBlockCommentPublicResponse { + status, + comment_statuses: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/un_block_user_from_comment_response.rs b/client/src/models/un_block_user_from_comment_response.rs new file mode 100644 index 0000000..582b75d --- /dev/null +++ b/client/src/models/un_block_user_from_comment_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UnBlockUserFromCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] + pub comment_statuses: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UnBlockUserFromCommentResponse { + pub fn new(status: models::ApiStatus) -> UnBlockUserFromCommentResponse { + UnBlockUserFromCommentResponse { + status, + comment_statuses: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/un_flag_comment_response.rs b/client/src/models/un_flag_comment_response.rs new file mode 100644 index 0000000..57b58f5 --- /dev/null +++ b/client/src/models/un_flag_comment_response.rs @@ -0,0 +1,54 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UnFlagCommentResponse { + #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] + pub status_code: Option, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "wasUnapproved", skip_serializing_if = "Option::is_none")] + pub was_unapproved: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UnFlagCommentResponse { + pub fn new(status: models::ApiStatus) -> UnFlagCommentResponse { + UnFlagCommentResponse { + status_code: None, + status, + code: None, + reason: None, + was_unapproved: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/un_lock_comment_response.rs b/client/src/models/un_lock_comment_response.rs new file mode 100644 index 0000000..0808487 --- /dev/null +++ b/client/src/models/un_lock_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UnLockCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UnLockCommentResponse { + pub fn new(status: models::ApiStatus) -> UnLockCommentResponse { + UnLockCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/un_pin_comment_response.rs b/client/src/models/un_pin_comment_response.rs new file mode 100644 index 0000000..d59401e --- /dev/null +++ b/client/src/models/un_pin_comment_response.rs @@ -0,0 +1,52 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UnPinCommentResponse { + /// Construct a type with a set of properties K of type T + #[serde(rename = "commentPositions", skip_serializing_if = "Option::is_none")] + pub comment_positions: Option>, + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UnPinCommentResponse { + pub fn new(status: models::ApiStatus) -> UnPinCommentResponse { + UnPinCommentResponse { + comment_positions: None, + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_comment_response.rs b/client/src/models/update_comment_response.rs new file mode 100644 index 0000000..b1ab166 --- /dev/null +++ b/client/src/models/update_comment_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateCommentResponse { + pub fn new(status: models::ApiStatus) -> UpdateCommentResponse { + UpdateCommentResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_email_template_response.rs b/client/src/models/update_email_template_response.rs new file mode 100644 index 0000000..6851a67 --- /dev/null +++ b/client/src/models/update_email_template_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateEmailTemplateResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateEmailTemplateResponse { + pub fn new(status: models::ApiStatus) -> UpdateEmailTemplateResponse { + UpdateEmailTemplateResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_feed_post_public_response.rs b/client/src/models/update_feed_post_public_response.rs new file mode 100644 index 0000000..ebdf98c --- /dev/null +++ b/client/src/models/update_feed_post_public_response.rs @@ -0,0 +1,51 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateFeedPostPublicResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] + pub feed_post: Option>, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateFeedPostPublicResponse { + pub fn new(status: models::ApiStatus) -> UpdateFeedPostPublicResponse { + UpdateFeedPostPublicResponse { + status, + feed_post: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_feed_post_response.rs b/client/src/models/update_feed_post_response.rs new file mode 100644 index 0000000..3c082c7 --- /dev/null +++ b/client/src/models/update_feed_post_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateFeedPostResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateFeedPostResponse { + pub fn new(status: models::ApiStatus) -> UpdateFeedPostResponse { + UpdateFeedPostResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_moderator_response.rs b/client/src/models/update_moderator_response.rs new file mode 100644 index 0000000..773c5ac --- /dev/null +++ b/client/src/models/update_moderator_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateModeratorResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateModeratorResponse { + pub fn new(status: models::ApiStatus) -> UpdateModeratorResponse { + UpdateModeratorResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_notification_response.rs b/client/src/models/update_notification_response.rs new file mode 100644 index 0000000..4ed886e --- /dev/null +++ b/client/src/models/update_notification_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateNotificationResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateNotificationResponse { + pub fn new(status: models::ApiStatus) -> UpdateNotificationResponse { + UpdateNotificationResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_question_config_response.rs b/client/src/models/update_question_config_response.rs new file mode 100644 index 0000000..a4d2cc2 --- /dev/null +++ b/client/src/models/update_question_config_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateQuestionConfigResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateQuestionConfigResponse { + pub fn new(status: models::ApiStatus) -> UpdateQuestionConfigResponse { + UpdateQuestionConfigResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_question_result_response.rs b/client/src/models/update_question_result_response.rs new file mode 100644 index 0000000..462992b --- /dev/null +++ b/client/src/models/update_question_result_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateQuestionResultResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateQuestionResultResponse { + pub fn new(status: models::ApiStatus) -> UpdateQuestionResultResponse { + UpdateQuestionResultResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_tenant_package_response.rs b/client/src/models/update_tenant_package_response.rs new file mode 100644 index 0000000..cfa75b1 --- /dev/null +++ b/client/src/models/update_tenant_package_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateTenantPackageResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateTenantPackageResponse { + pub fn new(status: models::ApiStatus) -> UpdateTenantPackageResponse { + UpdateTenantPackageResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_tenant_response.rs b/client/src/models/update_tenant_response.rs new file mode 100644 index 0000000..6a2eb4d --- /dev/null +++ b/client/src/models/update_tenant_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateTenantResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateTenantResponse { + pub fn new(status: models::ApiStatus) -> UpdateTenantResponse { + UpdateTenantResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_tenant_user_response.rs b/client/src/models/update_tenant_user_response.rs new file mode 100644 index 0000000..6cf6486 --- /dev/null +++ b/client/src/models/update_tenant_user_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateTenantUserResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateTenantUserResponse { + pub fn new(status: models::ApiStatus) -> UpdateTenantUserResponse { + UpdateTenantUserResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_user_badge_response.rs b/client/src/models/update_user_badge_response.rs new file mode 100644 index 0000000..5f7b64f --- /dev/null +++ b/client/src/models/update_user_badge_response.rs @@ -0,0 +1,48 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateUserBadgeResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl UpdateUserBadgeResponse { + pub fn new(status: models::ApiStatus) -> UpdateUserBadgeResponse { + UpdateUserBadgeResponse { + status, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/client/src/models/update_user_notification_comment_subscription_status_response.rs b/client/src/models/update_user_notification_comment_subscription_status_response.rs index 0f0ce0c..54632c2 100644 --- a/client/src/models/update_user_notification_comment_subscription_status_response.rs +++ b/client/src/models/update_user_notification_comment_subscription_status_response.rs @@ -21,6 +21,20 @@ pub struct UpdateUserNotificationCommentSubscriptionStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl UpdateUserNotificationCommentSubscriptionStatusResponse { @@ -30,6 +44,13 @@ impl UpdateUserNotificationCommentSubscriptionStatusResponse { matched_count: None, modified_count: None, note: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/update_user_notification_page_subscription_status_response.rs b/client/src/models/update_user_notification_page_subscription_status_response.rs index 5aab0f1..ea54f22 100644 --- a/client/src/models/update_user_notification_page_subscription_status_response.rs +++ b/client/src/models/update_user_notification_page_subscription_status_response.rs @@ -21,6 +21,20 @@ pub struct UpdateUserNotificationPageSubscriptionStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl UpdateUserNotificationPageSubscriptionStatusResponse { @@ -30,6 +44,13 @@ impl UpdateUserNotificationPageSubscriptionStatusResponse { matched_count: None, modified_count: None, note: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/update_user_notification_status_response.rs b/client/src/models/update_user_notification_status_response.rs index 0415d01..ef561ec 100644 --- a/client/src/models/update_user_notification_status_response.rs +++ b/client/src/models/update_user_notification_status_response.rs @@ -21,6 +21,20 @@ pub struct UpdateUserNotificationStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, } impl UpdateUserNotificationStatusResponse { @@ -30,6 +44,13 @@ impl UpdateUserNotificationStatusResponse { matched_count: None, modified_count: None, note: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, } } } diff --git a/client/src/models/vote_comment_response.rs b/client/src/models/vote_comment_response.rs new file mode 100644 index 0000000..972be95 --- /dev/null +++ b/client/src/models/vote_comment_response.rs @@ -0,0 +1,60 @@ +/* + * fastcomments + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 0.0.0 + * + * Generated by: https://openapi-generator.tech + */ + +use crate::client::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct VoteCommentResponse { + #[serde(rename = "status")] + pub status: models::ApiStatus, + #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] + pub vote_id: Option, + #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] + pub is_verified: Option, + #[serde(rename = "user", skip_serializing_if = "Option::is_none")] + pub user: Option>, + #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] + pub edit_key: Option, + #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] + pub reason: Option, + #[serde(rename = "code", skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] + pub secondary_code: Option, + #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] + pub banned_until: Option, + #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] + pub max_character_length: Option, + #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] + pub translated_error: Option, + #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] + pub custom_config: Option>, +} + +impl VoteCommentResponse { + pub fn new(status: models::ApiStatus) -> VoteCommentResponse { + VoteCommentResponse { + status, + vote_id: None, + is_verified: None, + user: None, + edit_key: None, + reason: None, + code: None, + secondary_code: None, + banned_until: None, + max_character_length: None, + translated_error: None, + custom_config: None, + } + } +} + diff --git a/openapi.json b/openapi.json index ca0225c..b02430d 100644 --- a/openapi.json +++ b/openapi.json @@ -11528,17 +11528,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SearchUsersResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SearchUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SearchUsersResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11616,7 +11614,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" + "title": "GetUserPresenceStatusesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11630,16 +11636,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -11683,17 +11679,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetMyNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetMyNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11815,17 +11809,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ResetUserNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11905,17 +11897,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11954,17 +11944,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ResetUserNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12010,21 +11998,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -12087,21 +12068,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Enable or disable notifications for a specific comment.", @@ -12173,21 +12147,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Enable or disable notifications for a page. When users are subscribed to a page, notifications are created\nfor new root comments, and also", @@ -12329,7 +12296,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTranslationsResponse" + "title": "GetTranslationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTranslationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12353,16 +12328,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -12414,17 +12379,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPublicPagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPagesPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPublicPagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12502,7 +12465,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersOnlineResponse" + "title": "GetOnlineUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersOnlineResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12526,16 +12497,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Currently-online viewers of a page: people whose websocket session is subscribed to the page right now.\nReturns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).", @@ -12591,7 +12552,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersOfflineResponse" + "title": "GetOfflineUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersOfflineResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12615,16 +12584,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Past commenters on the page who are NOT currently online. Sorted by displayName.\nUse this after exhausting /users/online to render a \"Members\" section.\nCursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}\nindex from afterName forward via $gt, no $skip cost.", @@ -12680,7 +12639,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersInfoResponse" + "title": "GetUsersInfoResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersInfoResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12694,16 +12661,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.\nUsed by the comment widget to enrich users that just appeared via a presence event.\nNo page context: privacy is enforced uniformly (private profiles are masked).", @@ -12741,17 +12698,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV1PageLikes" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV1PageLikesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV1PageLikes" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12788,17 +12743,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateV1PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateV1PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateV1PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12843,17 +12796,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteV1PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteV1PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteV1PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12892,17 +12843,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV2PageReactUsersResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV2PageReactUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV2PageReactUsersResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12949,17 +12898,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV2PageReacts" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV2PageReactsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV2PageReacts" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12996,17 +12943,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateV2PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateV2PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateV2PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13059,17 +13004,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteV2PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteV2PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteV2PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13116,17 +13059,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13177,6 +13118,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13197,17 +13146,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiIdsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13266,6 +13213,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13286,17 +13241,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiCommentsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13373,6 +13326,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13393,17 +13354,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationExportResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostApiExportResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationExportResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13454,6 +13413,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13474,17 +13441,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationExportStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiExportStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationExportStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13503,6 +13468,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13523,17 +13496,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationUserSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationUserSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13552,6 +13523,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13572,17 +13551,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationPageSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchPagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationPageSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13601,6 +13578,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13621,17 +13606,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationSiteSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchSitesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationSiteSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13650,6 +13633,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13670,17 +13661,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationCommentSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchCommentsSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationCommentSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13715,6 +13704,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13735,17 +13732,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationSuggestResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchSuggestResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationSuggestResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13764,6 +13759,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13784,17 +13787,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PreBanSummary" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPreBanSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PreBanSummary" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13837,6 +13838,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13857,17 +13866,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkPreBanSummary" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBulkPreBanSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkPreBanSummary" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13902,6 +13909,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13932,17 +13947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BanUserFromCommentResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBanUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BanUserFromCommentResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14025,6 +14038,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14045,17 +14066,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetBanUsersFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14074,6 +14093,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14094,17 +14121,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBanUserUndoResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14115,6 +14140,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14152,21 +14185,14 @@ }, { "$ref": "#/components/schemas/RemoveCommentActionResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -14182,6 +14208,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14202,17 +14244,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostRestoreDeletedCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14231,6 +14271,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14251,17 +14307,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14280,6 +14334,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14300,17 +14370,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostUnFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14329,6 +14397,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14349,17 +14433,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentReviewStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14386,6 +14468,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14406,17 +14504,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentSpamStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14451,6 +14547,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14471,17 +14583,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetCommentApprovedResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentApprovalStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetCommentApprovedResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14508,6 +14618,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14528,17 +14654,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetLogsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14557,6 +14681,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14577,17 +14709,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPICommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModerationCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPICommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14622,6 +14752,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14642,17 +14780,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostCommentsByIdsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14663,6 +14799,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14693,17 +14837,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentChildrenResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14722,6 +14864,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14742,17 +14892,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModerationCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14771,6 +14919,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14791,17 +14947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14820,6 +14974,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14850,17 +15020,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AdjustVotesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostAdjustCommentVotesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AdjustVotesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14879,6 +15047,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14909,17 +15093,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14946,6 +15128,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14966,17 +15164,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteModerationVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15003,6 +15199,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15023,17 +15235,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentBanStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentBanStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentBanStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15052,6 +15262,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15072,17 +15290,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBanPreferenceResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15093,6 +15309,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15113,17 +15337,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantManualBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetManualBadgesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantManualBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15134,6 +15356,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15154,17 +15384,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserManualBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetManualBadgesForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserManualBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15191,6 +15419,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15211,17 +15447,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AwardUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutAwardBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AwardUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15264,6 +15498,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15284,17 +15526,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RemoveUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutRemoveBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/RemoveUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15337,6 +15577,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15357,17 +15605,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserTrustFactorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTrustFactorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserTrustFactorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15386,6 +15632,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15406,17 +15660,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetUserTrustFactorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SetTrustFactorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetUserTrustFactorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15443,6 +15695,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15463,17 +15723,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserInternalProfileResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserInternalProfileResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserInternalProfileResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15486,7 +15744,15 @@ "parameters": [ { "in": "query", - "name": "commentId", + "name": "commentId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15512,17 +15778,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutReopenThreadResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15541,6 +15805,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15561,17 +15833,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutCloseThreadResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15590,6 +15860,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15610,17 +15888,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetBannedUsersCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCountsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetBannedUsersCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15631,6 +15907,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15722,6 +16006,9 @@ }, { "$ref": "#/components/schemas/GifSearchInternalError" + }, + { + "$ref": "#/components/schemas/APIError" } ] } @@ -15737,16 +16024,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -15807,7 +16084,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GifGetLargeResponse" + "title": "GetGifLargeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GifGetLargeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15821,16 +16106,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -15866,17 +16141,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "FlagCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15931,17 +16204,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16023,17 +16294,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16090,17 +16359,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReactFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReactFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ReactFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16173,17 +16440,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserReactsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserReactsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UserReactsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16233,17 +16498,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16307,25 +16570,22 @@ "application/json": { "schema": { "title": "DeleteFeedPostPublicResponse", - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + "anyOf": [ + { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/APIError" } - }, - "required": [ - "status" - ], - "type": "object" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + ] } } } @@ -16380,17 +16640,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FeedPostsStatsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsStatsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FeedPostsStatsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16440,17 +16698,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEventLogResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEventLogResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEventLogResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16516,17 +16772,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEventLogResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetGlobalEventLogResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEventLogResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16592,17 +16846,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16657,17 +16909,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16740,17 +16990,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentsForUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentsForUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16830,17 +17078,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17095,17 +17341,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17178,17 +17422,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17251,17 +17493,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CheckBlockedCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CheckedCommentsForBlockedResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CheckBlockedCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17309,17 +17549,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "VoteCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17400,17 +17638,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17489,17 +17725,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentVoteUserNamesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17555,17 +17789,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PinCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17620,17 +17852,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnPinCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17685,17 +17915,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "LockCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIError" + }, + { + "$ref": "#/components/schemas/APIEmptyResponse" + } + ] } } } @@ -17750,17 +17978,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnLockCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIError" + }, + { + "$ref": "#/components/schemas/APIEmptyResponse" + } + ] } } } @@ -17815,17 +18041,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BlockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BlockFromCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BlockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17880,17 +18104,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnblockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnBlockCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UnblockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18698,17 +18920,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetVotesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetVotesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetVotesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18746,17 +18966,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18824,17 +19042,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetVotesForUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetVotesForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetVotesForUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18890,17 +19106,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18948,17 +19162,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18998,17 +19210,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19046,17 +19256,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptySuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19104,17 +19312,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptySuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19154,17 +19360,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19245,17 +19449,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APICreateUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APICreateUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19297,17 +19499,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressByIdResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19347,17 +19547,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressListResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19415,17 +19613,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressByUserIdResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19465,17 +19661,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTicketsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTicketsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTicketsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19540,17 +19734,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTicketResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTicketResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTicketResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19600,17 +19792,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTicketResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTicketResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTicketResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19658,17 +19848,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeTicketStateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ChangeTicketStateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeTicketStateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19726,17 +19914,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19774,17 +19960,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19832,17 +20016,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19883,24 +20065,22 @@ }, "/api/v1/tenants": { "get": { - "operationId": "GetTenants", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetTenantsResponse" - } - } - } - }, - "default": { - "description": "Error", + "operationId": "GetTenants", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19947,17 +20127,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19999,17 +20177,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20047,17 +20223,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReplaceTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20113,17 +20287,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20179,17 +20351,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20245,17 +20415,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantUsersResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantUsersResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20294,17 +20462,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20346,17 +20512,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SendLoginLinkResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20404,17 +20568,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantPackageResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantPackageResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20452,17 +20614,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReplaceTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20510,17 +20670,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20568,17 +20726,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20618,17 +20774,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantPackagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantPackagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantPackagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20667,17 +20821,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantPackageResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantPackageResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20719,17 +20871,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantDailyUsagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20797,17 +20947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionResultResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionResultResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20845,17 +20993,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20903,17 +21049,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20953,17 +21097,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21042,17 +21184,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateQuestionResultResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateQuestionResultResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21094,17 +21234,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AggregateQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AggregateQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AggregateQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21188,17 +21326,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BulkAggregateQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21248,17 +21384,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CombineCommentsWithQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21361,17 +21495,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionConfigResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionConfigResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21409,17 +21541,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21467,17 +21597,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21517,17 +21645,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionConfigsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionConfigsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionConfigsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21566,17 +21692,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateQuestionConfigResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateQuestionConfigResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21618,17 +21742,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPendingWebhookEventsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21718,17 +21840,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPendingWebhookEventCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21809,17 +21929,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeletePendingWebhookEventResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21859,17 +21977,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21950,17 +22066,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22032,17 +22146,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateNotificationResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22092,25 +22204,23 @@ } }, "/api/v1/notification-count/{id}": { - "get": { - "operationId": "GetCachedNotificationCount", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetCachedNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", + "get": { + "operationId": "GetCachedNotificationCount", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCachedNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCachedNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22148,17 +22258,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22198,17 +22306,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetModeratorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetModeratorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22246,17 +22352,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22304,17 +22408,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22362,17 +22464,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetModeratorsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModeratorsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetModeratorsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22411,17 +22511,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateModeratorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateModeratorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22463,17 +22561,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SendInviteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22521,17 +22617,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetHashTagsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetHashTagsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetHashTagsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22570,17 +22664,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateHashTagResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AddHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateHashTagResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22622,17 +22714,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkCreateHashTagsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AddHashTagsBulkResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkCreateHashTagsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22674,17 +22764,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateHashTagResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PatchHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UpdateHashTagResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22732,17 +22820,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22798,17 +22884,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22867,17 +22951,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateFeedPostResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22951,17 +23033,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateFeedPostResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23011,17 +23091,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateDefinitionsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23044,26 +23122,24 @@ ] } }, - "/api/v1/email-templates/{id}/render-errors": { - "get": { - "operationId": "GetEmailTemplateRenderErrors", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" - } - } - } - }, - "default": { - "description": "Error", + "/api/v1/email-templates/{id}/render-errors": { + "get": { + "operationId": "GetEmailTemplateRenderErrors", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateRenderErrorsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23112,17 +23188,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteEmailTemplateRenderErrorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23170,17 +23244,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23218,17 +23290,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23276,17 +23346,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23326,17 +23394,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplatesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplatesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplatesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23375,17 +23441,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23427,17 +23491,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RenderEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "RenderEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/RenderEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23892,17 +23954,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23940,17 +24000,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24022,17 +24080,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteCommentResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteCommentResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24088,17 +24144,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24264,17 +24318,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APISaveCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SaveCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APISaveCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24436,17 +24488,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FlagCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "FlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FlagCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24502,17 +24552,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FlagCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FlagCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24568,17 +24616,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BlockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BlockUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BlockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24644,17 +24690,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnblockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnBlockUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UnblockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24720,17 +24764,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetAuditLogsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetAuditLogsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetAuditLogsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } From 7ce800f47abd4eb8d4caf9dd709af0ee14910ca6 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:41:17 -0700 Subject: [PATCH 2/6] Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions) --- client/.openapi-generator/FILES | 354 -- client/README.md | 177 - client/docs/AddHashTagResponse.md | 19 - client/docs/AddHashTagsBulkResponse.md | 19 - .../docs/AggregateQuestionResultsResponse1.md | 19 - client/docs/BlockFromCommentPublicResponse.md | 19 - client/docs/BlockUserFromCommentResponse.md | 19 - .../BulkAggregateQuestionResultsResponse1.md | 19 - client/docs/ChangeTicketStateResponse1.md | 19 - .../docs/CheckedCommentsForBlockedResponse.md | 19 - ...bineCommentsWithQuestionResultsResponse.md | 19 - client/docs/CreateCommentPublicResponse.md | 22 - client/docs/CreateEmailTemplateResponse1.md | 19 - client/docs/CreateFeedPostPublicResponse.md | 19 - client/docs/CreateFeedPostResponse1.md | 19 - client/docs/CreateModeratorResponse1.md | 19 - client/docs/CreateQuestionConfigResponse1.md | 19 - client/docs/CreateQuestionResultResponse1.md | 19 - client/docs/CreateTenantPackageResponse1.md | 19 - client/docs/CreateTenantResponse1.md | 19 - client/docs/CreateTenantUserResponse1.md | 19 - client/docs/CreateTicketResponse1.md | 19 - client/docs/CreateUserBadgeResponse.md | 20 - client/docs/CreateV1PageReactResponse.md | 18 - client/docs/CreateV2PageReactResponse.md | 18 - client/docs/CreateVoteResponse.md | 22 - client/docs/DefaultApi.md | 360 +- client/docs/DeleteCommentPublicResponse.md | 20 - client/docs/DeleteCommentResponse.md | 19 - client/docs/DeleteCommentVoteResponse.md | 19 - .../DeleteEmailTemplateRenderErrorResponse.md | 18 - client/docs/DeleteEmailTemplateResponse.md | 18 - client/docs/DeleteFeedPostPublicResponse.md | 7 - .../docs/DeleteFeedPostPublicResponseAnyOf.md | 11 - client/docs/DeleteHashTagResponse.md | 18 - client/docs/DeleteModerationVoteResponse.md | 19 - client/docs/DeleteModeratorResponse.md | 18 - .../docs/DeleteNotificationCountResponse.md | 18 - .../docs/DeletePendingWebhookEventResponse.md | 18 - client/docs/DeleteQuestionConfigResponse.md | 18 - client/docs/DeleteQuestionResultResponse.md | 18 - client/docs/DeleteTenantPackageResponse.md | 18 - client/docs/DeleteTenantResponse.md | 18 - client/docs/DeleteTenantUserResponse.md | 18 - client/docs/DeleteUserBadgeResponse.md | 18 - client/docs/DeleteV1PageReactResponse.md | 18 - client/docs/DeleteV2PageReactResponse.md | 18 - client/docs/DeleteVoteResponse.md | 19 - client/docs/FlagCommentPublicResponse.md | 18 - client/docs/FlagCommentResponse1.md | 20 - client/docs/GetApiCommentsResponse.md | 21 - client/docs/GetApiExportStatusResponse.md | 21 - client/docs/GetApiIdsResponse.md | 20 - client/docs/GetAuditLogsResponse1.md | 19 - client/docs/GetBanUsersFromCommentResponse.md | 19 - .../GetCachedNotificationCountResponse1.md | 19 - client/docs/GetCommentBanStatusResponse1.md | 20 - client/docs/GetCommentChildrenResponse.md | 19 - client/docs/GetCommentResponse.md | 19 - client/docs/GetCommentTextResponse1.md | 20 - .../docs/GetCommentVoteUserNamesResponse.md | 20 - client/docs/GetCommentsForUserResponse1.md | 19 - client/docs/GetCommentsPublicResponse.md | 41 - client/docs/GetCommentsResponse.md | 19 - client/docs/GetCountResponse.md | 19 - client/docs/GetCountsResponse.md | 19 - .../GetEmailTemplateDefinitionsResponse1.md | 19 - .../GetEmailTemplateRenderErrorsResponse1.md | 19 - client/docs/GetEmailTemplateResponse1.md | 19 - client/docs/GetEmailTemplatesResponse1.md | 19 - client/docs/GetEventLogResponse1.md | 19 - client/docs/GetFeedPostsPublicResponse.md | 24 - client/docs/GetFeedPostsResponse1.md | 19 - client/docs/GetFeedPostsStatsResponse.md | 19 - client/docs/GetGifLargeResponse.md | 19 - client/docs/GetGifsSearchResponse.md | 6 - client/docs/GetGlobalEventLogResponse.md | 19 - client/docs/GetHashTagsResponse1.md | 19 - client/docs/GetLogsResponse.md | 19 - client/docs/GetManualBadgesForUserResponse.md | 19 - client/docs/GetManualBadgesResponse.md | 19 - client/docs/GetModerationCommentResponse.md | 19 - .../docs/GetModerationCommentTextResponse.md | 19 - client/docs/GetModeratorResponse1.md | 19 - client/docs/GetModeratorsResponse1.md | 19 - client/docs/GetNotificationCountResponse1.md | 19 - client/docs/GetNotificationsResponse1.md | 19 - client/docs/GetOfflineUsersResponse.md | 21 - client/docs/GetOnlineUsersResponse.md | 23 - client/docs/GetPagesPublicResponse.md | 20 - .../GetPendingWebhookEventCountResponse1.md | 19 - .../docs/GetPendingWebhookEventsResponse1.md | 19 - client/docs/GetPreBanSummaryResponse.md | 20 - client/docs/GetQuestionConfigResponse1.md | 19 - client/docs/GetQuestionConfigsResponse1.md | 19 - client/docs/GetQuestionResultResponse1.md | 19 - client/docs/GetQuestionResultsResponse1.md | 19 - .../docs/GetSearchCommentsSummaryResponse.md | 19 - client/docs/GetSearchPagesResponse.md | 19 - client/docs/GetSearchSitesResponse.md | 19 - client/docs/GetSearchSuggestResponse.md | 20 - client/docs/GetSearchUsersResponse.md | 19 - client/docs/GetTenantDailyUsagesResponse1.md | 19 - client/docs/GetTenantPackageResponse1.md | 19 - client/docs/GetTenantPackagesResponse1.md | 19 - client/docs/GetTenantResponse1.md | 19 - client/docs/GetTenantUserResponse1.md | 19 - client/docs/GetTenantUsersResponse1.md | 19 - client/docs/GetTenantsResponse1.md | 19 - client/docs/GetTicketResponse1.md | 20 - client/docs/GetTicketsResponse1.md | 19 - client/docs/GetTranslationsResponse1.md | 19 - client/docs/GetTrustFactorResponse.md | 20 - .../docs/GetUserBadgeProgressByIdResponse.md | 19 - .../GetUserBadgeProgressByUserIdResponse.md | 19 - .../docs/GetUserBadgeProgressListResponse.md | 19 - client/docs/GetUserBadgeResponse.md | 19 - client/docs/GetUserBadgesResponse.md | 19 - client/docs/GetUserBanPreferenceResponse.md | 19 - .../docs/GetUserInternalProfileResponse1.md | 19 - .../docs/GetUserNotificationCountResponse1.md | 19 - client/docs/GetUserNotificationsResponse.md | 22 - .../docs/GetUserPresenceStatusesResponse1.md | 19 - client/docs/GetUserReactsPublicResponse.md | 19 - client/docs/GetUserResponse1.md | 19 - client/docs/GetUsersInfoResponse.md | 19 - client/docs/GetV1PageLikesResponse.md | 22 - client/docs/GetV2PageReactUsersResponse1.md | 19 - client/docs/GetV2PageReactsResponse.md | 20 - client/docs/GetVotesForUserResponse1.md | 21 - client/docs/GetVotesResponse1.md | 21 - client/docs/LockCommentResponse.md | 18 - client/docs/ModerationApi.md | 168 +- client/docs/PatchHashTagResponse.md | 19 - client/docs/PinCommentResponse.md | 19 - client/docs/PostAdjustCommentVotesResponse.md | 19 - client/docs/PostApiExportResponse.md | 19 - client/docs/PostBanUserFromCommentResponse.md | 19 - client/docs/PostBanUserUndoResponse.md | 18 - client/docs/PostBulkPreBanSummaryResponse.md | 23 - client/docs/PostCommentsByIdsResponse.md | 19 - client/docs/PostFlagCommentResponse.md | 18 - client/docs/PostRemoveCommentResponse.md | 11 +- .../docs/PostRestoreDeletedCommentResponse.md | 18 - .../PostSetCommentApprovalStatusResponse.md | 19 - .../PostSetCommentReviewStatusResponse.md | 18 - .../docs/PostSetCommentSpamStatusResponse.md | 18 - client/docs/PostSetCommentTextResponse.md | 19 - client/docs/PostUnFlagCommentResponse.md | 18 - client/docs/PostVoteResponse.md | 22 - client/docs/PublicApi.md | 176 +- client/docs/PutAwardBadgeResponse.md | 20 - client/docs/PutCloseThreadResponse.md | 18 - client/docs/PutRemoveBadgeResponse.md | 19 - client/docs/PutReopenThreadResponse.md | 18 - client/docs/ReactFeedPostPublicResponse.md | 20 - client/docs/RenderEmailTemplateResponse1.md | 19 - client/docs/ReplaceTenantPackageResponse.md | 18 - client/docs/ReplaceTenantUserResponse.md | 18 - .../ResetUserNotificationCountResponse.md | 18 - .../docs/ResetUserNotificationsResponse1.md | 18 - client/docs/SaveCommentResponse.md | 21 - client/docs/SearchUsersResponse1.md | 20 - client/docs/SendInviteResponse.md | 18 - client/docs/SendLoginLinkResponse.md | 18 - client/docs/SetCommentTextResponse1.md | 19 - client/docs/SetTrustFactorResponse.md | 19 - client/docs/UnBlockCommentPublicResponse.md | 19 - client/docs/UnBlockUserFromCommentResponse.md | 19 - client/docs/UnFlagCommentResponse.md | 20 - client/docs/UnLockCommentResponse.md | 18 - client/docs/UnPinCommentResponse.md | 19 - client/docs/UpdateCommentResponse.md | 18 - client/docs/UpdateEmailTemplateResponse.md | 18 - client/docs/UpdateFeedPostPublicResponse.md | 19 - client/docs/UpdateFeedPostResponse.md | 18 - client/docs/UpdateModeratorResponse.md | 18 - client/docs/UpdateNotificationResponse.md | 18 - client/docs/UpdateQuestionConfigResponse.md | 18 - client/docs/UpdateQuestionResultResponse.md | 18 - client/docs/UpdateTenantPackageResponse.md | 18 - client/docs/UpdateTenantResponse.md | 18 - client/docs/UpdateTenantUserResponse.md | 18 - client/docs/UpdateUserBadgeResponse.md | 18 - ...cationCommentSubscriptionStatusResponse.md | 7 - ...ificationPageSubscriptionStatusResponse.md | 7 - .../UpdateUserNotificationStatusResponse.md | 7 - client/docs/VoteCommentResponse.md | 22 - client/src/apis/default_api.rs | 630 +-- client/src/apis/moderation_api.rs | 295 +- client/src/apis/public_api.rs | 313 +- client/src/models/add_hash_tag_response.rs | 51 - .../src/models/add_hash_tags_bulk_response.rs | 51 - .../aggregate_question_results_response_1.rs | 51 - .../block_from_comment_public_response.rs | 52 - .../block_user_from_comment_response.rs | 52 - ...k_aggregate_question_results_response_1.rs | 52 - .../models/change_ticket_state_response_1.rs | 51 - .../checked_comments_for_blocked_response.rs | 52 - ...comments_with_question_results_response.rs | 51 - .../models/create_comment_public_response.rs | 61 - .../create_email_template_response_1.rs | 51 - .../create_feed_post_public_response.rs | 51 - .../src/models/create_feed_post_response_1.rs | 51 - .../src/models/create_moderator_response_1.rs | 51 - .../create_question_config_response_1.rs | 51 - .../create_question_result_response_1.rs | 51 - .../create_tenant_package_response_1.rs | 51 - client/src/models/create_tenant_response_1.rs | 51 - .../models/create_tenant_user_response_1.rs | 51 - client/src/models/create_ticket_response_1.rs | 51 - .../src/models/create_user_badge_response.rs | 54 - .../models/create_v1_page_react_response.rs | 48 - .../models/create_v2_page_react_response.rs | 48 - client/src/models/create_vote_response.rs | 60 - .../models/delete_comment_public_response.rs | 54 - client/src/models/delete_comment_response.rs | 51 - .../models/delete_comment_vote_response.rs | 51 - ...te_email_template_render_error_response.rs | 48 - .../models/delete_email_template_response.rs | 48 - .../delete_feed_post_public_response.rs | 21 - ...delete_feed_post_public_response_any_of.rs | 27 - client/src/models/delete_hash_tag_response.rs | 48 - .../models/delete_moderation_vote_response.rs | 51 - .../src/models/delete_moderator_response.rs | 48 - .../delete_notification_count_response.rs | 48 - .../delete_pending_webhook_event_response.rs | 48 - .../models/delete_question_config_response.rs | 48 - .../models/delete_question_result_response.rs | 48 - .../models/delete_tenant_package_response.rs | 48 - client/src/models/delete_tenant_response.rs | 48 - .../src/models/delete_tenant_user_response.rs | 48 - .../src/models/delete_user_badge_response.rs | 48 - .../models/delete_v1_page_react_response.rs | 48 - .../models/delete_v2_page_react_response.rs | 48 - client/src/models/delete_vote_response.rs | 51 - .../models/flag_comment_public_response.rs | 48 - client/src/models/flag_comment_response_1.rs | 54 - .../src/models/get_api_comments_response.rs | 57 - .../models/get_api_export_status_response.rs | 57 - client/src/models/get_api_ids_response.rs | 54 - .../src/models/get_audit_logs_response_1.rs | 51 - .../get_ban_users_from_comment_response.rs | 51 - ...et_cached_notification_count_response_1.rs | 51 - .../get_comment_ban_status_response_1.rs | 54 - .../models/get_comment_children_response.rs | 51 - client/src/models/get_comment_response.rs | 51 - .../src/models/get_comment_text_response_1.rs | 54 - .../get_comment_vote_user_names_response.rs | 54 - .../get_comments_for_user_response_1.rs | 51 - .../models/get_comments_public_response.rs | 118 - client/src/models/get_comments_response.rs | 51 - client/src/models/get_count_response.rs | 51 - client/src/models/get_counts_response.rs | 51 - ...t_email_template_definitions_response_1.rs | 51 - ...email_template_render_errors_response_1.rs | 51 - .../models/get_email_template_response_1.rs | 51 - .../models/get_email_templates_response_1.rs | 51 - client/src/models/get_event_log_response_1.rs | 51 - .../models/get_feed_posts_public_response.rs | 66 - .../src/models/get_feed_posts_response_1.rs | 51 - .../models/get_feed_posts_stats_response.rs | 51 - client/src/models/get_gif_large_response.rs | 51 - client/src/models/get_gifs_search_response.rs | 18 - .../models/get_global_event_log_response.rs | 51 - client/src/models/get_hash_tags_response_1.rs | 51 - client/src/models/get_logs_response.rs | 51 - .../get_manual_badges_for_user_response.rs | 51 - .../src/models/get_manual_badges_response.rs | 51 - .../models/get_moderation_comment_response.rs | 51 - .../get_moderation_comment_text_response.rs | 51 - client/src/models/get_moderator_response_1.rs | 51 - .../src/models/get_moderators_response_1.rs | 51 - .../get_notification_count_response_1.rs | 51 - .../models/get_notifications_response_1.rs | 51 - .../src/models/get_offline_users_response.rs | 57 - .../src/models/get_online_users_response.rs | 63 - .../src/models/get_pages_public_response.rs | 54 - ..._pending_webhook_event_count_response_1.rs | 51 - .../get_pending_webhook_events_response_1.rs | 51 - .../models/get_pre_ban_summary_response.rs | 54 - .../models/get_question_config_response_1.rs | 51 - .../models/get_question_configs_response_1.rs | 51 - .../models/get_question_result_response_1.rs | 51 - .../models/get_question_results_response_1.rs | 51 - .../get_search_comments_summary_response.rs | 51 - .../src/models/get_search_pages_response.rs | 51 - .../src/models/get_search_sites_response.rs | 51 - .../src/models/get_search_suggest_response.rs | 54 - .../src/models/get_search_users_response.rs | 51 - .../get_tenant_daily_usages_response_1.rs | 51 - .../models/get_tenant_package_response_1.rs | 51 - .../models/get_tenant_packages_response_1.rs | 51 - client/src/models/get_tenant_response_1.rs | 51 - .../src/models/get_tenant_user_response_1.rs | 51 - .../src/models/get_tenant_users_response_1.rs | 51 - client/src/models/get_tenants_response_1.rs | 51 - client/src/models/get_ticket_response_1.rs | 54 - client/src/models/get_tickets_response_1.rs | 51 - .../src/models/get_translations_response_1.rs | 52 - .../src/models/get_trust_factor_response.rs | 54 - .../get_user_badge_progress_by_id_response.rs | 51 - ...user_badge_progress_by_user_id_response.rs | 51 - .../get_user_badge_progress_list_response.rs | 51 - client/src/models/get_user_badge_response.rs | 51 - client/src/models/get_user_badges_response.rs | 51 - .../get_user_ban_preference_response.rs | 51 - .../get_user_internal_profile_response_1.rs | 51 - .../get_user_notification_count_response_1.rs | 51 - .../models/get_user_notifications_response.rs | 61 - .../get_user_presence_statuses_response_1.rs | 52 - .../models/get_user_reacts_public_response.rs | 51 - client/src/models/get_user_response_1.rs | 51 - client/src/models/get_users_info_response.rs | 51 - .../src/models/get_v1_page_likes_response.rs | 60 - .../get_v2_page_react_users_response_1.rs | 51 - .../src/models/get_v2_page_reacts_response.rs | 55 - .../models/get_votes_for_user_response_1.rs | 57 - client/src/models/get_votes_response_1.rs | 57 - client/src/models/lock_comment_response.rs | 48 - client/src/models/mod.rs | 354 -- client/src/models/patch_hash_tag_response.rs | 51 - client/src/models/pin_comment_response.rs | 52 - .../post_adjust_comment_votes_response.rs | 51 - client/src/models/post_api_export_response.rs | 51 - .../post_ban_user_from_comment_response.rs | 51 - .../src/models/post_ban_user_undo_response.rs | 48 - .../post_bulk_pre_ban_summary_response.rs | 63 - .../models/post_comments_by_ids_response.rs | 51 - .../src/models/post_flag_comment_response.rs | 48 - .../models/post_remove_comment_response.rs | 31 +- .../post_restore_deleted_comment_response.rs | 48 - ...st_set_comment_approval_status_response.rs | 51 - ...post_set_comment_review_status_response.rs | 48 - .../post_set_comment_spam_status_response.rs | 48 - .../models/post_set_comment_text_response.rs | 51 - .../models/post_un_flag_comment_response.rs | 48 - client/src/models/post_vote_response.rs | 60 - client/src/models/put_award_badge_response.rs | 54 - .../src/models/put_close_thread_response.rs | 48 - .../src/models/put_remove_badge_response.rs | 51 - .../src/models/put_reopen_thread_response.rs | 48 - .../models/react_feed_post_public_response.rs | 54 - .../render_email_template_response_1.rs | 51 - .../models/replace_tenant_package_response.rs | 48 - .../models/replace_tenant_user_response.rs | 48 - .../reset_user_notification_count_response.rs | 48 - .../reset_user_notifications_response_1.rs | 48 - client/src/models/save_comment_response.rs | 58 - client/src/models/search_users_response_1.rs | 54 - client/src/models/send_invite_response.rs | 48 - client/src/models/send_login_link_response.rs | 48 - .../src/models/set_comment_text_response_1.rs | 51 - .../src/models/set_trust_factor_response.rs | 51 - .../un_block_comment_public_response.rs | 52 - .../un_block_user_from_comment_response.rs | 52 - client/src/models/un_flag_comment_response.rs | 54 - client/src/models/un_lock_comment_response.rs | 48 - client/src/models/un_pin_comment_response.rs | 52 - client/src/models/update_comment_response.rs | 48 - .../models/update_email_template_response.rs | 48 - .../update_feed_post_public_response.rs | 51 - .../src/models/update_feed_post_response.rs | 48 - .../src/models/update_moderator_response.rs | 48 - .../models/update_notification_response.rs | 48 - .../models/update_question_config_response.rs | 48 - .../models/update_question_result_response.rs | 48 - .../models/update_tenant_package_response.rs | 48 - client/src/models/update_tenant_response.rs | 48 - .../src/models/update_tenant_user_response.rs | 48 - .../src/models/update_user_badge_response.rs | 48 - ...on_comment_subscription_status_response.rs | 21 - ...ation_page_subscription_status_response.rs | 21 - ...pdate_user_notification_status_response.rs | 21 - client/src/models/vote_comment_response.rs | 60 - openapi.json | 3634 +++++++++-------- 376 files changed, 3081 insertions(+), 16083 deletions(-) delete mode 100644 client/docs/AddHashTagResponse.md delete mode 100644 client/docs/AddHashTagsBulkResponse.md delete mode 100644 client/docs/AggregateQuestionResultsResponse1.md delete mode 100644 client/docs/BlockFromCommentPublicResponse.md delete mode 100644 client/docs/BlockUserFromCommentResponse.md delete mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md delete mode 100644 client/docs/ChangeTicketStateResponse1.md delete mode 100644 client/docs/CheckedCommentsForBlockedResponse.md delete mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md delete mode 100644 client/docs/CreateCommentPublicResponse.md delete mode 100644 client/docs/CreateEmailTemplateResponse1.md delete mode 100644 client/docs/CreateFeedPostPublicResponse.md delete mode 100644 client/docs/CreateFeedPostResponse1.md delete mode 100644 client/docs/CreateModeratorResponse1.md delete mode 100644 client/docs/CreateQuestionConfigResponse1.md delete mode 100644 client/docs/CreateQuestionResultResponse1.md delete mode 100644 client/docs/CreateTenantPackageResponse1.md delete mode 100644 client/docs/CreateTenantResponse1.md delete mode 100644 client/docs/CreateTenantUserResponse1.md delete mode 100644 client/docs/CreateTicketResponse1.md delete mode 100644 client/docs/CreateUserBadgeResponse.md delete mode 100644 client/docs/CreateV1PageReactResponse.md delete mode 100644 client/docs/CreateV2PageReactResponse.md delete mode 100644 client/docs/CreateVoteResponse.md delete mode 100644 client/docs/DeleteCommentPublicResponse.md delete mode 100644 client/docs/DeleteCommentResponse.md delete mode 100644 client/docs/DeleteCommentVoteResponse.md delete mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md delete mode 100644 client/docs/DeleteEmailTemplateResponse.md delete mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md delete mode 100644 client/docs/DeleteHashTagResponse.md delete mode 100644 client/docs/DeleteModerationVoteResponse.md delete mode 100644 client/docs/DeleteModeratorResponse.md delete mode 100644 client/docs/DeleteNotificationCountResponse.md delete mode 100644 client/docs/DeletePendingWebhookEventResponse.md delete mode 100644 client/docs/DeleteQuestionConfigResponse.md delete mode 100644 client/docs/DeleteQuestionResultResponse.md delete mode 100644 client/docs/DeleteTenantPackageResponse.md delete mode 100644 client/docs/DeleteTenantResponse.md delete mode 100644 client/docs/DeleteTenantUserResponse.md delete mode 100644 client/docs/DeleteUserBadgeResponse.md delete mode 100644 client/docs/DeleteV1PageReactResponse.md delete mode 100644 client/docs/DeleteV2PageReactResponse.md delete mode 100644 client/docs/DeleteVoteResponse.md delete mode 100644 client/docs/FlagCommentPublicResponse.md delete mode 100644 client/docs/FlagCommentResponse1.md delete mode 100644 client/docs/GetApiCommentsResponse.md delete mode 100644 client/docs/GetApiExportStatusResponse.md delete mode 100644 client/docs/GetApiIdsResponse.md delete mode 100644 client/docs/GetAuditLogsResponse1.md delete mode 100644 client/docs/GetBanUsersFromCommentResponse.md delete mode 100644 client/docs/GetCachedNotificationCountResponse1.md delete mode 100644 client/docs/GetCommentBanStatusResponse1.md delete mode 100644 client/docs/GetCommentChildrenResponse.md delete mode 100644 client/docs/GetCommentResponse.md delete mode 100644 client/docs/GetCommentTextResponse1.md delete mode 100644 client/docs/GetCommentVoteUserNamesResponse.md delete mode 100644 client/docs/GetCommentsForUserResponse1.md delete mode 100644 client/docs/GetCommentsPublicResponse.md delete mode 100644 client/docs/GetCommentsResponse.md delete mode 100644 client/docs/GetCountResponse.md delete mode 100644 client/docs/GetCountsResponse.md delete mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md delete mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md delete mode 100644 client/docs/GetEmailTemplateResponse1.md delete mode 100644 client/docs/GetEmailTemplatesResponse1.md delete mode 100644 client/docs/GetEventLogResponse1.md delete mode 100644 client/docs/GetFeedPostsPublicResponse.md delete mode 100644 client/docs/GetFeedPostsResponse1.md delete mode 100644 client/docs/GetFeedPostsStatsResponse.md delete mode 100644 client/docs/GetGifLargeResponse.md delete mode 100644 client/docs/GetGlobalEventLogResponse.md delete mode 100644 client/docs/GetHashTagsResponse1.md delete mode 100644 client/docs/GetLogsResponse.md delete mode 100644 client/docs/GetManualBadgesForUserResponse.md delete mode 100644 client/docs/GetManualBadgesResponse.md delete mode 100644 client/docs/GetModerationCommentResponse.md delete mode 100644 client/docs/GetModerationCommentTextResponse.md delete mode 100644 client/docs/GetModeratorResponse1.md delete mode 100644 client/docs/GetModeratorsResponse1.md delete mode 100644 client/docs/GetNotificationCountResponse1.md delete mode 100644 client/docs/GetNotificationsResponse1.md delete mode 100644 client/docs/GetOfflineUsersResponse.md delete mode 100644 client/docs/GetOnlineUsersResponse.md delete mode 100644 client/docs/GetPagesPublicResponse.md delete mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md delete mode 100644 client/docs/GetPendingWebhookEventsResponse1.md delete mode 100644 client/docs/GetPreBanSummaryResponse.md delete mode 100644 client/docs/GetQuestionConfigResponse1.md delete mode 100644 client/docs/GetQuestionConfigsResponse1.md delete mode 100644 client/docs/GetQuestionResultResponse1.md delete mode 100644 client/docs/GetQuestionResultsResponse1.md delete mode 100644 client/docs/GetSearchCommentsSummaryResponse.md delete mode 100644 client/docs/GetSearchPagesResponse.md delete mode 100644 client/docs/GetSearchSitesResponse.md delete mode 100644 client/docs/GetSearchSuggestResponse.md delete mode 100644 client/docs/GetSearchUsersResponse.md delete mode 100644 client/docs/GetTenantDailyUsagesResponse1.md delete mode 100644 client/docs/GetTenantPackageResponse1.md delete mode 100644 client/docs/GetTenantPackagesResponse1.md delete mode 100644 client/docs/GetTenantResponse1.md delete mode 100644 client/docs/GetTenantUserResponse1.md delete mode 100644 client/docs/GetTenantUsersResponse1.md delete mode 100644 client/docs/GetTenantsResponse1.md delete mode 100644 client/docs/GetTicketResponse1.md delete mode 100644 client/docs/GetTicketsResponse1.md delete mode 100644 client/docs/GetTranslationsResponse1.md delete mode 100644 client/docs/GetTrustFactorResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressListResponse.md delete mode 100644 client/docs/GetUserBadgeResponse.md delete mode 100644 client/docs/GetUserBadgesResponse.md delete mode 100644 client/docs/GetUserBanPreferenceResponse.md delete mode 100644 client/docs/GetUserInternalProfileResponse1.md delete mode 100644 client/docs/GetUserNotificationCountResponse1.md delete mode 100644 client/docs/GetUserNotificationsResponse.md delete mode 100644 client/docs/GetUserPresenceStatusesResponse1.md delete mode 100644 client/docs/GetUserReactsPublicResponse.md delete mode 100644 client/docs/GetUserResponse1.md delete mode 100644 client/docs/GetUsersInfoResponse.md delete mode 100644 client/docs/GetV1PageLikesResponse.md delete mode 100644 client/docs/GetV2PageReactUsersResponse1.md delete mode 100644 client/docs/GetV2PageReactsResponse.md delete mode 100644 client/docs/GetVotesForUserResponse1.md delete mode 100644 client/docs/GetVotesResponse1.md delete mode 100644 client/docs/LockCommentResponse.md delete mode 100644 client/docs/PatchHashTagResponse.md delete mode 100644 client/docs/PinCommentResponse.md delete mode 100644 client/docs/PostAdjustCommentVotesResponse.md delete mode 100644 client/docs/PostApiExportResponse.md delete mode 100644 client/docs/PostBanUserFromCommentResponse.md delete mode 100644 client/docs/PostBanUserUndoResponse.md delete mode 100644 client/docs/PostBulkPreBanSummaryResponse.md delete mode 100644 client/docs/PostCommentsByIdsResponse.md delete mode 100644 client/docs/PostFlagCommentResponse.md delete mode 100644 client/docs/PostRestoreDeletedCommentResponse.md delete mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md delete mode 100644 client/docs/PostSetCommentReviewStatusResponse.md delete mode 100644 client/docs/PostSetCommentSpamStatusResponse.md delete mode 100644 client/docs/PostSetCommentTextResponse.md delete mode 100644 client/docs/PostUnFlagCommentResponse.md delete mode 100644 client/docs/PostVoteResponse.md delete mode 100644 client/docs/PutAwardBadgeResponse.md delete mode 100644 client/docs/PutCloseThreadResponse.md delete mode 100644 client/docs/PutRemoveBadgeResponse.md delete mode 100644 client/docs/PutReopenThreadResponse.md delete mode 100644 client/docs/ReactFeedPostPublicResponse.md delete mode 100644 client/docs/RenderEmailTemplateResponse1.md delete mode 100644 client/docs/ReplaceTenantPackageResponse.md delete mode 100644 client/docs/ReplaceTenantUserResponse.md delete mode 100644 client/docs/ResetUserNotificationCountResponse.md delete mode 100644 client/docs/ResetUserNotificationsResponse1.md delete mode 100644 client/docs/SaveCommentResponse.md delete mode 100644 client/docs/SearchUsersResponse1.md delete mode 100644 client/docs/SendInviteResponse.md delete mode 100644 client/docs/SendLoginLinkResponse.md delete mode 100644 client/docs/SetCommentTextResponse1.md delete mode 100644 client/docs/SetTrustFactorResponse.md delete mode 100644 client/docs/UnBlockCommentPublicResponse.md delete mode 100644 client/docs/UnBlockUserFromCommentResponse.md delete mode 100644 client/docs/UnFlagCommentResponse.md delete mode 100644 client/docs/UnLockCommentResponse.md delete mode 100644 client/docs/UnPinCommentResponse.md delete mode 100644 client/docs/UpdateCommentResponse.md delete mode 100644 client/docs/UpdateEmailTemplateResponse.md delete mode 100644 client/docs/UpdateFeedPostPublicResponse.md delete mode 100644 client/docs/UpdateFeedPostResponse.md delete mode 100644 client/docs/UpdateModeratorResponse.md delete mode 100644 client/docs/UpdateNotificationResponse.md delete mode 100644 client/docs/UpdateQuestionConfigResponse.md delete mode 100644 client/docs/UpdateQuestionResultResponse.md delete mode 100644 client/docs/UpdateTenantPackageResponse.md delete mode 100644 client/docs/UpdateTenantResponse.md delete mode 100644 client/docs/UpdateTenantUserResponse.md delete mode 100644 client/docs/UpdateUserBadgeResponse.md delete mode 100644 client/docs/VoteCommentResponse.md delete mode 100644 client/src/models/add_hash_tag_response.rs delete mode 100644 client/src/models/add_hash_tags_bulk_response.rs delete mode 100644 client/src/models/aggregate_question_results_response_1.rs delete mode 100644 client/src/models/block_from_comment_public_response.rs delete mode 100644 client/src/models/block_user_from_comment_response.rs delete mode 100644 client/src/models/bulk_aggregate_question_results_response_1.rs delete mode 100644 client/src/models/change_ticket_state_response_1.rs delete mode 100644 client/src/models/checked_comments_for_blocked_response.rs delete mode 100644 client/src/models/combine_comments_with_question_results_response.rs delete mode 100644 client/src/models/create_comment_public_response.rs delete mode 100644 client/src/models/create_email_template_response_1.rs delete mode 100644 client/src/models/create_feed_post_public_response.rs delete mode 100644 client/src/models/create_feed_post_response_1.rs delete mode 100644 client/src/models/create_moderator_response_1.rs delete mode 100644 client/src/models/create_question_config_response_1.rs delete mode 100644 client/src/models/create_question_result_response_1.rs delete mode 100644 client/src/models/create_tenant_package_response_1.rs delete mode 100644 client/src/models/create_tenant_response_1.rs delete mode 100644 client/src/models/create_tenant_user_response_1.rs delete mode 100644 client/src/models/create_ticket_response_1.rs delete mode 100644 client/src/models/create_user_badge_response.rs delete mode 100644 client/src/models/create_v1_page_react_response.rs delete mode 100644 client/src/models/create_v2_page_react_response.rs delete mode 100644 client/src/models/create_vote_response.rs delete mode 100644 client/src/models/delete_comment_public_response.rs delete mode 100644 client/src/models/delete_comment_response.rs delete mode 100644 client/src/models/delete_comment_vote_response.rs delete mode 100644 client/src/models/delete_email_template_render_error_response.rs delete mode 100644 client/src/models/delete_email_template_response.rs delete mode 100644 client/src/models/delete_feed_post_public_response_any_of.rs delete mode 100644 client/src/models/delete_hash_tag_response.rs delete mode 100644 client/src/models/delete_moderation_vote_response.rs delete mode 100644 client/src/models/delete_moderator_response.rs delete mode 100644 client/src/models/delete_notification_count_response.rs delete mode 100644 client/src/models/delete_pending_webhook_event_response.rs delete mode 100644 client/src/models/delete_question_config_response.rs delete mode 100644 client/src/models/delete_question_result_response.rs delete mode 100644 client/src/models/delete_tenant_package_response.rs delete mode 100644 client/src/models/delete_tenant_response.rs delete mode 100644 client/src/models/delete_tenant_user_response.rs delete mode 100644 client/src/models/delete_user_badge_response.rs delete mode 100644 client/src/models/delete_v1_page_react_response.rs delete mode 100644 client/src/models/delete_v2_page_react_response.rs delete mode 100644 client/src/models/delete_vote_response.rs delete mode 100644 client/src/models/flag_comment_public_response.rs delete mode 100644 client/src/models/flag_comment_response_1.rs delete mode 100644 client/src/models/get_api_comments_response.rs delete mode 100644 client/src/models/get_api_export_status_response.rs delete mode 100644 client/src/models/get_api_ids_response.rs delete mode 100644 client/src/models/get_audit_logs_response_1.rs delete mode 100644 client/src/models/get_ban_users_from_comment_response.rs delete mode 100644 client/src/models/get_cached_notification_count_response_1.rs delete mode 100644 client/src/models/get_comment_ban_status_response_1.rs delete mode 100644 client/src/models/get_comment_children_response.rs delete mode 100644 client/src/models/get_comment_response.rs delete mode 100644 client/src/models/get_comment_text_response_1.rs delete mode 100644 client/src/models/get_comment_vote_user_names_response.rs delete mode 100644 client/src/models/get_comments_for_user_response_1.rs delete mode 100644 client/src/models/get_comments_public_response.rs delete mode 100644 client/src/models/get_comments_response.rs delete mode 100644 client/src/models/get_count_response.rs delete mode 100644 client/src/models/get_counts_response.rs delete mode 100644 client/src/models/get_email_template_definitions_response_1.rs delete mode 100644 client/src/models/get_email_template_render_errors_response_1.rs delete mode 100644 client/src/models/get_email_template_response_1.rs delete mode 100644 client/src/models/get_email_templates_response_1.rs delete mode 100644 client/src/models/get_event_log_response_1.rs delete mode 100644 client/src/models/get_feed_posts_public_response.rs delete mode 100644 client/src/models/get_feed_posts_response_1.rs delete mode 100644 client/src/models/get_feed_posts_stats_response.rs delete mode 100644 client/src/models/get_gif_large_response.rs delete mode 100644 client/src/models/get_global_event_log_response.rs delete mode 100644 client/src/models/get_hash_tags_response_1.rs delete mode 100644 client/src/models/get_logs_response.rs delete mode 100644 client/src/models/get_manual_badges_for_user_response.rs delete mode 100644 client/src/models/get_manual_badges_response.rs delete mode 100644 client/src/models/get_moderation_comment_response.rs delete mode 100644 client/src/models/get_moderation_comment_text_response.rs delete mode 100644 client/src/models/get_moderator_response_1.rs delete mode 100644 client/src/models/get_moderators_response_1.rs delete mode 100644 client/src/models/get_notification_count_response_1.rs delete mode 100644 client/src/models/get_notifications_response_1.rs delete mode 100644 client/src/models/get_offline_users_response.rs delete mode 100644 client/src/models/get_online_users_response.rs delete mode 100644 client/src/models/get_pages_public_response.rs delete mode 100644 client/src/models/get_pending_webhook_event_count_response_1.rs delete mode 100644 client/src/models/get_pending_webhook_events_response_1.rs delete mode 100644 client/src/models/get_pre_ban_summary_response.rs delete mode 100644 client/src/models/get_question_config_response_1.rs delete mode 100644 client/src/models/get_question_configs_response_1.rs delete mode 100644 client/src/models/get_question_result_response_1.rs delete mode 100644 client/src/models/get_question_results_response_1.rs delete mode 100644 client/src/models/get_search_comments_summary_response.rs delete mode 100644 client/src/models/get_search_pages_response.rs delete mode 100644 client/src/models/get_search_sites_response.rs delete mode 100644 client/src/models/get_search_suggest_response.rs delete mode 100644 client/src/models/get_search_users_response.rs delete mode 100644 client/src/models/get_tenant_daily_usages_response_1.rs delete mode 100644 client/src/models/get_tenant_package_response_1.rs delete mode 100644 client/src/models/get_tenant_packages_response_1.rs delete mode 100644 client/src/models/get_tenant_response_1.rs delete mode 100644 client/src/models/get_tenant_user_response_1.rs delete mode 100644 client/src/models/get_tenant_users_response_1.rs delete mode 100644 client/src/models/get_tenants_response_1.rs delete mode 100644 client/src/models/get_ticket_response_1.rs delete mode 100644 client/src/models/get_tickets_response_1.rs delete mode 100644 client/src/models/get_translations_response_1.rs delete mode 100644 client/src/models/get_trust_factor_response.rs delete mode 100644 client/src/models/get_user_badge_progress_by_id_response.rs delete mode 100644 client/src/models/get_user_badge_progress_by_user_id_response.rs delete mode 100644 client/src/models/get_user_badge_progress_list_response.rs delete mode 100644 client/src/models/get_user_badge_response.rs delete mode 100644 client/src/models/get_user_badges_response.rs delete mode 100644 client/src/models/get_user_ban_preference_response.rs delete mode 100644 client/src/models/get_user_internal_profile_response_1.rs delete mode 100644 client/src/models/get_user_notification_count_response_1.rs delete mode 100644 client/src/models/get_user_notifications_response.rs delete mode 100644 client/src/models/get_user_presence_statuses_response_1.rs delete mode 100644 client/src/models/get_user_reacts_public_response.rs delete mode 100644 client/src/models/get_user_response_1.rs delete mode 100644 client/src/models/get_users_info_response.rs delete mode 100644 client/src/models/get_v1_page_likes_response.rs delete mode 100644 client/src/models/get_v2_page_react_users_response_1.rs delete mode 100644 client/src/models/get_v2_page_reacts_response.rs delete mode 100644 client/src/models/get_votes_for_user_response_1.rs delete mode 100644 client/src/models/get_votes_response_1.rs delete mode 100644 client/src/models/lock_comment_response.rs delete mode 100644 client/src/models/patch_hash_tag_response.rs delete mode 100644 client/src/models/pin_comment_response.rs delete mode 100644 client/src/models/post_adjust_comment_votes_response.rs delete mode 100644 client/src/models/post_api_export_response.rs delete mode 100644 client/src/models/post_ban_user_from_comment_response.rs delete mode 100644 client/src/models/post_ban_user_undo_response.rs delete mode 100644 client/src/models/post_bulk_pre_ban_summary_response.rs delete mode 100644 client/src/models/post_comments_by_ids_response.rs delete mode 100644 client/src/models/post_flag_comment_response.rs delete mode 100644 client/src/models/post_restore_deleted_comment_response.rs delete mode 100644 client/src/models/post_set_comment_approval_status_response.rs delete mode 100644 client/src/models/post_set_comment_review_status_response.rs delete mode 100644 client/src/models/post_set_comment_spam_status_response.rs delete mode 100644 client/src/models/post_set_comment_text_response.rs delete mode 100644 client/src/models/post_un_flag_comment_response.rs delete mode 100644 client/src/models/post_vote_response.rs delete mode 100644 client/src/models/put_award_badge_response.rs delete mode 100644 client/src/models/put_close_thread_response.rs delete mode 100644 client/src/models/put_remove_badge_response.rs delete mode 100644 client/src/models/put_reopen_thread_response.rs delete mode 100644 client/src/models/react_feed_post_public_response.rs delete mode 100644 client/src/models/render_email_template_response_1.rs delete mode 100644 client/src/models/replace_tenant_package_response.rs delete mode 100644 client/src/models/replace_tenant_user_response.rs delete mode 100644 client/src/models/reset_user_notification_count_response.rs delete mode 100644 client/src/models/reset_user_notifications_response_1.rs delete mode 100644 client/src/models/save_comment_response.rs delete mode 100644 client/src/models/search_users_response_1.rs delete mode 100644 client/src/models/send_invite_response.rs delete mode 100644 client/src/models/send_login_link_response.rs delete mode 100644 client/src/models/set_comment_text_response_1.rs delete mode 100644 client/src/models/set_trust_factor_response.rs delete mode 100644 client/src/models/un_block_comment_public_response.rs delete mode 100644 client/src/models/un_block_user_from_comment_response.rs delete mode 100644 client/src/models/un_flag_comment_response.rs delete mode 100644 client/src/models/un_lock_comment_response.rs delete mode 100644 client/src/models/un_pin_comment_response.rs delete mode 100644 client/src/models/update_comment_response.rs delete mode 100644 client/src/models/update_email_template_response.rs delete mode 100644 client/src/models/update_feed_post_public_response.rs delete mode 100644 client/src/models/update_feed_post_response.rs delete mode 100644 client/src/models/update_moderator_response.rs delete mode 100644 client/src/models/update_notification_response.rs delete mode 100644 client/src/models/update_question_config_response.rs delete mode 100644 client/src/models/update_question_result_response.rs delete mode 100644 client/src/models/update_tenant_package_response.rs delete mode 100644 client/src/models/update_tenant_response.rs delete mode 100644 client/src/models/update_tenant_user_response.rs delete mode 100644 client/src/models/update_user_badge_response.rs delete mode 100644 client/src/models/vote_comment_response.rs diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 225e1d7..d814395 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -6,14 +6,11 @@ README.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md -docs/AddHashTagResponse.md -docs/AddHashTagsBulkResponse.md docs/AddPageApiResponse.md docs/AddSsoUserApiResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md -docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationApiError.md @@ -65,15 +62,12 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md -docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md -docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md -docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -83,10 +77,7 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md -docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md -docs/CheckedCommentsForBlockedResponse.md -docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHtmlRenderingMode.md @@ -106,76 +97,41 @@ docs/CreateApiPageData.md docs/CreateApiUserSubscriptionData.md docs/CreateApissoUserData.md docs/CreateCommentParams.md -docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md -docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md -docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md -docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md -docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md -docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md -docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionApiResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md -docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md -docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md -docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md -docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md -docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md -docs/CreateV1PageReactResponse.md -docs/CreateV2PageReactResponse.md -docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultApi.md docs/DeleteCommentAction.md -docs/DeleteCommentPublicResponse.md -docs/DeleteCommentResponse.md docs/DeleteCommentResult.md -docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md -docs/DeleteEmailTemplateRenderErrorResponse.md -docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md -docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md -docs/DeleteHashTagResponse.md -docs/DeleteModerationVoteResponse.md -docs/DeleteModeratorResponse.md -docs/DeleteNotificationCountResponse.md docs/DeletePageApiResponse.md -docs/DeletePendingWebhookEventResponse.md -docs/DeleteQuestionConfigResponse.md -docs/DeleteQuestionResultResponse.md docs/DeleteSsoUserApiResponse.md docs/DeleteSubscriptionApiResponse.md -docs/DeleteTenantPackageResponse.md -docs/DeleteTenantResponse.md -docs/DeleteTenantUserResponse.md -docs/DeleteUserBadgeResponse.md -docs/DeleteV1PageReactResponse.md -docs/DeleteV2PageReactResponse.md -docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -191,154 +147,72 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md -docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md -docs/FlagCommentResponse1.md -docs/GetApiCommentsResponse.md -docs/GetApiExportStatusResponse.md -docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md -docs/GetAuditLogsResponse1.md -docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md -docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md -docs/GetCommentBanStatusResponse1.md -docs/GetCommentChildrenResponse.md -docs/GetCommentResponse.md docs/GetCommentTextResponse.md -docs/GetCommentTextResponse1.md -docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md -docs/GetCommentsForUserResponse1.md -docs/GetCommentsPublicResponse.md -docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md -docs/GetCountResponse.md -docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md -docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md -docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md -docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md -docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md -docs/GetEventLogResponse1.md -docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md -docs/GetFeedPostsResponse1.md -docs/GetFeedPostsStatsResponse.md -docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md -docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md -docs/GetHashTagsResponse1.md -docs/GetLogsResponse.md -docs/GetManualBadgesForUserResponse.md -docs/GetManualBadgesResponse.md -docs/GetModerationCommentResponse.md -docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md -docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md -docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md -docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md -docs/GetNotificationsResponse1.md -docs/GetOfflineUsersResponse.md -docs/GetOnlineUsersResponse.md docs/GetPageByUrlidApiResponse.md docs/GetPagesApiResponse.md -docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md -docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md -docs/GetPendingWebhookEventsResponse1.md -docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md -docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md -docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md -docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md -docs/GetQuestionResultsResponse1.md -docs/GetSearchCommentsSummaryResponse.md -docs/GetSearchPagesResponse.md -docs/GetSearchSitesResponse.md -docs/GetSearchSuggestResponse.md -docs/GetSearchUsersResponse.md docs/GetSsoUserByEmailApiResponse.md docs/GetSsoUserByIdApiResponse.md docs/GetSsoUsersResponse.md docs/GetSubscriptionsApiResponse.md docs/GetTenantDailyUsagesResponse.md -docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md -docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md -docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md -docs/GetTenantResponse1.md docs/GetTenantUserResponse.md -docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md -docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md -docs/GetTenantsResponse1.md docs/GetTicketResponse.md -docs/GetTicketResponse1.md docs/GetTicketsResponse.md -docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md -docs/GetTranslationsResponse1.md -docs/GetTrustFactorResponse.md -docs/GetUserBadgeProgressByIdResponse.md -docs/GetUserBadgeProgressByUserIdResponse.md -docs/GetUserBadgeProgressListResponse.md -docs/GetUserBadgeResponse.md -docs/GetUserBadgesResponse.md -docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md -docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md -docs/GetUserNotificationCountResponse1.md -docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md -docs/GetUserPresenceStatusesResponse1.md -docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md -docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md -docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md -docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md -docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md -docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md -docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md -docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -353,7 +227,6 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md -docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -388,26 +261,10 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md -docs/PatchHashTagResponse.md docs/PatchPageApiResponse.md docs/PatchSsoUserApiResponse.md docs/PendingCommentToSyncOutbound.md -docs/PinCommentResponse.md -docs/PostAdjustCommentVotesResponse.md -docs/PostApiExportResponse.md -docs/PostBanUserFromCommentResponse.md -docs/PostBanUserUndoResponse.md -docs/PostBulkPreBanSummaryResponse.md -docs/PostCommentsByIdsResponse.md -docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md -docs/PostRestoreDeletedCommentResponse.md -docs/PostSetCommentApprovalStatusResponse.md -docs/PostSetCommentReviewStatusResponse.md -docs/PostSetCommentSpamStatusResponse.md -docs/PostSetCommentTextResponse.md -docs/PostUnFlagCommentResponse.md -docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -422,11 +279,7 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md -docs/PutAwardBadgeResponse.md -docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md -docs/PutRemoveBadgeResponse.md -docs/PutReopenThreadResponse.md docs/PutSsoUserApiResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -439,40 +292,28 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md -docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md -docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md -docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md -docs/ReplaceTenantUserResponse.md -docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md -docs/ResetUserNotificationsResponse1.md -docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md -docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md -docs/SendInviteResponse.md -docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md -docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md -docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDir.md @@ -483,43 +324,26 @@ docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md docs/TosConfig.md -docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md -docs/UnBlockUserFromCommentResponse.md -docs/UnFlagCommentResponse.md -docs/UnLockCommentResponse.md -docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateApiPageData.md docs/UpdateApiUserSubscriptionData.md docs/UpdateApissoUserData.md -docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md -docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md -docs/UpdateFeedPostPublicResponse.md -docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md -docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md -docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md -docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md -docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionApiResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md -docs/UpdateTenantPackageResponse.md -docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md -docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md -docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -538,7 +362,6 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md -docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseUser.md @@ -553,14 +376,11 @@ src/lib.rs src/models/add_domain_config_params.rs src/models/add_domain_config_response.rs src/models/add_domain_config_response_any_of.rs -src/models/add_hash_tag_response.rs -src/models/add_hash_tags_bulk_response.rs src/models/add_page_api_response.rs src/models/add_sso_user_api_response.rs src/models/adjust_comment_votes_params.rs src/models/adjust_votes_response.rs src/models/aggregate_question_results_response.rs -src/models/aggregate_question_results_response_1.rs src/models/aggregate_response.rs src/models/aggregate_time_bucket.rs src/models/aggregation_api_error.rs @@ -612,15 +432,12 @@ src/models/banned_user_match_matched_on_value.rs src/models/banned_user_match_type.rs src/models/billing_info.rs src/models/block_from_comment_params.rs -src/models/block_from_comment_public_response.rs src/models/block_success.rs -src/models/block_user_from_comment_response.rs src/models/build_moderation_filter_params.rs src/models/build_moderation_filter_response.rs src/models/bulk_aggregate_question_item.rs src/models/bulk_aggregate_question_results_request.rs src/models/bulk_aggregate_question_results_response.rs -src/models/bulk_aggregate_question_results_response_1.rs src/models/bulk_create_hash_tags_body.rs src/models/bulk_create_hash_tags_body_tags_inner.rs src/models/bulk_create_hash_tags_response.rs @@ -630,10 +447,7 @@ src/models/bulk_pre_ban_summary.rs src/models/change_comment_pin_status_response.rs src/models/change_ticket_state_body.rs src/models/change_ticket_state_response.rs -src/models/change_ticket_state_response_1.rs src/models/check_blocked_comments_response.rs -src/models/checked_comments_for_blocked_response.rs -src/models/combine_comments_with_question_results_response.rs src/models/combine_question_results_with_comments_response.rs src/models/comment_data.rs src/models/comment_html_rendering_mode.rs @@ -653,75 +467,40 @@ src/models/create_api_page_data.rs src/models/create_api_user_subscription_data.rs src/models/create_apisso_user_data.rs src/models/create_comment_params.rs -src/models/create_comment_public_response.rs src/models/create_email_template_body.rs src/models/create_email_template_response.rs -src/models/create_email_template_response_1.rs src/models/create_feed_post_params.rs -src/models/create_feed_post_public_response.rs src/models/create_feed_post_response.rs -src/models/create_feed_post_response_1.rs src/models/create_feed_posts_response.rs src/models/create_hash_tag_body.rs src/models/create_hash_tag_response.rs src/models/create_moderator_body.rs src/models/create_moderator_response.rs -src/models/create_moderator_response_1.rs src/models/create_question_config_body.rs src/models/create_question_config_response.rs -src/models/create_question_config_response_1.rs src/models/create_question_result_body.rs src/models/create_question_result_response.rs -src/models/create_question_result_response_1.rs src/models/create_subscription_api_response.rs src/models/create_tenant_body.rs src/models/create_tenant_package_body.rs src/models/create_tenant_package_response.rs -src/models/create_tenant_package_response_1.rs src/models/create_tenant_response.rs -src/models/create_tenant_response_1.rs src/models/create_tenant_user_body.rs src/models/create_tenant_user_response.rs -src/models/create_tenant_user_response_1.rs src/models/create_ticket_body.rs src/models/create_ticket_response.rs -src/models/create_ticket_response_1.rs src/models/create_user_badge_params.rs -src/models/create_user_badge_response.rs src/models/create_v1_page_react.rs -src/models/create_v1_page_react_response.rs -src/models/create_v2_page_react_response.rs -src/models/create_vote_response.rs src/models/custom_config_parameters.rs src/models/custom_email_template.rs src/models/delete_comment_action.rs -src/models/delete_comment_public_response.rs -src/models/delete_comment_response.rs src/models/delete_comment_result.rs -src/models/delete_comment_vote_response.rs src/models/delete_domain_config_response.rs -src/models/delete_email_template_render_error_response.rs -src/models/delete_email_template_response.rs src/models/delete_feed_post_public_response.rs -src/models/delete_feed_post_public_response_any_of.rs src/models/delete_hash_tag_request_body.rs -src/models/delete_hash_tag_response.rs -src/models/delete_moderation_vote_response.rs -src/models/delete_moderator_response.rs -src/models/delete_notification_count_response.rs src/models/delete_page_api_response.rs -src/models/delete_pending_webhook_event_response.rs -src/models/delete_question_config_response.rs -src/models/delete_question_result_response.rs src/models/delete_sso_user_api_response.rs src/models/delete_subscription_api_response.rs -src/models/delete_tenant_package_response.rs -src/models/delete_tenant_response.rs -src/models/delete_tenant_user_response.rs -src/models/delete_user_badge_response.rs -src/models/delete_v1_page_react_response.rs -src/models/delete_v2_page_react_response.rs -src/models/delete_vote_response.rs src/models/deleted_comment_result_comment.rs src/models/digest_email_frequency.rs src/models/email_template_definition.rs @@ -737,154 +516,72 @@ src/models/feed_post_stats.rs src/models/feed_posts_stats_response.rs src/models/find_comments_by_range_item.rs src/models/find_comments_by_range_response.rs -src/models/flag_comment_public_response.rs src/models/flag_comment_response.rs -src/models/flag_comment_response_1.rs -src/models/get_api_comments_response.rs -src/models/get_api_export_status_response.rs -src/models/get_api_ids_response.rs src/models/get_audit_logs_response.rs -src/models/get_audit_logs_response_1.rs -src/models/get_ban_users_from_comment_response.rs src/models/get_banned_users_count_response.rs src/models/get_banned_users_from_comment_response.rs src/models/get_cached_notification_count_response.rs -src/models/get_cached_notification_count_response_1.rs src/models/get_comment_ban_status_response.rs -src/models/get_comment_ban_status_response_1.rs -src/models/get_comment_children_response.rs -src/models/get_comment_response.rs src/models/get_comment_text_response.rs -src/models/get_comment_text_response_1.rs -src/models/get_comment_vote_user_names_response.rs src/models/get_comment_vote_user_names_success_response.rs src/models/get_comments_for_user_response.rs -src/models/get_comments_for_user_response_1.rs -src/models/get_comments_public_response.rs -src/models/get_comments_response.rs src/models/get_comments_response_public_comment_.rs src/models/get_comments_response_with_presence_public_comment_.rs -src/models/get_count_response.rs -src/models/get_counts_response.rs src/models/get_domain_config_response.rs src/models/get_domain_configs_response.rs src/models/get_domain_configs_response_any_of.rs src/models/get_domain_configs_response_any_of_1.rs src/models/get_email_template_definitions_response.rs -src/models/get_email_template_definitions_response_1.rs src/models/get_email_template_render_errors_response.rs -src/models/get_email_template_render_errors_response_1.rs src/models/get_email_template_response.rs -src/models/get_email_template_response_1.rs src/models/get_email_templates_response.rs -src/models/get_email_templates_response_1.rs src/models/get_event_log_response.rs -src/models/get_event_log_response_1.rs -src/models/get_feed_posts_public_response.rs src/models/get_feed_posts_response.rs -src/models/get_feed_posts_response_1.rs -src/models/get_feed_posts_stats_response.rs -src/models/get_gif_large_response.rs src/models/get_gifs_search_response.rs src/models/get_gifs_trending_response.rs -src/models/get_global_event_log_response.rs src/models/get_hash_tags_response.rs -src/models/get_hash_tags_response_1.rs -src/models/get_logs_response.rs -src/models/get_manual_badges_for_user_response.rs -src/models/get_manual_badges_response.rs -src/models/get_moderation_comment_response.rs -src/models/get_moderation_comment_text_response.rs src/models/get_moderator_response.rs -src/models/get_moderator_response_1.rs src/models/get_moderators_response.rs -src/models/get_moderators_response_1.rs src/models/get_my_notifications_response.rs src/models/get_notification_count_response.rs -src/models/get_notification_count_response_1.rs src/models/get_notifications_response.rs -src/models/get_notifications_response_1.rs -src/models/get_offline_users_response.rs -src/models/get_online_users_response.rs src/models/get_page_by_urlid_api_response.rs src/models/get_pages_api_response.rs -src/models/get_pages_public_response.rs src/models/get_pending_webhook_event_count_response.rs -src/models/get_pending_webhook_event_count_response_1.rs src/models/get_pending_webhook_events_response.rs -src/models/get_pending_webhook_events_response_1.rs -src/models/get_pre_ban_summary_response.rs src/models/get_public_feed_posts_response.rs src/models/get_public_pages_response.rs src/models/get_question_config_response.rs -src/models/get_question_config_response_1.rs src/models/get_question_configs_response.rs -src/models/get_question_configs_response_1.rs src/models/get_question_result_response.rs -src/models/get_question_result_response_1.rs src/models/get_question_results_response.rs -src/models/get_question_results_response_1.rs -src/models/get_search_comments_summary_response.rs -src/models/get_search_pages_response.rs -src/models/get_search_sites_response.rs -src/models/get_search_suggest_response.rs -src/models/get_search_users_response.rs src/models/get_sso_user_by_email_api_response.rs src/models/get_sso_user_by_id_api_response.rs src/models/get_sso_users_response.rs src/models/get_subscriptions_api_response.rs src/models/get_tenant_daily_usages_response.rs -src/models/get_tenant_daily_usages_response_1.rs src/models/get_tenant_manual_badges_response.rs src/models/get_tenant_package_response.rs -src/models/get_tenant_package_response_1.rs src/models/get_tenant_packages_response.rs -src/models/get_tenant_packages_response_1.rs src/models/get_tenant_response.rs -src/models/get_tenant_response_1.rs src/models/get_tenant_user_response.rs -src/models/get_tenant_user_response_1.rs src/models/get_tenant_users_response.rs -src/models/get_tenant_users_response_1.rs src/models/get_tenants_response.rs -src/models/get_tenants_response_1.rs src/models/get_ticket_response.rs -src/models/get_ticket_response_1.rs src/models/get_tickets_response.rs -src/models/get_tickets_response_1.rs src/models/get_translations_response.rs -src/models/get_translations_response_1.rs -src/models/get_trust_factor_response.rs -src/models/get_user_badge_progress_by_id_response.rs -src/models/get_user_badge_progress_by_user_id_response.rs -src/models/get_user_badge_progress_list_response.rs -src/models/get_user_badge_response.rs -src/models/get_user_badges_response.rs -src/models/get_user_ban_preference_response.rs src/models/get_user_internal_profile_response.rs -src/models/get_user_internal_profile_response_1.rs src/models/get_user_internal_profile_response_profile.rs src/models/get_user_manual_badges_response.rs src/models/get_user_notification_count_response.rs -src/models/get_user_notification_count_response_1.rs -src/models/get_user_notifications_response.rs src/models/get_user_presence_statuses_response.rs -src/models/get_user_presence_statuses_response_1.rs -src/models/get_user_reacts_public_response.rs src/models/get_user_response.rs -src/models/get_user_response_1.rs src/models/get_user_trust_factor_response.rs -src/models/get_users_info_response.rs src/models/get_v1_page_likes.rs -src/models/get_v1_page_likes_response.rs src/models/get_v2_page_react_users_response.rs -src/models/get_v2_page_react_users_response_1.rs src/models/get_v2_page_reacts.rs -src/models/get_v2_page_reacts_response.rs src/models/get_votes_for_user_response.rs -src/models/get_votes_for_user_response_1.rs src/models/get_votes_response.rs -src/models/get_votes_response_1.rs src/models/gif_get_large_response.rs src/models/gif_rating.rs src/models/gif_search_internal_error.rs @@ -899,7 +596,6 @@ src/models/imported_site_type.rs src/models/live_event.rs src/models/live_event_extra_info.rs src/models/live_event_type.rs -src/models/lock_comment_response.rs src/models/media_asset.rs src/models/mention_auto_complete_mode.rs src/models/meta_item.rs @@ -934,26 +630,10 @@ src/models/page_users_online_response.rs src/models/pages_sort_by.rs src/models/patch_domain_config_params.rs src/models/patch_domain_config_response.rs -src/models/patch_hash_tag_response.rs src/models/patch_page_api_response.rs src/models/patch_sso_user_api_response.rs src/models/pending_comment_to_sync_outbound.rs -src/models/pin_comment_response.rs -src/models/post_adjust_comment_votes_response.rs -src/models/post_api_export_response.rs -src/models/post_ban_user_from_comment_response.rs -src/models/post_ban_user_undo_response.rs -src/models/post_bulk_pre_ban_summary_response.rs -src/models/post_comments_by_ids_response.rs -src/models/post_flag_comment_response.rs src/models/post_remove_comment_response.rs -src/models/post_restore_deleted_comment_response.rs -src/models/post_set_comment_approval_status_response.rs -src/models/post_set_comment_review_status_response.rs -src/models/post_set_comment_spam_status_response.rs -src/models/post_set_comment_text_response.rs -src/models/post_un_flag_comment_response.rs -src/models/post_vote_response.rs src/models/pre_ban_summary.rs src/models/pub_sub_comment.rs src/models/pub_sub_comment_base.rs @@ -967,11 +647,7 @@ src/models/public_comment_base.rs src/models/public_feed_posts_response.rs src/models/public_page.rs src/models/public_vote.rs -src/models/put_award_badge_response.rs -src/models/put_close_thread_response.rs src/models/put_domain_config_response.rs -src/models/put_remove_badge_response.rs -src/models/put_reopen_thread_response.rs src/models/put_sso_user_api_response.rs src/models/query_predicate.rs src/models/query_predicate_value.rs @@ -984,40 +660,28 @@ src/models/question_result_aggregation_overall.rs src/models/question_sub_question_visibility.rs src/models/question_when_save.rs src/models/react_body_params.rs -src/models/react_feed_post_public_response.rs src/models/react_feed_post_response.rs src/models/record_string__before_string_or_null__after_string_or_null___value.rs src/models/remove_comment_action_response.rs src/models/remove_user_badge_response.rs src/models/render_email_template_body.rs src/models/render_email_template_response.rs -src/models/render_email_template_response_1.rs src/models/renderable_user_notification.rs src/models/repeat_comment_check_ignored_reason.rs src/models/repeat_comment_handling_action.rs src/models/replace_tenant_package_body.rs -src/models/replace_tenant_package_response.rs src/models/replace_tenant_user_body.rs -src/models/replace_tenant_user_response.rs -src/models/reset_user_notification_count_response.rs src/models/reset_user_notifications_response.rs -src/models/reset_user_notifications_response_1.rs -src/models/save_comment_response.rs src/models/save_comment_response_optimized.rs src/models/save_comments_bulk_response.rs src/models/save_comments_response_with_presence.rs src/models/search_users_response.rs -src/models/search_users_response_1.rs src/models/search_users_result.rs src/models/search_users_sectioned_response.rs -src/models/send_invite_response.rs -src/models/send_login_link_response.rs src/models/set_comment_approved_response.rs src/models/set_comment_text_params.rs src/models/set_comment_text_response.rs -src/models/set_comment_text_response_1.rs src/models/set_comment_text_result.rs -src/models/set_trust_factor_response.rs src/models/set_user_trust_factor_response.rs src/models/size_preset.rs src/models/sort_dir.rs @@ -1028,43 +692,26 @@ src/models/tenant_badge.rs src/models/tenant_hash_tag.rs src/models/tenant_package.rs src/models/tos_config.rs -src/models/un_block_comment_public_response.rs src/models/un_block_from_comment_params.rs -src/models/un_block_user_from_comment_response.rs -src/models/un_flag_comment_response.rs -src/models/un_lock_comment_response.rs -src/models/un_pin_comment_response.rs src/models/unblock_success.rs src/models/updatable_comment_params.rs src/models/update_api_page_data.rs src/models/update_api_user_subscription_data.rs src/models/update_apisso_user_data.rs -src/models/update_comment_response.rs src/models/update_domain_config_params.rs src/models/update_email_template_body.rs -src/models/update_email_template_response.rs src/models/update_feed_post_params.rs -src/models/update_feed_post_public_response.rs -src/models/update_feed_post_response.rs src/models/update_hash_tag_body.rs src/models/update_hash_tag_response.rs src/models/update_moderator_body.rs -src/models/update_moderator_response.rs src/models/update_notification_body.rs -src/models/update_notification_response.rs src/models/update_question_config_body.rs -src/models/update_question_config_response.rs src/models/update_question_result_body.rs -src/models/update_question_result_response.rs src/models/update_subscription_api_response.rs src/models/update_tenant_body.rs src/models/update_tenant_package_body.rs -src/models/update_tenant_package_response.rs -src/models/update_tenant_response.rs src/models/update_tenant_user_body.rs -src/models/update_tenant_user_response.rs src/models/update_user_badge_params.rs -src/models/update_user_badge_response.rs src/models/update_user_notification_comment_subscription_status_response.rs src/models/update_user_notification_page_subscription_status_response.rs src/models/update_user_notification_status_response.rs @@ -1083,7 +730,6 @@ src/models/user_search_section_result.rs src/models/user_session_info.rs src/models/users_list_location.rs src/models/vote_body_params.rs -src/models/vote_comment_response.rs src/models/vote_delete_response.rs src/models/vote_response.rs src/models/vote_response_user.rs diff --git a/client/README.md b/client/README.md index 87bb118..3552d80 100644 --- a/client/README.md +++ b/client/README.md @@ -242,14 +242,11 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) - - [AddHashTagResponse](docs/AddHashTagResponse.md) - - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageApiResponse](docs/AddPageApiResponse.md) - [AddSsoUserApiResponse](docs/AddSsoUserApiResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) - - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationApiError](docs/AggregationApiError.md) @@ -301,15 +298,12 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) - - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) - - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) - - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -319,10 +313,7 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) - - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) - - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) - - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHtmlRenderingMode](docs/CommentHtmlRenderingMode.md) @@ -342,75 +333,40 @@ Class | Method | HTTP request | Description - [CreateApiUserSubscriptionData](docs/CreateApiUserSubscriptionData.md) - [CreateApissoUserData](docs/CreateApissoUserData.md) - [CreateCommentParams](docs/CreateCommentParams.md) - - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) - - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) - - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) - - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) - - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) - - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) - - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionApiResponse](docs/CreateSubscriptionApiResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) - - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) - - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) - - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) - - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) - - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) - - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) - - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) - - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) - - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) - - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) - - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) - - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) - - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) - - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) - - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) - - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) - - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) - - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageApiResponse](docs/DeletePageApiResponse.md) - - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) - - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) - - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSsoUserApiResponse](docs/DeleteSsoUserApiResponse.md) - [DeleteSubscriptionApiResponse](docs/DeleteSubscriptionApiResponse.md) - - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) - - [DeleteTenantResponse](docs/DeleteTenantResponse.md) - - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) - - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) - - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) - - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) - - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -426,154 +382,72 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) - - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) - - [FlagCommentResponse1](docs/FlagCommentResponse1.md) - - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) - - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) - - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) - - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) - - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) - - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) - - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) - - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) - - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) - - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) - - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) - - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) - - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) - - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) - - [GetCountResponse](docs/GetCountResponse.md) - - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) - - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) - - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) - - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) - - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) - - [GetEventLogResponse1](docs/GetEventLogResponse1.md) - - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) - - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) - - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) - - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) - - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) - - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) - - [GetLogsResponse](docs/GetLogsResponse.md) - - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) - - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) - - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) - - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) - - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) - - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) - - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) - - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) - - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) - - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByUrlidApiResponse](docs/GetPageByUrlidApiResponse.md) - [GetPagesApiResponse](docs/GetPagesApiResponse.md) - - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) - - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) - - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) - - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) - - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) - - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) - - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) - - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) - - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) - - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) - - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) - - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) - - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSsoUserByEmailApiResponse](docs/GetSsoUserByEmailApiResponse.md) - [GetSsoUserByIdApiResponse](docs/GetSsoUserByIdApiResponse.md) - [GetSsoUsersResponse](docs/GetSsoUsersResponse.md) - [GetSubscriptionsApiResponse](docs/GetSubscriptionsApiResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) - - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) - - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) - - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) - - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) - - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) - - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) - - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) - - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) - - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) - - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) - - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) - - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) - - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) - - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) - - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) - - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) - - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) - - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) - - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) - - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) - - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) - - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) - - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) - - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) - - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) - - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) - - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) - - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) - - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -588,7 +462,6 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) - - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -622,26 +495,10 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) - - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageApiResponse](docs/PatchPageApiResponse.md) - [PatchSsoUserApiResponse](docs/PatchSsoUserApiResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PinCommentResponse](docs/PinCommentResponse.md) - - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) - - [PostApiExportResponse](docs/PostApiExportResponse.md) - - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) - - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) - - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) - - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) - - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) - - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) - - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) - - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) - - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) - - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) - - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) - - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -655,11 +512,7 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) - - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) - - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) - - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) - - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSsoUserApiResponse](docs/PutSsoUserApiResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -672,40 +525,28 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) - - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) - - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) - - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) - - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) - - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) - - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) - - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) - - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) - - [SendInviteResponse](docs/SendInviteResponse.md) - - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) - - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) - - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDir](docs/SortDir.md) @@ -716,43 +557,26 @@ Class | Method | HTTP request | Description - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) - [TosConfig](docs/TosConfig.md) - - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) - - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) - - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) - - [UnLockCommentResponse](docs/UnLockCommentResponse.md) - - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateApiPageData](docs/UpdateApiPageData.md) - [UpdateApiUserSubscriptionData](docs/UpdateApiUserSubscriptionData.md) - [UpdateApissoUserData](docs/UpdateApissoUserData.md) - - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) - - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) - - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) - - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) - - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) - - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) - - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) - - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionApiResponse](docs/UpdateSubscriptionApiResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) - - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) - - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) - - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) - - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -771,7 +595,6 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) - - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseUser](docs/VoteResponseUser.md) diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md deleted file mode 100644 index cd757d8..0000000 --- a/client/docs/AddHashTagResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# AddHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**hash_tag** | Option<[**models::TenantHashTag**](TenantHashTag.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md deleted file mode 100644 index 77d6414..0000000 --- a/client/docs/AddHashTagsBulkResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# AddHashTagsBulkResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**results** | Option<[**Vec**](BulkCreateHashTagsResponseResultsInner.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md deleted file mode 100644 index d5e97e0..0000000 --- a/client/docs/AggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# AggregateQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**data** | Option<[**models::QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md deleted file mode 100644 index a878064..0000000 --- a/client/docs/BlockFromCommentPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# BlockFromCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md deleted file mode 100644 index b062cbe..0000000 --- a/client/docs/BlockUserFromCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# BlockUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md deleted file mode 100644 index 18e2acc..0000000 --- a/client/docs/BulkAggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# BulkAggregateQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**data** | Option<[**std::collections::HashMap**](QuestionResultAggregationOverall.md)> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md deleted file mode 100644 index e9d81bc..0000000 --- a/client/docs/ChangeTicketStateResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# ChangeTicketStateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**ticket** | Option<[**models::ApiTicket**](APITicket.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md deleted file mode 100644 index 7da7f5d..0000000 --- a/client/docs/CheckedCommentsForBlockedResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# CheckedCommentsForBlockedResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md deleted file mode 100644 index 435c350..0000000 --- a/client/docs/CombineCommentsWithQuestionResultsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# CombineCommentsWithQuestionResultsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**data** | Option<[**models::FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md deleted file mode 100644 index 598b2c0..0000000 --- a/client/docs/CreateCommentPublicResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# CreateCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment** | Option<[**models::PublicComment**](PublicComment.md)> | | [optional] -**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] -**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**user_id_ws** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md deleted file mode 100644 index cb3b398..0000000 --- a/client/docs/CreateEmailTemplateResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**email_template** | Option<[**models::CustomEmailTemplate**](CustomEmailTemplate.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md deleted file mode 100644 index 324942d..0000000 --- a/client/docs/CreateFeedPostPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md deleted file mode 100644 index 57b68ac..0000000 --- a/client/docs/CreateFeedPostResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateFeedPostResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md deleted file mode 100644 index 80cd825..0000000 --- a/client/docs/CreateModeratorResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateModeratorResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**moderator** | Option<[**models::Moderator**](Moderator.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md deleted file mode 100644 index d45e123..0000000 --- a/client/docs/CreateQuestionConfigResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateQuestionConfigResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_config** | Option<[**models::QuestionConfig**](QuestionConfig.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md deleted file mode 100644 index 55f3cbc..0000000 --- a/client/docs/CreateQuestionResultResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateQuestionResultResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_result** | Option<[**models::QuestionResult**](QuestionResult.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md deleted file mode 100644 index 5e15cb3..0000000 --- a/client/docs/CreateTenantPackageResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateTenantPackageResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_package** | Option<[**models::TenantPackage**](TenantPackage.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md deleted file mode 100644 index c0e3d4e..0000000 --- a/client/docs/CreateTenantResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateTenantResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant** | Option<[**models::ApiTenant**](APITenant.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md deleted file mode 100644 index 6a68ffb..0000000 --- a/client/docs/CreateTenantUserResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateTenantUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_user** | Option<[**models::User**](User.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md deleted file mode 100644 index 0102caf..0000000 --- a/client/docs/CreateTicketResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateTicketResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**ticket** | Option<[**models::ApiTicket**](APITicket.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md deleted file mode 100644 index 5ec5c05..0000000 --- a/client/docs/CreateUserBadgeResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badge** | Option<[**models::UserBadge**](UserBadge.md)> | | [optional] -**notes** | Option<**Vec**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md deleted file mode 100644 index fe589d6..0000000 --- a/client/docs/CreateV1PageReactResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateV1PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md deleted file mode 100644 index 3a73159..0000000 --- a/client/docs/CreateV2PageReactResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateV2PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md deleted file mode 100644 index 6795284..0000000 --- a/client/docs/CreateVoteResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# CreateVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**vote_id** | Option<**String**> | | [optional] -**is_verified** | Option<**bool**> | | [optional] -**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] -**edit_key** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md index 2f1d92e..91abd85 100644 --- a/client/docs/DefaultApi.md +++ b/client/docs/DefaultApi.md @@ -152,7 +152,7 @@ Name | Type | Description | Required | Notes ## add_hash_tag -> models::AddHashTagResponse add_hash_tag(tenant_id, create_hash_tag_body) +> models::CreateHashTagResponse add_hash_tag(tenant_id, create_hash_tag_body) ### Parameters @@ -165,7 +165,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::AddHashTagResponse**](AddHashTagResponse.md) +[**models::CreateHashTagResponse**](CreateHashTagResponse.md) ### Authorization @@ -181,7 +181,7 @@ Name | Type | Description | Required | Notes ## add_hash_tags_bulk -> models::AddHashTagsBulkResponse add_hash_tags_bulk(tenant_id, bulk_create_hash_tags_body) +> models::BulkCreateHashTagsResponse add_hash_tags_bulk(tenant_id, bulk_create_hash_tags_body) ### Parameters @@ -194,7 +194,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) +[**models::BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) ### Authorization @@ -301,7 +301,7 @@ Name | Type | Description | Required | Notes ## aggregate_question_results -> models::AggregateQuestionResultsResponse1 aggregate_question_results(tenant_id, question_id, question_ids, url_id, time_bucket, start_date, force_recalculate) +> models::AggregateQuestionResultsResponse aggregate_question_results(tenant_id, question_id, question_ids, url_id, time_bucket, start_date, force_recalculate) ### Parameters @@ -319,7 +319,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse_1.md) +[**models::AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) ### Authorization @@ -335,7 +335,7 @@ Name | Type | Description | Required | Notes ## block_user_from_comment -> models::BlockUserFromCommentResponse block_user_from_comment(tenant_id, id, block_from_comment_params, user_id, anon_user_id) +> models::BlockSuccess block_user_from_comment(tenant_id, id, block_from_comment_params, user_id, anon_user_id) ### Parameters @@ -351,7 +351,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) +[**models::BlockSuccess**](BlockSuccess.md) ### Authorization @@ -367,7 +367,7 @@ Name | Type | Description | Required | Notes ## bulk_aggregate_question_results -> models::BulkAggregateQuestionResultsResponse1 bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, force_recalculate) +> models::BulkAggregateQuestionResultsResponse bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, force_recalculate) ### Parameters @@ -381,7 +381,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse_1.md) +[**models::BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) ### Authorization @@ -397,7 +397,7 @@ Name | Type | Description | Required | Notes ## change_ticket_state -> models::ChangeTicketStateResponse1 change_ticket_state(tenant_id, user_id, id, change_ticket_state_body) +> models::ChangeTicketStateResponse change_ticket_state(tenant_id, user_id, id, change_ticket_state_body) ### Parameters @@ -412,7 +412,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ChangeTicketStateResponse1**](ChangeTicketStateResponse_1.md) +[**models::ChangeTicketStateResponse**](ChangeTicketStateResponse.md) ### Authorization @@ -428,7 +428,7 @@ Name | Type | Description | Required | Notes ## combine_comments_with_question_results -> models::CombineCommentsWithQuestionResultsResponse combine_comments_with_question_results(tenant_id, question_id, question_ids, url_id, start_date, force_recalculate, min_value, max_value, limit) +> models::CombineQuestionResultsWithCommentsResponse combine_comments_with_question_results(tenant_id, question_id, question_ids, url_id, start_date, force_recalculate, min_value, max_value, limit) ### Parameters @@ -448,7 +448,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) +[**models::CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) ### Authorization @@ -464,7 +464,7 @@ Name | Type | Description | Required | Notes ## create_email_template -> models::CreateEmailTemplateResponse1 create_email_template(tenant_id, create_email_template_body) +> models::CreateEmailTemplateResponse create_email_template(tenant_id, create_email_template_body) ### Parameters @@ -477,7 +477,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateEmailTemplateResponse1**](CreateEmailTemplateResponse_1.md) +[**models::CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) ### Authorization @@ -493,7 +493,7 @@ Name | Type | Description | Required | Notes ## create_feed_post -> models::CreateFeedPostResponse1 create_feed_post(tenant_id, create_feed_post_params, broadcast_id, is_live, do_spam_check, skip_dup_check) +> models::CreateFeedPostsResponse create_feed_post(tenant_id, create_feed_post_params, broadcast_id, is_live, do_spam_check, skip_dup_check) ### Parameters @@ -510,7 +510,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateFeedPostResponse1**](CreateFeedPostResponse_1.md) +[**models::CreateFeedPostsResponse**](CreateFeedPostsResponse.md) ### Authorization @@ -526,7 +526,7 @@ Name | Type | Description | Required | Notes ## create_moderator -> models::CreateModeratorResponse1 create_moderator(tenant_id, create_moderator_body) +> models::CreateModeratorResponse create_moderator(tenant_id, create_moderator_body) ### Parameters @@ -539,7 +539,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateModeratorResponse1**](CreateModeratorResponse_1.md) +[**models::CreateModeratorResponse**](CreateModeratorResponse.md) ### Authorization @@ -555,7 +555,7 @@ Name | Type | Description | Required | Notes ## create_question_config -> models::CreateQuestionConfigResponse1 create_question_config(tenant_id, create_question_config_body) +> models::CreateQuestionConfigResponse create_question_config(tenant_id, create_question_config_body) ### Parameters @@ -568,7 +568,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateQuestionConfigResponse1**](CreateQuestionConfigResponse_1.md) +[**models::CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) ### Authorization @@ -584,7 +584,7 @@ Name | Type | Description | Required | Notes ## create_question_result -> models::CreateQuestionResultResponse1 create_question_result(tenant_id, create_question_result_body) +> models::CreateQuestionResultResponse create_question_result(tenant_id, create_question_result_body) ### Parameters @@ -597,7 +597,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateQuestionResultResponse1**](CreateQuestionResultResponse_1.md) +[**models::CreateQuestionResultResponse**](CreateQuestionResultResponse.md) ### Authorization @@ -642,7 +642,7 @@ Name | Type | Description | Required | Notes ## create_tenant -> models::CreateTenantResponse1 create_tenant(tenant_id, create_tenant_body) +> models::CreateTenantResponse create_tenant(tenant_id, create_tenant_body) ### Parameters @@ -655,7 +655,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantResponse1**](CreateTenantResponse_1.md) +[**models::CreateTenantResponse**](CreateTenantResponse.md) ### Authorization @@ -671,7 +671,7 @@ Name | Type | Description | Required | Notes ## create_tenant_package -> models::CreateTenantPackageResponse1 create_tenant_package(tenant_id, create_tenant_package_body) +> models::CreateTenantPackageResponse create_tenant_package(tenant_id, create_tenant_package_body) ### Parameters @@ -684,7 +684,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantPackageResponse1**](CreateTenantPackageResponse_1.md) +[**models::CreateTenantPackageResponse**](CreateTenantPackageResponse.md) ### Authorization @@ -700,7 +700,7 @@ Name | Type | Description | Required | Notes ## create_tenant_user -> models::CreateTenantUserResponse1 create_tenant_user(tenant_id, create_tenant_user_body) +> models::CreateTenantUserResponse create_tenant_user(tenant_id, create_tenant_user_body) ### Parameters @@ -713,7 +713,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTenantUserResponse1**](CreateTenantUserResponse_1.md) +[**models::CreateTenantUserResponse**](CreateTenantUserResponse.md) ### Authorization @@ -729,7 +729,7 @@ Name | Type | Description | Required | Notes ## create_ticket -> models::CreateTicketResponse1 create_ticket(tenant_id, user_id, create_ticket_body) +> models::CreateTicketResponse create_ticket(tenant_id, user_id, create_ticket_body) ### Parameters @@ -743,7 +743,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateTicketResponse1**](CreateTicketResponse_1.md) +[**models::CreateTicketResponse**](CreateTicketResponse.md) ### Authorization @@ -759,7 +759,7 @@ Name | Type | Description | Required | Notes ## create_user_badge -> models::CreateUserBadgeResponse create_user_badge(tenant_id, create_user_badge_params) +> models::ApiCreateUserBadgeResponse create_user_badge(tenant_id, create_user_badge_params) ### Parameters @@ -772,7 +772,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateUserBadgeResponse**](CreateUserBadgeResponse.md) +[**models::ApiCreateUserBadgeResponse**](APICreateUserBadgeResponse.md) ### Authorization @@ -788,7 +788,7 @@ Name | Type | Description | Required | Notes ## create_vote -> models::CreateVoteResponse create_vote(tenant_id, comment_id, direction, user_id, anon_user_id) +> models::VoteResponse create_vote(tenant_id, comment_id, direction, user_id, anon_user_id) ### Parameters @@ -804,7 +804,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateVoteResponse**](CreateVoteResponse.md) +[**models::VoteResponse**](VoteResponse.md) ### Authorization @@ -820,7 +820,7 @@ Name | Type | Description | Required | Notes ## delete_comment -> models::DeleteCommentResponse delete_comment(tenant_id, id, context_user_id, is_live) +> models::DeleteCommentResult delete_comment(tenant_id, id, context_user_id, is_live) ### Parameters @@ -835,7 +835,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteCommentResponse**](DeleteCommentResponse.md) +[**models::DeleteCommentResult**](DeleteCommentResult.md) ### Authorization @@ -880,7 +880,7 @@ Name | Type | Description | Required | Notes ## delete_email_template -> models::DeleteEmailTemplateResponse delete_email_template(tenant_id, id) +> models::ApiEmptyResponse delete_email_template(tenant_id, id) ### Parameters @@ -893,7 +893,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -909,7 +909,7 @@ Name | Type | Description | Required | Notes ## delete_email_template_render_error -> models::DeleteEmailTemplateRenderErrorResponse delete_email_template_render_error(tenant_id, id, error_id) +> models::ApiEmptyResponse delete_email_template_render_error(tenant_id, id, error_id) ### Parameters @@ -923,7 +923,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -939,7 +939,7 @@ Name | Type | Description | Required | Notes ## delete_hash_tag -> models::DeleteHashTagResponse delete_hash_tag(tag, tenant_id, delete_hash_tag_request_body) +> models::ApiEmptyResponse delete_hash_tag(tag, tenant_id, delete_hash_tag_request_body) ### Parameters @@ -953,7 +953,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteHashTagResponse**](DeleteHashTagResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -969,7 +969,7 @@ Name | Type | Description | Required | Notes ## delete_moderator -> models::DeleteModeratorResponse delete_moderator(tenant_id, id, send_email) +> models::ApiEmptyResponse delete_moderator(tenant_id, id, send_email) ### Parameters @@ -983,7 +983,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteModeratorResponse**](DeleteModeratorResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -999,7 +999,7 @@ Name | Type | Description | Required | Notes ## delete_notification_count -> models::DeleteNotificationCountResponse delete_notification_count(tenant_id, id) +> models::ApiEmptyResponse delete_notification_count(tenant_id, id) ### Parameters @@ -1012,7 +1012,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1057,7 +1057,7 @@ Name | Type | Description | Required | Notes ## delete_pending_webhook_event -> models::DeletePendingWebhookEventResponse delete_pending_webhook_event(tenant_id, id) +> models::ApiEmptyResponse delete_pending_webhook_event(tenant_id, id) ### Parameters @@ -1070,7 +1070,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1086,7 +1086,7 @@ Name | Type | Description | Required | Notes ## delete_question_config -> models::DeleteQuestionConfigResponse delete_question_config(tenant_id, id) +> models::ApiEmptyResponse delete_question_config(tenant_id, id) ### Parameters @@ -1099,7 +1099,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1115,7 +1115,7 @@ Name | Type | Description | Required | Notes ## delete_question_result -> models::DeleteQuestionResultResponse delete_question_result(tenant_id, id) +> models::ApiEmptyResponse delete_question_result(tenant_id, id) ### Parameters @@ -1128,7 +1128,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1205,7 +1205,7 @@ Name | Type | Description | Required | Notes ## delete_tenant -> models::DeleteTenantResponse delete_tenant(tenant_id, id, sure) +> models::ApiEmptyResponse delete_tenant(tenant_id, id, sure) ### Parameters @@ -1219,7 +1219,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteTenantResponse**](DeleteTenantResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1235,7 +1235,7 @@ Name | Type | Description | Required | Notes ## delete_tenant_package -> models::DeleteTenantPackageResponse delete_tenant_package(tenant_id, id) +> models::ApiEmptyResponse delete_tenant_package(tenant_id, id) ### Parameters @@ -1248,7 +1248,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1264,7 +1264,7 @@ Name | Type | Description | Required | Notes ## delete_tenant_user -> models::DeleteTenantUserResponse delete_tenant_user(tenant_id, id, delete_comments, comment_delete_mode) +> models::ApiEmptyResponse delete_tenant_user(tenant_id, id, delete_comments, comment_delete_mode) ### Parameters @@ -1279,7 +1279,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteTenantUserResponse**](DeleteTenantUserResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1295,7 +1295,7 @@ Name | Type | Description | Required | Notes ## delete_user_badge -> models::DeleteUserBadgeResponse delete_user_badge(tenant_id, id) +> models::ApiEmptySuccessResponse delete_user_badge(tenant_id, id) ### Parameters @@ -1308,7 +1308,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) +[**models::ApiEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization @@ -1324,7 +1324,7 @@ Name | Type | Description | Required | Notes ## delete_vote -> models::DeleteVoteResponse delete_vote(tenant_id, id, edit_key) +> models::VoteDeleteResponse delete_vote(tenant_id, id, edit_key) ### Parameters @@ -1338,7 +1338,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteVoteResponse**](DeleteVoteResponse.md) +[**models::VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -1354,7 +1354,7 @@ Name | Type | Description | Required | Notes ## flag_comment -> models::FlagCommentResponse1 flag_comment(tenant_id, id, user_id, anon_user_id) +> models::FlagCommentResponse flag_comment(tenant_id, id, user_id, anon_user_id) ### Parameters @@ -1369,7 +1369,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::FlagCommentResponse1**](FlagCommentResponse_1.md) +[**models::FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -1385,7 +1385,7 @@ Name | Type | Description | Required | Notes ## get_audit_logs -> models::GetAuditLogsResponse1 get_audit_logs(tenant_id, limit, skip, order, after, before) +> models::GetAuditLogsResponse get_audit_logs(tenant_id, limit, skip, order, after, before) ### Parameters @@ -1402,7 +1402,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetAuditLogsResponse1**](GetAuditLogsResponse_1.md) +[**models::GetAuditLogsResponse**](GetAuditLogsResponse.md) ### Authorization @@ -1418,7 +1418,7 @@ Name | Type | Description | Required | Notes ## get_cached_notification_count -> models::GetCachedNotificationCountResponse1 get_cached_notification_count(tenant_id, id) +> models::GetCachedNotificationCountResponse get_cached_notification_count(tenant_id, id) ### Parameters @@ -1431,7 +1431,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse_1.md) +[**models::GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) ### Authorization @@ -1447,7 +1447,7 @@ Name | Type | Description | Required | Notes ## get_comment -> models::GetCommentResponse get_comment(tenant_id, id) +> models::ApiGetCommentResponse get_comment(tenant_id, id) ### Parameters @@ -1460,7 +1460,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentResponse**](GetCommentResponse.md) +[**models::ApiGetCommentResponse**](APIGetCommentResponse.md) ### Authorization @@ -1476,7 +1476,7 @@ Name | Type | Description | Required | Notes ## get_comments -> models::GetCommentsResponse get_comments(tenant_id, page, limit, skip, as_tree, skip_children, limit_children, max_tree_depth, url_id, user_id, anon_user_id, context_user_id, hash_tag, parent_id, direction, from_date, to_date) +> models::ApiGetCommentsResponse get_comments(tenant_id, page, limit, skip, as_tree, skip_children, limit_children, max_tree_depth, url_id, user_id, anon_user_id, context_user_id, hash_tag, parent_id, direction, from_date, to_date) ### Parameters @@ -1504,7 +1504,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentsResponse**](GetCommentsResponse.md) +[**models::ApiGetCommentsResponse**](APIGetCommentsResponse.md) ### Authorization @@ -1577,7 +1577,7 @@ Name | Type | Description | Required | Notes ## get_email_template -> models::GetEmailTemplateResponse1 get_email_template(tenant_id, id) +> models::GetEmailTemplateResponse get_email_template(tenant_id, id) ### Parameters @@ -1590,7 +1590,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateResponse1**](GetEmailTemplateResponse_1.md) +[**models::GetEmailTemplateResponse**](GetEmailTemplateResponse.md) ### Authorization @@ -1606,7 +1606,7 @@ Name | Type | Description | Required | Notes ## get_email_template_definitions -> models::GetEmailTemplateDefinitionsResponse1 get_email_template_definitions(tenant_id) +> models::GetEmailTemplateDefinitionsResponse get_email_template_definitions(tenant_id) ### Parameters @@ -1618,7 +1618,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse_1.md) +[**models::GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) ### Authorization @@ -1634,7 +1634,7 @@ Name | Type | Description | Required | Notes ## get_email_template_render_errors -> models::GetEmailTemplateRenderErrorsResponse1 get_email_template_render_errors(tenant_id, id, skip) +> models::GetEmailTemplateRenderErrorsResponse get_email_template_render_errors(tenant_id, id, skip) ### Parameters @@ -1648,7 +1648,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse_1.md) +[**models::GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) ### Authorization @@ -1664,7 +1664,7 @@ Name | Type | Description | Required | Notes ## get_email_templates -> models::GetEmailTemplatesResponse1 get_email_templates(tenant_id, skip) +> models::GetEmailTemplatesResponse get_email_templates(tenant_id, skip) ### Parameters @@ -1677,7 +1677,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEmailTemplatesResponse1**](GetEmailTemplatesResponse_1.md) +[**models::GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) ### Authorization @@ -1693,7 +1693,7 @@ Name | Type | Description | Required | Notes ## get_feed_posts -> models::GetFeedPostsResponse1 get_feed_posts(tenant_id, after_id, limit, tags) +> models::GetFeedPostsResponse get_feed_posts(tenant_id, after_id, limit, tags) req tenantId afterId @@ -1710,7 +1710,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetFeedPostsResponse1**](GetFeedPostsResponse_1.md) +[**models::GetFeedPostsResponse**](GetFeedPostsResponse.md) ### Authorization @@ -1726,7 +1726,7 @@ Name | Type | Description | Required | Notes ## get_hash_tags -> models::GetHashTagsResponse1 get_hash_tags(tenant_id, page) +> models::GetHashTagsResponse get_hash_tags(tenant_id, page) ### Parameters @@ -1739,7 +1739,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetHashTagsResponse1**](GetHashTagsResponse_1.md) +[**models::GetHashTagsResponse**](GetHashTagsResponse.md) ### Authorization @@ -1755,7 +1755,7 @@ Name | Type | Description | Required | Notes ## get_moderator -> models::GetModeratorResponse1 get_moderator(tenant_id, id) +> models::GetModeratorResponse get_moderator(tenant_id, id) ### Parameters @@ -1768,7 +1768,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModeratorResponse1**](GetModeratorResponse_1.md) +[**models::GetModeratorResponse**](GetModeratorResponse.md) ### Authorization @@ -1784,7 +1784,7 @@ Name | Type | Description | Required | Notes ## get_moderators -> models::GetModeratorsResponse1 get_moderators(tenant_id, skip) +> models::GetModeratorsResponse get_moderators(tenant_id, skip) ### Parameters @@ -1797,7 +1797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModeratorsResponse1**](GetModeratorsResponse_1.md) +[**models::GetModeratorsResponse**](GetModeratorsResponse.md) ### Authorization @@ -1813,7 +1813,7 @@ Name | Type | Description | Required | Notes ## get_notification_count -> models::GetNotificationCountResponse1 get_notification_count(tenant_id, user_id, url_id, from_comment_id, viewed, r#type) +> models::GetNotificationCountResponse get_notification_count(tenant_id, user_id, url_id, from_comment_id, viewed, r#type) ### Parameters @@ -1830,7 +1830,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetNotificationCountResponse1**](GetNotificationCountResponse_1.md) +[**models::GetNotificationCountResponse**](GetNotificationCountResponse.md) ### Authorization @@ -1846,7 +1846,7 @@ Name | Type | Description | Required | Notes ## get_notifications -> models::GetNotificationsResponse1 get_notifications(tenant_id, user_id, url_id, from_comment_id, viewed, r#type, skip) +> models::GetNotificationsResponse get_notifications(tenant_id, user_id, url_id, from_comment_id, viewed, r#type, skip) ### Parameters @@ -1864,7 +1864,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetNotificationsResponse1**](GetNotificationsResponse_1.md) +[**models::GetNotificationsResponse**](GetNotificationsResponse.md) ### Authorization @@ -1937,7 +1937,7 @@ Name | Type | Description | Required | Notes ## get_pending_webhook_event_count -> models::GetPendingWebhookEventCountResponse1 get_pending_webhook_event_count(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt) +> models::GetPendingWebhookEventCountResponse get_pending_webhook_event_count(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt) ### Parameters @@ -1955,7 +1955,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse_1.md) +[**models::GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) ### Authorization @@ -1971,7 +1971,7 @@ Name | Type | Description | Required | Notes ## get_pending_webhook_events -> models::GetPendingWebhookEventsResponse1 get_pending_webhook_events(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt, skip) +> models::GetPendingWebhookEventsResponse get_pending_webhook_events(tenant_id, comment_id, external_id, event_type, r#type, domain, attempt_count_gt, skip) ### Parameters @@ -1990,7 +1990,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse_1.md) +[**models::GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) ### Authorization @@ -2006,7 +2006,7 @@ Name | Type | Description | Required | Notes ## get_question_config -> models::GetQuestionConfigResponse1 get_question_config(tenant_id, id) +> models::GetQuestionConfigResponse get_question_config(tenant_id, id) ### Parameters @@ -2019,7 +2019,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionConfigResponse1**](GetQuestionConfigResponse_1.md) +[**models::GetQuestionConfigResponse**](GetQuestionConfigResponse.md) ### Authorization @@ -2035,7 +2035,7 @@ Name | Type | Description | Required | Notes ## get_question_configs -> models::GetQuestionConfigsResponse1 get_question_configs(tenant_id, skip) +> models::GetQuestionConfigsResponse get_question_configs(tenant_id, skip) ### Parameters @@ -2048,7 +2048,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionConfigsResponse1**](GetQuestionConfigsResponse_1.md) +[**models::GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) ### Authorization @@ -2064,7 +2064,7 @@ Name | Type | Description | Required | Notes ## get_question_result -> models::GetQuestionResultResponse1 get_question_result(tenant_id, id) +> models::GetQuestionResultResponse get_question_result(tenant_id, id) ### Parameters @@ -2077,7 +2077,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionResultResponse1**](GetQuestionResultResponse_1.md) +[**models::GetQuestionResultResponse**](GetQuestionResultResponse.md) ### Authorization @@ -2093,7 +2093,7 @@ Name | Type | Description | Required | Notes ## get_question_results -> models::GetQuestionResultsResponse1 get_question_results(tenant_id, url_id, user_id, start_date, question_id, question_ids, skip) +> models::GetQuestionResultsResponse get_question_results(tenant_id, url_id, user_id, start_date, question_id, question_ids, skip) ### Parameters @@ -2111,7 +2111,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetQuestionResultsResponse1**](GetQuestionResultsResponse_1.md) +[**models::GetQuestionResultsResponse**](GetQuestionResultsResponse.md) ### Authorization @@ -2243,7 +2243,7 @@ Name | Type | Description | Required | Notes ## get_tenant -> models::GetTenantResponse1 get_tenant(tenant_id, id) +> models::GetTenantResponse get_tenant(tenant_id, id) ### Parameters @@ -2256,7 +2256,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantResponse1**](GetTenantResponse_1.md) +[**models::GetTenantResponse**](GetTenantResponse.md) ### Authorization @@ -2272,7 +2272,7 @@ Name | Type | Description | Required | Notes ## get_tenant_daily_usages -> models::GetTenantDailyUsagesResponse1 get_tenant_daily_usages(tenant_id, year_number, month_number, day_number, skip) +> models::GetTenantDailyUsagesResponse get_tenant_daily_usages(tenant_id, year_number, month_number, day_number, skip) ### Parameters @@ -2288,7 +2288,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse_1.md) +[**models::GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) ### Authorization @@ -2304,7 +2304,7 @@ Name | Type | Description | Required | Notes ## get_tenant_package -> models::GetTenantPackageResponse1 get_tenant_package(tenant_id, id) +> models::GetTenantPackageResponse get_tenant_package(tenant_id, id) ### Parameters @@ -2317,7 +2317,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantPackageResponse1**](GetTenantPackageResponse_1.md) +[**models::GetTenantPackageResponse**](GetTenantPackageResponse.md) ### Authorization @@ -2333,7 +2333,7 @@ Name | Type | Description | Required | Notes ## get_tenant_packages -> models::GetTenantPackagesResponse1 get_tenant_packages(tenant_id, skip) +> models::GetTenantPackagesResponse get_tenant_packages(tenant_id, skip) ### Parameters @@ -2346,7 +2346,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantPackagesResponse1**](GetTenantPackagesResponse_1.md) +[**models::GetTenantPackagesResponse**](GetTenantPackagesResponse.md) ### Authorization @@ -2362,7 +2362,7 @@ Name | Type | Description | Required | Notes ## get_tenant_user -> models::GetTenantUserResponse1 get_tenant_user(tenant_id, id) +> models::GetTenantUserResponse get_tenant_user(tenant_id, id) ### Parameters @@ -2375,7 +2375,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantUserResponse1**](GetTenantUserResponse_1.md) +[**models::GetTenantUserResponse**](GetTenantUserResponse.md) ### Authorization @@ -2391,7 +2391,7 @@ Name | Type | Description | Required | Notes ## get_tenant_users -> models::GetTenantUsersResponse1 get_tenant_users(tenant_id, skip) +> models::GetTenantUsersResponse get_tenant_users(tenant_id, skip) ### Parameters @@ -2404,7 +2404,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantUsersResponse1**](GetTenantUsersResponse_1.md) +[**models::GetTenantUsersResponse**](GetTenantUsersResponse.md) ### Authorization @@ -2420,7 +2420,7 @@ Name | Type | Description | Required | Notes ## get_tenants -> models::GetTenantsResponse1 get_tenants(tenant_id, meta, skip) +> models::GetTenantsResponse get_tenants(tenant_id, meta, skip) ### Parameters @@ -2434,7 +2434,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTenantsResponse1**](GetTenantsResponse_1.md) +[**models::GetTenantsResponse**](GetTenantsResponse.md) ### Authorization @@ -2450,7 +2450,7 @@ Name | Type | Description | Required | Notes ## get_ticket -> models::GetTicketResponse1 get_ticket(tenant_id, id, user_id) +> models::GetTicketResponse get_ticket(tenant_id, id, user_id) ### Parameters @@ -2464,7 +2464,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTicketResponse1**](GetTicketResponse_1.md) +[**models::GetTicketResponse**](GetTicketResponse.md) ### Authorization @@ -2480,7 +2480,7 @@ Name | Type | Description | Required | Notes ## get_tickets -> models::GetTicketsResponse1 get_tickets(tenant_id, user_id, state, skip, limit) +> models::GetTicketsResponse get_tickets(tenant_id, user_id, state, skip, limit) ### Parameters @@ -2496,7 +2496,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTicketsResponse1**](GetTicketsResponse_1.md) +[**models::GetTicketsResponse**](GetTicketsResponse.md) ### Authorization @@ -2512,7 +2512,7 @@ Name | Type | Description | Required | Notes ## get_user -> models::GetUserResponse1 get_user(tenant_id, id) +> models::GetUserResponse get_user(tenant_id, id) ### Parameters @@ -2525,7 +2525,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserResponse1**](GetUserResponse_1.md) +[**models::GetUserResponse**](GetUserResponse.md) ### Authorization @@ -2541,7 +2541,7 @@ Name | Type | Description | Required | Notes ## get_user_badge -> models::GetUserBadgeResponse get_user_badge(tenant_id, id) +> models::ApiGetUserBadgeResponse get_user_badge(tenant_id, id) ### Parameters @@ -2554,7 +2554,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBadgeResponse**](GetUserBadgeResponse.md) +[**models::ApiGetUserBadgeResponse**](APIGetUserBadgeResponse.md) ### Authorization @@ -2570,7 +2570,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_by_id -> models::GetUserBadgeProgressByIdResponse get_user_badge_progress_by_id(tenant_id, id) +> models::ApiGetUserBadgeProgressResponse get_user_badge_progress_by_id(tenant_id, id) ### Parameters @@ -2583,7 +2583,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) +[**models::ApiGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -2599,7 +2599,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_by_user_id -> models::GetUserBadgeProgressByUserIdResponse get_user_badge_progress_by_user_id(tenant_id, user_id) +> models::ApiGetUserBadgeProgressResponse get_user_badge_progress_by_user_id(tenant_id, user_id) ### Parameters @@ -2612,7 +2612,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) +[**models::ApiGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -2628,7 +2628,7 @@ Name | Type | Description | Required | Notes ## get_user_badge_progress_list -> models::GetUserBadgeProgressListResponse get_user_badge_progress_list(tenant_id, user_id, limit, skip) +> models::ApiGetUserBadgeProgressListResponse get_user_badge_progress_list(tenant_id, user_id, limit, skip) ### Parameters @@ -2643,7 +2643,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) +[**models::ApiGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) ### Authorization @@ -2659,7 +2659,7 @@ Name | Type | Description | Required | Notes ## get_user_badges -> models::GetUserBadgesResponse get_user_badges(tenant_id, user_id, badge_id, r#type, displayed_on_comments, limit, skip) +> models::ApiGetUserBadgesResponse get_user_badges(tenant_id, user_id, badge_id, r#type, displayed_on_comments, limit, skip) ### Parameters @@ -2677,7 +2677,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBadgesResponse**](GetUserBadgesResponse.md) +[**models::ApiGetUserBadgesResponse**](APIGetUserBadgesResponse.md) ### Authorization @@ -2693,7 +2693,7 @@ Name | Type | Description | Required | Notes ## get_votes -> models::GetVotesResponse1 get_votes(tenant_id, url_id) +> models::GetVotesResponse get_votes(tenant_id, url_id) ### Parameters @@ -2706,7 +2706,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetVotesResponse1**](GetVotesResponse_1.md) +[**models::GetVotesResponse**](GetVotesResponse.md) ### Authorization @@ -2722,7 +2722,7 @@ Name | Type | Description | Required | Notes ## get_votes_for_user -> models::GetVotesForUserResponse1 get_votes_for_user(tenant_id, url_id, user_id, anon_user_id) +> models::GetVotesForUserResponse get_votes_for_user(tenant_id, url_id, user_id, anon_user_id) ### Parameters @@ -2737,7 +2737,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetVotesForUserResponse1**](GetVotesForUserResponse_1.md) +[**models::GetVotesForUserResponse**](GetVotesForUserResponse.md) ### Authorization @@ -2783,7 +2783,7 @@ Name | Type | Description | Required | Notes ## patch_hash_tag -> models::PatchHashTagResponse patch_hash_tag(tag, tenant_id, update_hash_tag_body) +> models::UpdateHashTagResponse patch_hash_tag(tag, tenant_id, update_hash_tag_body) ### Parameters @@ -2797,7 +2797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PatchHashTagResponse**](PatchHashTagResponse.md) +[**models::UpdateHashTagResponse**](UpdateHashTagResponse.md) ### Authorization @@ -2935,7 +2935,7 @@ Name | Type | Description | Required | Notes ## render_email_template -> models::RenderEmailTemplateResponse1 render_email_template(tenant_id, render_email_template_body, locale) +> models::RenderEmailTemplateResponse render_email_template(tenant_id, render_email_template_body, locale) ### Parameters @@ -2949,7 +2949,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::RenderEmailTemplateResponse1**](RenderEmailTemplateResponse_1.md) +[**models::RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) ### Authorization @@ -2965,7 +2965,7 @@ Name | Type | Description | Required | Notes ## replace_tenant_package -> models::ReplaceTenantPackageResponse replace_tenant_package(tenant_id, id, replace_tenant_package_body) +> models::ApiEmptyResponse replace_tenant_package(tenant_id, id, replace_tenant_package_body) ### Parameters @@ -2979,7 +2979,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2995,7 +2995,7 @@ Name | Type | Description | Required | Notes ## replace_tenant_user -> models::ReplaceTenantUserResponse replace_tenant_user(tenant_id, id, replace_tenant_user_body, update_comments) +> models::ApiEmptyResponse replace_tenant_user(tenant_id, id, replace_tenant_user_body, update_comments) ### Parameters @@ -3010,7 +3010,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3026,7 +3026,7 @@ Name | Type | Description | Required | Notes ## save_comment -> models::SaveCommentResponse save_comment(tenant_id, create_comment_params, is_live, do_spam_check, send_emails, populate_notifications) +> models::ApiSaveCommentResponse save_comment(tenant_id, create_comment_params, is_live, do_spam_check, send_emails, populate_notifications) ### Parameters @@ -3043,7 +3043,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SaveCommentResponse**](SaveCommentResponse.md) +[**models::ApiSaveCommentResponse**](APISaveCommentResponse.md) ### Authorization @@ -3092,7 +3092,7 @@ Name | Type | Description | Required | Notes ## send_invite -> models::SendInviteResponse send_invite(tenant_id, id, from_name) +> models::ApiEmptyResponse send_invite(tenant_id, id, from_name) ### Parameters @@ -3106,7 +3106,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SendInviteResponse**](SendInviteResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3122,7 +3122,7 @@ Name | Type | Description | Required | Notes ## send_login_link -> models::SendLoginLinkResponse send_login_link(tenant_id, id, redirect_url) +> models::ApiEmptyResponse send_login_link(tenant_id, id, redirect_url) ### Parameters @@ -3136,7 +3136,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SendLoginLinkResponse**](SendLoginLinkResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3152,7 +3152,7 @@ Name | Type | Description | Required | Notes ## un_block_user_from_comment -> models::UnBlockUserFromCommentResponse un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, user_id, anon_user_id) +> models::UnblockSuccess un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, user_id, anon_user_id) ### Parameters @@ -3168,7 +3168,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) +[**models::UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -3184,7 +3184,7 @@ Name | Type | Description | Required | Notes ## un_flag_comment -> models::UnFlagCommentResponse un_flag_comment(tenant_id, id, user_id, anon_user_id) +> models::FlagCommentResponse un_flag_comment(tenant_id, id, user_id, anon_user_id) ### Parameters @@ -3199,7 +3199,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnFlagCommentResponse**](UnFlagCommentResponse.md) +[**models::FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -3215,7 +3215,7 @@ Name | Type | Description | Required | Notes ## update_comment -> models::UpdateCommentResponse update_comment(tenant_id, id, updatable_comment_params, context_user_id, do_spam_check, is_live) +> models::ApiEmptyResponse update_comment(tenant_id, id, updatable_comment_params, context_user_id, do_spam_check, is_live) ### Parameters @@ -3232,7 +3232,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateCommentResponse**](UpdateCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3248,7 +3248,7 @@ Name | Type | Description | Required | Notes ## update_email_template -> models::UpdateEmailTemplateResponse update_email_template(tenant_id, id, update_email_template_body) +> models::ApiEmptyResponse update_email_template(tenant_id, id, update_email_template_body) ### Parameters @@ -3262,7 +3262,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3278,7 +3278,7 @@ Name | Type | Description | Required | Notes ## update_feed_post -> models::UpdateFeedPostResponse update_feed_post(tenant_id, id, feed_post) +> models::ApiEmptyResponse update_feed_post(tenant_id, id, feed_post) ### Parameters @@ -3292,7 +3292,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateFeedPostResponse**](UpdateFeedPostResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3308,7 +3308,7 @@ Name | Type | Description | Required | Notes ## update_moderator -> models::UpdateModeratorResponse update_moderator(tenant_id, id, update_moderator_body) +> models::ApiEmptyResponse update_moderator(tenant_id, id, update_moderator_body) ### Parameters @@ -3322,7 +3322,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateModeratorResponse**](UpdateModeratorResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3338,7 +3338,7 @@ Name | Type | Description | Required | Notes ## update_notification -> models::UpdateNotificationResponse update_notification(tenant_id, id, update_notification_body, user_id) +> models::ApiEmptyResponse update_notification(tenant_id, id, update_notification_body, user_id) ### Parameters @@ -3353,7 +3353,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateNotificationResponse**](UpdateNotificationResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3369,7 +3369,7 @@ Name | Type | Description | Required | Notes ## update_question_config -> models::UpdateQuestionConfigResponse update_question_config(tenant_id, id, update_question_config_body) +> models::ApiEmptyResponse update_question_config(tenant_id, id, update_question_config_body) ### Parameters @@ -3383,7 +3383,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3399,7 +3399,7 @@ Name | Type | Description | Required | Notes ## update_question_result -> models::UpdateQuestionResultResponse update_question_result(tenant_id, id, update_question_result_body) +> models::ApiEmptyResponse update_question_result(tenant_id, id, update_question_result_body) ### Parameters @@ -3413,7 +3413,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3460,7 +3460,7 @@ Name | Type | Description | Required | Notes ## update_tenant -> models::UpdateTenantResponse update_tenant(tenant_id, id, update_tenant_body) +> models::ApiEmptyResponse update_tenant(tenant_id, id, update_tenant_body) ### Parameters @@ -3474,7 +3474,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateTenantResponse**](UpdateTenantResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3490,7 +3490,7 @@ Name | Type | Description | Required | Notes ## update_tenant_package -> models::UpdateTenantPackageResponse update_tenant_package(tenant_id, id, update_tenant_package_body) +> models::ApiEmptyResponse update_tenant_package(tenant_id, id, update_tenant_package_body) ### Parameters @@ -3504,7 +3504,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3520,7 +3520,7 @@ Name | Type | Description | Required | Notes ## update_tenant_user -> models::UpdateTenantUserResponse update_tenant_user(tenant_id, id, update_tenant_user_body, update_comments) +> models::ApiEmptyResponse update_tenant_user(tenant_id, id, update_tenant_user_body, update_comments) ### Parameters @@ -3535,7 +3535,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateTenantUserResponse**](UpdateTenantUserResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3551,7 +3551,7 @@ Name | Type | Description | Required | Notes ## update_user_badge -> models::UpdateUserBadgeResponse update_user_badge(tenant_id, id, update_user_badge_params) +> models::ApiEmptySuccessResponse update_user_badge(tenant_id, id, update_user_badge_params) ### Parameters @@ -3565,7 +3565,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) +[**models::ApiEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md deleted file mode 100644 index 444b970..0000000 --- a/client/docs/DeleteCommentPublicResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# DeleteCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | Option<[**models::DeletedCommentResultComment**](DeletedCommentResultComment.md)> | | [optional] -**hard_removed** | Option<**bool**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md deleted file mode 100644 index 0091e84..0000000 --- a/client/docs/DeleteCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | Option<[**models::DeleteCommentAction**](DeleteCommentAction.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md deleted file mode 100644 index 7c57b07..0000000 --- a/client/docs/DeleteCommentVoteResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteCommentVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**was_pending_vote** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md deleted file mode 100644 index fde8965..0000000 --- a/client/docs/DeleteEmailTemplateRenderErrorResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteEmailTemplateRenderErrorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md deleted file mode 100644 index 6427b15..0000000 --- a/client/docs/DeleteEmailTemplateResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteEmailTemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index 0a9f7b7..f427e23 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -5,13 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md deleted file mode 100644 index d484de8..0000000 --- a/client/docs/DeleteFeedPostPublicResponseAnyOf.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeleteFeedPostPublicResponseAnyOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md deleted file mode 100644 index 544eb94..0000000 --- a/client/docs/DeleteHashTagResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md deleted file mode 100644 index 4b0ffbb..0000000 --- a/client/docs/DeleteModerationVoteResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteModerationVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**was_pending_vote** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md deleted file mode 100644 index 51c5ef0..0000000 --- a/client/docs/DeleteModeratorResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteModeratorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md deleted file mode 100644 index 66641c1..0000000 --- a/client/docs/DeleteNotificationCountResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteNotificationCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md deleted file mode 100644 index 276e4e3..0000000 --- a/client/docs/DeletePendingWebhookEventResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeletePendingWebhookEventResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md deleted file mode 100644 index 9f62b13..0000000 --- a/client/docs/DeleteQuestionConfigResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteQuestionConfigResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md deleted file mode 100644 index 3bce96a..0000000 --- a/client/docs/DeleteQuestionResultResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteQuestionResultResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md deleted file mode 100644 index e0734d9..0000000 --- a/client/docs/DeleteTenantPackageResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md deleted file mode 100644 index 1c492e3..0000000 --- a/client/docs/DeleteTenantResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteTenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md deleted file mode 100644 index bfd3b0c..0000000 --- a/client/docs/DeleteTenantUserResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md deleted file mode 100644 index 9f00f17..0000000 --- a/client/docs/DeleteUserBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md deleted file mode 100644 index 7c133af..0000000 --- a/client/docs/DeleteV1PageReactResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteV1PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md deleted file mode 100644 index 564e178..0000000 --- a/client/docs/DeleteV2PageReactResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteV2PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md deleted file mode 100644 index 8d29cea..0000000 --- a/client/docs/DeleteVoteResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**was_pending_vote** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md deleted file mode 100644 index 5fd3e4b..0000000 --- a/client/docs/FlagCommentPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# FlagCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md deleted file mode 100644 index dbd0941..0000000 --- a/client/docs/FlagCommentResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# FlagCommentResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status_code** | Option<**i32**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**was_unapproved** | Option<**bool**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md deleted file mode 100644 index 0cf0687..0000000 --- a/client/docs/GetApiCommentsResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetApiCommentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**translations** | Option<**serde_json::Value**> | | [optional] -**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] -**moderation_filter** | Option<[**models::ModerationFilter**](ModerationFilter.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md deleted file mode 100644 index 1360dcd..0000000 --- a/client/docs/GetApiExportStatusResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetApiExportStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**job_status** | Option<**String**> | | [optional] -**record_count** | Option<**i32**> | | [optional] -**download_url** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md deleted file mode 100644 index 6e8b5e6..0000000 --- a/client/docs/GetApiIdsResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetApiIdsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ids** | Option<**Vec**> | | [optional] -**has_more** | Option<**bool**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md deleted file mode 100644 index 079a31d..0000000 --- a/client/docs/GetAuditLogsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetAuditLogsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**audit_logs** | Option<[**Vec**](APIAuditLog.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md deleted file mode 100644 index ed279d9..0000000 --- a/client/docs/GetBanUsersFromCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetBanUsersFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**banned_users** | Option<[**Vec**](APIBannedUserWithMultiMatchInfo.md)> | | [optional] -**code** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md deleted file mode 100644 index 70492f8..0000000 --- a/client/docs/GetCachedNotificationCountResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCachedNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**data** | Option<[**models::UserNotificationCount**](UserNotificationCount.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md deleted file mode 100644 index 05184a7..0000000 --- a/client/docs/GetCommentBanStatusResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCommentBanStatusResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**email_domain** | Option<**String**> | | [optional] -**can_ip_ban** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md deleted file mode 100644 index 1ea82d4..0000000 --- a/client/docs/GetCommentChildrenResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentChildrenResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md deleted file mode 100644 index ad3f1ba..0000000 --- a/client/docs/GetCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment** | Option<[**models::ApiComment**](APIComment.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md deleted file mode 100644 index 0a31240..0000000 --- a/client/docs/GetCommentTextResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCommentTextResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment_text** | Option<**String**> | | [optional] -**sanitized_comment_text** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md deleted file mode 100644 index afd691c..0000000 --- a/client/docs/GetCommentVoteUserNamesResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetCommentVoteUserNamesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**vote_user_names** | Option<**Vec**> | | [optional] -**has_more** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md deleted file mode 100644 index 7ce8222..0000000 --- a/client/docs/GetCommentsForUserResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentsForUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**moderating_tenant_ids** | Option<**Vec**> | | [optional] -**status** | Option<[**models::ApiStatus**](APIStatus.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md deleted file mode 100644 index df75e7a..0000000 --- a/client/docs/GetCommentsPublicResponse.md +++ /dev/null @@ -1,41 +0,0 @@ -# GetCommentsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status_code** | Option<**i32**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**translated_warning** | Option<**String**> | | [optional] -**comments** | Option<[**Vec**](PublicComment.md)> | | [optional] -**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] -**url_id_clean** | Option<**String**> | | [optional] -**last_gen_date** | Option<**i64**> | | [optional] -**includes_past_pages** | Option<**bool**> | | [optional] -**is_demo** | Option<**bool**> | | [optional] -**comment_count** | Option<**i32**> | | [optional] -**is_site_admin** | Option<**bool**> | | [optional] -**has_billing_issue** | Option<**bool**> | | [optional] -**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**page_number** | Option<**i32**> | | [optional] -**is_white_labeled** | Option<**bool**> | | [optional] -**is_prod** | Option<**bool**> | | [optional] -**is_crawler** | Option<**bool**> | | [optional] -**notification_count** | Option<**i32**> | | [optional] -**has_more** | Option<**bool**> | | [optional] -**is_closed** | Option<**bool**> | | [optional] -**presence_poll_state** | Option<**i32**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] -**url_id_ws** | Option<**String**> | | [optional] -**user_id_ws** | Option<**String**> | | [optional] -**tenant_id_ws** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md deleted file mode 100644 index 8fd9af4..0000000 --- a/client/docs/GetCommentsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comments** | Option<[**Vec**](APIComment.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md deleted file mode 100644 index 4497993..0000000 --- a/client/docs/GetCountResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**count** | Option<**f64**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md deleted file mode 100644 index 6275696..0000000 --- a/client/docs/GetCountsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCountsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total_count** | Option<**f64**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md deleted file mode 100644 index 10281e6..0000000 --- a/client/docs/GetEmailTemplateDefinitionsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEmailTemplateDefinitionsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**definitions** | Option<[**Vec**](EmailTemplateDefinition.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md deleted file mode 100644 index b760be2..0000000 --- a/client/docs/GetEmailTemplateRenderErrorsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEmailTemplateRenderErrorsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**render_errors** | Option<[**Vec**](EmailTemplateRenderErrorResponse.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md deleted file mode 100644 index 2d4d5c1..0000000 --- a/client/docs/GetEmailTemplateResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**email_template** | Option<[**models::CustomEmailTemplate**](CustomEmailTemplate.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md deleted file mode 100644 index 825ffec..0000000 --- a/client/docs/GetEmailTemplatesResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEmailTemplatesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**email_templates** | Option<[**Vec**](CustomEmailTemplate.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md deleted file mode 100644 index 34d4c31..0000000 --- a/client/docs/GetEventLogResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetEventLogResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | Option<[**Vec**](EventLogEntry.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md deleted file mode 100644 index bf7640e..0000000 --- a/client/docs/GetFeedPostsPublicResponse.md +++ /dev/null @@ -1,24 +0,0 @@ -# GetFeedPostsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**my_reacts** | Option<**std::collections::HashMap>**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**feed_posts** | Option<[**Vec**](FeedPost.md)> | | [optional] -**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] -**url_id_ws** | Option<**String**> | | [optional] -**user_id_ws** | Option<**String**> | | [optional] -**tenant_id_ws** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md deleted file mode 100644 index 23d8532..0000000 --- a/client/docs/GetFeedPostsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFeedPostsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**feed_posts** | Option<[**Vec**](FeedPost.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md deleted file mode 100644 index 9a2174e..0000000 --- a/client/docs/GetFeedPostsStatsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFeedPostsStatsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**stats** | Option<[**std::collections::HashMap**](FeedPostStats.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md deleted file mode 100644 index 9d9ed72..0000000 --- a/client/docs/GetGifLargeResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetGifLargeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**src** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index 62c3b76..06c1f8d 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -7,12 +7,6 @@ Name | Type | Description | Notes **images** | Option<[**Vec>**](Vec.md)> | | [optional] **status** | [**models::ApiStatus**](APIStatus.md) | | **code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md deleted file mode 100644 index c64827f..0000000 --- a/client/docs/GetGlobalEventLogResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetGlobalEventLogResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | Option<[**Vec**](EventLogEntry.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md deleted file mode 100644 index 7dd9bae..0000000 --- a/client/docs/GetHashTagsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetHashTagsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**hash_tags** | Option<[**Vec**](TenantHashTag.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md deleted file mode 100644 index a8fd1d4..0000000 --- a/client/docs/GetLogsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetLogsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**logs** | Option<[**Vec**](ModerationAPICommentLog.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md deleted file mode 100644 index 59dc776..0000000 --- a/client/docs/GetManualBadgesForUserResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetManualBadgesForUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | Option<[**Vec**](UserBadge.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md deleted file mode 100644 index d6e2c15..0000000 --- a/client/docs/GetManualBadgesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetManualBadgesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | Option<[**Vec**](TenantBadge.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md deleted file mode 100644 index 772ec57..0000000 --- a/client/docs/GetModerationCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetModerationCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | Option<[**models::ModerationApiComment**](ModerationAPIComment.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md deleted file mode 100644 index 674694e..0000000 --- a/client/docs/GetModerationCommentTextResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetModerationCommentTextResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md deleted file mode 100644 index 03665bf..0000000 --- a/client/docs/GetModeratorResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetModeratorResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**moderator** | Option<[**models::Moderator**](Moderator.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md deleted file mode 100644 index aa6c640..0000000 --- a/client/docs/GetModeratorsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetModeratorsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**moderators** | Option<[**Vec**](Moderator.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md deleted file mode 100644 index 319476e..0000000 --- a/client/docs/GetNotificationCountResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**count** | Option<**f64**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md deleted file mode 100644 index 3dcef9a..0000000 --- a/client/docs/GetNotificationsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetNotificationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**notifications** | Option<[**Vec**](UserNotification.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md deleted file mode 100644 index ce87afe..0000000 --- a/client/docs/GetOfflineUsersResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetOfflineUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**next_after_user_id** | Option<**String**> | | [optional] -**next_after_name** | Option<**String**> | | [optional] -**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md deleted file mode 100644 index 3d3089c..0000000 --- a/client/docs/GetOnlineUsersResponse.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetOnlineUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**next_after_user_id** | Option<**String**> | | [optional] -**next_after_name** | Option<**String**> | | [optional] -**total_count** | Option<**f64**> | | [optional] -**anon_count** | Option<**f64**> | | [optional] -**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md deleted file mode 100644 index a8cefd7..0000000 --- a/client/docs/GetPagesPublicResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetPagesPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**next_cursor** | Option<**String**> | | [optional] -**pages** | Option<[**Vec**](PublicPage.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md deleted file mode 100644 index eccae48..0000000 --- a/client/docs/GetPendingWebhookEventCountResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetPendingWebhookEventCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**count** | Option<**f64**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md deleted file mode 100644 index 1f03d51..0000000 --- a/client/docs/GetPendingWebhookEventsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetPendingWebhookEventsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**pending_webhook_events** | Option<[**Vec**](PendingCommentToSyncOutbound.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md deleted file mode 100644 index 7581496..0000000 --- a/client/docs/GetPreBanSummaryResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetPreBanSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**usernames** | Option<**Vec**> | | [optional] -**count** | Option<**f64**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md deleted file mode 100644 index ba6a6b8..0000000 --- a/client/docs/GetQuestionConfigResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetQuestionConfigResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_config** | Option<[**models::QuestionConfig**](QuestionConfig.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md deleted file mode 100644 index 14bf0a2..0000000 --- a/client/docs/GetQuestionConfigsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetQuestionConfigsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_configs** | Option<[**Vec**](QuestionConfig.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md deleted file mode 100644 index 3be684f..0000000 --- a/client/docs/GetQuestionResultResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetQuestionResultResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_result** | Option<[**models::QuestionResult**](QuestionResult.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md deleted file mode 100644 index ed12044..0000000 --- a/client/docs/GetQuestionResultsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**question_results** | Option<[**Vec**](QuestionResult.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md deleted file mode 100644 index cd0364a..0000000 --- a/client/docs/GetSearchCommentsSummaryResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetSearchCommentsSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment_count** | Option<**i32**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md deleted file mode 100644 index 3999a04..0000000 --- a/client/docs/GetSearchPagesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetSearchPagesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pages** | Option<[**Vec**](ModerationPageSearchProjected.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md deleted file mode 100644 index ea678cd..0000000 --- a/client/docs/GetSearchSitesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetSearchSitesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sites** | Option<[**Vec**](ModerationSiteSearchProjected.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md deleted file mode 100644 index 0ed14e9..0000000 --- a/client/docs/GetSearchSuggestResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetSearchSuggestResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**pages** | Option<[**Vec**](ModerationPageSearchProjected.md)> | | [optional] -**users** | Option<[**Vec**](ModerationUserSearchProjected.md)> | | [optional] -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md deleted file mode 100644 index 9f6220c..0000000 --- a/client/docs/GetSearchUsersResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetSearchUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | Option<[**Vec**](ModerationUserSearchProjected.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md deleted file mode 100644 index 8da15d9..0000000 --- a/client/docs/GetTenantDailyUsagesResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantDailyUsagesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_daily_usages** | Option<[**Vec**](APITenantDailyUsage.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md deleted file mode 100644 index 4fc334d..0000000 --- a/client/docs/GetTenantPackageResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantPackageResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_package** | Option<[**models::TenantPackage**](TenantPackage.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md deleted file mode 100644 index 641a5fd..0000000 --- a/client/docs/GetTenantPackagesResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantPackagesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_packages** | Option<[**Vec**](TenantPackage.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md deleted file mode 100644 index 9952193..0000000 --- a/client/docs/GetTenantResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant** | Option<[**models::ApiTenant**](APITenant.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md deleted file mode 100644 index 3652998..0000000 --- a/client/docs/GetTenantUserResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_user** | Option<[**models::User**](User.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md deleted file mode 100644 index 8a2fc50..0000000 --- a/client/docs/GetTenantUsersResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenant_users** | Option<[**Vec**](User.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md deleted file mode 100644 index ef029dd..0000000 --- a/client/docs/GetTenantsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTenantsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tenants** | Option<[**Vec**](APITenant.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md deleted file mode 100644 index 16994d0..0000000 --- a/client/docs/GetTicketResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetTicketResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**ticket** | Option<[**models::ApiTicketDetail**](APITicketDetail.md)> | | [optional] -**available_states** | Option<**Vec**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md deleted file mode 100644 index 7678c4b..0000000 --- a/client/docs/GetTicketsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTicketsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**tickets** | Option<[**Vec**](APITicket.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md deleted file mode 100644 index 84556bf..0000000 --- a/client/docs/GetTranslationsResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTranslationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**translations** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md deleted file mode 100644 index 23cc698..0000000 --- a/client/docs/GetTrustFactorResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetTrustFactorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**manual_trust_factor** | Option<**f64**> | | [optional] -**auto_trust_factor** | Option<**f64**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md deleted file mode 100644 index 00f977a..0000000 --- a/client/docs/GetUserBadgeProgressByIdResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBadgeProgressByIdResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badge_progress** | Option<[**models::UserBadgeProgress**](UserBadgeProgress.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md deleted file mode 100644 index 6fc72cc..0000000 --- a/client/docs/GetUserBadgeProgressByUserIdResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBadgeProgressByUserIdResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badge_progress** | Option<[**models::UserBadgeProgress**](UserBadgeProgress.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md deleted file mode 100644 index e545eae..0000000 --- a/client/docs/GetUserBadgeProgressListResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBadgeProgressListResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badge_progresses** | Option<[**Vec**](UserBadgeProgress.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md deleted file mode 100644 index f94bd6d..0000000 --- a/client/docs/GetUserBadgeResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badge** | Option<[**models::UserBadge**](UserBadge.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md deleted file mode 100644 index 9e086a7..0000000 --- a/client/docs/GetUserBadgesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBadgesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_badges** | Option<[**Vec**](UserBadge.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md deleted file mode 100644 index 0d38710..0000000 --- a/client/docs/GetUserBanPreferenceResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserBanPreferenceResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**preferences** | Option<[**models::ApiModerateUserBanPreferences**](APIModerateUserBanPreferences.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md deleted file mode 100644 index 3319058..0000000 --- a/client/docs/GetUserInternalProfileResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserInternalProfileResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**profile** | Option<[**models::GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md deleted file mode 100644 index b20dea2..0000000 --- a/client/docs/GetUserNotificationCountResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**count** | Option<**i64**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md deleted file mode 100644 index b0a9cd3..0000000 --- a/client/docs/GetUserNotificationsResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetUserNotificationsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**translations** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**is_subscribed** | Option<**bool**> | | [optional] -**has_more** | Option<**bool**> | | [optional] -**notifications** | Option<[**Vec**](RenderableUserNotification.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md deleted file mode 100644 index 6c798d8..0000000 --- a/client/docs/GetUserPresenceStatusesResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserPresenceStatusesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user_ids_online** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md deleted file mode 100644 index 5e4d475..0000000 --- a/client/docs/GetUserReactsPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserReactsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reacts** | Option<**std::collections::HashMap>**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md deleted file mode 100644 index e056210..0000000 --- a/client/docs/GetUserResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**user** | Option<[**models::User**](User.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md deleted file mode 100644 index a4e3545..0000000 --- a/client/docs/GetUsersInfoResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetUsersInfoResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | Option<[**Vec**](PageUserEntry.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md deleted file mode 100644 index f4866a4..0000000 --- a/client/docs/GetV1PageLikesResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetV1PageLikesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url_id_ws** | Option<**String**> | | [optional] -**did_like** | Option<**bool**> | | [optional] -**comment_count** | Option<**i32**> | | [optional] -**like_count** | Option<**i32**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md deleted file mode 100644 index 0a7650b..0000000 --- a/client/docs/GetV2PageReactUsersResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetV2PageReactUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_names** | Option<**Vec**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md deleted file mode 100644 index f378e8a..0000000 --- a/client/docs/GetV2PageReactsResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetV2PageReactsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reacted_ids** | Option<**Vec**> | | [optional] -**counts** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md deleted file mode 100644 index 776fbfa..0000000 --- a/client/docs/GetVotesForUserResponse1.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetVotesForUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**applied_authorized_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**applied_anonymous_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**pending_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md deleted file mode 100644 index 036a4d5..0000000 --- a/client/docs/GetVotesResponse1.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetVotesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**applied_authorized_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**applied_anonymous_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**pending_votes** | Option<[**Vec**](PublicVote.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md deleted file mode 100644 index 480df07..0000000 --- a/client/docs/LockCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# LockCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ModerationApi.md b/client/docs/ModerationApi.md index bd305f0..a17e168 100644 --- a/client/docs/ModerationApi.md +++ b/client/docs/ModerationApi.md @@ -52,7 +52,7 @@ Method | HTTP request | Description ## delete_moderation_vote -> models::DeleteModerationVoteResponse delete_moderation_vote(comment_id, vote_id, broadcast_id, tenant_id, sso) +> models::VoteDeleteResponse delete_moderation_vote(comment_id, vote_id, broadcast_id, tenant_id, sso) ### Parameters @@ -68,7 +68,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) +[**models::VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -84,7 +84,7 @@ No authorization required ## get_api_comments -> models::GetApiCommentsResponse get_api_comments(page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, tenant_id, sso) +> models::ModerationApiGetCommentsResponse get_api_comments(page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, tenant_id, sso) ### Parameters @@ -105,7 +105,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetApiCommentsResponse**](GetApiCommentsResponse.md) +[**models::ModerationApiGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) ### Authorization @@ -121,7 +121,7 @@ No authorization required ## get_api_export_status -> models::GetApiExportStatusResponse get_api_export_status(batch_job_id, tenant_id, sso) +> models::ModerationExportStatusResponse get_api_export_status(batch_job_id, tenant_id, sso) ### Parameters @@ -135,7 +135,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetApiExportStatusResponse**](GetApiExportStatusResponse.md) +[**models::ModerationExportStatusResponse**](ModerationExportStatusResponse.md) ### Authorization @@ -151,7 +151,7 @@ No authorization required ## get_api_ids -> models::GetApiIdsResponse get_api_ids(text_search, by_ip_from_comment, filters, search_filters, after_id, demo, tenant_id, sso) +> models::ModerationApiGetCommentIdsResponse get_api_ids(text_search, by_ip_from_comment, filters, search_filters, after_id, demo, tenant_id, sso) ### Parameters @@ -170,7 +170,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetApiIdsResponse**](GetApiIdsResponse.md) +[**models::ModerationApiGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) ### Authorization @@ -186,7 +186,7 @@ No authorization required ## get_ban_users_from_comment -> models::GetBanUsersFromCommentResponse get_ban_users_from_comment(comment_id, tenant_id, sso) +> models::GetBannedUsersFromCommentResponse get_ban_users_from_comment(comment_id, tenant_id, sso) ### Parameters @@ -200,7 +200,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) +[**models::GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) ### Authorization @@ -216,7 +216,7 @@ No authorization required ## get_comment_ban_status -> models::GetCommentBanStatusResponse1 get_comment_ban_status(comment_id, tenant_id, sso) +> models::GetCommentBanStatusResponse get_comment_ban_status(comment_id, tenant_id, sso) ### Parameters @@ -230,7 +230,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentBanStatusResponse1**](GetCommentBanStatusResponse_1.md) +[**models::GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) ### Authorization @@ -246,7 +246,7 @@ No authorization required ## get_comment_children -> models::GetCommentChildrenResponse get_comment_children(comment_id, tenant_id, sso) +> models::ModerationApiChildCommentsResponse get_comment_children(comment_id, tenant_id, sso) ### Parameters @@ -260,7 +260,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentChildrenResponse**](GetCommentChildrenResponse.md) +[**models::ModerationApiChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -276,7 +276,7 @@ No authorization required ## get_count -> models::GetCountResponse get_count(text_search, by_ip_from_comment, filter, search_filters, demo, tenant_id, sso) +> models::ModerationApiCountCommentsResponse get_count(text_search, by_ip_from_comment, filter, search_filters, demo, tenant_id, sso) ### Parameters @@ -294,7 +294,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCountResponse**](GetCountResponse.md) +[**models::ModerationApiCountCommentsResponse**](ModerationAPICountCommentsResponse.md) ### Authorization @@ -310,7 +310,7 @@ No authorization required ## get_counts -> models::GetCountsResponse get_counts(tenant_id, sso) +> models::GetBannedUsersCountResponse get_counts(tenant_id, sso) ### Parameters @@ -323,7 +323,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCountsResponse**](GetCountsResponse.md) +[**models::GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) ### Authorization @@ -339,7 +339,7 @@ No authorization required ## get_logs -> models::GetLogsResponse get_logs(comment_id, tenant_id, sso) +> models::ModerationApiGetLogsResponse get_logs(comment_id, tenant_id, sso) ### Parameters @@ -353,7 +353,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetLogsResponse**](GetLogsResponse.md) +[**models::ModerationApiGetLogsResponse**](ModerationAPIGetLogsResponse.md) ### Authorization @@ -369,7 +369,7 @@ No authorization required ## get_manual_badges -> models::GetManualBadgesResponse get_manual_badges(tenant_id, sso) +> models::GetTenantManualBadgesResponse get_manual_badges(tenant_id, sso) ### Parameters @@ -382,7 +382,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetManualBadgesResponse**](GetManualBadgesResponse.md) +[**models::GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) ### Authorization @@ -398,7 +398,7 @@ No authorization required ## get_manual_badges_for_user -> models::GetManualBadgesForUserResponse get_manual_badges_for_user(badges_user_id, comment_id, tenant_id, sso) +> models::GetUserManualBadgesResponse get_manual_badges_for_user(badges_user_id, comment_id, tenant_id, sso) ### Parameters @@ -413,7 +413,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) +[**models::GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) ### Authorization @@ -429,7 +429,7 @@ No authorization required ## get_moderation_comment -> models::GetModerationCommentResponse get_moderation_comment(comment_id, include_email, include_ip, tenant_id, sso) +> models::ModerationApiCommentResponse get_moderation_comment(comment_id, include_email, include_ip, tenant_id, sso) ### Parameters @@ -445,7 +445,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModerationCommentResponse**](GetModerationCommentResponse.md) +[**models::ModerationApiCommentResponse**](ModerationAPICommentResponse.md) ### Authorization @@ -461,7 +461,7 @@ No authorization required ## get_moderation_comment_text -> models::GetModerationCommentTextResponse get_moderation_comment_text(comment_id, tenant_id, sso) +> models::GetCommentTextResponse get_moderation_comment_text(comment_id, tenant_id, sso) ### Parameters @@ -475,7 +475,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) +[**models::GetCommentTextResponse**](GetCommentTextResponse.md) ### Authorization @@ -491,7 +491,7 @@ No authorization required ## get_pre_ban_summary -> models::GetPreBanSummaryResponse get_pre_ban_summary(comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) +> models::PreBanSummary get_pre_ban_summary(comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) ### Parameters @@ -508,7 +508,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) +[**models::PreBanSummary**](PreBanSummary.md) ### Authorization @@ -524,7 +524,7 @@ No authorization required ## get_search_comments_summary -> models::GetSearchCommentsSummaryResponse get_search_comments_summary(value, filters, search_filters, tenant_id, sso) +> models::ModerationCommentSearchResponse get_search_comments_summary(value, filters, search_filters, tenant_id, sso) ### Parameters @@ -540,7 +540,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) +[**models::ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) ### Authorization @@ -556,7 +556,7 @@ No authorization required ## get_search_pages -> models::GetSearchPagesResponse get_search_pages(value, tenant_id, sso) +> models::ModerationPageSearchResponse get_search_pages(value, tenant_id, sso) ### Parameters @@ -570,7 +570,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetSearchPagesResponse**](GetSearchPagesResponse.md) +[**models::ModerationPageSearchResponse**](ModerationPageSearchResponse.md) ### Authorization @@ -586,7 +586,7 @@ No authorization required ## get_search_sites -> models::GetSearchSitesResponse get_search_sites(value, tenant_id, sso) +> models::ModerationSiteSearchResponse get_search_sites(value, tenant_id, sso) ### Parameters @@ -600,7 +600,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetSearchSitesResponse**](GetSearchSitesResponse.md) +[**models::ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) ### Authorization @@ -616,7 +616,7 @@ No authorization required ## get_search_suggest -> models::GetSearchSuggestResponse get_search_suggest(text_search, tenant_id, sso) +> models::ModerationSuggestResponse get_search_suggest(text_search, tenant_id, sso) ### Parameters @@ -630,7 +630,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetSearchSuggestResponse**](GetSearchSuggestResponse.md) +[**models::ModerationSuggestResponse**](ModerationSuggestResponse.md) ### Authorization @@ -646,7 +646,7 @@ No authorization required ## get_search_users -> models::GetSearchUsersResponse get_search_users(value, tenant_id, sso) +> models::ModerationUserSearchResponse get_search_users(value, tenant_id, sso) ### Parameters @@ -660,7 +660,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetSearchUsersResponse**](GetSearchUsersResponse.md) +[**models::ModerationUserSearchResponse**](ModerationUserSearchResponse.md) ### Authorization @@ -676,7 +676,7 @@ No authorization required ## get_trust_factor -> models::GetTrustFactorResponse get_trust_factor(user_id, tenant_id, sso) +> models::GetUserTrustFactorResponse get_trust_factor(user_id, tenant_id, sso) ### Parameters @@ -690,7 +690,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTrustFactorResponse**](GetTrustFactorResponse.md) +[**models::GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) ### Authorization @@ -706,7 +706,7 @@ No authorization required ## get_user_ban_preference -> models::GetUserBanPreferenceResponse get_user_ban_preference(tenant_id, sso) +> models::ApiModerateGetUserBanPreferencesResponse get_user_ban_preference(tenant_id, sso) ### Parameters @@ -719,7 +719,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) +[**models::ApiModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) ### Authorization @@ -735,7 +735,7 @@ No authorization required ## get_user_internal_profile -> models::GetUserInternalProfileResponse1 get_user_internal_profile(comment_id, tenant_id, sso) +> models::GetUserInternalProfileResponse get_user_internal_profile(comment_id, tenant_id, sso) ### Parameters @@ -749,7 +749,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserInternalProfileResponse1**](GetUserInternalProfileResponse_1.md) +[**models::GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) ### Authorization @@ -765,7 +765,7 @@ No authorization required ## post_adjust_comment_votes -> models::PostAdjustCommentVotesResponse post_adjust_comment_votes(comment_id, adjust_comment_votes_params, broadcast_id, tenant_id, sso) +> models::AdjustVotesResponse post_adjust_comment_votes(comment_id, adjust_comment_votes_params, broadcast_id, tenant_id, sso) ### Parameters @@ -781,7 +781,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) +[**models::AdjustVotesResponse**](AdjustVotesResponse.md) ### Authorization @@ -797,7 +797,7 @@ No authorization required ## post_api_export -> models::PostApiExportResponse post_api_export(text_search, by_ip_from_comment, filters, search_filters, sorts, tenant_id, sso) +> models::ModerationExportResponse post_api_export(text_search, by_ip_from_comment, filters, search_filters, sorts, tenant_id, sso) ### Parameters @@ -815,7 +815,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostApiExportResponse**](PostApiExportResponse.md) +[**models::ModerationExportResponse**](ModerationExportResponse.md) ### Authorization @@ -831,7 +831,7 @@ No authorization required ## post_ban_user_from_comment -> models::PostBanUserFromCommentResponse post_ban_user_from_comment(comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, tenant_id, sso) +> models::BanUserFromCommentResult post_ban_user_from_comment(comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, tenant_id, sso) ### Parameters @@ -853,7 +853,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) +[**models::BanUserFromCommentResult**](BanUserFromCommentResult.md) ### Authorization @@ -869,7 +869,7 @@ No authorization required ## post_ban_user_undo -> models::PostBanUserUndoResponse post_ban_user_undo(ban_user_undo_params, tenant_id, sso) +> models::ApiEmptyResponse post_ban_user_undo(ban_user_undo_params, tenant_id, sso) ### Parameters @@ -883,7 +883,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostBanUserUndoResponse**](PostBanUserUndoResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -899,7 +899,7 @@ No authorization required ## post_bulk_pre_ban_summary -> models::PostBulkPreBanSummaryResponse post_bulk_pre_ban_summary(bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) +> models::BulkPreBanSummary post_bulk_pre_ban_summary(bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) ### Parameters @@ -916,7 +916,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) +[**models::BulkPreBanSummary**](BulkPreBanSummary.md) ### Authorization @@ -932,7 +932,7 @@ No authorization required ## post_comments_by_ids -> models::PostCommentsByIdsResponse post_comments_by_ids(comments_by_ids_params, tenant_id, sso) +> models::ModerationApiChildCommentsResponse post_comments_by_ids(comments_by_ids_params, tenant_id, sso) ### Parameters @@ -946,7 +946,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) +[**models::ModerationApiChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -962,7 +962,7 @@ No authorization required ## post_flag_comment -> models::PostFlagCommentResponse post_flag_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_flag_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -977,7 +977,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostFlagCommentResponse**](PostFlagCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1024,7 +1024,7 @@ No authorization required ## post_restore_deleted_comment -> models::PostRestoreDeletedCommentResponse post_restore_deleted_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_restore_deleted_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1039,7 +1039,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1055,7 +1055,7 @@ No authorization required ## post_set_comment_approval_status -> models::PostSetCommentApprovalStatusResponse post_set_comment_approval_status(comment_id, approved, broadcast_id, tenant_id, sso) +> models::SetCommentApprovedResponse post_set_comment_approval_status(comment_id, approved, broadcast_id, tenant_id, sso) ### Parameters @@ -1071,7 +1071,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) +[**models::SetCommentApprovedResponse**](SetCommentApprovedResponse.md) ### Authorization @@ -1087,7 +1087,7 @@ No authorization required ## post_set_comment_review_status -> models::PostSetCommentReviewStatusResponse post_set_comment_review_status(comment_id, reviewed, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_set_comment_review_status(comment_id, reviewed, broadcast_id, tenant_id, sso) ### Parameters @@ -1103,7 +1103,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1119,7 +1119,7 @@ No authorization required ## post_set_comment_spam_status -> models::PostSetCommentSpamStatusResponse post_set_comment_spam_status(comment_id, spam, perm_not_spam, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_set_comment_spam_status(comment_id, spam, perm_not_spam, broadcast_id, tenant_id, sso) ### Parameters @@ -1136,7 +1136,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1152,7 +1152,7 @@ No authorization required ## post_set_comment_text -> models::PostSetCommentTextResponse post_set_comment_text(comment_id, set_comment_text_params, broadcast_id, tenant_id, sso) +> models::SetCommentTextResponse post_set_comment_text(comment_id, set_comment_text_params, broadcast_id, tenant_id, sso) ### Parameters @@ -1168,7 +1168,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostSetCommentTextResponse**](PostSetCommentTextResponse.md) +[**models::SetCommentTextResponse**](SetCommentTextResponse.md) ### Authorization @@ -1184,7 +1184,7 @@ No authorization required ## post_un_flag_comment -> models::PostUnFlagCommentResponse post_un_flag_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_un_flag_comment(comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1199,7 +1199,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1215,7 +1215,7 @@ No authorization required ## post_vote -> models::PostVoteResponse post_vote(comment_id, direction, broadcast_id, tenant_id, sso) +> models::VoteResponse post_vote(comment_id, direction, broadcast_id, tenant_id, sso) ### Parameters @@ -1231,7 +1231,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PostVoteResponse**](PostVoteResponse.md) +[**models::VoteResponse**](VoteResponse.md) ### Authorization @@ -1247,7 +1247,7 @@ No authorization required ## put_award_badge -> models::PutAwardBadgeResponse put_award_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) +> models::AwardUserBadgeResponse put_award_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1264,7 +1264,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PutAwardBadgeResponse**](PutAwardBadgeResponse.md) +[**models::AwardUserBadgeResponse**](AwardUserBadgeResponse.md) ### Authorization @@ -1280,7 +1280,7 @@ No authorization required ## put_close_thread -> models::PutCloseThreadResponse put_close_thread(url_id, tenant_id, sso) +> models::ApiEmptyResponse put_close_thread(url_id, tenant_id, sso) ### Parameters @@ -1294,7 +1294,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PutCloseThreadResponse**](PutCloseThreadResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1310,7 +1310,7 @@ No authorization required ## put_remove_badge -> models::PutRemoveBadgeResponse put_remove_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) +> models::RemoveUserBadgeResponse put_remove_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) ### Parameters @@ -1327,7 +1327,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) +[**models::RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) ### Authorization @@ -1343,7 +1343,7 @@ No authorization required ## put_reopen_thread -> models::PutReopenThreadResponse put_reopen_thread(url_id, tenant_id, sso) +> models::ApiEmptyResponse put_reopen_thread(url_id, tenant_id, sso) ### Parameters @@ -1357,7 +1357,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PutReopenThreadResponse**](PutReopenThreadResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1373,7 +1373,7 @@ No authorization required ## set_trust_factor -> models::SetTrustFactorResponse set_trust_factor(user_id, trust_factor, tenant_id, sso) +> models::SetUserTrustFactorResponse set_trust_factor(user_id, trust_factor, tenant_id, sso) ### Parameters @@ -1388,7 +1388,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SetTrustFactorResponse**](SetTrustFactorResponse.md) +[**models::SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md deleted file mode 100644 index b763ce5..0000000 --- a/client/docs/PatchHashTagResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PatchHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**hash_tag** | Option<[**models::TenantHashTag**](TenantHashTag.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md deleted file mode 100644 index ad7f729..0000000 --- a/client/docs/PinCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PinCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment_positions** | Option<[**std::collections::HashMap**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md)> | Construct a type with a set of properties K of type T | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md deleted file mode 100644 index 6514821..0000000 --- a/client/docs/PostAdjustCommentVotesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostAdjustCommentVotesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**new_comment_votes** | Option<**i32**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md deleted file mode 100644 index fbe7130..0000000 --- a/client/docs/PostApiExportResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostApiExportResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**batch_job_id** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md deleted file mode 100644 index 6295982..0000000 --- a/client/docs/PostBanUserFromCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostBanUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**changelog** | Option<[**models::ApiBanUserChangeLog**](APIBanUserChangeLog.md)> | | [optional] -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md deleted file mode 100644 index 45320d3..0000000 --- a/client/docs/PostBanUserUndoResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostBanUserUndoResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md deleted file mode 100644 index c0464ba..0000000 --- a/client/docs/PostBulkPreBanSummaryResponse.md +++ /dev/null @@ -1,23 +0,0 @@ -# PostBulkPreBanSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**total_related_comment_count** | Option<**i32**> | | [optional] -**email_domains** | Option<**Vec**> | | [optional] -**emails** | Option<**Vec**> | | [optional] -**user_ids** | Option<**Vec**> | | [optional] -**ip_hashes** | Option<**Vec**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md deleted file mode 100644 index 994f337..0000000 --- a/client/docs/PostCommentsByIdsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostCommentsByIdsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | Option<[**Vec**](ModerationAPIComment.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md deleted file mode 100644 index 9559867..0000000 --- a/client/docs/PostFlagCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index 22d5848..c4f773e 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -4,15 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] +**action** | **String** | | +**status** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md deleted file mode 100644 index aaf49e8..0000000 --- a/client/docs/PostRestoreDeletedCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostRestoreDeletedCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md deleted file mode 100644 index 285ea4a..0000000 --- a/client/docs/PostSetCommentApprovalStatusResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostSetCommentApprovalStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**did_reset_flagged_count** | Option<**bool**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md deleted file mode 100644 index bea1838..0000000 --- a/client/docs/PostSetCommentReviewStatusResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostSetCommentReviewStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md deleted file mode 100644 index 6d8153e..0000000 --- a/client/docs/PostSetCommentSpamStatusResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostSetCommentSpamStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md deleted file mode 100644 index 24d0b83..0000000 --- a/client/docs/PostSetCommentTextResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PostSetCommentTextResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**new_comment_text_html** | Option<**String**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md deleted file mode 100644 index ff0da09..0000000 --- a/client/docs/PostUnFlagCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostUnFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md deleted file mode 100644 index 4bf6d5b..0000000 --- a/client/docs/PostVoteResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# PostVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**vote_id** | Option<**String**> | | [optional] -**is_verified** | Option<**bool**> | | [optional] -**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] -**edit_key** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PublicApi.md b/client/docs/PublicApi.md index 42aca61..c4135de 100644 --- a/client/docs/PublicApi.md +++ b/client/docs/PublicApi.md @@ -61,7 +61,7 @@ Method | HTTP request | Description ## block_from_comment_public -> models::BlockFromCommentPublicResponse block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) +> models::BlockSuccess block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) ### Parameters @@ -76,7 +76,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) +[**models::BlockSuccess**](BlockSuccess.md) ### Authorization @@ -92,7 +92,7 @@ No authorization required ## checked_comments_for_blocked -> models::CheckedCommentsForBlockedResponse checked_comments_for_blocked(tenant_id, comment_ids, sso) +> models::CheckBlockedCommentsResponse checked_comments_for_blocked(tenant_id, comment_ids, sso) ### Parameters @@ -106,7 +106,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) +[**models::CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) ### Authorization @@ -122,7 +122,7 @@ No authorization required ## create_comment_public -> models::CreateCommentPublicResponse create_comment_public(tenant_id, url_id, broadcast_id, comment_data, session_id, sso) +> models::SaveCommentsResponseWithPresence create_comment_public(tenant_id, url_id, broadcast_id, comment_data, session_id, sso) ### Parameters @@ -139,7 +139,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateCommentPublicResponse**](CreateCommentPublicResponse.md) +[**models::SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) ### Authorization @@ -155,7 +155,7 @@ No authorization required ## create_feed_post_public -> models::CreateFeedPostPublicResponse create_feed_post_public(tenant_id, create_feed_post_params, broadcast_id, sso) +> models::CreateFeedPostResponse create_feed_post_public(tenant_id, create_feed_post_params, broadcast_id, sso) ### Parameters @@ -170,7 +170,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) +[**models::CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -186,7 +186,7 @@ No authorization required ## create_v1_page_react -> models::CreateV1PageReactResponse create_v1_page_react(tenant_id, url_id, title) +> models::CreateV1PageReact create_v1_page_react(tenant_id, url_id, title) ### Parameters @@ -200,7 +200,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV1PageReactResponse**](CreateV1PageReactResponse.md) +[**models::CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -216,7 +216,7 @@ No authorization required ## create_v2_page_react -> models::CreateV2PageReactResponse create_v2_page_react(tenant_id, url_id, id, title) +> models::CreateV1PageReact create_v2_page_react(tenant_id, url_id, id, title) ### Parameters @@ -231,7 +231,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CreateV2PageReactResponse**](CreateV2PageReactResponse.md) +[**models::CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -247,7 +247,7 @@ No authorization required ## delete_comment_public -> models::DeleteCommentPublicResponse delete_comment_public(tenant_id, comment_id, broadcast_id, edit_key, sso) +> models::PublicApiDeleteCommentResponse delete_comment_public(tenant_id, comment_id, broadcast_id, edit_key, sso) ### Parameters @@ -263,7 +263,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) +[**models::PublicApiDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) ### Authorization @@ -279,7 +279,7 @@ No authorization required ## delete_comment_vote -> models::DeleteCommentVoteResponse delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, edit_key, sso) +> models::VoteDeleteResponse delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, edit_key, sso) ### Parameters @@ -297,7 +297,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) +[**models::VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -344,7 +344,7 @@ No authorization required ## delete_v1_page_react -> models::DeleteV1PageReactResponse delete_v1_page_react(tenant_id, url_id) +> models::CreateV1PageReact delete_v1_page_react(tenant_id, url_id) ### Parameters @@ -357,7 +357,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) +[**models::CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -373,7 +373,7 @@ No authorization required ## delete_v2_page_react -> models::DeleteV2PageReactResponse delete_v2_page_react(tenant_id, url_id, id) +> models::CreateV1PageReact delete_v2_page_react(tenant_id, url_id, id) ### Parameters @@ -387,7 +387,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) +[**models::CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -403,7 +403,7 @@ No authorization required ## flag_comment_public -> models::FlagCommentPublicResponse flag_comment_public(tenant_id, comment_id, is_flagged, sso) +> models::ApiEmptyResponse flag_comment_public(tenant_id, comment_id, is_flagged, sso) ### Parameters @@ -418,7 +418,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::FlagCommentPublicResponse**](FlagCommentPublicResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -434,7 +434,7 @@ No authorization required ## get_comment_text -> models::GetCommentTextResponse1 get_comment_text(tenant_id, comment_id, edit_key, sso) +> models::PublicApiGetCommentTextResponse get_comment_text(tenant_id, comment_id, edit_key, sso) ### Parameters @@ -449,7 +449,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentTextResponse1**](GetCommentTextResponse_1.md) +[**models::PublicApiGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) ### Authorization @@ -465,7 +465,7 @@ No authorization required ## get_comment_vote_user_names -> models::GetCommentVoteUserNamesResponse get_comment_vote_user_names(tenant_id, comment_id, dir, sso) +> models::GetCommentVoteUserNamesSuccessResponse get_comment_vote_user_names(tenant_id, comment_id, dir, sso) ### Parameters @@ -480,7 +480,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) +[**models::GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) ### Authorization @@ -496,7 +496,7 @@ No authorization required ## get_comments_for_user -> models::GetCommentsForUserResponse1 get_comments_for_user(user_id, direction, replies_to_user_id, page, includei10n, locale, is_crawler) +> models::GetCommentsForUserResponse get_comments_for_user(user_id, direction, replies_to_user_id, page, includei10n, locale, is_crawler) ### Parameters @@ -514,7 +514,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentsForUserResponse1**](GetCommentsForUserResponse_1.md) +[**models::GetCommentsForUserResponse**](GetCommentsForUserResponse.md) ### Authorization @@ -530,7 +530,7 @@ No authorization required ## get_comments_public -> models::GetCommentsPublicResponse get_comments_public(tenant_id, url_id, page, direction, sso, skip, skip_children, limit, limit_children, count_children, fetch_page_for_comment_id, include_config, count_all, includei10n, locale, modules, is_crawler, include_notification_count, as_tree, max_tree_depth, use_full_translation_ids, parent_id, search_text, hash_tags, user_id, custom_config_str, after_comment_id, before_comment_id) +> models::GetCommentsResponseWithPresencePublicComment get_comments_public(tenant_id, url_id, page, direction, sso, skip, skip_children, limit, limit_children, count_children, fetch_page_for_comment_id, include_config, count_all, includei10n, locale, modules, is_crawler, include_notification_count, as_tree, max_tree_depth, use_full_translation_ids, parent_id, search_text, hash_tags, user_id, custom_config_str, after_comment_id, before_comment_id) req tenantId urlId @@ -571,7 +571,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetCommentsPublicResponse**](GetCommentsPublicResponse.md) +[**models::GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresence_PublicComment_.md) ### Authorization @@ -587,7 +587,7 @@ No authorization required ## get_event_log -> models::GetEventLogResponse1 get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) +> models::GetEventLogResponse get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) req tenantId urlId userIdWS @@ -605,7 +605,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetEventLogResponse1**](GetEventLogResponse_1.md) +[**models::GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -621,7 +621,7 @@ No authorization required ## get_feed_posts_public -> models::GetFeedPostsPublicResponse get_feed_posts_public(tenant_id, after_id, limit, tags, sso, is_crawler, include_user_info) +> models::PublicFeedPostsResponse get_feed_posts_public(tenant_id, after_id, limit, tags, sso, is_crawler, include_user_info) req tenantId afterId @@ -641,7 +641,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) +[**models::PublicFeedPostsResponse**](PublicFeedPostsResponse.md) ### Authorization @@ -657,7 +657,7 @@ No authorization required ## get_feed_posts_stats -> models::GetFeedPostsStatsResponse get_feed_posts_stats(tenant_id, post_ids, sso) +> models::FeedPostsStatsResponse get_feed_posts_stats(tenant_id, post_ids, sso) ### Parameters @@ -671,7 +671,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) +[**models::FeedPostsStatsResponse**](FeedPostsStatsResponse.md) ### Authorization @@ -687,7 +687,7 @@ No authorization required ## get_gif_large -> models::GetGifLargeResponse get_gif_large(tenant_id, large_internal_url_sanitized) +> models::GifGetLargeResponse get_gif_large(tenant_id, large_internal_url_sanitized) ### Parameters @@ -700,7 +700,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetGifLargeResponse**](GetGifLargeResponse.md) +[**models::GifGetLargeResponse**](GifGetLargeResponse.md) ### Authorization @@ -779,7 +779,7 @@ No authorization required ## get_global_event_log -> models::GetGlobalEventLogResponse get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) +> models::GetEventLogResponse get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time) req tenantId urlId userIdWS @@ -797,7 +797,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) +[**models::GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -813,7 +813,7 @@ No authorization required ## get_offline_users -> models::GetOfflineUsersResponse get_offline_users(tenant_id, url_id, after_name, after_user_id) +> models::PageUsersOfflineResponse get_offline_users(tenant_id, url_id, after_name, after_user_id) Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost. @@ -830,7 +830,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetOfflineUsersResponse**](GetOfflineUsersResponse.md) +[**models::PageUsersOfflineResponse**](PageUsersOfflineResponse.md) ### Authorization @@ -846,7 +846,7 @@ No authorization required ## get_online_users -> models::GetOnlineUsersResponse get_online_users(tenant_id, url_id, after_name, after_user_id) +> models::PageUsersOnlineResponse get_online_users(tenant_id, url_id, after_name, after_user_id) Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). @@ -863,7 +863,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetOnlineUsersResponse**](GetOnlineUsersResponse.md) +[**models::PageUsersOnlineResponse**](PageUsersOnlineResponse.md) ### Authorization @@ -879,7 +879,7 @@ No authorization required ## get_pages_public -> models::GetPagesPublicResponse get_pages_public(tenant_id, cursor, limit, q, sort_by, has_comments) +> models::GetPublicPagesResponse get_pages_public(tenant_id, cursor, limit, q, sort_by, has_comments) List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access. @@ -898,7 +898,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetPagesPublicResponse**](GetPagesPublicResponse.md) +[**models::GetPublicPagesResponse**](GetPublicPagesResponse.md) ### Authorization @@ -914,7 +914,7 @@ No authorization required ## get_translations -> models::GetTranslationsResponse1 get_translations(namespace, component, locale, use_full_translation_ids) +> models::GetTranslationsResponse get_translations(namespace, component, locale, use_full_translation_ids) ### Parameters @@ -929,7 +929,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetTranslationsResponse1**](GetTranslationsResponse_1.md) +[**models::GetTranslationsResponse**](GetTranslationsResponse.md) ### Authorization @@ -945,7 +945,7 @@ No authorization required ## get_user_notification_count -> models::GetUserNotificationCountResponse1 get_user_notification_count(tenant_id, sso) +> models::GetUserNotificationCountResponse get_user_notification_count(tenant_id, sso) ### Parameters @@ -958,7 +958,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserNotificationCountResponse1**](GetUserNotificationCountResponse_1.md) +[**models::GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) ### Authorization @@ -974,7 +974,7 @@ No authorization required ## get_user_notifications -> models::GetUserNotificationsResponse get_user_notifications(tenant_id, url_id, page_size, after_id, include_context, after_created_at, unread_only, dm_only, no_dm, include_translations, include_tenant_notifications, sso) +> models::GetMyNotificationsResponse get_user_notifications(tenant_id, url_id, page_size, after_id, include_context, after_created_at, unread_only, dm_only, no_dm, include_translations, include_tenant_notifications, sso) ### Parameters @@ -997,7 +997,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserNotificationsResponse**](GetUserNotificationsResponse.md) +[**models::GetMyNotificationsResponse**](GetMyNotificationsResponse.md) ### Authorization @@ -1013,7 +1013,7 @@ No authorization required ## get_user_presence_statuses -> models::GetUserPresenceStatusesResponse1 get_user_presence_statuses(tenant_id, url_id_ws, user_ids) +> models::GetUserPresenceStatusesResponse get_user_presence_statuses(tenant_id, url_id_ws, user_ids) ### Parameters @@ -1027,7 +1027,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse_1.md) +[**models::GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) ### Authorization @@ -1043,7 +1043,7 @@ No authorization required ## get_user_reacts_public -> models::GetUserReactsPublicResponse get_user_reacts_public(tenant_id, post_ids, sso) +> models::UserReactsResponse get_user_reacts_public(tenant_id, post_ids, sso) ### Parameters @@ -1057,7 +1057,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) +[**models::UserReactsResponse**](UserReactsResponse.md) ### Authorization @@ -1073,7 +1073,7 @@ No authorization required ## get_users_info -> models::GetUsersInfoResponse get_users_info(tenant_id, ids) +> models::PageUsersInfoResponse get_users_info(tenant_id, ids) Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). @@ -1088,7 +1088,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetUsersInfoResponse**](GetUsersInfoResponse.md) +[**models::PageUsersInfoResponse**](PageUsersInfoResponse.md) ### Authorization @@ -1104,7 +1104,7 @@ No authorization required ## get_v1_page_likes -> models::GetV1PageLikesResponse get_v1_page_likes(tenant_id, url_id) +> models::GetV1PageLikes get_v1_page_likes(tenant_id, url_id) ### Parameters @@ -1117,7 +1117,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV1PageLikesResponse**](GetV1PageLikesResponse.md) +[**models::GetV1PageLikes**](GetV1PageLikes.md) ### Authorization @@ -1133,7 +1133,7 @@ No authorization required ## get_v2_page_react_users -> models::GetV2PageReactUsersResponse1 get_v2_page_react_users(tenant_id, url_id, id) +> models::GetV2PageReactUsersResponse get_v2_page_react_users(tenant_id, url_id, id) ### Parameters @@ -1147,7 +1147,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse_1.md) +[**models::GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) ### Authorization @@ -1163,7 +1163,7 @@ No authorization required ## get_v2_page_reacts -> models::GetV2PageReactsResponse get_v2_page_reacts(tenant_id, url_id) +> models::GetV2PageReacts get_v2_page_reacts(tenant_id, url_id) ### Parameters @@ -1176,7 +1176,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::GetV2PageReactsResponse**](GetV2PageReactsResponse.md) +[**models::GetV2PageReacts**](GetV2PageReacts.md) ### Authorization @@ -1192,7 +1192,7 @@ No authorization required ## lock_comment -> models::LockCommentResponse lock_comment(tenant_id, comment_id, broadcast_id, sso) +> models::ApiEmptyResponse lock_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1207,7 +1207,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::LockCommentResponse**](LockCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1248,7 +1248,7 @@ No authorization required ## pin_comment -> models::PinCommentResponse pin_comment(tenant_id, comment_id, broadcast_id, sso) +> models::ChangeCommentPinStatusResponse pin_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1263,7 +1263,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PinCommentResponse**](PinCommentResponse.md) +[**models::ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -1279,7 +1279,7 @@ No authorization required ## react_feed_post_public -> models::ReactFeedPostPublicResponse react_feed_post_public(tenant_id, post_id, react_body_params, is_undo, broadcast_id, sso) +> models::ReactFeedPostResponse react_feed_post_public(tenant_id, post_id, react_body_params, is_undo, broadcast_id, sso) ### Parameters @@ -1296,7 +1296,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) +[**models::ReactFeedPostResponse**](ReactFeedPostResponse.md) ### Authorization @@ -1312,7 +1312,7 @@ No authorization required ## reset_user_notification_count -> models::ResetUserNotificationCountResponse reset_user_notification_count(tenant_id, sso) +> models::ResetUserNotificationsResponse reset_user_notification_count(tenant_id, sso) ### Parameters @@ -1325,7 +1325,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) +[**models::ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -1341,7 +1341,7 @@ No authorization required ## reset_user_notifications -> models::ResetUserNotificationsResponse1 reset_user_notifications(tenant_id, after_id, after_created_at, unread_only, dm_only, no_dm, sso) +> models::ResetUserNotificationsResponse reset_user_notifications(tenant_id, after_id, after_created_at, unread_only, dm_only, no_dm, sso) ### Parameters @@ -1359,7 +1359,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ResetUserNotificationsResponse1**](ResetUserNotificationsResponse_1.md) +[**models::ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -1375,7 +1375,7 @@ No authorization required ## search_users -> models::SearchUsersResponse1 search_users(tenant_id, url_id, username_starts_with, mention_group_ids, sso, search_section) +> models::SearchUsersResult search_users(tenant_id, url_id, username_starts_with, mention_group_ids, sso, search_section) ### Parameters @@ -1392,7 +1392,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SearchUsersResponse1**](SearchUsersResponse_1.md) +[**models::SearchUsersResult**](SearchUsersResult.md) ### Authorization @@ -1408,7 +1408,7 @@ No authorization required ## set_comment_text -> models::SetCommentTextResponse1 set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, edit_key, sso) +> models::PublicApiSetCommentTextResponse set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, edit_key, sso) ### Parameters @@ -1425,7 +1425,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::SetCommentTextResponse1**](SetCommentTextResponse_1.md) +[**models::PublicApiSetCommentTextResponse**](PublicAPISetCommentTextResponse.md) ### Authorization @@ -1441,7 +1441,7 @@ No authorization required ## un_block_comment_public -> models::UnBlockCommentPublicResponse un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) +> models::UnblockSuccess un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, sso) ### Parameters @@ -1456,7 +1456,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) +[**models::UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -1472,7 +1472,7 @@ No authorization required ## un_lock_comment -> models::UnLockCommentResponse un_lock_comment(tenant_id, comment_id, broadcast_id, sso) +> models::ApiEmptyResponse un_lock_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1487,7 +1487,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnLockCommentResponse**](UnLockCommentResponse.md) +[**models::ApiEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1503,7 +1503,7 @@ No authorization required ## un_pin_comment -> models::UnPinCommentResponse un_pin_comment(tenant_id, comment_id, broadcast_id, sso) +> models::ChangeCommentPinStatusResponse un_pin_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1518,7 +1518,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UnPinCommentResponse**](UnPinCommentResponse.md) +[**models::ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -1534,7 +1534,7 @@ No authorization required ## update_feed_post_public -> models::UpdateFeedPostPublicResponse update_feed_post_public(tenant_id, post_id, update_feed_post_params, broadcast_id, sso) +> models::CreateFeedPostResponse update_feed_post_public(tenant_id, post_id, update_feed_post_params, broadcast_id, sso) ### Parameters @@ -1550,7 +1550,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) +[**models::CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -1699,7 +1699,7 @@ No authorization required ## vote_comment -> models::VoteCommentResponse vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, session_id, sso) +> models::VoteResponse vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, session_id, sso) ### Parameters @@ -1717,7 +1717,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::VoteCommentResponse**](VoteCommentResponse.md) +[**models::VoteResponse**](VoteResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md deleted file mode 100644 index 10a32e5..0000000 --- a/client/docs/PutAwardBadgeResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# PutAwardBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**notes** | Option<**Vec**> | | [optional] -**badges** | Option<[**Vec**](CommentUserBadgeInfo.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md deleted file mode 100644 index 0ebfdf2..0000000 --- a/client/docs/PutCloseThreadResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PutCloseThreadResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md deleted file mode 100644 index 730f3d3..0000000 --- a/client/docs/PutRemoveBadgeResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutRemoveBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | Option<[**Vec**](CommentUserBadgeInfo.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md deleted file mode 100644 index dae709e..0000000 --- a/client/docs/PutReopenThreadResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PutReopenThreadResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md deleted file mode 100644 index 9ed5b12..0000000 --- a/client/docs/ReactFeedPostPublicResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# ReactFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**react_type** | Option<**String**> | | [optional] -**is_undo** | Option<**bool**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md deleted file mode 100644 index 825844a..0000000 --- a/client/docs/RenderEmailTemplateResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# RenderEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**html** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md deleted file mode 100644 index e70409b..0000000 --- a/client/docs/ReplaceTenantPackageResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# ReplaceTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md deleted file mode 100644 index 7e04f30..0000000 --- a/client/docs/ReplaceTenantUserResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# ReplaceTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md deleted file mode 100644 index 019b9fc..0000000 --- a/client/docs/ResetUserNotificationCountResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# ResetUserNotificationCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md deleted file mode 100644 index 6d1f56d..0000000 --- a/client/docs/ResetUserNotificationsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# ResetUserNotificationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md deleted file mode 100644 index 8cf3b4c..0000000 --- a/client/docs/SaveCommentResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# SaveCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment** | Option<[**models::ApiComment**](APIComment.md)> | | [optional] -**user** | Option<[**models::UserSessionInfo**](UserSessionInfo.md)> | | [optional] -**module_data** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md deleted file mode 100644 index a40cbc4..0000000 --- a/client/docs/SearchUsersResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# SearchUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**sections** | Option<[**Vec**](UserSearchSectionResult.md)> | | [optional] -**users** | Option<[**Vec**](UserSearchResult.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md deleted file mode 100644 index d3040e9..0000000 --- a/client/docs/SendInviteResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# SendInviteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md deleted file mode 100644 index 43a30d7..0000000 --- a/client/docs/SendLoginLinkResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# SendLoginLinkResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md deleted file mode 100644 index df666c0..0000000 --- a/client/docs/SetCommentTextResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# SetCommentTextResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | Option<[**models::SetCommentTextResult**](SetCommentTextResult.md)> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md deleted file mode 100644 index 7f8af8b..0000000 --- a/client/docs/SetTrustFactorResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# SetTrustFactorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**previous_manual_trust_factor** | Option<**f64**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md deleted file mode 100644 index 4ef422a..0000000 --- a/client/docs/UnBlockCommentPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnBlockCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md deleted file mode 100644 index b43029e..0000000 --- a/client/docs/UnBlockUserFromCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnBlockUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**comment_statuses** | Option<**std::collections::HashMap**> | Construct a type with a set of properties K of type T | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md deleted file mode 100644 index 6d8de2a..0000000 --- a/client/docs/UnFlagCommentResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# UnFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status_code** | Option<**i32**> | | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**code** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**was_unapproved** | Option<**bool**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md deleted file mode 100644 index 4c7d8a5..0000000 --- a/client/docs/UnLockCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UnLockCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md deleted file mode 100644 index 7611e90..0000000 --- a/client/docs/UnPinCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnPinCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment_positions** | Option<[**std::collections::HashMap**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md)> | Construct a type with a set of properties K of type T | [optional] -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md deleted file mode 100644 index 3c9ed46..0000000 --- a/client/docs/UpdateCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md deleted file mode 100644 index 2a69af0..0000000 --- a/client/docs/UpdateEmailTemplateResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateEmailTemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md deleted file mode 100644 index 7755aa0..0000000 --- a/client/docs/UpdateFeedPostPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**feed_post** | Option<[**models::FeedPost**](FeedPost.md)> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md deleted file mode 100644 index 6811cff..0000000 --- a/client/docs/UpdateFeedPostResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateFeedPostResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md deleted file mode 100644 index a94b66c..0000000 --- a/client/docs/UpdateModeratorResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateModeratorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md deleted file mode 100644 index b94d6a7..0000000 --- a/client/docs/UpdateNotificationResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateNotificationResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md deleted file mode 100644 index 951152d..0000000 --- a/client/docs/UpdateQuestionConfigResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateQuestionConfigResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md deleted file mode 100644 index 506df66..0000000 --- a/client/docs/UpdateQuestionResultResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateQuestionResultResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md deleted file mode 100644 index 5e6544b..0000000 --- a/client/docs/UpdateTenantPackageResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md deleted file mode 100644 index 396c82c..0000000 --- a/client/docs/UpdateTenantResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateTenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md deleted file mode 100644 index 5748212..0000000 --- a/client/docs/UpdateTenantUserResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md deleted file mode 100644 index feb44f0..0000000 --- a/client/docs/UpdateUserBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 43e1743..33bc723 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -8,13 +8,6 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index 12862a7..1cee2f3 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -8,13 +8,6 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index 910b008..69895aa 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -8,13 +8,6 @@ Name | Type | Description | Notes **matched_count** | Option<**i64**> | | [optional] **modified_count** | Option<**i64**> | | [optional] **note** | Option<**Note**> | (enum: ignored-since-impersonated, demo-noop) | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md deleted file mode 100644 index a06620b..0000000 --- a/client/docs/VoteCommentResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# VoteCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**models::ApiStatus**](APIStatus.md) | | -**vote_id** | Option<**String**> | | [optional] -**is_verified** | Option<**bool**> | | [optional] -**user** | Option<[**models::VoteResponseUser**](VoteResponseUser.md)> | | [optional] -**edit_key** | Option<**String**> | | [optional] -**reason** | Option<**String**> | | [optional] -**code** | Option<**String**> | | [optional] -**secondary_code** | Option<**String**> | | [optional] -**banned_until** | Option<**i64**> | | [optional] -**max_character_length** | Option<**i32**> | | [optional] -**translated_error** | Option<**String**> | | [optional] -**custom_config** | Option<[**models::CustomConfigParameters**](CustomConfigParameters.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/src/apis/default_api.rs b/client/src/apis/default_api.rs index f1fa72d..e08f752 100644 --- a/client/src/apis/default_api.rs +++ b/client/src/apis/default_api.rs @@ -972,6 +972,7 @@ pub enum AddDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AddHashTagError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -979,6 +980,7 @@ pub enum AddHashTagError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AddHashTagsBulkError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1007,6 +1009,7 @@ pub enum AggregateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum AggregateQuestionResultsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1014,6 +1017,7 @@ pub enum AggregateQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BlockUserFromCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1021,6 +1025,7 @@ pub enum BlockUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BulkAggregateQuestionResultsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1028,6 +1033,7 @@ pub enum BulkAggregateQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ChangeTicketStateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1035,6 +1041,7 @@ pub enum ChangeTicketStateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CombineCommentsWithQuestionResultsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1042,6 +1049,7 @@ pub enum CombineCommentsWithQuestionResultsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateEmailTemplateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1049,6 +1057,7 @@ pub enum CreateEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateFeedPostError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1056,6 +1065,7 @@ pub enum CreateFeedPostError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateModeratorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1063,6 +1073,7 @@ pub enum CreateModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateQuestionConfigError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1070,6 +1081,7 @@ pub enum CreateQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateQuestionResultError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1084,6 +1096,7 @@ pub enum CreateSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1091,6 +1104,7 @@ pub enum CreateTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantPackageError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1098,6 +1112,7 @@ pub enum CreateTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTenantUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1105,6 +1120,7 @@ pub enum CreateTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateTicketError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1112,6 +1128,7 @@ pub enum CreateTicketError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateUserBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1119,6 +1136,7 @@ pub enum CreateUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateVoteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1126,6 +1144,7 @@ pub enum CreateVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1140,6 +1159,7 @@ pub enum DeleteDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteEmailTemplateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1147,6 +1167,7 @@ pub enum DeleteEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteEmailTemplateRenderErrorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1154,6 +1175,7 @@ pub enum DeleteEmailTemplateRenderErrorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteHashTagError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1161,6 +1183,7 @@ pub enum DeleteHashTagError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteModeratorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1168,6 +1191,7 @@ pub enum DeleteModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteNotificationCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1182,6 +1206,7 @@ pub enum DeletePageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeletePendingWebhookEventError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1189,6 +1214,7 @@ pub enum DeletePendingWebhookEventError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteQuestionConfigError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1196,6 +1222,7 @@ pub enum DeleteQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteQuestionResultError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1217,6 +1244,7 @@ pub enum DeleteSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1224,6 +1252,7 @@ pub enum DeleteTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantPackageError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1231,6 +1260,7 @@ pub enum DeleteTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteTenantUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1238,6 +1268,7 @@ pub enum DeleteTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteUserBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1245,6 +1276,7 @@ pub enum DeleteUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteVoteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1252,6 +1284,7 @@ pub enum DeleteVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum FlagCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1259,6 +1292,7 @@ pub enum FlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetAuditLogsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1266,6 +1300,7 @@ pub enum GetAuditLogsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCachedNotificationCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1273,6 +1308,7 @@ pub enum GetCachedNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1280,6 +1316,7 @@ pub enum GetCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1301,6 +1338,7 @@ pub enum GetDomainConfigsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1308,6 +1346,7 @@ pub enum GetEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateDefinitionsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1315,6 +1354,7 @@ pub enum GetEmailTemplateDefinitionsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplateRenderErrorsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1322,6 +1362,7 @@ pub enum GetEmailTemplateRenderErrorsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEmailTemplatesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1329,6 +1370,7 @@ pub enum GetEmailTemplatesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1336,6 +1378,7 @@ pub enum GetFeedPostsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetHashTagsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1343,6 +1386,7 @@ pub enum GetHashTagsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModeratorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1350,6 +1394,7 @@ pub enum GetModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModeratorsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1357,6 +1402,7 @@ pub enum GetModeratorsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetNotificationCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1364,6 +1410,7 @@ pub enum GetNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetNotificationsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1385,6 +1432,7 @@ pub enum GetPagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPendingWebhookEventCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1392,6 +1440,7 @@ pub enum GetPendingWebhookEventCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPendingWebhookEventsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1399,6 +1448,7 @@ pub enum GetPendingWebhookEventsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionConfigError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1406,6 +1456,7 @@ pub enum GetQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionConfigsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1413,6 +1464,7 @@ pub enum GetQuestionConfigsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionResultError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1420,6 +1472,7 @@ pub enum GetQuestionResultError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetQuestionResultsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1455,6 +1508,7 @@ pub enum GetSubscriptionsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1462,6 +1516,7 @@ pub enum GetTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantDailyUsagesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1469,6 +1524,7 @@ pub enum GetTenantDailyUsagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantPackageError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1476,6 +1532,7 @@ pub enum GetTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantPackagesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1483,6 +1540,7 @@ pub enum GetTenantPackagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1490,6 +1548,7 @@ pub enum GetTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantUsersError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1497,6 +1556,7 @@ pub enum GetTenantUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTenantsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1504,6 +1564,7 @@ pub enum GetTenantsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTicketError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1511,6 +1572,7 @@ pub enum GetTicketError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTicketsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1518,6 +1580,7 @@ pub enum GetTicketsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1525,6 +1588,7 @@ pub enum GetUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1532,6 +1596,7 @@ pub enum GetUserBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressByIdError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1539,6 +1604,7 @@ pub enum GetUserBadgeProgressByIdError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressByUserIdError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1546,6 +1612,7 @@ pub enum GetUserBadgeProgressByUserIdError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgeProgressListError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1553,6 +1620,7 @@ pub enum GetUserBadgeProgressListError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBadgesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1560,6 +1628,7 @@ pub enum GetUserBadgesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetVotesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1567,6 +1636,7 @@ pub enum GetVotesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetVotesForUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1581,6 +1651,7 @@ pub enum PatchDomainConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PatchHashTagError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1616,6 +1687,7 @@ pub enum PutSsoUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum RenderEmailTemplateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1623,6 +1695,7 @@ pub enum RenderEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReplaceTenantPackageError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1630,6 +1703,7 @@ pub enum ReplaceTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReplaceTenantUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1637,6 +1711,7 @@ pub enum ReplaceTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SaveCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1651,6 +1726,7 @@ pub enum SaveCommentsBulkError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SendInviteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1658,6 +1734,7 @@ pub enum SendInviteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SendLoginLinkError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1665,6 +1742,7 @@ pub enum SendLoginLinkError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnBlockUserFromCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1672,6 +1750,7 @@ pub enum UnBlockUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnFlagCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1679,6 +1758,7 @@ pub enum UnFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1686,6 +1766,7 @@ pub enum UpdateCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateEmailTemplateError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1693,6 +1774,7 @@ pub enum UpdateEmailTemplateError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateFeedPostError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1700,6 +1782,7 @@ pub enum UpdateFeedPostError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateModeratorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1707,6 +1790,7 @@ pub enum UpdateModeratorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateNotificationError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1714,6 +1798,7 @@ pub enum UpdateNotificationError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateQuestionConfigError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1721,6 +1806,7 @@ pub enum UpdateQuestionConfigError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateQuestionResultError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1735,6 +1821,7 @@ pub enum UpdateSubscriptionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1742,6 +1829,7 @@ pub enum UpdateTenantError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantPackageError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1749,6 +1837,7 @@ pub enum UpdateTenantPackageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateTenantUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1756,6 +1845,7 @@ pub enum UpdateTenantUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -1804,7 +1894,7 @@ pub async fn add_domain_config(configuration: &configuration::Configuration, par } } -pub async fn add_hash_tag(configuration: &configuration::Configuration, params: AddHashTagParams) -> Result> { +pub async fn add_hash_tag(configuration: &configuration::Configuration, params: AddHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1840,8 +1930,8 @@ pub async fn add_hash_tag(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AddHashTagResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AddHashTagResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateHashTagResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateHashTagResponse`")))), } } else { let content = resp.text().await?; @@ -1850,7 +1940,7 @@ pub async fn add_hash_tag(configuration: &configuration::Configuration, params: } } -pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, params: AddHashTagsBulkParams) -> Result> { +pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, params: AddHashTagsBulkParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/bulk", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1886,8 +1976,8 @@ pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AddHashTagsBulkResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AddHashTagsBulkResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkCreateHashTagsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkCreateHashTagsResponse`")))), } } else { let content = resp.text().await?; @@ -2035,7 +2125,7 @@ pub async fn aggregate(configuration: &configuration::Configuration, params: Agg } } -pub async fn aggregate_question_results(configuration: &configuration::Configuration, params: AggregateQuestionResultsParams) -> Result> { +pub async fn aggregate_question_results(configuration: &configuration::Configuration, params: AggregateQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2089,8 +2179,8 @@ pub async fn aggregate_question_results(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AggregateQuestionResultsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AggregateQuestionResultsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AggregateQuestionResultsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AggregateQuestionResultsResponse`")))), } } else { let content = resp.text().await?; @@ -2099,7 +2189,7 @@ pub async fn aggregate_question_results(configuration: &configuration::Configura } } -pub async fn block_user_from_comment(configuration: &configuration::Configuration, params: BlockUserFromCommentParams) -> Result> { +pub async fn block_user_from_comment(configuration: &configuration::Configuration, params: BlockUserFromCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/block", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2139,8 +2229,8 @@ pub async fn block_user_from_comment(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockUserFromCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockUserFromCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockSuccess`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockSuccess`")))), } } else { let content = resp.text().await?; @@ -2149,7 +2239,7 @@ pub async fn block_user_from_comment(configuration: &configuration::Configuratio } } -pub async fn bulk_aggregate_question_results(configuration: &configuration::Configuration, params: BulkAggregateQuestionResultsParams) -> Result> { +pub async fn bulk_aggregate_question_results(configuration: &configuration::Configuration, params: BulkAggregateQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation/bulk", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2186,8 +2276,8 @@ pub async fn bulk_aggregate_question_results(configuration: &configuration::Conf let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkAggregateQuestionResultsResponse`")))), } } else { let content = resp.text().await?; @@ -2196,7 +2286,7 @@ pub async fn bulk_aggregate_question_results(configuration: &configuration::Conf } } -pub async fn change_ticket_state(configuration: &configuration::Configuration, params: ChangeTicketStateParams) -> Result> { +pub async fn change_ticket_state(configuration: &configuration::Configuration, params: ChangeTicketStateParams) -> Result> { let uri_str = format!("{}/api/v1/tickets/{id}/state", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -2231,8 +2321,8 @@ pub async fn change_ticket_state(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeTicketStateResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeTicketStateResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeTicketStateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeTicketStateResponse`")))), } } else { let content = resp.text().await?; @@ -2241,7 +2331,7 @@ pub async fn change_ticket_state(configuration: &configuration::Configuration, p } } -pub async fn combine_comments_with_question_results(configuration: &configuration::Configuration, params: CombineCommentsWithQuestionResultsParams) -> Result> { +pub async fn combine_comments_with_question_results(configuration: &configuration::Configuration, params: CombineCommentsWithQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results-aggregation/combine/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2301,8 +2391,8 @@ pub async fn combine_comments_with_question_results(configuration: &configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CombineCommentsWithQuestionResultsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CombineCommentsWithQuestionResultsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CombineQuestionResultsWithCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CombineQuestionResultsWithCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -2311,7 +2401,7 @@ pub async fn combine_comments_with_question_results(configuration: &configuratio } } -pub async fn create_email_template(configuration: &configuration::Configuration, params: CreateEmailTemplateParams) -> Result> { +pub async fn create_email_template(configuration: &configuration::Configuration, params: CreateEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2345,8 +2435,8 @@ pub async fn create_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateEmailTemplateResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateEmailTemplateResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateEmailTemplateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateEmailTemplateResponse`")))), } } else { let content = resp.text().await?; @@ -2355,7 +2445,7 @@ pub async fn create_email_template(configuration: &configuration::Configuration, } } -pub async fn create_feed_post(configuration: &configuration::Configuration, params: CreateFeedPostParams) -> Result> { +pub async fn create_feed_post(configuration: &configuration::Configuration, params: CreateFeedPostParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2401,8 +2491,8 @@ pub async fn create_feed_post(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostsResponse`")))), } } else { let content = resp.text().await?; @@ -2411,7 +2501,7 @@ pub async fn create_feed_post(configuration: &configuration::Configuration, para } } -pub async fn create_moderator(configuration: &configuration::Configuration, params: CreateModeratorParams) -> Result> { +pub async fn create_moderator(configuration: &configuration::Configuration, params: CreateModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2445,8 +2535,8 @@ pub async fn create_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateModeratorResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateModeratorResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateModeratorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateModeratorResponse`")))), } } else { let content = resp.text().await?; @@ -2455,7 +2545,7 @@ pub async fn create_moderator(configuration: &configuration::Configuration, para } } -pub async fn create_question_config(configuration: &configuration::Configuration, params: CreateQuestionConfigParams) -> Result> { +pub async fn create_question_config(configuration: &configuration::Configuration, params: CreateQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2489,8 +2579,8 @@ pub async fn create_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionConfigResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionConfigResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionConfigResponse`")))), } } else { let content = resp.text().await?; @@ -2499,7 +2589,7 @@ pub async fn create_question_config(configuration: &configuration::Configuration } } -pub async fn create_question_result(configuration: &configuration::Configuration, params: CreateQuestionResultParams) -> Result> { +pub async fn create_question_result(configuration: &configuration::Configuration, params: CreateQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2533,8 +2623,8 @@ pub async fn create_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionResultResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionResultResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateQuestionResultResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateQuestionResultResponse`")))), } } else { let content = resp.text().await?; @@ -2587,7 +2677,7 @@ pub async fn create_subscription(configuration: &configuration::Configuration, p } } -pub async fn create_tenant(configuration: &configuration::Configuration, params: CreateTenantParams) -> Result> { +pub async fn create_tenant(configuration: &configuration::Configuration, params: CreateTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2621,8 +2711,8 @@ pub async fn create_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantResponse`")))), } } else { let content = resp.text().await?; @@ -2631,7 +2721,7 @@ pub async fn create_tenant(configuration: &configuration::Configuration, params: } } -pub async fn create_tenant_package(configuration: &configuration::Configuration, params: CreateTenantPackageParams) -> Result> { +pub async fn create_tenant_package(configuration: &configuration::Configuration, params: CreateTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2665,8 +2755,8 @@ pub async fn create_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantPackageResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantPackageResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantPackageResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantPackageResponse`")))), } } else { let content = resp.text().await?; @@ -2675,7 +2765,7 @@ pub async fn create_tenant_package(configuration: &configuration::Configuration, } } -pub async fn create_tenant_user(configuration: &configuration::Configuration, params: CreateTenantUserParams) -> Result> { +pub async fn create_tenant_user(configuration: &configuration::Configuration, params: CreateTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2709,8 +2799,8 @@ pub async fn create_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantUserResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantUserResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTenantUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTenantUserResponse`")))), } } else { let content = resp.text().await?; @@ -2719,7 +2809,7 @@ pub async fn create_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn create_ticket(configuration: &configuration::Configuration, params: CreateTicketParams) -> Result> { +pub async fn create_ticket(configuration: &configuration::Configuration, params: CreateTicketParams) -> Result> { let uri_str = format!("{}/api/v1/tickets", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2754,8 +2844,8 @@ pub async fn create_ticket(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTicketResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTicketResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateTicketResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateTicketResponse`")))), } } else { let content = resp.text().await?; @@ -2764,7 +2854,7 @@ pub async fn create_ticket(configuration: &configuration::Configuration, params: } } -pub async fn create_user_badge(configuration: &configuration::Configuration, params: CreateUserBadgeParams) -> Result> { +pub async fn create_user_badge(configuration: &configuration::Configuration, params: CreateUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2798,8 +2888,8 @@ pub async fn create_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiCreateUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiCreateUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2808,7 +2898,7 @@ pub async fn create_user_badge(configuration: &configuration::Configuration, par } } -pub async fn create_vote(configuration: &configuration::Configuration, params: CreateVoteParams) -> Result> { +pub async fn create_vote(configuration: &configuration::Configuration, params: CreateVoteParams) -> Result> { let uri_str = format!("{}/api/v1/votes", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2849,8 +2939,8 @@ pub async fn create_vote(configuration: &configuration::Configuration, params: C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateVoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateVoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), } } else { let content = resp.text().await?; @@ -2859,7 +2949,7 @@ pub async fn create_vote(configuration: &configuration::Configuration, params: C } } -pub async fn delete_comment(configuration: &configuration::Configuration, params: DeleteCommentParams) -> Result> { +pub async fn delete_comment(configuration: &configuration::Configuration, params: DeleteCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -2898,8 +2988,8 @@ pub async fn delete_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentResult`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentResult`")))), } } else { let content = resp.text().await?; @@ -2951,7 +3041,7 @@ pub async fn delete_domain_config(configuration: &configuration::Configuration, } } -pub async fn delete_email_template(configuration: &configuration::Configuration, params: DeleteEmailTemplateParams) -> Result> { +pub async fn delete_email_template(configuration: &configuration::Configuration, params: DeleteEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -2984,8 +3074,8 @@ pub async fn delete_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteEmailTemplateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteEmailTemplateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2994,7 +3084,7 @@ pub async fn delete_email_template(configuration: &configuration::Configuration, } } -pub async fn delete_email_template_render_error(configuration: &configuration::Configuration, params: DeleteEmailTemplateRenderErrorParams) -> Result> { +pub async fn delete_email_template_render_error(configuration: &configuration::Configuration, params: DeleteEmailTemplateRenderErrorParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}/render-errors/{errorId}", configuration.base_path, id=crate::client::apis::urlencode(params.id), errorId=crate::client::apis::urlencode(params.error_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3027,8 +3117,8 @@ pub async fn delete_email_template_render_error(configuration: &configuration::C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteEmailTemplateRenderErrorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteEmailTemplateRenderErrorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3037,7 +3127,7 @@ pub async fn delete_email_template_render_error(configuration: &configuration::C } } -pub async fn delete_hash_tag(configuration: &configuration::Configuration, params: DeleteHashTagParams) -> Result> { +pub async fn delete_hash_tag(configuration: &configuration::Configuration, params: DeleteHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3073,8 +3163,8 @@ pub async fn delete_hash_tag(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteHashTagResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteHashTagResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3083,7 +3173,7 @@ pub async fn delete_hash_tag(configuration: &configuration::Configuration, param } } -pub async fn delete_moderator(configuration: &configuration::Configuration, params: DeleteModeratorParams) -> Result> { +pub async fn delete_moderator(configuration: &configuration::Configuration, params: DeleteModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3119,8 +3209,8 @@ pub async fn delete_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteModeratorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteModeratorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3129,7 +3219,7 @@ pub async fn delete_moderator(configuration: &configuration::Configuration, para } } -pub async fn delete_notification_count(configuration: &configuration::Configuration, params: DeleteNotificationCountParams) -> Result> { +pub async fn delete_notification_count(configuration: &configuration::Configuration, params: DeleteNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notification-count/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3162,8 +3252,8 @@ pub async fn delete_notification_count(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteNotificationCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteNotificationCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3215,7 +3305,7 @@ pub async fn delete_page(configuration: &configuration::Configuration, params: D } } -pub async fn delete_pending_webhook_event(configuration: &configuration::Configuration, params: DeletePendingWebhookEventParams) -> Result> { +pub async fn delete_pending_webhook_event(configuration: &configuration::Configuration, params: DeletePendingWebhookEventParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3248,8 +3338,8 @@ pub async fn delete_pending_webhook_event(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeletePendingWebhookEventResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeletePendingWebhookEventResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3258,7 +3348,7 @@ pub async fn delete_pending_webhook_event(configuration: &configuration::Configu } } -pub async fn delete_question_config(configuration: &configuration::Configuration, params: DeleteQuestionConfigParams) -> Result> { +pub async fn delete_question_config(configuration: &configuration::Configuration, params: DeleteQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3291,8 +3381,8 @@ pub async fn delete_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteQuestionConfigResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteQuestionConfigResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3301,7 +3391,7 @@ pub async fn delete_question_config(configuration: &configuration::Configuration } } -pub async fn delete_question_result(configuration: &configuration::Configuration, params: DeleteQuestionResultParams) -> Result> { +pub async fn delete_question_result(configuration: &configuration::Configuration, params: DeleteQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3334,8 +3424,8 @@ pub async fn delete_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteQuestionResultResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteQuestionResultResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3439,7 +3529,7 @@ pub async fn delete_subscription(configuration: &configuration::Configuration, p } } -pub async fn delete_tenant(configuration: &configuration::Configuration, params: DeleteTenantParams) -> Result> { +pub async fn delete_tenant(configuration: &configuration::Configuration, params: DeleteTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3475,8 +3565,8 @@ pub async fn delete_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3485,7 +3575,7 @@ pub async fn delete_tenant(configuration: &configuration::Configuration, params: } } -pub async fn delete_tenant_package(configuration: &configuration::Configuration, params: DeleteTenantPackageParams) -> Result> { +pub async fn delete_tenant_package(configuration: &configuration::Configuration, params: DeleteTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3518,8 +3608,8 @@ pub async fn delete_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantPackageResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantPackageResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3528,7 +3618,7 @@ pub async fn delete_tenant_package(configuration: &configuration::Configuration, } } -pub async fn delete_tenant_user(configuration: &configuration::Configuration, params: DeleteTenantUserParams) -> Result> { +pub async fn delete_tenant_user(configuration: &configuration::Configuration, params: DeleteTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3567,8 +3657,8 @@ pub async fn delete_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteTenantUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteTenantUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -3577,7 +3667,7 @@ pub async fn delete_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn delete_user_badge(configuration: &configuration::Configuration, params: DeleteUserBadgeParams) -> Result> { +pub async fn delete_user_badge(configuration: &configuration::Configuration, params: DeleteUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3610,8 +3700,8 @@ pub async fn delete_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptySuccessResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptySuccessResponse`")))), } } else { let content = resp.text().await?; @@ -3620,7 +3710,7 @@ pub async fn delete_user_badge(configuration: &configuration::Configuration, par } } -pub async fn delete_vote(configuration: &configuration::Configuration, params: DeleteVoteParams) -> Result> { +pub async fn delete_vote(configuration: &configuration::Configuration, params: DeleteVoteParams) -> Result> { let uri_str = format!("{}/api/v1/votes/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -3656,8 +3746,8 @@ pub async fn delete_vote(configuration: &configuration::Configuration, params: D let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteVoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteVoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), } } else { let content = resp.text().await?; @@ -3666,7 +3756,7 @@ pub async fn delete_vote(configuration: &configuration::Configuration, params: D } } -pub async fn flag_comment(configuration: &configuration::Configuration, params: FlagCommentParams) -> Result> { +pub async fn flag_comment(configuration: &configuration::Configuration, params: FlagCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/flag", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -3705,8 +3795,8 @@ pub async fn flag_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse`")))), } } else { let content = resp.text().await?; @@ -3715,7 +3805,7 @@ pub async fn flag_comment(configuration: &configuration::Configuration, params: } } -pub async fn get_audit_logs(configuration: &configuration::Configuration, params: GetAuditLogsParams) -> Result> { +pub async fn get_audit_logs(configuration: &configuration::Configuration, params: GetAuditLogsParams) -> Result> { let uri_str = format!("{}/api/v1/audit-logs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3763,8 +3853,8 @@ pub async fn get_audit_logs(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetAuditLogsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetAuditLogsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetAuditLogsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetAuditLogsResponse`")))), } } else { let content = resp.text().await?; @@ -3773,7 +3863,7 @@ pub async fn get_audit_logs(configuration: &configuration::Configuration, params } } -pub async fn get_cached_notification_count(configuration: &configuration::Configuration, params: GetCachedNotificationCountParams) -> Result> { +pub async fn get_cached_notification_count(configuration: &configuration::Configuration, params: GetCachedNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notification-count/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3806,8 +3896,8 @@ pub async fn get_cached_notification_count(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCachedNotificationCountResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCachedNotificationCountResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCachedNotificationCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCachedNotificationCountResponse`")))), } } else { let content = resp.text().await?; @@ -3816,7 +3906,7 @@ pub async fn get_cached_notification_count(configuration: &configuration::Config } } -pub async fn get_comment(configuration: &configuration::Configuration, params: GetCommentParams) -> Result> { +pub async fn get_comment(configuration: &configuration::Configuration, params: GetCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3849,8 +3939,8 @@ pub async fn get_comment(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetCommentResponse`")))), } } else { let content = resp.text().await?; @@ -3859,7 +3949,7 @@ pub async fn get_comment(configuration: &configuration::Configuration, params: G } } -pub async fn get_comments(configuration: &configuration::Configuration, params: GetCommentsParams) -> Result> { +pub async fn get_comments(configuration: &configuration::Configuration, params: GetCommentsParams) -> Result> { let uri_str = format!("{}/api/v1/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -3940,8 +4030,8 @@ pub async fn get_comments(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -4036,7 +4126,7 @@ pub async fn get_domain_configs(configuration: &configuration::Configuration, pa } } -pub async fn get_email_template(configuration: &configuration::Configuration, params: GetEmailTemplateParams) -> Result> { +pub async fn get_email_template(configuration: &configuration::Configuration, params: GetEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4069,8 +4159,8 @@ pub async fn get_email_template(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateResponse`")))), } } else { let content = resp.text().await?; @@ -4079,7 +4169,7 @@ pub async fn get_email_template(configuration: &configuration::Configuration, pa } } -pub async fn get_email_template_definitions(configuration: &configuration::Configuration, params: GetEmailTemplateDefinitionsParams) -> Result> { +pub async fn get_email_template_definitions(configuration: &configuration::Configuration, params: GetEmailTemplateDefinitionsParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/definitions", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4112,8 +4202,8 @@ pub async fn get_email_template_definitions(configuration: &configuration::Confi let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateDefinitionsResponse`")))), } } else { let content = resp.text().await?; @@ -4122,7 +4212,7 @@ pub async fn get_email_template_definitions(configuration: &configuration::Confi } } -pub async fn get_email_template_render_errors(configuration: &configuration::Configuration, params: GetEmailTemplateRenderErrorsParams) -> Result> { +pub async fn get_email_template_render_errors(configuration: &configuration::Configuration, params: GetEmailTemplateRenderErrorsParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}/render-errors", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4158,8 +4248,8 @@ pub async fn get_email_template_render_errors(configuration: &configuration::Con let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplateRenderErrorsResponse`")))), } } else { let content = resp.text().await?; @@ -4168,7 +4258,7 @@ pub async fn get_email_template_render_errors(configuration: &configuration::Con } } -pub async fn get_email_templates(configuration: &configuration::Configuration, params: GetEmailTemplatesParams) -> Result> { +pub async fn get_email_templates(configuration: &configuration::Configuration, params: GetEmailTemplatesParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4204,8 +4294,8 @@ pub async fn get_email_templates(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplatesResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplatesResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEmailTemplatesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEmailTemplatesResponse`")))), } } else { let content = resp.text().await?; @@ -4215,7 +4305,7 @@ pub async fn get_email_templates(configuration: &configuration::Configuration, p } /// req tenantId afterId -pub async fn get_feed_posts(configuration: &configuration::Configuration, params: GetFeedPostsParams) -> Result> { +pub async fn get_feed_posts(configuration: &configuration::Configuration, params: GetFeedPostsParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4260,8 +4350,8 @@ pub async fn get_feed_posts(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsResponse`")))), } } else { let content = resp.text().await?; @@ -4270,7 +4360,7 @@ pub async fn get_feed_posts(configuration: &configuration::Configuration, params } } -pub async fn get_hash_tags(configuration: &configuration::Configuration, params: GetHashTagsParams) -> Result> { +pub async fn get_hash_tags(configuration: &configuration::Configuration, params: GetHashTagsParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4306,8 +4396,8 @@ pub async fn get_hash_tags(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetHashTagsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetHashTagsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetHashTagsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetHashTagsResponse`")))), } } else { let content = resp.text().await?; @@ -4316,7 +4406,7 @@ pub async fn get_hash_tags(configuration: &configuration::Configuration, params: } } -pub async fn get_moderator(configuration: &configuration::Configuration, params: GetModeratorParams) -> Result> { +pub async fn get_moderator(configuration: &configuration::Configuration, params: GetModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4349,8 +4439,8 @@ pub async fn get_moderator(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorResponse`")))), } } else { let content = resp.text().await?; @@ -4359,7 +4449,7 @@ pub async fn get_moderator(configuration: &configuration::Configuration, params: } } -pub async fn get_moderators(configuration: &configuration::Configuration, params: GetModeratorsParams) -> Result> { +pub async fn get_moderators(configuration: &configuration::Configuration, params: GetModeratorsParams) -> Result> { let uri_str = format!("{}/api/v1/moderators", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4395,8 +4485,8 @@ pub async fn get_moderators(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModeratorsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModeratorsResponse`")))), } } else { let content = resp.text().await?; @@ -4405,7 +4495,7 @@ pub async fn get_moderators(configuration: &configuration::Configuration, params } } -pub async fn get_notification_count(configuration: &configuration::Configuration, params: GetNotificationCountParams) -> Result> { +pub async fn get_notification_count(configuration: &configuration::Configuration, params: GetNotificationCountParams) -> Result> { let uri_str = format!("{}/api/v1/notifications/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4453,8 +4543,8 @@ pub async fn get_notification_count(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationCountResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationCountResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationCountResponse`")))), } } else { let content = resp.text().await?; @@ -4463,7 +4553,7 @@ pub async fn get_notification_count(configuration: &configuration::Configuration } } -pub async fn get_notifications(configuration: &configuration::Configuration, params: GetNotificationsParams) -> Result> { +pub async fn get_notifications(configuration: &configuration::Configuration, params: GetNotificationsParams) -> Result> { let uri_str = format!("{}/api/v1/notifications", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4514,8 +4604,8 @@ pub async fn get_notifications(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetNotificationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetNotificationsResponse`")))), } } else { let content = resp.text().await?; @@ -4611,7 +4701,7 @@ pub async fn get_pages(configuration: &configuration::Configuration, params: Get } } -pub async fn get_pending_webhook_event_count(configuration: &configuration::Configuration, params: GetPendingWebhookEventCountParams) -> Result> { +pub async fn get_pending_webhook_event_count(configuration: &configuration::Configuration, params: GetPendingWebhookEventCountParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4662,8 +4752,8 @@ pub async fn get_pending_webhook_event_count(configuration: &configuration::Conf let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventCountResponse`")))), } } else { let content = resp.text().await?; @@ -4672,7 +4762,7 @@ pub async fn get_pending_webhook_event_count(configuration: &configuration::Conf } } -pub async fn get_pending_webhook_events(configuration: &configuration::Configuration, params: GetPendingWebhookEventsParams) -> Result> { +pub async fn get_pending_webhook_events(configuration: &configuration::Configuration, params: GetPendingWebhookEventsParams) -> Result> { let uri_str = format!("{}/api/v1/pending-webhook-events", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4726,8 +4816,8 @@ pub async fn get_pending_webhook_events(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPendingWebhookEventsResponse`")))), } } else { let content = resp.text().await?; @@ -4736,7 +4826,7 @@ pub async fn get_pending_webhook_events(configuration: &configuration::Configura } } -pub async fn get_question_config(configuration: &configuration::Configuration, params: GetQuestionConfigParams) -> Result> { +pub async fn get_question_config(configuration: &configuration::Configuration, params: GetQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4769,8 +4859,8 @@ pub async fn get_question_config(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigResponse`")))), } } else { let content = resp.text().await?; @@ -4779,7 +4869,7 @@ pub async fn get_question_config(configuration: &configuration::Configuration, p } } -pub async fn get_question_configs(configuration: &configuration::Configuration, params: GetQuestionConfigsParams) -> Result> { +pub async fn get_question_configs(configuration: &configuration::Configuration, params: GetQuestionConfigsParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4815,8 +4905,8 @@ pub async fn get_question_configs(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionConfigsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionConfigsResponse`")))), } } else { let content = resp.text().await?; @@ -4825,7 +4915,7 @@ pub async fn get_question_configs(configuration: &configuration::Configuration, } } -pub async fn get_question_result(configuration: &configuration::Configuration, params: GetQuestionResultParams) -> Result> { +pub async fn get_question_result(configuration: &configuration::Configuration, params: GetQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4858,8 +4948,8 @@ pub async fn get_question_result(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultResponse`")))), } } else { let content = resp.text().await?; @@ -4868,7 +4958,7 @@ pub async fn get_question_result(configuration: &configuration::Configuration, p } } -pub async fn get_question_results(configuration: &configuration::Configuration, params: GetQuestionResultsParams) -> Result> { +pub async fn get_question_results(configuration: &configuration::Configuration, params: GetQuestionResultsParams) -> Result> { let uri_str = format!("{}/api/v1/question-results", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -4919,8 +5009,8 @@ pub async fn get_question_results(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetQuestionResultsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetQuestionResultsResponse`")))), } } else { let content = resp.text().await?; @@ -5107,7 +5197,7 @@ pub async fn get_subscriptions(configuration: &configuration::Configuration, par } } -pub async fn get_tenant(configuration: &configuration::Configuration, params: GetTenantParams) -> Result> { +pub async fn get_tenant(configuration: &configuration::Configuration, params: GetTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5140,8 +5230,8 @@ pub async fn get_tenant(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantResponse`")))), } } else { let content = resp.text().await?; @@ -5150,7 +5240,7 @@ pub async fn get_tenant(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_tenant_daily_usages(configuration: &configuration::Configuration, params: GetTenantDailyUsagesParams) -> Result> { +pub async fn get_tenant_daily_usages(configuration: &configuration::Configuration, params: GetTenantDailyUsagesParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-daily-usage", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5195,8 +5285,8 @@ pub async fn get_tenant_daily_usages(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantDailyUsagesResponse`")))), } } else { let content = resp.text().await?; @@ -5205,7 +5295,7 @@ pub async fn get_tenant_daily_usages(configuration: &configuration::Configuratio } } -pub async fn get_tenant_package(configuration: &configuration::Configuration, params: GetTenantPackageParams) -> Result> { +pub async fn get_tenant_package(configuration: &configuration::Configuration, params: GetTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5238,8 +5328,8 @@ pub async fn get_tenant_package(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackageResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackageResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackageResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackageResponse`")))), } } else { let content = resp.text().await?; @@ -5248,7 +5338,7 @@ pub async fn get_tenant_package(configuration: &configuration::Configuration, pa } } -pub async fn get_tenant_packages(configuration: &configuration::Configuration, params: GetTenantPackagesParams) -> Result> { +pub async fn get_tenant_packages(configuration: &configuration::Configuration, params: GetTenantPackagesParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5284,8 +5374,8 @@ pub async fn get_tenant_packages(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackagesResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackagesResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantPackagesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantPackagesResponse`")))), } } else { let content = resp.text().await?; @@ -5294,7 +5384,7 @@ pub async fn get_tenant_packages(configuration: &configuration::Configuration, p } } -pub async fn get_tenant_user(configuration: &configuration::Configuration, params: GetTenantUserParams) -> Result> { +pub async fn get_tenant_user(configuration: &configuration::Configuration, params: GetTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5327,8 +5417,8 @@ pub async fn get_tenant_user(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUserResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUserResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUserResponse`")))), } } else { let content = resp.text().await?; @@ -5337,7 +5427,7 @@ pub async fn get_tenant_user(configuration: &configuration::Configuration, param } } -pub async fn get_tenant_users(configuration: &configuration::Configuration, params: GetTenantUsersParams) -> Result> { +pub async fn get_tenant_users(configuration: &configuration::Configuration, params: GetTenantUsersParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5373,8 +5463,8 @@ pub async fn get_tenant_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUsersResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUsersResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantUsersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantUsersResponse`")))), } } else { let content = resp.text().await?; @@ -5383,7 +5473,7 @@ pub async fn get_tenant_users(configuration: &configuration::Configuration, para } } -pub async fn get_tenants(configuration: &configuration::Configuration, params: GetTenantsParams) -> Result> { +pub async fn get_tenants(configuration: &configuration::Configuration, params: GetTenantsParams) -> Result> { let uri_str = format!("{}/api/v1/tenants", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5422,8 +5512,8 @@ pub async fn get_tenants(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantsResponse`")))), } } else { let content = resp.text().await?; @@ -5432,7 +5522,7 @@ pub async fn get_tenants(configuration: &configuration::Configuration, params: G } } -pub async fn get_ticket(configuration: &configuration::Configuration, params: GetTicketParams) -> Result> { +pub async fn get_ticket(configuration: &configuration::Configuration, params: GetTicketParams) -> Result> { let uri_str = format!("{}/api/v1/tickets/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5468,8 +5558,8 @@ pub async fn get_ticket(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketResponse`")))), } } else { let content = resp.text().await?; @@ -5478,7 +5568,7 @@ pub async fn get_ticket(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_tickets(configuration: &configuration::Configuration, params: GetTicketsParams) -> Result> { +pub async fn get_tickets(configuration: &configuration::Configuration, params: GetTicketsParams) -> Result> { let uri_str = format!("{}/api/v1/tickets", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5523,8 +5613,8 @@ pub async fn get_tickets(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTicketsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTicketsResponse`")))), } } else { let content = resp.text().await?; @@ -5533,7 +5623,7 @@ pub async fn get_tickets(configuration: &configuration::Configuration, params: G } } -pub async fn get_user(configuration: &configuration::Configuration, params: GetUserParams) -> Result> { +pub async fn get_user(configuration: &configuration::Configuration, params: GetUserParams) -> Result> { let uri_str = format!("{}/api/v1/users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5566,8 +5656,8 @@ pub async fn get_user(configuration: &configuration::Configuration, params: GetU let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserResponse`")))), } } else { let content = resp.text().await?; @@ -5576,7 +5666,7 @@ pub async fn get_user(configuration: &configuration::Configuration, params: GetU } } -pub async fn get_user_badge(configuration: &configuration::Configuration, params: GetUserBadgeParams) -> Result> { +pub async fn get_user_badge(configuration: &configuration::Configuration, params: GetUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5609,8 +5699,8 @@ pub async fn get_user_badge(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -5619,7 +5709,7 @@ pub async fn get_user_badge(configuration: &configuration::Configuration, params } } -pub async fn get_user_badge_progress_by_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByIdParams) -> Result> { +pub async fn get_user_badge_progress_by_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByIdParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5652,8 +5742,8 @@ pub async fn get_user_badge_progress_by_id(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressByIdResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressByIdResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`")))), } } else { let content = resp.text().await?; @@ -5662,7 +5752,7 @@ pub async fn get_user_badge_progress_by_id(configuration: &configuration::Config } } -pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByUserIdParams) -> Result> { +pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::Configuration, params: GetUserBadgeProgressByUserIdParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress/user/{userId}", configuration.base_path, userId=crate::client::apis::urlencode(params.user_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5695,8 +5785,8 @@ pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressByUserIdResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressByUserIdResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressResponse`")))), } } else { let content = resp.text().await?; @@ -5705,7 +5795,7 @@ pub async fn get_user_badge_progress_by_user_id(configuration: &configuration::C } } -pub async fn get_user_badge_progress_list(configuration: &configuration::Configuration, params: GetUserBadgeProgressListParams) -> Result> { +pub async fn get_user_badge_progress_list(configuration: &configuration::Configuration, params: GetUserBadgeProgressListParams) -> Result> { let uri_str = format!("{}/api/v1/user-badge-progress", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5747,8 +5837,8 @@ pub async fn get_user_badge_progress_list(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgeProgressListResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgeProgressListResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgeProgressListResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgeProgressListResponse`")))), } } else { let content = resp.text().await?; @@ -5757,7 +5847,7 @@ pub async fn get_user_badge_progress_list(configuration: &configuration::Configu } } -pub async fn get_user_badges(configuration: &configuration::Configuration, params: GetUserBadgesParams) -> Result> { +pub async fn get_user_badges(configuration: &configuration::Configuration, params: GetUserBadgesParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5808,8 +5898,8 @@ pub async fn get_user_badges(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBadgesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBadgesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiGetUserBadgesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiGetUserBadgesResponse`")))), } } else { let content = resp.text().await?; @@ -5818,7 +5908,7 @@ pub async fn get_user_badges(configuration: &configuration::Configuration, param } } -pub async fn get_votes(configuration: &configuration::Configuration, params: GetVotesParams) -> Result> { +pub async fn get_votes(configuration: &configuration::Configuration, params: GetVotesParams) -> Result> { let uri_str = format!("{}/api/v1/votes", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5852,8 +5942,8 @@ pub async fn get_votes(configuration: &configuration::Configuration, params: Get let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesResponse`")))), } } else { let content = resp.text().await?; @@ -5862,7 +5952,7 @@ pub async fn get_votes(configuration: &configuration::Configuration, params: Get } } -pub async fn get_votes_for_user(configuration: &configuration::Configuration, params: GetVotesForUserParams) -> Result> { +pub async fn get_votes_for_user(configuration: &configuration::Configuration, params: GetVotesForUserParams) -> Result> { let uri_str = format!("{}/api/v1/votes/for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -5902,8 +5992,8 @@ pub async fn get_votes_for_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesForUserResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesForUserResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetVotesForUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetVotesForUserResponse`")))), } } else { let content = resp.text().await?; @@ -5956,7 +6046,7 @@ pub async fn patch_domain_config(configuration: &configuration::Configuration, p } } -pub async fn patch_hash_tag(configuration: &configuration::Configuration, params: PatchHashTagParams) -> Result> { +pub async fn patch_hash_tag(configuration: &configuration::Configuration, params: PatchHashTagParams) -> Result> { let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -5992,8 +6082,8 @@ pub async fn patch_hash_tag(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PatchHashTagResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PatchHashTagResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateHashTagResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateHashTagResponse`")))), } } else { let content = resp.text().await?; @@ -6184,7 +6274,7 @@ pub async fn put_sso_user(configuration: &configuration::Configuration, params: } } -pub async fn render_email_template(configuration: &configuration::Configuration, params: RenderEmailTemplateParams) -> Result> { +pub async fn render_email_template(configuration: &configuration::Configuration, params: RenderEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/render", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6221,8 +6311,8 @@ pub async fn render_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RenderEmailTemplateResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RenderEmailTemplateResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RenderEmailTemplateResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RenderEmailTemplateResponse`")))), } } else { let content = resp.text().await?; @@ -6231,7 +6321,7 @@ pub async fn render_email_template(configuration: &configuration::Configuration, } } -pub async fn replace_tenant_package(configuration: &configuration::Configuration, params: ReplaceTenantPackageParams) -> Result> { +pub async fn replace_tenant_package(configuration: &configuration::Configuration, params: ReplaceTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -6265,8 +6355,8 @@ pub async fn replace_tenant_package(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReplaceTenantPackageResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReplaceTenantPackageResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6275,7 +6365,7 @@ pub async fn replace_tenant_package(configuration: &configuration::Configuration } } -pub async fn replace_tenant_user(configuration: &configuration::Configuration, params: ReplaceTenantUserParams) -> Result> { +pub async fn replace_tenant_user(configuration: &configuration::Configuration, params: ReplaceTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -6312,8 +6402,8 @@ pub async fn replace_tenant_user(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReplaceTenantUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReplaceTenantUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6322,7 +6412,7 @@ pub async fn replace_tenant_user(configuration: &configuration::Configuration, p } } -pub async fn save_comment(configuration: &configuration::Configuration, params: SaveCommentParams) -> Result> { +pub async fn save_comment(configuration: &configuration::Configuration, params: SaveCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6368,8 +6458,8 @@ pub async fn save_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SaveCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SaveCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiSaveCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiSaveCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6434,7 +6524,7 @@ pub async fn save_comments_bulk(configuration: &configuration::Configuration, pa } } -pub async fn send_invite(configuration: &configuration::Configuration, params: SendInviteParams) -> Result> { +pub async fn send_invite(configuration: &configuration::Configuration, params: SendInviteParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}/send-invite", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6468,8 +6558,8 @@ pub async fn send_invite(configuration: &configuration::Configuration, params: S let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SendInviteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SendInviteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6478,7 +6568,7 @@ pub async fn send_invite(configuration: &configuration::Configuration, params: S } } -pub async fn send_login_link(configuration: &configuration::Configuration, params: SendLoginLinkParams) -> Result> { +pub async fn send_login_link(configuration: &configuration::Configuration, params: SendLoginLinkParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}/send-login-link", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6514,8 +6604,8 @@ pub async fn send_login_link(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SendLoginLinkResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SendLoginLinkResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6524,7 +6614,7 @@ pub async fn send_login_link(configuration: &configuration::Configuration, param } } -pub async fn un_block_user_from_comment(configuration: &configuration::Configuration, params: UnBlockUserFromCommentParams) -> Result> { +pub async fn un_block_user_from_comment(configuration: &configuration::Configuration, params: UnBlockUserFromCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/un-block", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6564,8 +6654,8 @@ pub async fn un_block_user_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnBlockUserFromCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnBlockUserFromCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnblockSuccess`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnblockSuccess`")))), } } else { let content = resp.text().await?; @@ -6574,7 +6664,7 @@ pub async fn un_block_user_from_comment(configuration: &configuration::Configura } } -pub async fn un_flag_comment(configuration: &configuration::Configuration, params: UnFlagCommentParams) -> Result> { +pub async fn un_flag_comment(configuration: &configuration::Configuration, params: UnFlagCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}/un-flag", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -6613,8 +6703,8 @@ pub async fn un_flag_comment(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnFlagCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnFlagCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentResponse`")))), } } else { let content = resp.text().await?; @@ -6623,7 +6713,7 @@ pub async fn un_flag_comment(configuration: &configuration::Configuration, param } } -pub async fn update_comment(configuration: &configuration::Configuration, params: UpdateCommentParams) -> Result> { +pub async fn update_comment(configuration: &configuration::Configuration, params: UpdateCommentParams) -> Result> { let uri_str = format!("{}/api/v1/comments/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6666,8 +6756,8 @@ pub async fn update_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6676,7 +6766,7 @@ pub async fn update_comment(configuration: &configuration::Configuration, params } } -pub async fn update_email_template(configuration: &configuration::Configuration, params: UpdateEmailTemplateParams) -> Result> { +pub async fn update_email_template(configuration: &configuration::Configuration, params: UpdateEmailTemplateParams) -> Result> { let uri_str = format!("{}/api/v1/email-templates/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6710,8 +6800,8 @@ pub async fn update_email_template(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateEmailTemplateResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateEmailTemplateResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6720,7 +6810,7 @@ pub async fn update_email_template(configuration: &configuration::Configuration, } } -pub async fn update_feed_post(configuration: &configuration::Configuration, params: UpdateFeedPostParams) -> Result> { +pub async fn update_feed_post(configuration: &configuration::Configuration, params: UpdateFeedPostParams) -> Result> { let uri_str = format!("{}/api/v1/feed-posts/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6754,8 +6844,8 @@ pub async fn update_feed_post(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateFeedPostResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateFeedPostResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6764,7 +6854,7 @@ pub async fn update_feed_post(configuration: &configuration::Configuration, para } } -pub async fn update_moderator(configuration: &configuration::Configuration, params: UpdateModeratorParams) -> Result> { +pub async fn update_moderator(configuration: &configuration::Configuration, params: UpdateModeratorParams) -> Result> { let uri_str = format!("{}/api/v1/moderators/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6798,8 +6888,8 @@ pub async fn update_moderator(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateModeratorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateModeratorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6808,7 +6898,7 @@ pub async fn update_moderator(configuration: &configuration::Configuration, para } } -pub async fn update_notification(configuration: &configuration::Configuration, params: UpdateNotificationParams) -> Result> { +pub async fn update_notification(configuration: &configuration::Configuration, params: UpdateNotificationParams) -> Result> { let uri_str = format!("{}/api/v1/notifications/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6845,8 +6935,8 @@ pub async fn update_notification(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateNotificationResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateNotificationResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6855,7 +6945,7 @@ pub async fn update_notification(configuration: &configuration::Configuration, p } } -pub async fn update_question_config(configuration: &configuration::Configuration, params: UpdateQuestionConfigParams) -> Result> { +pub async fn update_question_config(configuration: &configuration::Configuration, params: UpdateQuestionConfigParams) -> Result> { let uri_str = format!("{}/api/v1/question-configs/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6889,8 +6979,8 @@ pub async fn update_question_config(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateQuestionConfigResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateQuestionConfigResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6899,7 +6989,7 @@ pub async fn update_question_config(configuration: &configuration::Configuration } } -pub async fn update_question_result(configuration: &configuration::Configuration, params: UpdateQuestionResultParams) -> Result> { +pub async fn update_question_result(configuration: &configuration::Configuration, params: UpdateQuestionResultParams) -> Result> { let uri_str = format!("{}/api/v1/question-results/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -6933,8 +7023,8 @@ pub async fn update_question_result(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateQuestionResultResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateQuestionResultResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -6990,7 +7080,7 @@ pub async fn update_subscription(configuration: &configuration::Configuration, p } } -pub async fn update_tenant(configuration: &configuration::Configuration, params: UpdateTenantParams) -> Result> { +pub async fn update_tenant(configuration: &configuration::Configuration, params: UpdateTenantParams) -> Result> { let uri_str = format!("{}/api/v1/tenants/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7024,8 +7114,8 @@ pub async fn update_tenant(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -7034,7 +7124,7 @@ pub async fn update_tenant(configuration: &configuration::Configuration, params: } } -pub async fn update_tenant_package(configuration: &configuration::Configuration, params: UpdateTenantPackageParams) -> Result> { +pub async fn update_tenant_package(configuration: &configuration::Configuration, params: UpdateTenantPackageParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-packages/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7068,8 +7158,8 @@ pub async fn update_tenant_package(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantPackageResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantPackageResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -7078,7 +7168,7 @@ pub async fn update_tenant_package(configuration: &configuration::Configuration, } } -pub async fn update_tenant_user(configuration: &configuration::Configuration, params: UpdateTenantUserParams) -> Result> { +pub async fn update_tenant_user(configuration: &configuration::Configuration, params: UpdateTenantUserParams) -> Result> { let uri_str = format!("{}/api/v1/tenant-users/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); @@ -7115,8 +7205,8 @@ pub async fn update_tenant_user(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateTenantUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateTenantUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -7125,7 +7215,7 @@ pub async fn update_tenant_user(configuration: &configuration::Configuration, pa } } -pub async fn update_user_badge(configuration: &configuration::Configuration, params: UpdateUserBadgeParams) -> Result> { +pub async fn update_user_badge(configuration: &configuration::Configuration, params: UpdateUserBadgeParams) -> Result> { let uri_str = format!("{}/api/v1/user-badges/{id}", configuration.base_path, id=crate::client::apis::urlencode(params.id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -7159,8 +7249,8 @@ pub async fn update_user_badge(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateUserBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateUserBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptySuccessResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptySuccessResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/apis/moderation_api.rs b/client/src/apis/moderation_api.rs index b7a82d6..c62f85b 100644 --- a/client/src/apis/moderation_api.rs +++ b/client/src/apis/moderation_api.rs @@ -425,6 +425,7 @@ pub struct SetTrustFactorParams { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteModerationVoteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -432,6 +433,7 @@ pub enum DeleteModerationVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiCommentsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -439,6 +441,7 @@ pub enum GetApiCommentsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiExportStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -446,6 +449,7 @@ pub enum GetApiExportStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetApiIdsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -453,6 +457,7 @@ pub enum GetApiIdsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetBanUsersFromCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -460,6 +465,7 @@ pub enum GetBanUsersFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentBanStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -467,6 +473,7 @@ pub enum GetCommentBanStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentChildrenError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -474,6 +481,7 @@ pub enum GetCommentChildrenError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -481,6 +489,7 @@ pub enum GetCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCountsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -488,6 +497,7 @@ pub enum GetCountsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetLogsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -495,6 +505,7 @@ pub enum GetLogsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetManualBadgesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -502,6 +513,7 @@ pub enum GetManualBadgesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetManualBadgesForUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -509,6 +521,7 @@ pub enum GetManualBadgesForUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModerationCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -516,6 +529,7 @@ pub enum GetModerationCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetModerationCommentTextError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -523,6 +537,7 @@ pub enum GetModerationCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPreBanSummaryError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -530,6 +545,7 @@ pub enum GetPreBanSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchCommentsSummaryError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -537,6 +553,7 @@ pub enum GetSearchCommentsSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchPagesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -544,6 +561,7 @@ pub enum GetSearchPagesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchSitesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -551,6 +569,7 @@ pub enum GetSearchSitesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchSuggestError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -558,6 +577,7 @@ pub enum GetSearchSuggestError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetSearchUsersError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -565,6 +585,7 @@ pub enum GetSearchUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetTrustFactorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -572,6 +593,7 @@ pub enum GetTrustFactorError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserBanPreferenceError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -579,6 +601,7 @@ pub enum GetUserBanPreferenceError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserInternalProfileError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -586,6 +609,7 @@ pub enum GetUserInternalProfileError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostAdjustCommentVotesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -593,6 +617,7 @@ pub enum PostAdjustCommentVotesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostApiExportError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -600,6 +625,7 @@ pub enum PostApiExportError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBanUserFromCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -607,6 +633,7 @@ pub enum PostBanUserFromCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBanUserUndoError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -614,6 +641,7 @@ pub enum PostBanUserUndoError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostBulkPreBanSummaryError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -621,6 +649,7 @@ pub enum PostBulkPreBanSummaryError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostCommentsByIdsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -628,6 +657,7 @@ pub enum PostCommentsByIdsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostFlagCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -635,6 +665,7 @@ pub enum PostFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostRemoveCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -642,6 +673,7 @@ pub enum PostRemoveCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostRestoreDeletedCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -649,6 +681,7 @@ pub enum PostRestoreDeletedCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentApprovalStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -656,6 +689,7 @@ pub enum PostSetCommentApprovalStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentReviewStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -663,6 +697,7 @@ pub enum PostSetCommentReviewStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentSpamStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -670,6 +705,7 @@ pub enum PostSetCommentSpamStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostSetCommentTextError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -677,6 +713,7 @@ pub enum PostSetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostUnFlagCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -684,6 +721,7 @@ pub enum PostUnFlagCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PostVoteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -691,6 +729,7 @@ pub enum PostVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutAwardBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -698,6 +737,7 @@ pub enum PutAwardBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutCloseThreadError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -705,6 +745,7 @@ pub enum PutCloseThreadError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutRemoveBadgeError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -712,6 +753,7 @@ pub enum PutRemoveBadgeError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PutReopenThreadError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -719,11 +761,12 @@ pub enum PutReopenThreadError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SetTrustFactorError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } -pub async fn delete_moderation_vote(configuration: &configuration::Configuration, params: DeleteModerationVoteParams) -> Result> { +pub async fn delete_moderation_vote(configuration: &configuration::Configuration, params: DeleteModerationVoteParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}/{voteId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -756,8 +799,8 @@ pub async fn delete_moderation_vote(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteModerationVoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteModerationVoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), } } else { let content = resp.text().await?; @@ -766,7 +809,7 @@ pub async fn delete_moderation_vote(configuration: &configuration::Configuration } } -pub async fn get_api_comments(configuration: &configuration::Configuration, params: GetApiCommentsParams) -> Result> { +pub async fn get_api_comments(configuration: &configuration::Configuration, params: GetApiCommentsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -820,8 +863,8 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiCommentsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiCommentsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -830,7 +873,7 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para } } -pub async fn get_api_export_status(configuration: &configuration::Configuration, params: GetApiExportStatusParams) -> Result> { +pub async fn get_api_export_status(configuration: &configuration::Configuration, params: GetApiExportStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/export/status", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -863,8 +906,8 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiExportStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiExportStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationExportStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationExportStatusResponse`")))), } } else { let content = resp.text().await?; @@ -873,7 +916,7 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, } } -pub async fn get_api_ids(configuration: &configuration::Configuration, params: GetApiIdsParams) -> Result> { +pub async fn get_api_ids(configuration: &configuration::Configuration, params: GetApiIdsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -921,8 +964,8 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetApiIdsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetApiIdsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetCommentIdsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetCommentIdsResponse`")))), } } else { let content = resp.text().await?; @@ -931,7 +974,7 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G } } -pub async fn get_ban_users_from_comment(configuration: &configuration::Configuration, params: GetBanUsersFromCommentParams) -> Result> { +pub async fn get_ban_users_from_comment(configuration: &configuration::Configuration, params: GetBanUsersFromCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -961,8 +1004,8 @@ pub async fn get_ban_users_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBanUsersFromCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBanUsersFromCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBannedUsersFromCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBannedUsersFromCommentResponse`")))), } } else { let content = resp.text().await?; @@ -971,7 +1014,7 @@ pub async fn get_ban_users_from_comment(configuration: &configuration::Configura } } -pub async fn get_comment_ban_status(configuration: &configuration::Configuration, params: GetCommentBanStatusParams) -> Result> { +pub async fn get_comment_ban_status(configuration: &configuration::Configuration, params: GetCommentBanStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1001,8 +1044,8 @@ pub async fn get_comment_ban_status(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentBanStatusResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentBanStatusResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentBanStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentBanStatusResponse`")))), } } else { let content = resp.text().await?; @@ -1011,7 +1054,7 @@ pub async fn get_comment_ban_status(configuration: &configuration::Configuration } } -pub async fn get_comment_children(configuration: &configuration::Configuration, params: GetCommentChildrenParams) -> Result> { +pub async fn get_comment_children(configuration: &configuration::Configuration, params: GetCommentChildrenParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comment-children/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1041,8 +1084,8 @@ pub async fn get_comment_children(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentChildrenResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentChildrenResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -1051,7 +1094,7 @@ pub async fn get_comment_children(configuration: &configuration::Configuration, } } -pub async fn get_count(configuration: &configuration::Configuration, params: GetCountParams) -> Result> { +pub async fn get_count(configuration: &configuration::Configuration, params: GetCountParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1096,8 +1139,8 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiCountCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiCountCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -1106,7 +1149,7 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get } } -pub async fn get_counts(configuration: &configuration::Configuration, params: GetCountsParams) -> Result> { +pub async fn get_counts(configuration: &configuration::Configuration, params: GetCountsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/banned-users/counts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1136,8 +1179,8 @@ pub async fn get_counts(configuration: &configuration::Configuration, params: Ge let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCountsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCountsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetBannedUsersCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetBannedUsersCountResponse`")))), } } else { let content = resp.text().await?; @@ -1146,7 +1189,7 @@ pub async fn get_counts(configuration: &configuration::Configuration, params: Ge } } -pub async fn get_logs(configuration: &configuration::Configuration, params: GetLogsParams) -> Result> { +pub async fn get_logs(configuration: &configuration::Configuration, params: GetLogsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/logs/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1176,8 +1219,8 @@ pub async fn get_logs(configuration: &configuration::Configuration, params: GetL let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetLogsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetLogsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiGetLogsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiGetLogsResponse`")))), } } else { let content = resp.text().await?; @@ -1186,7 +1229,7 @@ pub async fn get_logs(configuration: &configuration::Configuration, params: GetL } } -pub async fn get_manual_badges(configuration: &configuration::Configuration, params: GetManualBadgesParams) -> Result> { +pub async fn get_manual_badges(configuration: &configuration::Configuration, params: GetManualBadgesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1216,8 +1259,8 @@ pub async fn get_manual_badges(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetManualBadgesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetManualBadgesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTenantManualBadgesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTenantManualBadgesResponse`")))), } } else { let content = resp.text().await?; @@ -1226,7 +1269,7 @@ pub async fn get_manual_badges(configuration: &configuration::Configuration, par } } -pub async fn get_manual_badges_for_user(configuration: &configuration::Configuration, params: GetManualBadgesForUserParams) -> Result> { +pub async fn get_manual_badges_for_user(configuration: &configuration::Configuration, params: GetManualBadgesForUserParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges-for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1262,8 +1305,8 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetManualBadgesForUserResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetManualBadgesForUserResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserManualBadgesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserManualBadgesResponse`")))), } } else { let content = resp.text().await?; @@ -1272,7 +1315,7 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura } } -pub async fn get_moderation_comment(configuration: &configuration::Configuration, params: GetModerationCommentParams) -> Result> { +pub async fn get_moderation_comment(configuration: &configuration::Configuration, params: GetModerationCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1308,8 +1351,8 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModerationCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModerationCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiCommentResponse`")))), } } else { let content = resp.text().await?; @@ -1318,7 +1361,7 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration } } -pub async fn get_moderation_comment_text(configuration: &configuration::Configuration, params: GetModerationCommentTextParams) -> Result> { +pub async fn get_moderation_comment_text(configuration: &configuration::Configuration, params: GetModerationCommentTextParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1348,8 +1391,8 @@ pub async fn get_moderation_comment_text(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetModerationCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetModerationCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -1358,7 +1401,7 @@ pub async fn get_moderation_comment_text(configuration: &configuration::Configur } } -pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, params: GetPreBanSummaryParams) -> Result> { +pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, params: GetPreBanSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/pre-ban-summary/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1397,8 +1440,8 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPreBanSummaryResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPreBanSummaryResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PreBanSummary`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PreBanSummary`")))), } } else { let content = resp.text().await?; @@ -1407,7 +1450,7 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p } } -pub async fn get_search_comments_summary(configuration: &configuration::Configuration, params: GetSearchCommentsSummaryParams) -> Result> { +pub async fn get_search_comments_summary(configuration: &configuration::Configuration, params: GetSearchCommentsSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/comments/summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1446,8 +1489,8 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchCommentsSummaryResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchCommentsSummaryResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationCommentSearchResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationCommentSearchResponse`")))), } } else { let content = resp.text().await?; @@ -1456,7 +1499,7 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur } } -pub async fn get_search_pages(configuration: &configuration::Configuration, params: GetSearchPagesParams) -> Result> { +pub async fn get_search_pages(configuration: &configuration::Configuration, params: GetSearchPagesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/pages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1489,8 +1532,8 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchPagesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchPagesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationPageSearchResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationPageSearchResponse`")))), } } else { let content = resp.text().await?; @@ -1499,7 +1542,7 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para } } -pub async fn get_search_sites(configuration: &configuration::Configuration, params: GetSearchSitesParams) -> Result> { +pub async fn get_search_sites(configuration: &configuration::Configuration, params: GetSearchSitesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/sites", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1532,8 +1575,8 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchSitesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchSitesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationSiteSearchResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationSiteSearchResponse`")))), } } else { let content = resp.text().await?; @@ -1542,7 +1585,7 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para } } -pub async fn get_search_suggest(configuration: &configuration::Configuration, params: GetSearchSuggestParams) -> Result> { +pub async fn get_search_suggest(configuration: &configuration::Configuration, params: GetSearchSuggestParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/suggest", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1575,8 +1618,8 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchSuggestResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchSuggestResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationSuggestResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationSuggestResponse`")))), } } else { let content = resp.text().await?; @@ -1585,7 +1628,7 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa } } -pub async fn get_search_users(configuration: &configuration::Configuration, params: GetSearchUsersParams) -> Result> { +pub async fn get_search_users(configuration: &configuration::Configuration, params: GetSearchUsersParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/search/users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1618,8 +1661,8 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetSearchUsersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetSearchUsersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationUserSearchResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationUserSearchResponse`")))), } } else { let content = resp.text().await?; @@ -1628,7 +1671,7 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para } } -pub async fn get_trust_factor(configuration: &configuration::Configuration, params: GetTrustFactorParams) -> Result> { +pub async fn get_trust_factor(configuration: &configuration::Configuration, params: GetTrustFactorParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1661,8 +1704,8 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTrustFactorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTrustFactorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserTrustFactorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserTrustFactorResponse`")))), } } else { let content = resp.text().await?; @@ -1671,7 +1714,7 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para } } -pub async fn get_user_ban_preference(configuration: &configuration::Configuration, params: GetUserBanPreferenceParams) -> Result> { +pub async fn get_user_ban_preference(configuration: &configuration::Configuration, params: GetUserBanPreferenceParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/user-ban-preference", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1701,8 +1744,8 @@ pub async fn get_user_ban_preference(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserBanPreferenceResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserBanPreferenceResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiModerateGetUserBanPreferencesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiModerateGetUserBanPreferencesResponse`")))), } } else { let content = resp.text().await?; @@ -1711,7 +1754,7 @@ pub async fn get_user_ban_preference(configuration: &configuration::Configuratio } } -pub async fn get_user_internal_profile(configuration: &configuration::Configuration, params: GetUserInternalProfileParams) -> Result> { +pub async fn get_user_internal_profile(configuration: &configuration::Configuration, params: GetUserInternalProfileParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/get-user-internal-profile", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1744,8 +1787,8 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserInternalProfileResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserInternalProfileResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserInternalProfileResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserInternalProfileResponse`")))), } } else { let content = resp.text().await?; @@ -1754,7 +1797,7 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat } } -pub async fn post_adjust_comment_votes(configuration: &configuration::Configuration, params: PostAdjustCommentVotesParams) -> Result> { +pub async fn post_adjust_comment_votes(configuration: &configuration::Configuration, params: PostAdjustCommentVotesParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1788,8 +1831,8 @@ pub async fn post_adjust_comment_votes(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostAdjustCommentVotesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostAdjustCommentVotesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AdjustVotesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AdjustVotesResponse`")))), } } else { let content = resp.text().await?; @@ -1798,7 +1841,7 @@ pub async fn post_adjust_comment_votes(configuration: &configuration::Configurat } } -pub async fn post_api_export(configuration: &configuration::Configuration, params: PostApiExportParams) -> Result> { +pub async fn post_api_export(configuration: &configuration::Configuration, params: PostApiExportParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/api/export", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1843,8 +1886,8 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostApiExportResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostApiExportResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationExportResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationExportResponse`")))), } } else { let content = resp.text().await?; @@ -1853,7 +1896,7 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param } } -pub async fn post_ban_user_from_comment(configuration: &configuration::Configuration, params: PostBanUserFromCommentParams) -> Result> { +pub async fn post_ban_user_from_comment(configuration: &configuration::Configuration, params: PostBanUserFromCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1907,8 +1950,8 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBanUserFromCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBanUserFromCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BanUserFromCommentResult`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BanUserFromCommentResult`")))), } } else { let content = resp.text().await?; @@ -1917,7 +1960,7 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura } } -pub async fn post_ban_user_undo(configuration: &configuration::Configuration, params: PostBanUserUndoParams) -> Result> { +pub async fn post_ban_user_undo(configuration: &configuration::Configuration, params: PostBanUserUndoParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/undo", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1948,8 +1991,8 @@ pub async fn post_ban_user_undo(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBanUserUndoResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBanUserUndoResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -1958,7 +2001,7 @@ pub async fn post_ban_user_undo(configuration: &configuration::Configuration, pa } } -pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configuration, params: PostBulkPreBanSummaryParams) -> Result> { +pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configuration, params: PostBulkPreBanSummaryParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/bulk-pre-ban-summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1998,8 +2041,8 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostBulkPreBanSummaryResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostBulkPreBanSummaryResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BulkPreBanSummary`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BulkPreBanSummary`")))), } } else { let content = resp.text().await?; @@ -2008,7 +2051,7 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat } } -pub async fn post_comments_by_ids(configuration: &configuration::Configuration, params: PostCommentsByIdsParams) -> Result> { +pub async fn post_comments_by_ids(configuration: &configuration::Configuration, params: PostCommentsByIdsParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/comments-by-ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2039,8 +2082,8 @@ pub async fn post_comments_by_ids(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostCommentsByIdsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostCommentsByIdsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ModerationApiChildCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -2049,7 +2092,7 @@ pub async fn post_comments_by_ids(configuration: &configuration::Configuration, } } -pub async fn post_flag_comment(configuration: &configuration::Configuration, params: PostFlagCommentParams) -> Result> { +pub async fn post_flag_comment(configuration: &configuration::Configuration, params: PostFlagCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2082,8 +2125,8 @@ pub async fn post_flag_comment(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostFlagCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostFlagCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2135,7 +2178,7 @@ pub async fn post_remove_comment(configuration: &configuration::Configuration, p } } -pub async fn post_restore_deleted_comment(configuration: &configuration::Configuration, params: PostRestoreDeletedCommentParams) -> Result> { +pub async fn post_restore_deleted_comment(configuration: &configuration::Configuration, params: PostRestoreDeletedCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2168,8 +2211,8 @@ pub async fn post_restore_deleted_comment(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostRestoreDeletedCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostRestoreDeletedCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2178,7 +2221,7 @@ pub async fn post_restore_deleted_comment(configuration: &configuration::Configu } } -pub async fn post_set_comment_approval_status(configuration: &configuration::Configuration, params: PostSetCommentApprovalStatusParams) -> Result> { +pub async fn post_set_comment_approval_status(configuration: &configuration::Configuration, params: PostSetCommentApprovalStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2214,8 +2257,8 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentApprovalStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentApprovalStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentApprovedResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentApprovedResponse`")))), } } else { let content = resp.text().await?; @@ -2224,7 +2267,7 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con } } -pub async fn post_set_comment_review_status(configuration: &configuration::Configuration, params: PostSetCommentReviewStatusParams) -> Result> { +pub async fn post_set_comment_review_status(configuration: &configuration::Configuration, params: PostSetCommentReviewStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-review-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2260,8 +2303,8 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentReviewStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentReviewStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2270,7 +2313,7 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi } } -pub async fn post_set_comment_spam_status(configuration: &configuration::Configuration, params: PostSetCommentSpamStatusParams) -> Result> { +pub async fn post_set_comment_spam_status(configuration: &configuration::Configuration, params: PostSetCommentSpamStatusParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2309,8 +2352,8 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentSpamStatusResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentSpamStatusResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2319,7 +2362,7 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu } } -pub async fn post_set_comment_text(configuration: &configuration::Configuration, params: PostSetCommentTextParams) -> Result> { +pub async fn post_set_comment_text(configuration: &configuration::Configuration, params: PostSetCommentTextParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2353,8 +2396,8 @@ pub async fn post_set_comment_text(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostSetCommentTextResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostSetCommentTextResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -2363,7 +2406,7 @@ pub async fn post_set_comment_text(configuration: &configuration::Configuration, } } -pub async fn post_un_flag_comment(configuration: &configuration::Configuration, params: PostUnFlagCommentParams) -> Result> { +pub async fn post_un_flag_comment(configuration: &configuration::Configuration, params: PostUnFlagCommentParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/un-flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2396,8 +2439,8 @@ pub async fn post_un_flag_comment(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostUnFlagCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostUnFlagCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2406,7 +2449,7 @@ pub async fn post_un_flag_comment(configuration: &configuration::Configuration, } } -pub async fn post_vote(configuration: &configuration::Configuration, params: PostVoteParams) -> Result> { +pub async fn post_vote(configuration: &configuration::Configuration, params: PostVoteParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2442,8 +2485,8 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostVoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostVoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), } } else { let content = resp.text().await?; @@ -2452,7 +2495,7 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos } } -pub async fn put_award_badge(configuration: &configuration::Configuration, params: PutAwardBadgeParams) -> Result> { +pub async fn put_award_badge(configuration: &configuration::Configuration, params: PutAwardBadgeParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/award-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2492,8 +2535,8 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutAwardBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutAwardBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AwardUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AwardUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2502,7 +2545,7 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param } } -pub async fn put_close_thread(configuration: &configuration::Configuration, params: PutCloseThreadParams) -> Result> { +pub async fn put_close_thread(configuration: &configuration::Configuration, params: PutCloseThreadParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/close-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2533,8 +2576,8 @@ pub async fn put_close_thread(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutCloseThreadResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutCloseThreadResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2543,7 +2586,7 @@ pub async fn put_close_thread(configuration: &configuration::Configuration, para } } -pub async fn put_remove_badge(configuration: &configuration::Configuration, params: PutRemoveBadgeParams) -> Result> { +pub async fn put_remove_badge(configuration: &configuration::Configuration, params: PutRemoveBadgeParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/remove-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2583,8 +2626,8 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutRemoveBadgeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutRemoveBadgeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RemoveUserBadgeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RemoveUserBadgeResponse`")))), } } else { let content = resp.text().await?; @@ -2593,7 +2636,7 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para } } -pub async fn put_reopen_thread(configuration: &configuration::Configuration, params: PutReopenThreadParams) -> Result> { +pub async fn put_reopen_thread(configuration: &configuration::Configuration, params: PutReopenThreadParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/reopen-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2624,8 +2667,8 @@ pub async fn put_reopen_thread(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PutReopenThreadResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PutReopenThreadResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2634,7 +2677,7 @@ pub async fn put_reopen_thread(configuration: &configuration::Configuration, par } } -pub async fn set_trust_factor(configuration: &configuration::Configuration, params: SetTrustFactorParams) -> Result> { +pub async fn set_trust_factor(configuration: &configuration::Configuration, params: SetTrustFactorParams) -> Result> { let uri_str = format!("{}/auth/my-account/moderate-comments/set-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2670,8 +2713,8 @@ pub async fn set_trust_factor(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetTrustFactorResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetTrustFactorResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetUserTrustFactorResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetUserTrustFactorResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/apis/public_api.rs b/client/src/apis/public_api.rs index 901da5d..436cc59 100644 --- a/client/src/apis/public_api.rs +++ b/client/src/apis/public_api.rs @@ -540,6 +540,7 @@ pub struct VoteCommentParams { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum BlockFromCommentPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -547,6 +548,7 @@ pub enum BlockFromCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CheckedCommentsForBlockedError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -554,6 +556,7 @@ pub enum CheckedCommentsForBlockedError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateCommentPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -561,6 +564,7 @@ pub enum CreateCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateFeedPostPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -568,6 +572,7 @@ pub enum CreateFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateV1PageReactError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -575,6 +580,7 @@ pub enum CreateV1PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum CreateV2PageReactError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -582,6 +588,7 @@ pub enum CreateV2PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -589,6 +596,7 @@ pub enum DeleteCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteCommentVoteError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -596,6 +604,7 @@ pub enum DeleteCommentVoteError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteFeedPostPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -603,6 +612,7 @@ pub enum DeleteFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteV1PageReactError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -610,6 +620,7 @@ pub enum DeleteV1PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteV2PageReactError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -617,6 +628,7 @@ pub enum DeleteV2PageReactError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum FlagCommentPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -624,6 +636,7 @@ pub enum FlagCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentTextError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -631,6 +644,7 @@ pub enum GetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentVoteUserNamesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -638,6 +652,7 @@ pub enum GetCommentVoteUserNamesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsForUserError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -645,6 +660,7 @@ pub enum GetCommentsForUserError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetCommentsPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -652,6 +668,7 @@ pub enum GetCommentsPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetEventLogError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -659,6 +676,7 @@ pub enum GetEventLogError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -666,6 +684,7 @@ pub enum GetFeedPostsPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetFeedPostsStatsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -674,6 +693,7 @@ pub enum GetFeedPostsStatsError { #[serde(untagged)] pub enum GetGifLargeError { Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -682,6 +702,7 @@ pub enum GetGifLargeError { #[serde(untagged)] pub enum GetGifsSearchError { Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -696,6 +717,7 @@ pub enum GetGifsTrendingError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetGlobalEventLogError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -705,6 +727,7 @@ pub enum GetGlobalEventLogError { pub enum GetOfflineUsersError { Status403(models::ApiError), Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -714,6 +737,7 @@ pub enum GetOfflineUsersError { pub enum GetOnlineUsersError { Status403(models::ApiError), Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -721,6 +745,7 @@ pub enum GetOnlineUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetPagesPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -730,6 +755,7 @@ pub enum GetPagesPublicError { pub enum GetTranslationsError { Status422(models::ApiError), Status500(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -737,6 +763,7 @@ pub enum GetTranslationsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserNotificationCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -744,6 +771,7 @@ pub enum GetUserNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserNotificationsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -752,6 +780,7 @@ pub enum GetUserNotificationsError { #[serde(untagged)] pub enum GetUserPresenceStatusesError { Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -759,6 +788,7 @@ pub enum GetUserPresenceStatusesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetUserReactsPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -767,6 +797,7 @@ pub enum GetUserReactsPublicError { #[serde(untagged)] pub enum GetUsersInfoError { Status422(models::ApiError), + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -774,6 +805,7 @@ pub enum GetUsersInfoError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV1PageLikesError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -781,6 +813,7 @@ pub enum GetV1PageLikesError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV2PageReactUsersError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -788,6 +821,7 @@ pub enum GetV2PageReactUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetV2PageReactsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -795,6 +829,7 @@ pub enum GetV2PageReactsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum LockCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -809,6 +844,7 @@ pub enum LogoutPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum PinCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -816,6 +852,7 @@ pub enum PinCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ReactFeedPostPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -823,6 +860,7 @@ pub enum ReactFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ResetUserNotificationCountError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -830,6 +868,7 @@ pub enum ResetUserNotificationCountError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum ResetUserNotificationsError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -837,6 +876,7 @@ pub enum ResetUserNotificationsError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SearchUsersError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -844,6 +884,7 @@ pub enum SearchUsersError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum SetCommentTextError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -851,6 +892,7 @@ pub enum SetCommentTextError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnBlockCommentPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -858,6 +900,7 @@ pub enum UnBlockCommentPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnLockCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -865,6 +908,7 @@ pub enum UnLockCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UnPinCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -872,6 +916,7 @@ pub enum UnPinCommentError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateFeedPostPublicError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -879,6 +924,7 @@ pub enum UpdateFeedPostPublicError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationCommentSubscriptionStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -886,6 +932,7 @@ pub enum UpdateUserNotificationCommentSubscriptionStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationPageSubscriptionStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -893,6 +940,7 @@ pub enum UpdateUserNotificationPageSubscriptionStatusError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum UpdateUserNotificationStatusError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } @@ -907,11 +955,12 @@ pub enum UploadImageError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum VoteCommentError { + DefaultResponse(models::ApiError), UnknownValue(serde_json::Value), } -pub async fn block_from_comment_public(configuration: &configuration::Configuration, params: BlockFromCommentPublicParams) -> Result> { +pub async fn block_from_comment_public(configuration: &configuration::Configuration, params: BlockFromCommentPublicParams) -> Result> { let uri_str = format!("{}/block-from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -940,8 +989,8 @@ pub async fn block_from_comment_public(configuration: &configuration::Configurat let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockFromCommentPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockFromCommentPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::BlockSuccess`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::BlockSuccess`")))), } } else { let content = resp.text().await?; @@ -950,7 +999,7 @@ pub async fn block_from_comment_public(configuration: &configuration::Configurat } } -pub async fn checked_comments_for_blocked(configuration: &configuration::Configuration, params: CheckedCommentsForBlockedParams) -> Result> { +pub async fn checked_comments_for_blocked(configuration: &configuration::Configuration, params: CheckedCommentsForBlockedParams) -> Result> { let uri_str = format!("{}/check-blocked-comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -979,8 +1028,8 @@ pub async fn checked_comments_for_blocked(configuration: &configuration::Configu let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CheckedCommentsForBlockedResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CheckedCommentsForBlockedResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CheckBlockedCommentsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CheckBlockedCommentsResponse`")))), } } else { let content = resp.text().await?; @@ -989,7 +1038,7 @@ pub async fn checked_comments_for_blocked(configuration: &configuration::Configu } } -pub async fn create_comment_public(configuration: &configuration::Configuration, params: CreateCommentPublicParams) -> Result> { +pub async fn create_comment_public(configuration: &configuration::Configuration, params: CreateCommentPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1022,8 +1071,8 @@ pub async fn create_comment_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateCommentPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateCommentPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SaveCommentsResponseWithPresence`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SaveCommentsResponseWithPresence`")))), } } else { let content = resp.text().await?; @@ -1032,7 +1081,7 @@ pub async fn create_comment_public(configuration: &configuration::Configuration, } } -pub async fn create_feed_post_public(configuration: &configuration::Configuration, params: CreateFeedPostPublicParams) -> Result> { +pub async fn create_feed_post_public(configuration: &configuration::Configuration, params: CreateFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1063,8 +1112,8 @@ pub async fn create_feed_post_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse`")))), } } else { let content = resp.text().await?; @@ -1073,7 +1122,7 @@ pub async fn create_feed_post_public(configuration: &configuration::Configuratio } } -pub async fn create_v1_page_react(configuration: &configuration::Configuration, params: CreateV1PageReactParams) -> Result> { +pub async fn create_v1_page_react(configuration: &configuration::Configuration, params: CreateV1PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1101,8 +1150,8 @@ pub async fn create_v1_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReactResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReactResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), } } else { let content = resp.text().await?; @@ -1111,7 +1160,7 @@ pub async fn create_v1_page_react(configuration: &configuration::Configuration, } } -pub async fn create_v2_page_react(configuration: &configuration::Configuration, params: CreateV2PageReactParams) -> Result> { +pub async fn create_v2_page_react(configuration: &configuration::Configuration, params: CreateV2PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1140,8 +1189,8 @@ pub async fn create_v2_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV2PageReactResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV2PageReactResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), } } else { let content = resp.text().await?; @@ -1150,7 +1199,7 @@ pub async fn create_v2_page_react(configuration: &configuration::Configuration, } } -pub async fn delete_comment_public(configuration: &configuration::Configuration, params: DeleteCommentPublicParams) -> Result> { +pub async fn delete_comment_public(configuration: &configuration::Configuration, params: DeleteCommentPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1181,8 +1230,8 @@ pub async fn delete_comment_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiDeleteCommentResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiDeleteCommentResponse`")))), } } else { let content = resp.text().await?; @@ -1191,7 +1240,7 @@ pub async fn delete_comment_public(configuration: &configuration::Configuration, } } -pub async fn delete_comment_vote(configuration: &configuration::Configuration, params: DeleteCommentVoteParams) -> Result> { +pub async fn delete_comment_vote(configuration: &configuration::Configuration, params: DeleteCommentVoteParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/vote/{voteId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1223,8 +1272,8 @@ pub async fn delete_comment_vote(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteCommentVoteResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteCommentVoteResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteDeleteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteDeleteResponse`")))), } } else { let content = resp.text().await?; @@ -1273,7 +1322,7 @@ pub async fn delete_feed_post_public(configuration: &configuration::Configuratio } } -pub async fn delete_v1_page_react(configuration: &configuration::Configuration, params: DeleteV1PageReactParams) -> Result> { +pub async fn delete_v1_page_react(configuration: &configuration::Configuration, params: DeleteV1PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1298,8 +1347,8 @@ pub async fn delete_v1_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteV1PageReactResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteV1PageReactResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), } } else { let content = resp.text().await?; @@ -1308,7 +1357,7 @@ pub async fn delete_v1_page_react(configuration: &configuration::Configuration, } } -pub async fn delete_v2_page_react(configuration: &configuration::Configuration, params: DeleteV2PageReactParams) -> Result> { +pub async fn delete_v2_page_react(configuration: &configuration::Configuration, params: DeleteV2PageReactParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -1334,8 +1383,8 @@ pub async fn delete_v2_page_react(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::DeleteV2PageReactResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::DeleteV2PageReactResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateV1PageReact`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateV1PageReact`")))), } } else { let content = resp.text().await?; @@ -1344,7 +1393,7 @@ pub async fn delete_v2_page_react(configuration: &configuration::Configuration, } } -pub async fn flag_comment_public(configuration: &configuration::Configuration, params: FlagCommentPublicParams) -> Result> { +pub async fn flag_comment_public(configuration: &configuration::Configuration, params: FlagCommentPublicParams) -> Result> { let uri_str = format!("{}/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -1373,8 +1422,8 @@ pub async fn flag_comment_public(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FlagCommentPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FlagCommentPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -1383,7 +1432,7 @@ pub async fn flag_comment_public(configuration: &configuration::Configuration, p } } -pub async fn get_comment_text(configuration: &configuration::Configuration, params: GetCommentTextParams) -> Result> { +pub async fn get_comment_text(configuration: &configuration::Configuration, params: GetCommentTextParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/text", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1413,8 +1462,8 @@ pub async fn get_comment_text(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentTextResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentTextResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiGetCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiGetCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -1423,7 +1472,7 @@ pub async fn get_comment_text(configuration: &configuration::Configuration, para } } -pub async fn get_comment_vote_user_names(configuration: &configuration::Configuration, params: GetCommentVoteUserNamesParams) -> Result> { +pub async fn get_comment_vote_user_names(configuration: &configuration::Configuration, params: GetCommentVoteUserNamesParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/votes", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1451,8 +1500,8 @@ pub async fn get_comment_vote_user_names(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentVoteUserNamesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentVoteUserNamesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentVoteUserNamesSuccessResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentVoteUserNamesSuccessResponse`")))), } } else { let content = resp.text().await?; @@ -1461,7 +1510,7 @@ pub async fn get_comment_vote_user_names(configuration: &configuration::Configur } } -pub async fn get_comments_for_user(configuration: &configuration::Configuration, params: GetCommentsForUserParams) -> Result> { +pub async fn get_comments_for_user(configuration: &configuration::Configuration, params: GetCommentsForUserParams) -> Result> { let uri_str = format!("{}/comments-for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1506,8 +1555,8 @@ pub async fn get_comments_for_user(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsForUserResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsForUserResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsForUserResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsForUserResponse`")))), } } else { let content = resp.text().await?; @@ -1517,7 +1566,7 @@ pub async fn get_comments_for_user(configuration: &configuration::Configuration, } /// req tenantId urlId -pub async fn get_comments_public(configuration: &configuration::Configuration, params: GetCommentsPublicParams) -> Result> { +pub async fn get_comments_public(configuration: &configuration::Configuration, params: GetCommentsPublicParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1623,8 +1672,8 @@ pub async fn get_comments_public(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetCommentsResponseWithPresencePublicComment`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetCommentsResponseWithPresencePublicComment`")))), } } else { let content = resp.text().await?; @@ -1634,7 +1683,7 @@ pub async fn get_comments_public(configuration: &configuration::Configuration, p } /// req tenantId urlId userIdWS -pub async fn get_event_log(configuration: &configuration::Configuration, params: GetEventLogParams) -> Result> { +pub async fn get_event_log(configuration: &configuration::Configuration, params: GetEventLogParams) -> Result> { let uri_str = format!("{}/event-log/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1664,8 +1713,8 @@ pub async fn get_event_log(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse`")))), } } else { let content = resp.text().await?; @@ -1675,7 +1724,7 @@ pub async fn get_event_log(configuration: &configuration::Configuration, params: } /// req tenantId afterId -pub async fn get_feed_posts_public(configuration: &configuration::Configuration, params: GetFeedPostsPublicParams) -> Result> { +pub async fn get_feed_posts_public(configuration: &configuration::Configuration, params: GetFeedPostsPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1720,8 +1769,8 @@ pub async fn get_feed_posts_public(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicFeedPostsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicFeedPostsResponse`")))), } } else { let content = resp.text().await?; @@ -1730,7 +1779,7 @@ pub async fn get_feed_posts_public(configuration: &configuration::Configuration, } } -pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, params: GetFeedPostsStatsParams) -> Result> { +pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, params: GetFeedPostsStatsParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/stats", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1761,8 +1810,8 @@ pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetFeedPostsStatsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetFeedPostsStatsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::FeedPostsStatsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::FeedPostsStatsResponse`")))), } } else { let content = resp.text().await?; @@ -1771,7 +1820,7 @@ pub async fn get_feed_posts_stats(configuration: &configuration::Configuration, } } -pub async fn get_gif_large(configuration: &configuration::Configuration, params: GetGifLargeParams) -> Result> { +pub async fn get_gif_large(configuration: &configuration::Configuration, params: GetGifLargeParams) -> Result> { let uri_str = format!("{}/gifs/get-large/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1796,8 +1845,8 @@ pub async fn get_gif_large(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGifLargeResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGifLargeResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GifGetLargeResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GifGetLargeResponse`")))), } } else { let content = resp.text().await?; @@ -1894,7 +1943,7 @@ pub async fn get_gifs_trending(configuration: &configuration::Configuration, par } /// req tenantId urlId userIdWS -pub async fn get_global_event_log(configuration: &configuration::Configuration, params: GetGlobalEventLogParams) -> Result> { +pub async fn get_global_event_log(configuration: &configuration::Configuration, params: GetGlobalEventLogParams) -> Result> { let uri_str = format!("{}/event-log/global/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1924,8 +1973,8 @@ pub async fn get_global_event_log(configuration: &configuration::Configuration, let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGlobalEventLogResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGlobalEventLogResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetEventLogResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetEventLogResponse`")))), } } else { let content = resp.text().await?; @@ -1935,7 +1984,7 @@ pub async fn get_global_event_log(configuration: &configuration::Configuration, } /// Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost. -pub async fn get_offline_users(configuration: &configuration::Configuration, params: GetOfflineUsersParams) -> Result> { +pub async fn get_offline_users(configuration: &configuration::Configuration, params: GetOfflineUsersParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/offline", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -1966,8 +2015,8 @@ pub async fn get_offline_users(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetOfflineUsersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetOfflineUsersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersOfflineResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersOfflineResponse`")))), } } else { let content = resp.text().await?; @@ -1977,7 +2026,7 @@ pub async fn get_offline_users(configuration: &configuration::Configuration, par } /// Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). -pub async fn get_online_users(configuration: &configuration::Configuration, params: GetOnlineUsersParams) -> Result> { +pub async fn get_online_users(configuration: &configuration::Configuration, params: GetOnlineUsersParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/online", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2008,8 +2057,8 @@ pub async fn get_online_users(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetOnlineUsersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetOnlineUsersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersOnlineResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersOnlineResponse`")))), } } else { let content = resp.text().await?; @@ -2019,7 +2068,7 @@ pub async fn get_online_users(configuration: &configuration::Configuration, para } /// List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access. -pub async fn get_pages_public(configuration: &configuration::Configuration, params: GetPagesPublicParams) -> Result> { +pub async fn get_pages_public(configuration: &configuration::Configuration, params: GetPagesPublicParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2058,8 +2107,8 @@ pub async fn get_pages_public(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPagesPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPagesPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetPublicPagesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetPublicPagesResponse`")))), } } else { let content = resp.text().await?; @@ -2068,7 +2117,7 @@ pub async fn get_pages_public(configuration: &configuration::Configuration, para } } -pub async fn get_translations(configuration: &configuration::Configuration, params: GetTranslationsParams) -> Result> { +pub async fn get_translations(configuration: &configuration::Configuration, params: GetTranslationsParams) -> Result> { let uri_str = format!("{}/translations/{namespace}/{component}", configuration.base_path, namespace=crate::client::apis::urlencode(params.namespace), component=crate::client::apis::urlencode(params.component)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2098,8 +2147,8 @@ pub async fn get_translations(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTranslationsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTranslationsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetTranslationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetTranslationsResponse`")))), } } else { let content = resp.text().await?; @@ -2108,7 +2157,7 @@ pub async fn get_translations(configuration: &configuration::Configuration, para } } -pub async fn get_user_notification_count(configuration: &configuration::Configuration, params: GetUserNotificationCountParams) -> Result> { +pub async fn get_user_notification_count(configuration: &configuration::Configuration, params: GetUserNotificationCountParams) -> Result> { let uri_str = format!("{}/user-notifications/get-count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2136,8 +2185,8 @@ pub async fn get_user_notification_count(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationCountResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationCountResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationCountResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationCountResponse`")))), } } else { let content = resp.text().await?; @@ -2146,7 +2195,7 @@ pub async fn get_user_notification_count(configuration: &configuration::Configur } } -pub async fn get_user_notifications(configuration: &configuration::Configuration, params: GetUserNotificationsParams) -> Result> { +pub async fn get_user_notifications(configuration: &configuration::Configuration, params: GetUserNotificationsParams) -> Result> { let uri_str = format!("{}/user-notifications", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2204,8 +2253,8 @@ pub async fn get_user_notifications(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserNotificationsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserNotificationsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetMyNotificationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetMyNotificationsResponse`")))), } } else { let content = resp.text().await?; @@ -2214,7 +2263,7 @@ pub async fn get_user_notifications(configuration: &configuration::Configuration } } -pub async fn get_user_presence_statuses(configuration: &configuration::Configuration, params: GetUserPresenceStatusesParams) -> Result> { +pub async fn get_user_presence_statuses(configuration: &configuration::Configuration, params: GetUserPresenceStatusesParams) -> Result> { let uri_str = format!("{}/user-presence-status", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2241,8 +2290,8 @@ pub async fn get_user_presence_statuses(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserPresenceStatusesResponse`")))), } } else { let content = resp.text().await?; @@ -2251,7 +2300,7 @@ pub async fn get_user_presence_statuses(configuration: &configuration::Configura } } -pub async fn get_user_reacts_public(configuration: &configuration::Configuration, params: GetUserReactsPublicParams) -> Result> { +pub async fn get_user_reacts_public(configuration: &configuration::Configuration, params: GetUserReactsPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/user-reacts", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2284,8 +2333,8 @@ pub async fn get_user_reacts_public(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUserReactsPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUserReactsPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UserReactsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UserReactsResponse`")))), } } else { let content = resp.text().await?; @@ -2295,7 +2344,7 @@ pub async fn get_user_reacts_public(configuration: &configuration::Configuration } /// Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). -pub async fn get_users_info(configuration: &configuration::Configuration, params: GetUsersInfoParams) -> Result> { +pub async fn get_users_info(configuration: &configuration::Configuration, params: GetUsersInfoParams) -> Result> { let uri_str = format!("{}/pages/{tenantId}/users/info", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2320,8 +2369,8 @@ pub async fn get_users_info(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetUsersInfoResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetUsersInfoResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PageUsersInfoResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PageUsersInfoResponse`")))), } } else { let content = resp.text().await?; @@ -2330,7 +2379,7 @@ pub async fn get_users_info(configuration: &configuration::Configuration, params } } -pub async fn get_v1_page_likes(configuration: &configuration::Configuration, params: GetV1PageLikesParams) -> Result> { +pub async fn get_v1_page_likes(configuration: &configuration::Configuration, params: GetV1PageLikesParams) -> Result> { let uri_str = format!("{}/page-reacts/v1/likes/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2355,8 +2404,8 @@ pub async fn get_v1_page_likes(configuration: &configuration::Configuration, par let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV1PageLikesResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV1PageLikesResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV1PageLikes`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV1PageLikes`")))), } } else { let content = resp.text().await?; @@ -2365,7 +2414,7 @@ pub async fn get_v1_page_likes(configuration: &configuration::Configuration, par } } -pub async fn get_v2_page_react_users(configuration: &configuration::Configuration, params: GetV2PageReactUsersParams) -> Result> { +pub async fn get_v2_page_react_users(configuration: &configuration::Configuration, params: GetV2PageReactUsersParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}/list", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2391,8 +2440,8 @@ pub async fn get_v2_page_react_users(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactUsersResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactUsersResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactUsersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactUsersResponse`")))), } } else { let content = resp.text().await?; @@ -2401,7 +2450,7 @@ pub async fn get_v2_page_react_users(configuration: &configuration::Configuratio } } -pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, params: GetV2PageReactsParams) -> Result> { +pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, params: GetV2PageReactsParams) -> Result> { let uri_str = format!("{}/page-reacts/v2/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2426,8 +2475,8 @@ pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, pa let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReactsResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReactsResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetV2PageReacts`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetV2PageReacts`")))), } } else { let content = resp.text().await?; @@ -2436,7 +2485,7 @@ pub async fn get_v2_page_reacts(configuration: &configuration::Configuration, pa } } -pub async fn lock_comment(configuration: &configuration::Configuration, params: LockCommentParams) -> Result> { +pub async fn lock_comment(configuration: &configuration::Configuration, params: LockCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/lock", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2464,8 +2513,8 @@ pub async fn lock_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::LockCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::LockCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2508,7 +2557,7 @@ pub async fn logout_public(configuration: &configuration::Configuration) -> Resu } } -pub async fn pin_comment(configuration: &configuration::Configuration, params: PinCommentParams) -> Result> { +pub async fn pin_comment(configuration: &configuration::Configuration, params: PinCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/pin", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2536,8 +2585,8 @@ pub async fn pin_comment(configuration: &configuration::Configuration, params: P let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PinCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PinCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`")))), } } else { let content = resp.text().await?; @@ -2546,7 +2595,7 @@ pub async fn pin_comment(configuration: &configuration::Configuration, params: P } } -pub async fn react_feed_post_public(configuration: &configuration::Configuration, params: ReactFeedPostPublicParams) -> Result> { +pub async fn react_feed_post_public(configuration: &configuration::Configuration, params: ReactFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/react/{postId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), postId=crate::client::apis::urlencode(params.post_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2580,8 +2629,8 @@ pub async fn react_feed_post_public(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReactFeedPostPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReactFeedPostPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ReactFeedPostResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ReactFeedPostResponse`")))), } } else { let content = resp.text().await?; @@ -2590,7 +2639,7 @@ pub async fn react_feed_post_public(configuration: &configuration::Configuration } } -pub async fn reset_user_notification_count(configuration: &configuration::Configuration, params: ResetUserNotificationCountParams) -> Result> { +pub async fn reset_user_notification_count(configuration: &configuration::Configuration, params: ResetUserNotificationCountParams) -> Result> { let uri_str = format!("{}/user-notifications/reset-count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2618,8 +2667,8 @@ pub async fn reset_user_notification_count(configuration: &configuration::Config let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationCountResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationCountResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse`")))), } } else { let content = resp.text().await?; @@ -2628,7 +2677,7 @@ pub async fn reset_user_notification_count(configuration: &configuration::Config } } -pub async fn reset_user_notifications(configuration: &configuration::Configuration, params: ResetUserNotificationsParams) -> Result> { +pub async fn reset_user_notifications(configuration: &configuration::Configuration, params: ResetUserNotificationsParams) -> Result> { let uri_str = format!("{}/user-notifications/reset", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2671,8 +2720,8 @@ pub async fn reset_user_notifications(configuration: &configuration::Configurati let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ResetUserNotificationsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ResetUserNotificationsResponse`")))), } } else { let content = resp.text().await?; @@ -2681,7 +2730,7 @@ pub async fn reset_user_notifications(configuration: &configuration::Configurati } } -pub async fn search_users(configuration: &configuration::Configuration, params: SearchUsersParams) -> Result> { +pub async fn search_users(configuration: &configuration::Configuration, params: SearchUsersParams) -> Result> { let uri_str = format!("{}/user-search/{tenantId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -2721,8 +2770,8 @@ pub async fn search_users(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SearchUsersResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SearchUsersResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SearchUsersResult`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SearchUsersResult`")))), } } else { let content = resp.text().await?; @@ -2731,7 +2780,7 @@ pub async fn search_users(configuration: &configuration::Configuration, params: } } -pub async fn set_comment_text(configuration: &configuration::Configuration, params: SetCommentTextParams) -> Result> { +pub async fn set_comment_text(configuration: &configuration::Configuration, params: SetCommentTextParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/update-text", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2763,8 +2812,8 @@ pub async fn set_comment_text(configuration: &configuration::Configuration, para let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetCommentTextResponse1`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetCommentTextResponse1`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PublicApiSetCommentTextResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PublicApiSetCommentTextResponse`")))), } } else { let content = resp.text().await?; @@ -2773,7 +2822,7 @@ pub async fn set_comment_text(configuration: &configuration::Configuration, para } } -pub async fn un_block_comment_public(configuration: &configuration::Configuration, params: UnBlockCommentPublicParams) -> Result> { +pub async fn un_block_comment_public(configuration: &configuration::Configuration, params: UnBlockCommentPublicParams) -> Result> { let uri_str = format!("{}/block-from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); @@ -2802,8 +2851,8 @@ pub async fn un_block_comment_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnBlockCommentPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnBlockCommentPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnblockSuccess`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnblockSuccess`")))), } } else { let content = resp.text().await?; @@ -2812,7 +2861,7 @@ pub async fn un_block_comment_public(configuration: &configuration::Configuratio } } -pub async fn un_lock_comment(configuration: &configuration::Configuration, params: UnLockCommentParams) -> Result> { +pub async fn un_lock_comment(configuration: &configuration::Configuration, params: UnLockCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/unlock", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2840,8 +2889,8 @@ pub async fn un_lock_comment(configuration: &configuration::Configuration, param let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnLockCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnLockCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ApiEmptyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ApiEmptyResponse`")))), } } else { let content = resp.text().await?; @@ -2850,7 +2899,7 @@ pub async fn un_lock_comment(configuration: &configuration::Configuration, param } } -pub async fn un_pin_comment(configuration: &configuration::Configuration, params: UnPinCommentParams) -> Result> { +pub async fn un_pin_comment(configuration: &configuration::Configuration, params: UnPinCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/unpin", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -2878,8 +2927,8 @@ pub async fn un_pin_comment(configuration: &configuration::Configuration, params let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UnPinCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UnPinCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ChangeCommentPinStatusResponse`")))), } } else { let content = resp.text().await?; @@ -2888,7 +2937,7 @@ pub async fn un_pin_comment(configuration: &configuration::Configuration, params } } -pub async fn update_feed_post_public(configuration: &configuration::Configuration, params: UpdateFeedPostPublicParams) -> Result> { +pub async fn update_feed_post_public(configuration: &configuration::Configuration, params: UpdateFeedPostPublicParams) -> Result> { let uri_str = format!("{}/feed-posts/{tenantId}/{postId}", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), postId=crate::client::apis::urlencode(params.post_id)); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); @@ -2919,8 +2968,8 @@ pub async fn update_feed_post_public(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::UpdateFeedPostPublicResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::UpdateFeedPostPublicResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateFeedPostResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateFeedPostResponse`")))), } } else { let content = resp.text().await?; @@ -3097,7 +3146,7 @@ pub async fn upload_image(configuration: &configuration::Configuration, params: } } -pub async fn vote_comment(configuration: &configuration::Configuration, params: VoteCommentParams) -> Result> { +pub async fn vote_comment(configuration: &configuration::Configuration, params: VoteCommentParams) -> Result> { let uri_str = format!("{}/comments/{tenantId}/{commentId}/vote", configuration.base_path, tenantId=crate::client::apis::urlencode(params.tenant_id), commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -3130,8 +3179,8 @@ pub async fn vote_comment(configuration: &configuration::Configuration, params: let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::VoteResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::VoteResponse`")))), } } else { let content = resp.text().await?; diff --git a/client/src/models/add_hash_tag_response.rs b/client/src/models/add_hash_tag_response.rs deleted file mode 100644 index b495fbe..0000000 --- a/client/src/models/add_hash_tag_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct AddHashTagResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "hashTag", skip_serializing_if = "Option::is_none")] - pub hash_tag: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl AddHashTagResponse { - pub fn new(status: models::ApiStatus) -> AddHashTagResponse { - AddHashTagResponse { - status, - hash_tag: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/add_hash_tags_bulk_response.rs b/client/src/models/add_hash_tags_bulk_response.rs deleted file mode 100644 index 32dc413..0000000 --- a/client/src/models/add_hash_tags_bulk_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct AddHashTagsBulkResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "results", skip_serializing_if = "Option::is_none")] - pub results: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl AddHashTagsBulkResponse { - pub fn new(status: models::ApiStatus) -> AddHashTagsBulkResponse { - AddHashTagsBulkResponse { - status, - results: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/aggregate_question_results_response_1.rs b/client/src/models/aggregate_question_results_response_1.rs deleted file mode 100644 index dcf9bf7..0000000 --- a/client/src/models/aggregate_question_results_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct AggregateQuestionResultsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "data", skip_serializing_if = "Option::is_none")] - pub data: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl AggregateQuestionResultsResponse1 { - pub fn new(status: models::ApiStatus) -> AggregateQuestionResultsResponse1 { - AggregateQuestionResultsResponse1 { - status, - data: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/block_from_comment_public_response.rs b/client/src/models/block_from_comment_public_response.rs deleted file mode 100644 index 5f6d643..0000000 --- a/client/src/models/block_from_comment_public_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct BlockFromCommentPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] - pub comment_statuses: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl BlockFromCommentPublicResponse { - pub fn new(status: models::ApiStatus) -> BlockFromCommentPublicResponse { - BlockFromCommentPublicResponse { - status, - comment_statuses: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/block_user_from_comment_response.rs b/client/src/models/block_user_from_comment_response.rs deleted file mode 100644 index 9e0cf70..0000000 --- a/client/src/models/block_user_from_comment_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct BlockUserFromCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] - pub comment_statuses: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl BlockUserFromCommentResponse { - pub fn new(status: models::ApiStatus) -> BlockUserFromCommentResponse { - BlockUserFromCommentResponse { - status, - comment_statuses: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/bulk_aggregate_question_results_response_1.rs b/client/src/models/bulk_aggregate_question_results_response_1.rs deleted file mode 100644 index 15a5f16..0000000 --- a/client/src/models/bulk_aggregate_question_results_response_1.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct BulkAggregateQuestionResultsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "data", skip_serializing_if = "Option::is_none")] - pub data: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl BulkAggregateQuestionResultsResponse1 { - pub fn new(status: models::ApiStatus) -> BulkAggregateQuestionResultsResponse1 { - BulkAggregateQuestionResultsResponse1 { - status, - data: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/change_ticket_state_response_1.rs b/client/src/models/change_ticket_state_response_1.rs deleted file mode 100644 index 8cf0f90..0000000 --- a/client/src/models/change_ticket_state_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ChangeTicketStateResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] - pub ticket: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ChangeTicketStateResponse1 { - pub fn new(status: models::ApiStatus) -> ChangeTicketStateResponse1 { - ChangeTicketStateResponse1 { - status, - ticket: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/checked_comments_for_blocked_response.rs b/client/src/models/checked_comments_for_blocked_response.rs deleted file mode 100644 index 49d767d..0000000 --- a/client/src/models/checked_comments_for_blocked_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CheckedCommentsForBlockedResponse { - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] - pub comment_statuses: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CheckedCommentsForBlockedResponse { - pub fn new(status: models::ApiStatus) -> CheckedCommentsForBlockedResponse { - CheckedCommentsForBlockedResponse { - comment_statuses: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/combine_comments_with_question_results_response.rs b/client/src/models/combine_comments_with_question_results_response.rs deleted file mode 100644 index 67cbf39..0000000 --- a/client/src/models/combine_comments_with_question_results_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CombineCommentsWithQuestionResultsResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "data", skip_serializing_if = "Option::is_none")] - pub data: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CombineCommentsWithQuestionResultsResponse { - pub fn new(status: models::ApiStatus) -> CombineCommentsWithQuestionResultsResponse { - CombineCommentsWithQuestionResultsResponse { - status, - data: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_comment_public_response.rs b/client/src/models/create_comment_public_response.rs deleted file mode 100644 index 28b6515..0000000 --- a/client/src/models/create_comment_public_response.rs +++ /dev/null @@ -1,61 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateCommentPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub user: Option>>, - /// Construct a type with a set of properties K of type T - #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] - pub module_data: Option>, - #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] - pub user_id_ws: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateCommentPublicResponse { - pub fn new(status: models::ApiStatus) -> CreateCommentPublicResponse { - CreateCommentPublicResponse { - status, - comment: None, - user: None, - module_data: None, - user_id_ws: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_email_template_response_1.rs b/client/src/models/create_email_template_response_1.rs deleted file mode 100644 index ec76cef..0000000 --- a/client/src/models/create_email_template_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateEmailTemplateResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "emailTemplate", skip_serializing_if = "Option::is_none")] - pub email_template: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateEmailTemplateResponse1 { - pub fn new(status: models::ApiStatus) -> CreateEmailTemplateResponse1 { - CreateEmailTemplateResponse1 { - status, - email_template: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_feed_post_public_response.rs b/client/src/models/create_feed_post_public_response.rs deleted file mode 100644 index 253a500..0000000 --- a/client/src/models/create_feed_post_public_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateFeedPostPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] - pub feed_post: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateFeedPostPublicResponse { - pub fn new(status: models::ApiStatus) -> CreateFeedPostPublicResponse { - CreateFeedPostPublicResponse { - status, - feed_post: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_feed_post_response_1.rs b/client/src/models/create_feed_post_response_1.rs deleted file mode 100644 index 9172883..0000000 --- a/client/src/models/create_feed_post_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateFeedPostResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] - pub feed_post: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateFeedPostResponse1 { - pub fn new(status: models::ApiStatus) -> CreateFeedPostResponse1 { - CreateFeedPostResponse1 { - status, - feed_post: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_moderator_response_1.rs b/client/src/models/create_moderator_response_1.rs deleted file mode 100644 index bbac1e2..0000000 --- a/client/src/models/create_moderator_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateModeratorResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "moderator", skip_serializing_if = "Option::is_none")] - pub moderator: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateModeratorResponse1 { - pub fn new(status: models::ApiStatus) -> CreateModeratorResponse1 { - CreateModeratorResponse1 { - status, - moderator: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_question_config_response_1.rs b/client/src/models/create_question_config_response_1.rs deleted file mode 100644 index ee5612e..0000000 --- a/client/src/models/create_question_config_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateQuestionConfigResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionConfig", skip_serializing_if = "Option::is_none")] - pub question_config: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateQuestionConfigResponse1 { - pub fn new(status: models::ApiStatus) -> CreateQuestionConfigResponse1 { - CreateQuestionConfigResponse1 { - status, - question_config: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_question_result_response_1.rs b/client/src/models/create_question_result_response_1.rs deleted file mode 100644 index 534b57e..0000000 --- a/client/src/models/create_question_result_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateQuestionResultResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionResult", skip_serializing_if = "Option::is_none")] - pub question_result: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateQuestionResultResponse1 { - pub fn new(status: models::ApiStatus) -> CreateQuestionResultResponse1 { - CreateQuestionResultResponse1 { - status, - question_result: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_tenant_package_response_1.rs b/client/src/models/create_tenant_package_response_1.rs deleted file mode 100644 index f390b6f..0000000 --- a/client/src/models/create_tenant_package_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateTenantPackageResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantPackage", skip_serializing_if = "Option::is_none")] - pub tenant_package: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateTenantPackageResponse1 { - pub fn new(status: models::ApiStatus) -> CreateTenantPackageResponse1 { - CreateTenantPackageResponse1 { - status, - tenant_package: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_tenant_response_1.rs b/client/src/models/create_tenant_response_1.rs deleted file mode 100644 index cffa48b..0000000 --- a/client/src/models/create_tenant_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateTenantResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")] - pub tenant: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateTenantResponse1 { - pub fn new(status: models::ApiStatus) -> CreateTenantResponse1 { - CreateTenantResponse1 { - status, - tenant: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_tenant_user_response_1.rs b/client/src/models/create_tenant_user_response_1.rs deleted file mode 100644 index 31c3562..0000000 --- a/client/src/models/create_tenant_user_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateTenantUserResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantUser", skip_serializing_if = "Option::is_none")] - pub tenant_user: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateTenantUserResponse1 { - pub fn new(status: models::ApiStatus) -> CreateTenantUserResponse1 { - CreateTenantUserResponse1 { - status, - tenant_user: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_ticket_response_1.rs b/client/src/models/create_ticket_response_1.rs deleted file mode 100644 index 304da8b..0000000 --- a/client/src/models/create_ticket_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateTicketResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] - pub ticket: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateTicketResponse1 { - pub fn new(status: models::ApiStatus) -> CreateTicketResponse1 { - CreateTicketResponse1 { - status, - ticket: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_user_badge_response.rs b/client/src/models/create_user_badge_response.rs deleted file mode 100644 index 9943f9b..0000000 --- a/client/src/models/create_user_badge_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateUserBadgeResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadge", skip_serializing_if = "Option::is_none")] - pub user_badge: Option>, - #[serde(rename = "notes", skip_serializing_if = "Option::is_none")] - pub notes: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateUserBadgeResponse { - pub fn new(status: models::ApiStatus) -> CreateUserBadgeResponse { - CreateUserBadgeResponse { - status, - user_badge: None, - notes: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_v1_page_react_response.rs b/client/src/models/create_v1_page_react_response.rs deleted file mode 100644 index 30b1242..0000000 --- a/client/src/models/create_v1_page_react_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateV1PageReactResponse { - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateV1PageReactResponse { - pub fn new(status: models::ApiStatus) -> CreateV1PageReactResponse { - CreateV1PageReactResponse { - code: None, - status, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_v2_page_react_response.rs b/client/src/models/create_v2_page_react_response.rs deleted file mode 100644 index 0e2ed18..0000000 --- a/client/src/models/create_v2_page_react_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateV2PageReactResponse { - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateV2PageReactResponse { - pub fn new(status: models::ApiStatus) -> CreateV2PageReactResponse { - CreateV2PageReactResponse { - code: None, - status, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/create_vote_response.rs b/client/src/models/create_vote_response.rs deleted file mode 100644 index 86d9073..0000000 --- a/client/src/models/create_vote_response.rs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CreateVoteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] - pub vote_id: Option, - #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] - pub is_verified: Option, - #[serde(rename = "user", skip_serializing_if = "Option::is_none")] - pub user: Option>, - #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] - pub edit_key: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl CreateVoteResponse { - pub fn new(status: models::ApiStatus) -> CreateVoteResponse { - CreateVoteResponse { - status, - vote_id: None, - is_verified: None, - user: None, - edit_key: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_comment_public_response.rs b/client/src/models/delete_comment_public_response.rs deleted file mode 100644 index a3713a1..0000000 --- a/client/src/models/delete_comment_public_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteCommentPublicResponse { - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "hardRemoved", skip_serializing_if = "Option::is_none")] - pub hard_removed: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteCommentPublicResponse { - pub fn new(status: models::ApiStatus) -> DeleteCommentPublicResponse { - DeleteCommentPublicResponse { - comment: None, - hard_removed: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_comment_response.rs b/client/src/models/delete_comment_response.rs deleted file mode 100644 index 8625222..0000000 --- a/client/src/models/delete_comment_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteCommentResponse { - #[serde(rename = "action", skip_serializing_if = "Option::is_none")] - pub action: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteCommentResponse { - pub fn new(status: models::ApiStatus) -> DeleteCommentResponse { - DeleteCommentResponse { - action: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_comment_vote_response.rs b/client/src/models/delete_comment_vote_response.rs deleted file mode 100644 index 577f906..0000000 --- a/client/src/models/delete_comment_vote_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteCommentVoteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] - pub was_pending_vote: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteCommentVoteResponse { - pub fn new(status: models::ApiStatus) -> DeleteCommentVoteResponse { - DeleteCommentVoteResponse { - status, - was_pending_vote: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_email_template_render_error_response.rs b/client/src/models/delete_email_template_render_error_response.rs deleted file mode 100644 index bef7032..0000000 --- a/client/src/models/delete_email_template_render_error_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteEmailTemplateRenderErrorResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteEmailTemplateRenderErrorResponse { - pub fn new(status: models::ApiStatus) -> DeleteEmailTemplateRenderErrorResponse { - DeleteEmailTemplateRenderErrorResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_email_template_response.rs b/client/src/models/delete_email_template_response.rs deleted file mode 100644 index d85c924..0000000 --- a/client/src/models/delete_email_template_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteEmailTemplateResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteEmailTemplateResponse { - pub fn new(status: models::ApiStatus) -> DeleteEmailTemplateResponse { - DeleteEmailTemplateResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_feed_post_public_response.rs b/client/src/models/delete_feed_post_public_response.rs index 6833fdc..603ed00 100644 --- a/client/src/models/delete_feed_post_public_response.rs +++ b/client/src/models/delete_feed_post_public_response.rs @@ -15,33 +15,12 @@ use serde::{Deserialize, Serialize}; pub struct DeleteFeedPostPublicResponse { #[serde(rename = "status")] pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, } impl DeleteFeedPostPublicResponse { pub fn new(status: models::ApiStatus) -> DeleteFeedPostPublicResponse { DeleteFeedPostPublicResponse { status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/delete_feed_post_public_response_any_of.rs b/client/src/models/delete_feed_post_public_response_any_of.rs deleted file mode 100644 index 1972654..0000000 --- a/client/src/models/delete_feed_post_public_response_any_of.rs +++ /dev/null @@ -1,27 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteFeedPostPublicResponseAnyOf { - #[serde(rename = "status")] - pub status: models::ApiStatus, -} - -impl DeleteFeedPostPublicResponseAnyOf { - pub fn new(status: models::ApiStatus) -> DeleteFeedPostPublicResponseAnyOf { - DeleteFeedPostPublicResponseAnyOf { - status, - } - } -} - diff --git a/client/src/models/delete_hash_tag_response.rs b/client/src/models/delete_hash_tag_response.rs deleted file mode 100644 index 75e5f7d..0000000 --- a/client/src/models/delete_hash_tag_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteHashTagResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteHashTagResponse { - pub fn new(status: models::ApiStatus) -> DeleteHashTagResponse { - DeleteHashTagResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_moderation_vote_response.rs b/client/src/models/delete_moderation_vote_response.rs deleted file mode 100644 index 0266ed2..0000000 --- a/client/src/models/delete_moderation_vote_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteModerationVoteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] - pub was_pending_vote: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteModerationVoteResponse { - pub fn new(status: models::ApiStatus) -> DeleteModerationVoteResponse { - DeleteModerationVoteResponse { - status, - was_pending_vote: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_moderator_response.rs b/client/src/models/delete_moderator_response.rs deleted file mode 100644 index 0224279..0000000 --- a/client/src/models/delete_moderator_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteModeratorResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteModeratorResponse { - pub fn new(status: models::ApiStatus) -> DeleteModeratorResponse { - DeleteModeratorResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_notification_count_response.rs b/client/src/models/delete_notification_count_response.rs deleted file mode 100644 index 77bdfe5..0000000 --- a/client/src/models/delete_notification_count_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteNotificationCountResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteNotificationCountResponse { - pub fn new(status: models::ApiStatus) -> DeleteNotificationCountResponse { - DeleteNotificationCountResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_pending_webhook_event_response.rs b/client/src/models/delete_pending_webhook_event_response.rs deleted file mode 100644 index 575543e..0000000 --- a/client/src/models/delete_pending_webhook_event_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeletePendingWebhookEventResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeletePendingWebhookEventResponse { - pub fn new(status: models::ApiStatus) -> DeletePendingWebhookEventResponse { - DeletePendingWebhookEventResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_question_config_response.rs b/client/src/models/delete_question_config_response.rs deleted file mode 100644 index 6b539b8..0000000 --- a/client/src/models/delete_question_config_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteQuestionConfigResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteQuestionConfigResponse { - pub fn new(status: models::ApiStatus) -> DeleteQuestionConfigResponse { - DeleteQuestionConfigResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_question_result_response.rs b/client/src/models/delete_question_result_response.rs deleted file mode 100644 index 0cbe3b0..0000000 --- a/client/src/models/delete_question_result_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteQuestionResultResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteQuestionResultResponse { - pub fn new(status: models::ApiStatus) -> DeleteQuestionResultResponse { - DeleteQuestionResultResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_tenant_package_response.rs b/client/src/models/delete_tenant_package_response.rs deleted file mode 100644 index ac592ee..0000000 --- a/client/src/models/delete_tenant_package_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteTenantPackageResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteTenantPackageResponse { - pub fn new(status: models::ApiStatus) -> DeleteTenantPackageResponse { - DeleteTenantPackageResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_tenant_response.rs b/client/src/models/delete_tenant_response.rs deleted file mode 100644 index 26fc465..0000000 --- a/client/src/models/delete_tenant_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteTenantResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteTenantResponse { - pub fn new(status: models::ApiStatus) -> DeleteTenantResponse { - DeleteTenantResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_tenant_user_response.rs b/client/src/models/delete_tenant_user_response.rs deleted file mode 100644 index c7dddf5..0000000 --- a/client/src/models/delete_tenant_user_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteTenantUserResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteTenantUserResponse { - pub fn new(status: models::ApiStatus) -> DeleteTenantUserResponse { - DeleteTenantUserResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_user_badge_response.rs b/client/src/models/delete_user_badge_response.rs deleted file mode 100644 index 9ae9144..0000000 --- a/client/src/models/delete_user_badge_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteUserBadgeResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteUserBadgeResponse { - pub fn new(status: models::ApiStatus) -> DeleteUserBadgeResponse { - DeleteUserBadgeResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_v1_page_react_response.rs b/client/src/models/delete_v1_page_react_response.rs deleted file mode 100644 index 968867e..0000000 --- a/client/src/models/delete_v1_page_react_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteV1PageReactResponse { - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteV1PageReactResponse { - pub fn new(status: models::ApiStatus) -> DeleteV1PageReactResponse { - DeleteV1PageReactResponse { - code: None, - status, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_v2_page_react_response.rs b/client/src/models/delete_v2_page_react_response.rs deleted file mode 100644 index 72eda77..0000000 --- a/client/src/models/delete_v2_page_react_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteV2PageReactResponse { - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteV2PageReactResponse { - pub fn new(status: models::ApiStatus) -> DeleteV2PageReactResponse { - DeleteV2PageReactResponse { - code: None, - status, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/delete_vote_response.rs b/client/src/models/delete_vote_response.rs deleted file mode 100644 index 97747a7..0000000 --- a/client/src/models/delete_vote_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DeleteVoteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "wasPendingVote", skip_serializing_if = "Option::is_none")] - pub was_pending_vote: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl DeleteVoteResponse { - pub fn new(status: models::ApiStatus) -> DeleteVoteResponse { - DeleteVoteResponse { - status, - was_pending_vote: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/flag_comment_public_response.rs b/client/src/models/flag_comment_public_response.rs deleted file mode 100644 index 65d8b6f..0000000 --- a/client/src/models/flag_comment_public_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct FlagCommentPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl FlagCommentPublicResponse { - pub fn new(status: models::ApiStatus) -> FlagCommentPublicResponse { - FlagCommentPublicResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/flag_comment_response_1.rs b/client/src/models/flag_comment_response_1.rs deleted file mode 100644 index 4dbcced..0000000 --- a/client/src/models/flag_comment_response_1.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct FlagCommentResponse1 { - #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] - pub status_code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "wasUnapproved", skip_serializing_if = "Option::is_none")] - pub was_unapproved: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl FlagCommentResponse1 { - pub fn new(status: models::ApiStatus) -> FlagCommentResponse1 { - FlagCommentResponse1 { - status_code: None, - status, - code: None, - reason: None, - was_unapproved: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_api_comments_response.rs b/client/src/models/get_api_comments_response.rs deleted file mode 100644 index 280d745..0000000 --- a/client/src/models/get_api_comments_response.rs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetApiCommentsResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] - pub translations: Option, - #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] - pub comments: Option>, - #[serde(rename = "moderationFilter", skip_serializing_if = "Option::is_none")] - pub moderation_filter: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetApiCommentsResponse { - pub fn new(status: models::ApiStatus) -> GetApiCommentsResponse { - GetApiCommentsResponse { - status, - translations: None, - comments: None, - moderation_filter: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_api_export_status_response.rs b/client/src/models/get_api_export_status_response.rs deleted file mode 100644 index 529ade5..0000000 --- a/client/src/models/get_api_export_status_response.rs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetApiExportStatusResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "jobStatus", skip_serializing_if = "Option::is_none")] - pub job_status: Option, - #[serde(rename = "recordCount", skip_serializing_if = "Option::is_none")] - pub record_count: Option, - #[serde(rename = "downloadUrl", skip_serializing_if = "Option::is_none")] - pub download_url: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetApiExportStatusResponse { - pub fn new(status: models::ApiStatus) -> GetApiExportStatusResponse { - GetApiExportStatusResponse { - status, - job_status: None, - record_count: None, - download_url: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_api_ids_response.rs b/client/src/models/get_api_ids_response.rs deleted file mode 100644 index e60fa6e..0000000 --- a/client/src/models/get_api_ids_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetApiIdsResponse { - #[serde(rename = "ids", skip_serializing_if = "Option::is_none")] - pub ids: Option>, - #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] - pub has_more: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetApiIdsResponse { - pub fn new(status: models::ApiStatus) -> GetApiIdsResponse { - GetApiIdsResponse { - ids: None, - has_more: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_audit_logs_response_1.rs b/client/src/models/get_audit_logs_response_1.rs deleted file mode 100644 index 65e5175..0000000 --- a/client/src/models/get_audit_logs_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetAuditLogsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "auditLogs", skip_serializing_if = "Option::is_none")] - pub audit_logs: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetAuditLogsResponse1 { - pub fn new(status: models::ApiStatus) -> GetAuditLogsResponse1 { - GetAuditLogsResponse1 { - status, - audit_logs: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_ban_users_from_comment_response.rs b/client/src/models/get_ban_users_from_comment_response.rs deleted file mode 100644 index c40fc0d..0000000 --- a/client/src/models/get_ban_users_from_comment_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetBanUsersFromCommentResponse { - #[serde(rename = "bannedUsers", skip_serializing_if = "Option::is_none")] - pub banned_users: Option>, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetBanUsersFromCommentResponse { - pub fn new(status: models::ApiStatus) -> GetBanUsersFromCommentResponse { - GetBanUsersFromCommentResponse { - banned_users: None, - code: None, - status, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_cached_notification_count_response_1.rs b/client/src/models/get_cached_notification_count_response_1.rs deleted file mode 100644 index 6722e40..0000000 --- a/client/src/models/get_cached_notification_count_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCachedNotificationCountResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "data", skip_serializing_if = "Option::is_none")] - pub data: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCachedNotificationCountResponse1 { - pub fn new(status: models::ApiStatus) -> GetCachedNotificationCountResponse1 { - GetCachedNotificationCountResponse1 { - status, - data: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comment_ban_status_response_1.rs b/client/src/models/get_comment_ban_status_response_1.rs deleted file mode 100644 index 345a6e6..0000000 --- a/client/src/models/get_comment_ban_status_response_1.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentBanStatusResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "emailDomain", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub email_domain: Option>, - #[serde(rename = "canIPBan", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub can_ip_ban: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentBanStatusResponse1 { - pub fn new(status: models::ApiStatus) -> GetCommentBanStatusResponse1 { - GetCommentBanStatusResponse1 { - status, - email_domain: None, - can_ip_ban: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comment_children_response.rs b/client/src/models/get_comment_children_response.rs deleted file mode 100644 index 406f7ef..0000000 --- a/client/src/models/get_comment_children_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentChildrenResponse { - #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] - pub comments: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentChildrenResponse { - pub fn new(status: models::ApiStatus) -> GetCommentChildrenResponse { - GetCommentChildrenResponse { - comments: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comment_response.rs b/client/src/models/get_comment_response.rs deleted file mode 100644 index b849918..0000000 --- a/client/src/models/get_comment_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentResponse { - pub fn new(status: models::ApiStatus) -> GetCommentResponse { - GetCommentResponse { - status, - comment: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comment_text_response_1.rs b/client/src/models/get_comment_text_response_1.rs deleted file mode 100644 index 07632b0..0000000 --- a/client/src/models/get_comment_text_response_1.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentTextResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "commentText", skip_serializing_if = "Option::is_none")] - pub comment_text: Option, - #[serde(rename = "sanitizedCommentText", skip_serializing_if = "Option::is_none")] - pub sanitized_comment_text: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentTextResponse1 { - pub fn new(status: models::ApiStatus) -> GetCommentTextResponse1 { - GetCommentTextResponse1 { - status, - comment_text: None, - sanitized_comment_text: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comment_vote_user_names_response.rs b/client/src/models/get_comment_vote_user_names_response.rs deleted file mode 100644 index 16d658b..0000000 --- a/client/src/models/get_comment_vote_user_names_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentVoteUserNamesResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "voteUserNames", skip_serializing_if = "Option::is_none")] - pub vote_user_names: Option>, - #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] - pub has_more: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentVoteUserNamesResponse { - pub fn new(status: models::ApiStatus) -> GetCommentVoteUserNamesResponse { - GetCommentVoteUserNamesResponse { - status, - vote_user_names: None, - has_more: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comments_for_user_response_1.rs b/client/src/models/get_comments_for_user_response_1.rs deleted file mode 100644 index f35655c..0000000 --- a/client/src/models/get_comments_for_user_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentsForUserResponse1 { - #[serde(rename = "moderatingTenantIds", skip_serializing_if = "Option::is_none")] - pub moderating_tenant_ids: Option>, - #[serde(rename = "status", skip_serializing_if = "Option::is_none")] - pub status: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentsForUserResponse1 { - pub fn new() -> GetCommentsForUserResponse1 { - GetCommentsForUserResponse1 { - moderating_tenant_ids: None, - status: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_comments_public_response.rs b/client/src/models/get_comments_public_response.rs deleted file mode 100644 index 53953b3..0000000 --- a/client/src/models/get_comments_public_response.rs +++ /dev/null @@ -1,118 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentsPublicResponse { - #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] - pub status_code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "translatedWarning", skip_serializing_if = "Option::is_none")] - pub translated_warning: Option, - #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] - pub comments: Option>, - #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub user: Option>>, - #[serde(rename = "urlIdClean", skip_serializing_if = "Option::is_none")] - pub url_id_clean: Option, - #[serde(rename = "lastGenDate", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub last_gen_date: Option>, - #[serde(rename = "includesPastPages", skip_serializing_if = "Option::is_none")] - pub includes_past_pages: Option, - #[serde(rename = "isDemo", skip_serializing_if = "Option::is_none")] - pub is_demo: Option, - #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] - pub comment_count: Option, - #[serde(rename = "isSiteAdmin", skip_serializing_if = "Option::is_none")] - pub is_site_admin: Option, - #[serde(rename = "hasBillingIssue", skip_serializing_if = "Option::is_none")] - pub has_billing_issue: Option, - /// Construct a type with a set of properties K of type T - #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] - pub module_data: Option>, - #[serde(rename = "pageNumber", skip_serializing_if = "Option::is_none")] - pub page_number: Option, - #[serde(rename = "isWhiteLabeled", skip_serializing_if = "Option::is_none")] - pub is_white_labeled: Option, - #[serde(rename = "isProd", skip_serializing_if = "Option::is_none")] - pub is_prod: Option, - #[serde(rename = "isCrawler", skip_serializing_if = "Option::is_none")] - pub is_crawler: Option, - #[serde(rename = "notificationCount", skip_serializing_if = "Option::is_none")] - pub notification_count: Option, - #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] - pub has_more: Option, - #[serde(rename = "isClosed", skip_serializing_if = "Option::is_none")] - pub is_closed: Option, - #[serde(rename = "presencePollState", skip_serializing_if = "Option::is_none")] - pub presence_poll_state: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, - #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] - pub url_id_ws: Option, - #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] - pub user_id_ws: Option, - #[serde(rename = "tenantIdWS", skip_serializing_if = "Option::is_none")] - pub tenant_id_ws: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, -} - -impl GetCommentsPublicResponse { - pub fn new(status: models::ApiStatus) -> GetCommentsPublicResponse { - GetCommentsPublicResponse { - status_code: None, - status, - code: None, - reason: None, - translated_warning: None, - comments: None, - user: None, - url_id_clean: None, - last_gen_date: None, - includes_past_pages: None, - is_demo: None, - comment_count: None, - is_site_admin: None, - has_billing_issue: None, - module_data: None, - page_number: None, - is_white_labeled: None, - is_prod: None, - is_crawler: None, - notification_count: None, - has_more: None, - is_closed: None, - presence_poll_state: None, - custom_config: None, - url_id_ws: None, - user_id_ws: None, - tenant_id_ws: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - } - } -} - diff --git a/client/src/models/get_comments_response.rs b/client/src/models/get_comments_response.rs deleted file mode 100644 index ba694ad..0000000 --- a/client/src/models/get_comments_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCommentsResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] - pub comments: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCommentsResponse { - pub fn new(status: models::ApiStatus) -> GetCommentsResponse { - GetCommentsResponse { - status, - comments: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_count_response.rs b/client/src/models/get_count_response.rs deleted file mode 100644 index 4778bd3..0000000 --- a/client/src/models/get_count_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCountResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "count", skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCountResponse { - pub fn new(status: models::ApiStatus) -> GetCountResponse { - GetCountResponse { - status, - count: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_counts_response.rs b/client/src/models/get_counts_response.rs deleted file mode 100644 index ccce89b..0000000 --- a/client/src/models/get_counts_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetCountsResponse { - #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")] - pub total_count: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetCountsResponse { - pub fn new(status: models::ApiStatus) -> GetCountsResponse { - GetCountsResponse { - total_count: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_email_template_definitions_response_1.rs b/client/src/models/get_email_template_definitions_response_1.rs deleted file mode 100644 index 039294c..0000000 --- a/client/src/models/get_email_template_definitions_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetEmailTemplateDefinitionsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "definitions", skip_serializing_if = "Option::is_none")] - pub definitions: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetEmailTemplateDefinitionsResponse1 { - pub fn new(status: models::ApiStatus) -> GetEmailTemplateDefinitionsResponse1 { - GetEmailTemplateDefinitionsResponse1 { - status, - definitions: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_email_template_render_errors_response_1.rs b/client/src/models/get_email_template_render_errors_response_1.rs deleted file mode 100644 index 13bb3e2..0000000 --- a/client/src/models/get_email_template_render_errors_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetEmailTemplateRenderErrorsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "renderErrors", skip_serializing_if = "Option::is_none")] - pub render_errors: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetEmailTemplateRenderErrorsResponse1 { - pub fn new(status: models::ApiStatus) -> GetEmailTemplateRenderErrorsResponse1 { - GetEmailTemplateRenderErrorsResponse1 { - status, - render_errors: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_email_template_response_1.rs b/client/src/models/get_email_template_response_1.rs deleted file mode 100644 index f890f80..0000000 --- a/client/src/models/get_email_template_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetEmailTemplateResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "emailTemplate", skip_serializing_if = "Option::is_none")] - pub email_template: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetEmailTemplateResponse1 { - pub fn new(status: models::ApiStatus) -> GetEmailTemplateResponse1 { - GetEmailTemplateResponse1 { - status, - email_template: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_email_templates_response_1.rs b/client/src/models/get_email_templates_response_1.rs deleted file mode 100644 index 8e77220..0000000 --- a/client/src/models/get_email_templates_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetEmailTemplatesResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "emailTemplates", skip_serializing_if = "Option::is_none")] - pub email_templates: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetEmailTemplatesResponse1 { - pub fn new(status: models::ApiStatus) -> GetEmailTemplatesResponse1 { - GetEmailTemplatesResponse1 { - status, - email_templates: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_event_log_response_1.rs b/client/src/models/get_event_log_response_1.rs deleted file mode 100644 index e1a0967..0000000 --- a/client/src/models/get_event_log_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetEventLogResponse1 { - #[serde(rename = "events", skip_serializing_if = "Option::is_none")] - pub events: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetEventLogResponse1 { - pub fn new(status: models::ApiStatus) -> GetEventLogResponse1 { - GetEventLogResponse1 { - events: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_feed_posts_public_response.rs b/client/src/models/get_feed_posts_public_response.rs deleted file mode 100644 index b8a8ba9..0000000 --- a/client/src/models/get_feed_posts_public_response.rs +++ /dev/null @@ -1,66 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetFeedPostsPublicResponse { - #[serde(rename = "myReacts", skip_serializing_if = "Option::is_none")] - pub my_reacts: Option>>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "feedPosts", skip_serializing_if = "Option::is_none")] - pub feed_posts: Option>, - #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub user: Option>>, - #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] - pub url_id_ws: Option, - #[serde(rename = "userIdWS", skip_serializing_if = "Option::is_none")] - pub user_id_ws: Option, - #[serde(rename = "tenantIdWS", skip_serializing_if = "Option::is_none")] - pub tenant_id_ws: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetFeedPostsPublicResponse { - pub fn new(status: models::ApiStatus) -> GetFeedPostsPublicResponse { - GetFeedPostsPublicResponse { - my_reacts: None, - status, - feed_posts: None, - user: None, - url_id_ws: None, - user_id_ws: None, - tenant_id_ws: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_feed_posts_response_1.rs b/client/src/models/get_feed_posts_response_1.rs deleted file mode 100644 index a8ae2cd..0000000 --- a/client/src/models/get_feed_posts_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetFeedPostsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "feedPosts", skip_serializing_if = "Option::is_none")] - pub feed_posts: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetFeedPostsResponse1 { - pub fn new(status: models::ApiStatus) -> GetFeedPostsResponse1 { - GetFeedPostsResponse1 { - status, - feed_posts: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_feed_posts_stats_response.rs b/client/src/models/get_feed_posts_stats_response.rs deleted file mode 100644 index 608dda8..0000000 --- a/client/src/models/get_feed_posts_stats_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetFeedPostsStatsResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "stats", skip_serializing_if = "Option::is_none")] - pub stats: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetFeedPostsStatsResponse { - pub fn new(status: models::ApiStatus) -> GetFeedPostsStatsResponse { - GetFeedPostsStatsResponse { - status, - stats: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_gif_large_response.rs b/client/src/models/get_gif_large_response.rs deleted file mode 100644 index fc772dc..0000000 --- a/client/src/models/get_gif_large_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetGifLargeResponse { - #[serde(rename = "src", skip_serializing_if = "Option::is_none")] - pub src: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetGifLargeResponse { - pub fn new(status: models::ApiStatus) -> GetGifLargeResponse { - GetGifLargeResponse { - src: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_gifs_search_response.rs b/client/src/models/get_gifs_search_response.rs index 96d1743..fbe449c 100644 --- a/client/src/models/get_gifs_search_response.rs +++ b/client/src/models/get_gifs_search_response.rs @@ -19,18 +19,6 @@ pub struct GetGifsSearchResponse { pub status: models::ApiStatus, #[serde(rename = "code", skip_serializing_if = "Option::is_none")] pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, } impl GetGifsSearchResponse { @@ -39,12 +27,6 @@ impl GetGifsSearchResponse { images: None, status, code: None, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/get_global_event_log_response.rs b/client/src/models/get_global_event_log_response.rs deleted file mode 100644 index c8cdcba..0000000 --- a/client/src/models/get_global_event_log_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetGlobalEventLogResponse { - #[serde(rename = "events", skip_serializing_if = "Option::is_none")] - pub events: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetGlobalEventLogResponse { - pub fn new(status: models::ApiStatus) -> GetGlobalEventLogResponse { - GetGlobalEventLogResponse { - events: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_hash_tags_response_1.rs b/client/src/models/get_hash_tags_response_1.rs deleted file mode 100644 index 2b37492..0000000 --- a/client/src/models/get_hash_tags_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetHashTagsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "hashTags", skip_serializing_if = "Option::is_none")] - pub hash_tags: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetHashTagsResponse1 { - pub fn new(status: models::ApiStatus) -> GetHashTagsResponse1 { - GetHashTagsResponse1 { - status, - hash_tags: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_logs_response.rs b/client/src/models/get_logs_response.rs deleted file mode 100644 index 475b21d..0000000 --- a/client/src/models/get_logs_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetLogsResponse { - #[serde(rename = "logs", skip_serializing_if = "Option::is_none")] - pub logs: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetLogsResponse { - pub fn new(status: models::ApiStatus) -> GetLogsResponse { - GetLogsResponse { - logs: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_manual_badges_for_user_response.rs b/client/src/models/get_manual_badges_for_user_response.rs deleted file mode 100644 index 1449c54..0000000 --- a/client/src/models/get_manual_badges_for_user_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetManualBadgesForUserResponse { - #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] - pub badges: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetManualBadgesForUserResponse { - pub fn new(status: models::ApiStatus) -> GetManualBadgesForUserResponse { - GetManualBadgesForUserResponse { - badges: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_manual_badges_response.rs b/client/src/models/get_manual_badges_response.rs deleted file mode 100644 index 2226412..0000000 --- a/client/src/models/get_manual_badges_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetManualBadgesResponse { - #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] - pub badges: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetManualBadgesResponse { - pub fn new(status: models::ApiStatus) -> GetManualBadgesResponse { - GetManualBadgesResponse { - badges: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_moderation_comment_response.rs b/client/src/models/get_moderation_comment_response.rs deleted file mode 100644 index 73963af..0000000 --- a/client/src/models/get_moderation_comment_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetModerationCommentResponse { - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetModerationCommentResponse { - pub fn new(status: models::ApiStatus) -> GetModerationCommentResponse { - GetModerationCommentResponse { - comment: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_moderation_comment_text_response.rs b/client/src/models/get_moderation_comment_text_response.rs deleted file mode 100644 index 442a3d5..0000000 --- a/client/src/models/get_moderation_comment_text_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetModerationCommentTextResponse { - #[serde(rename = "comment", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetModerationCommentTextResponse { - pub fn new(status: models::ApiStatus) -> GetModerationCommentTextResponse { - GetModerationCommentTextResponse { - comment: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_moderator_response_1.rs b/client/src/models/get_moderator_response_1.rs deleted file mode 100644 index 063261b..0000000 --- a/client/src/models/get_moderator_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetModeratorResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "moderator", skip_serializing_if = "Option::is_none")] - pub moderator: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetModeratorResponse1 { - pub fn new(status: models::ApiStatus) -> GetModeratorResponse1 { - GetModeratorResponse1 { - status, - moderator: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_moderators_response_1.rs b/client/src/models/get_moderators_response_1.rs deleted file mode 100644 index b828b78..0000000 --- a/client/src/models/get_moderators_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetModeratorsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "moderators", skip_serializing_if = "Option::is_none")] - pub moderators: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetModeratorsResponse1 { - pub fn new(status: models::ApiStatus) -> GetModeratorsResponse1 { - GetModeratorsResponse1 { - status, - moderators: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_notification_count_response_1.rs b/client/src/models/get_notification_count_response_1.rs deleted file mode 100644 index 7398ada..0000000 --- a/client/src/models/get_notification_count_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetNotificationCountResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "count", skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetNotificationCountResponse1 { - pub fn new(status: models::ApiStatus) -> GetNotificationCountResponse1 { - GetNotificationCountResponse1 { - status, - count: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_notifications_response_1.rs b/client/src/models/get_notifications_response_1.rs deleted file mode 100644 index 30a4c7f..0000000 --- a/client/src/models/get_notifications_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetNotificationsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "notifications", skip_serializing_if = "Option::is_none")] - pub notifications: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetNotificationsResponse1 { - pub fn new(status: models::ApiStatus) -> GetNotificationsResponse1 { - GetNotificationsResponse1 { - status, - notifications: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_offline_users_response.rs b/client/src/models/get_offline_users_response.rs deleted file mode 100644 index 8960cb5..0000000 --- a/client/src/models/get_offline_users_response.rs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetOfflineUsersResponse { - #[serde(rename = "nextAfterUserId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub next_after_user_id: Option>, - #[serde(rename = "nextAfterName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub next_after_name: Option>, - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetOfflineUsersResponse { - pub fn new(status: models::ApiStatus) -> GetOfflineUsersResponse { - GetOfflineUsersResponse { - next_after_user_id: None, - next_after_name: None, - users: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_online_users_response.rs b/client/src/models/get_online_users_response.rs deleted file mode 100644 index c77152a..0000000 --- a/client/src/models/get_online_users_response.rs +++ /dev/null @@ -1,63 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetOnlineUsersResponse { - #[serde(rename = "nextAfterUserId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub next_after_user_id: Option>, - #[serde(rename = "nextAfterName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub next_after_name: Option>, - #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")] - pub total_count: Option, - #[serde(rename = "anonCount", skip_serializing_if = "Option::is_none")] - pub anon_count: Option, - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetOnlineUsersResponse { - pub fn new(status: models::ApiStatus) -> GetOnlineUsersResponse { - GetOnlineUsersResponse { - next_after_user_id: None, - next_after_name: None, - total_count: None, - anon_count: None, - users: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_pages_public_response.rs b/client/src/models/get_pages_public_response.rs deleted file mode 100644 index 68df544..0000000 --- a/client/src/models/get_pages_public_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetPagesPublicResponse { - #[serde(rename = "nextCursor", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub next_cursor: Option>, - #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] - pub pages: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetPagesPublicResponse { - pub fn new(status: models::ApiStatus) -> GetPagesPublicResponse { - GetPagesPublicResponse { - next_cursor: None, - pages: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_pending_webhook_event_count_response_1.rs b/client/src/models/get_pending_webhook_event_count_response_1.rs deleted file mode 100644 index 92446ec..0000000 --- a/client/src/models/get_pending_webhook_event_count_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetPendingWebhookEventCountResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "count", skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetPendingWebhookEventCountResponse1 { - pub fn new(status: models::ApiStatus) -> GetPendingWebhookEventCountResponse1 { - GetPendingWebhookEventCountResponse1 { - status, - count: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_pending_webhook_events_response_1.rs b/client/src/models/get_pending_webhook_events_response_1.rs deleted file mode 100644 index 3d4e013..0000000 --- a/client/src/models/get_pending_webhook_events_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetPendingWebhookEventsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "pendingWebhookEvents", skip_serializing_if = "Option::is_none")] - pub pending_webhook_events: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetPendingWebhookEventsResponse1 { - pub fn new(status: models::ApiStatus) -> GetPendingWebhookEventsResponse1 { - GetPendingWebhookEventsResponse1 { - status, - pending_webhook_events: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_pre_ban_summary_response.rs b/client/src/models/get_pre_ban_summary_response.rs deleted file mode 100644 index b8a3d6b..0000000 --- a/client/src/models/get_pre_ban_summary_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetPreBanSummaryResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "usernames", skip_serializing_if = "Option::is_none")] - pub usernames: Option>, - #[serde(rename = "count", skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetPreBanSummaryResponse { - pub fn new(status: models::ApiStatus) -> GetPreBanSummaryResponse { - GetPreBanSummaryResponse { - status, - usernames: None, - count: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_question_config_response_1.rs b/client/src/models/get_question_config_response_1.rs deleted file mode 100644 index b45d1de..0000000 --- a/client/src/models/get_question_config_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetQuestionConfigResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionConfig", skip_serializing_if = "Option::is_none")] - pub question_config: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetQuestionConfigResponse1 { - pub fn new(status: models::ApiStatus) -> GetQuestionConfigResponse1 { - GetQuestionConfigResponse1 { - status, - question_config: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_question_configs_response_1.rs b/client/src/models/get_question_configs_response_1.rs deleted file mode 100644 index a8f3bf6..0000000 --- a/client/src/models/get_question_configs_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetQuestionConfigsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionConfigs", skip_serializing_if = "Option::is_none")] - pub question_configs: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetQuestionConfigsResponse1 { - pub fn new(status: models::ApiStatus) -> GetQuestionConfigsResponse1 { - GetQuestionConfigsResponse1 { - status, - question_configs: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_question_result_response_1.rs b/client/src/models/get_question_result_response_1.rs deleted file mode 100644 index aa3761f..0000000 --- a/client/src/models/get_question_result_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetQuestionResultResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionResult", skip_serializing_if = "Option::is_none")] - pub question_result: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetQuestionResultResponse1 { - pub fn new(status: models::ApiStatus) -> GetQuestionResultResponse1 { - GetQuestionResultResponse1 { - status, - question_result: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_question_results_response_1.rs b/client/src/models/get_question_results_response_1.rs deleted file mode 100644 index b376eec..0000000 --- a/client/src/models/get_question_results_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetQuestionResultsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "questionResults", skip_serializing_if = "Option::is_none")] - pub question_results: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetQuestionResultsResponse1 { - pub fn new(status: models::ApiStatus) -> GetQuestionResultsResponse1 { - GetQuestionResultsResponse1 { - status, - question_results: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_search_comments_summary_response.rs b/client/src/models/get_search_comments_summary_response.rs deleted file mode 100644 index 4bbbbf2..0000000 --- a/client/src/models/get_search_comments_summary_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetSearchCommentsSummaryResponse { - #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] - pub comment_count: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetSearchCommentsSummaryResponse { - pub fn new(status: models::ApiStatus) -> GetSearchCommentsSummaryResponse { - GetSearchCommentsSummaryResponse { - comment_count: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_search_pages_response.rs b/client/src/models/get_search_pages_response.rs deleted file mode 100644 index dc11b63..0000000 --- a/client/src/models/get_search_pages_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetSearchPagesResponse { - #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] - pub pages: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetSearchPagesResponse { - pub fn new(status: models::ApiStatus) -> GetSearchPagesResponse { - GetSearchPagesResponse { - pages: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_search_sites_response.rs b/client/src/models/get_search_sites_response.rs deleted file mode 100644 index cc48cbf..0000000 --- a/client/src/models/get_search_sites_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetSearchSitesResponse { - #[serde(rename = "sites", skip_serializing_if = "Option::is_none")] - pub sites: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetSearchSitesResponse { - pub fn new(status: models::ApiStatus) -> GetSearchSitesResponse { - GetSearchSitesResponse { - sites: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_search_suggest_response.rs b/client/src/models/get_search_suggest_response.rs deleted file mode 100644 index 20dbc07..0000000 --- a/client/src/models/get_search_suggest_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetSearchSuggestResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "pages", skip_serializing_if = "Option::is_none")] - pub pages: Option>, - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetSearchSuggestResponse { - pub fn new(status: models::ApiStatus) -> GetSearchSuggestResponse { - GetSearchSuggestResponse { - status, - pages: None, - users: None, - code: None, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_search_users_response.rs b/client/src/models/get_search_users_response.rs deleted file mode 100644 index 20bda99..0000000 --- a/client/src/models/get_search_users_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetSearchUsersResponse { - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetSearchUsersResponse { - pub fn new(status: models::ApiStatus) -> GetSearchUsersResponse { - GetSearchUsersResponse { - users: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_daily_usages_response_1.rs b/client/src/models/get_tenant_daily_usages_response_1.rs deleted file mode 100644 index 1d6130d..0000000 --- a/client/src/models/get_tenant_daily_usages_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantDailyUsagesResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantDailyUsages", skip_serializing_if = "Option::is_none")] - pub tenant_daily_usages: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantDailyUsagesResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantDailyUsagesResponse1 { - GetTenantDailyUsagesResponse1 { - status, - tenant_daily_usages: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_package_response_1.rs b/client/src/models/get_tenant_package_response_1.rs deleted file mode 100644 index 083ad9b..0000000 --- a/client/src/models/get_tenant_package_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantPackageResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantPackage", skip_serializing_if = "Option::is_none")] - pub tenant_package: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantPackageResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantPackageResponse1 { - GetTenantPackageResponse1 { - status, - tenant_package: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_packages_response_1.rs b/client/src/models/get_tenant_packages_response_1.rs deleted file mode 100644 index 6eec0d1..0000000 --- a/client/src/models/get_tenant_packages_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantPackagesResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantPackages", skip_serializing_if = "Option::is_none")] - pub tenant_packages: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantPackagesResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantPackagesResponse1 { - GetTenantPackagesResponse1 { - status, - tenant_packages: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_response_1.rs b/client/src/models/get_tenant_response_1.rs deleted file mode 100644 index 20eed04..0000000 --- a/client/src/models/get_tenant_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenant", skip_serializing_if = "Option::is_none")] - pub tenant: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantResponse1 { - GetTenantResponse1 { - status, - tenant: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_user_response_1.rs b/client/src/models/get_tenant_user_response_1.rs deleted file mode 100644 index 7c37f57..0000000 --- a/client/src/models/get_tenant_user_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantUserResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantUser", skip_serializing_if = "Option::is_none")] - pub tenant_user: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantUserResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantUserResponse1 { - GetTenantUserResponse1 { - status, - tenant_user: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenant_users_response_1.rs b/client/src/models/get_tenant_users_response_1.rs deleted file mode 100644 index 4b00741..0000000 --- a/client/src/models/get_tenant_users_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantUsersResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenantUsers", skip_serializing_if = "Option::is_none")] - pub tenant_users: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantUsersResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantUsersResponse1 { - GetTenantUsersResponse1 { - status, - tenant_users: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tenants_response_1.rs b/client/src/models/get_tenants_response_1.rs deleted file mode 100644 index 587e584..0000000 --- a/client/src/models/get_tenants_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTenantsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tenants", skip_serializing_if = "Option::is_none")] - pub tenants: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTenantsResponse1 { - pub fn new(status: models::ApiStatus) -> GetTenantsResponse1 { - GetTenantsResponse1 { - status, - tenants: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_ticket_response_1.rs b/client/src/models/get_ticket_response_1.rs deleted file mode 100644 index 1d8d475..0000000 --- a/client/src/models/get_ticket_response_1.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTicketResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "ticket", skip_serializing_if = "Option::is_none")] - pub ticket: Option>, - #[serde(rename = "availableStates", skip_serializing_if = "Option::is_none")] - pub available_states: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTicketResponse1 { - pub fn new(status: models::ApiStatus) -> GetTicketResponse1 { - GetTicketResponse1 { - status, - ticket: None, - available_states: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_tickets_response_1.rs b/client/src/models/get_tickets_response_1.rs deleted file mode 100644 index 80cce5c..0000000 --- a/client/src/models/get_tickets_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTicketsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "tickets", skip_serializing_if = "Option::is_none")] - pub tickets: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTicketsResponse1 { - pub fn new(status: models::ApiStatus) -> GetTicketsResponse1 { - GetTicketsResponse1 { - status, - tickets: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_translations_response_1.rs b/client/src/models/get_translations_response_1.rs deleted file mode 100644 index 5b8c35f..0000000 --- a/client/src/models/get_translations_response_1.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTranslationsResponse1 { - /// Construct a type with a set of properties K of type T - #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] - pub translations: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTranslationsResponse1 { - pub fn new(status: models::ApiStatus) -> GetTranslationsResponse1 { - GetTranslationsResponse1 { - translations: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_trust_factor_response.rs b/client/src/models/get_trust_factor_response.rs deleted file mode 100644 index be585a5..0000000 --- a/client/src/models/get_trust_factor_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetTrustFactorResponse { - #[serde(rename = "manualTrustFactor", skip_serializing_if = "Option::is_none")] - pub manual_trust_factor: Option, - #[serde(rename = "autoTrustFactor", skip_serializing_if = "Option::is_none")] - pub auto_trust_factor: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetTrustFactorResponse { - pub fn new(status: models::ApiStatus) -> GetTrustFactorResponse { - GetTrustFactorResponse { - manual_trust_factor: None, - auto_trust_factor: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_badge_progress_by_id_response.rs b/client/src/models/get_user_badge_progress_by_id_response.rs deleted file mode 100644 index 34a5a57..0000000 --- a/client/src/models/get_user_badge_progress_by_id_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBadgeProgressByIdResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadgeProgress", skip_serializing_if = "Option::is_none")] - pub user_badge_progress: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBadgeProgressByIdResponse { - pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressByIdResponse { - GetUserBadgeProgressByIdResponse { - status, - user_badge_progress: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_badge_progress_by_user_id_response.rs b/client/src/models/get_user_badge_progress_by_user_id_response.rs deleted file mode 100644 index 3a206ef..0000000 --- a/client/src/models/get_user_badge_progress_by_user_id_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBadgeProgressByUserIdResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadgeProgress", skip_serializing_if = "Option::is_none")] - pub user_badge_progress: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBadgeProgressByUserIdResponse { - pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressByUserIdResponse { - GetUserBadgeProgressByUserIdResponse { - status, - user_badge_progress: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_badge_progress_list_response.rs b/client/src/models/get_user_badge_progress_list_response.rs deleted file mode 100644 index d8cc551..0000000 --- a/client/src/models/get_user_badge_progress_list_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBadgeProgressListResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadgeProgresses", skip_serializing_if = "Option::is_none")] - pub user_badge_progresses: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBadgeProgressListResponse { - pub fn new(status: models::ApiStatus) -> GetUserBadgeProgressListResponse { - GetUserBadgeProgressListResponse { - status, - user_badge_progresses: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_badge_response.rs b/client/src/models/get_user_badge_response.rs deleted file mode 100644 index ab1cf98..0000000 --- a/client/src/models/get_user_badge_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBadgeResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadge", skip_serializing_if = "Option::is_none")] - pub user_badge: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBadgeResponse { - pub fn new(status: models::ApiStatus) -> GetUserBadgeResponse { - GetUserBadgeResponse { - status, - user_badge: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_badges_response.rs b/client/src/models/get_user_badges_response.rs deleted file mode 100644 index 95ea00d..0000000 --- a/client/src/models/get_user_badges_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBadgesResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "userBadges", skip_serializing_if = "Option::is_none")] - pub user_badges: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBadgesResponse { - pub fn new(status: models::ApiStatus) -> GetUserBadgesResponse { - GetUserBadgesResponse { - status, - user_badges: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_ban_preference_response.rs b/client/src/models/get_user_ban_preference_response.rs deleted file mode 100644 index 35f6db4..0000000 --- a/client/src/models/get_user_ban_preference_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserBanPreferenceResponse { - #[serde(rename = "preferences", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub preferences: Option>>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserBanPreferenceResponse { - pub fn new(status: models::ApiStatus) -> GetUserBanPreferenceResponse { - GetUserBanPreferenceResponse { - preferences: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_internal_profile_response_1.rs b/client/src/models/get_user_internal_profile_response_1.rs deleted file mode 100644 index 440372c..0000000 --- a/client/src/models/get_user_internal_profile_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserInternalProfileResponse1 { - #[serde(rename = "profile", skip_serializing_if = "Option::is_none")] - pub profile: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserInternalProfileResponse1 { - pub fn new(status: models::ApiStatus) -> GetUserInternalProfileResponse1 { - GetUserInternalProfileResponse1 { - profile: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_notification_count_response_1.rs b/client/src/models/get_user_notification_count_response_1.rs deleted file mode 100644 index d58510d..0000000 --- a/client/src/models/get_user_notification_count_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserNotificationCountResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "count", skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserNotificationCountResponse1 { - pub fn new(status: models::ApiStatus) -> GetUserNotificationCountResponse1 { - GetUserNotificationCountResponse1 { - status, - count: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_notifications_response.rs b/client/src/models/get_user_notifications_response.rs deleted file mode 100644 index b8abb08..0000000 --- a/client/src/models/get_user_notifications_response.rs +++ /dev/null @@ -1,61 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserNotificationsResponse { - /// Construct a type with a set of properties K of type T - #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] - pub translations: Option>, - #[serde(rename = "isSubscribed", skip_serializing_if = "Option::is_none")] - pub is_subscribed: Option, - #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")] - pub has_more: Option, - #[serde(rename = "notifications", skip_serializing_if = "Option::is_none")] - pub notifications: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserNotificationsResponse { - pub fn new(status: models::ApiStatus) -> GetUserNotificationsResponse { - GetUserNotificationsResponse { - translations: None, - is_subscribed: None, - has_more: None, - notifications: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_presence_statuses_response_1.rs b/client/src/models/get_user_presence_statuses_response_1.rs deleted file mode 100644 index 76bf46b..0000000 --- a/client/src/models/get_user_presence_statuses_response_1.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserPresenceStatusesResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "userIdsOnline", skip_serializing_if = "Option::is_none")] - pub user_ids_online: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserPresenceStatusesResponse1 { - pub fn new(status: models::ApiStatus) -> GetUserPresenceStatusesResponse1 { - GetUserPresenceStatusesResponse1 { - status, - user_ids_online: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_reacts_public_response.rs b/client/src/models/get_user_reacts_public_response.rs deleted file mode 100644 index 6d356d2..0000000 --- a/client/src/models/get_user_reacts_public_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserReactsPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reacts", skip_serializing_if = "Option::is_none")] - pub reacts: Option>>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserReactsPublicResponse { - pub fn new(status: models::ApiStatus) -> GetUserReactsPublicResponse { - GetUserReactsPublicResponse { - status, - reacts: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_user_response_1.rs b/client/src/models/get_user_response_1.rs deleted file mode 100644 index 8394fa7..0000000 --- a/client/src/models/get_user_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUserResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "user", skip_serializing_if = "Option::is_none")] - pub user: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUserResponse1 { - pub fn new(status: models::ApiStatus) -> GetUserResponse1 { - GetUserResponse1 { - status, - user: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_users_info_response.rs b/client/src/models/get_users_info_response.rs deleted file mode 100644 index 019fa10..0000000 --- a/client/src/models/get_users_info_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetUsersInfoResponse { - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetUsersInfoResponse { - pub fn new(status: models::ApiStatus) -> GetUsersInfoResponse { - GetUsersInfoResponse { - users: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_v1_page_likes_response.rs b/client/src/models/get_v1_page_likes_response.rs deleted file mode 100644 index 201e472..0000000 --- a/client/src/models/get_v1_page_likes_response.rs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetV1PageLikesResponse { - #[serde(rename = "urlIdWS", skip_serializing_if = "Option::is_none")] - pub url_id_ws: Option, - #[serde(rename = "didLike", skip_serializing_if = "Option::is_none")] - pub did_like: Option, - #[serde(rename = "commentCount", skip_serializing_if = "Option::is_none")] - pub comment_count: Option, - #[serde(rename = "likeCount", skip_serializing_if = "Option::is_none")] - pub like_count: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetV1PageLikesResponse { - pub fn new(status: models::ApiStatus) -> GetV1PageLikesResponse { - GetV1PageLikesResponse { - url_id_ws: None, - did_like: None, - comment_count: None, - like_count: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_v2_page_react_users_response_1.rs b/client/src/models/get_v2_page_react_users_response_1.rs deleted file mode 100644 index b15780e..0000000 --- a/client/src/models/get_v2_page_react_users_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetV2PageReactUsersResponse1 { - #[serde(rename = "userNames", skip_serializing_if = "Option::is_none")] - pub user_names: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetV2PageReactUsersResponse1 { - pub fn new(status: models::ApiStatus) -> GetV2PageReactUsersResponse1 { - GetV2PageReactUsersResponse1 { - user_names: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_v2_page_reacts_response.rs b/client/src/models/get_v2_page_reacts_response.rs deleted file mode 100644 index 1305de8..0000000 --- a/client/src/models/get_v2_page_reacts_response.rs +++ /dev/null @@ -1,55 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetV2PageReactsResponse { - #[serde(rename = "reactedIds", skip_serializing_if = "Option::is_none")] - pub reacted_ids: Option>, - /// Construct a type with a set of properties K of type T - #[serde(rename = "counts", skip_serializing_if = "Option::is_none")] - pub counts: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetV2PageReactsResponse { - pub fn new(status: models::ApiStatus) -> GetV2PageReactsResponse { - GetV2PageReactsResponse { - reacted_ids: None, - counts: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_votes_for_user_response_1.rs b/client/src/models/get_votes_for_user_response_1.rs deleted file mode 100644 index ab6b75f..0000000 --- a/client/src/models/get_votes_for_user_response_1.rs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetVotesForUserResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "appliedAuthorizedVotes", skip_serializing_if = "Option::is_none")] - pub applied_authorized_votes: Option>, - #[serde(rename = "appliedAnonymousVotes", skip_serializing_if = "Option::is_none")] - pub applied_anonymous_votes: Option>, - #[serde(rename = "pendingVotes", skip_serializing_if = "Option::is_none")] - pub pending_votes: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetVotesForUserResponse1 { - pub fn new(status: models::ApiStatus) -> GetVotesForUserResponse1 { - GetVotesForUserResponse1 { - status, - applied_authorized_votes: None, - applied_anonymous_votes: None, - pending_votes: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/get_votes_response_1.rs b/client/src/models/get_votes_response_1.rs deleted file mode 100644 index fa4b91c..0000000 --- a/client/src/models/get_votes_response_1.rs +++ /dev/null @@ -1,57 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct GetVotesResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "appliedAuthorizedVotes", skip_serializing_if = "Option::is_none")] - pub applied_authorized_votes: Option>, - #[serde(rename = "appliedAnonymousVotes", skip_serializing_if = "Option::is_none")] - pub applied_anonymous_votes: Option>, - #[serde(rename = "pendingVotes", skip_serializing_if = "Option::is_none")] - pub pending_votes: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl GetVotesResponse1 { - pub fn new(status: models::ApiStatus) -> GetVotesResponse1 { - GetVotesResponse1 { - status, - applied_authorized_votes: None, - applied_anonymous_votes: None, - pending_votes: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/lock_comment_response.rs b/client/src/models/lock_comment_response.rs deleted file mode 100644 index 22be280..0000000 --- a/client/src/models/lock_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct LockCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl LockCommentResponse { - pub fn new(status: models::ApiStatus) -> LockCommentResponse { - LockCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/mod.rs b/client/src/models/mod.rs index 6d8c441..c686c4a 100644 --- a/client/src/models/mod.rs +++ b/client/src/models/mod.rs @@ -4,10 +4,6 @@ pub mod add_domain_config_response; pub use self::add_domain_config_response::AddDomainConfigResponse; pub mod add_domain_config_response_any_of; pub use self::add_domain_config_response_any_of::AddDomainConfigResponseAnyOf; -pub mod add_hash_tag_response; -pub use self::add_hash_tag_response::AddHashTagResponse; -pub mod add_hash_tags_bulk_response; -pub use self::add_hash_tags_bulk_response::AddHashTagsBulkResponse; pub mod add_page_api_response; pub use self::add_page_api_response::AddPageApiResponse; pub mod add_sso_user_api_response; @@ -18,8 +14,6 @@ pub mod adjust_votes_response; pub use self::adjust_votes_response::AdjustVotesResponse; pub mod aggregate_question_results_response; pub use self::aggregate_question_results_response::AggregateQuestionResultsResponse; -pub mod aggregate_question_results_response_1; -pub use self::aggregate_question_results_response_1::AggregateQuestionResultsResponse1; pub mod aggregate_response; pub use self::aggregate_response::AggregateResponse; pub mod aggregate_time_bucket; @@ -122,12 +116,8 @@ pub mod billing_info; pub use self::billing_info::BillingInfo; pub mod block_from_comment_params; pub use self::block_from_comment_params::BlockFromCommentParams; -pub mod block_from_comment_public_response; -pub use self::block_from_comment_public_response::BlockFromCommentPublicResponse; pub mod block_success; pub use self::block_success::BlockSuccess; -pub mod block_user_from_comment_response; -pub use self::block_user_from_comment_response::BlockUserFromCommentResponse; pub mod build_moderation_filter_params; pub use self::build_moderation_filter_params::BuildModerationFilterParams; pub mod build_moderation_filter_response; @@ -138,8 +128,6 @@ pub mod bulk_aggregate_question_results_request; pub use self::bulk_aggregate_question_results_request::BulkAggregateQuestionResultsRequest; pub mod bulk_aggregate_question_results_response; pub use self::bulk_aggregate_question_results_response::BulkAggregateQuestionResultsResponse; -pub mod bulk_aggregate_question_results_response_1; -pub use self::bulk_aggregate_question_results_response_1::BulkAggregateQuestionResultsResponse1; pub mod bulk_create_hash_tags_body; pub use self::bulk_create_hash_tags_body::BulkCreateHashTagsBody; pub mod bulk_create_hash_tags_body_tags_inner; @@ -158,14 +146,8 @@ pub mod change_ticket_state_body; pub use self::change_ticket_state_body::ChangeTicketStateBody; pub mod change_ticket_state_response; pub use self::change_ticket_state_response::ChangeTicketStateResponse; -pub mod change_ticket_state_response_1; -pub use self::change_ticket_state_response_1::ChangeTicketStateResponse1; pub mod check_blocked_comments_response; pub use self::check_blocked_comments_response::CheckBlockedCommentsResponse; -pub mod checked_comments_for_blocked_response; -pub use self::checked_comments_for_blocked_response::CheckedCommentsForBlockedResponse; -pub mod combine_comments_with_question_results_response; -pub use self::combine_comments_with_question_results_response::CombineCommentsWithQuestionResultsResponse; pub mod combine_question_results_with_comments_response; pub use self::combine_question_results_with_comments_response::CombineQuestionResultsWithCommentsResponse; pub mod comment_data; @@ -204,22 +186,14 @@ pub mod create_apisso_user_data; pub use self::create_apisso_user_data::CreateApissoUserData; pub mod create_comment_params; pub use self::create_comment_params::CreateCommentParams; -pub mod create_comment_public_response; -pub use self::create_comment_public_response::CreateCommentPublicResponse; pub mod create_email_template_body; pub use self::create_email_template_body::CreateEmailTemplateBody; pub mod create_email_template_response; pub use self::create_email_template_response::CreateEmailTemplateResponse; -pub mod create_email_template_response_1; -pub use self::create_email_template_response_1::CreateEmailTemplateResponse1; pub mod create_feed_post_params; pub use self::create_feed_post_params::CreateFeedPostParams; -pub mod create_feed_post_public_response; -pub use self::create_feed_post_public_response::CreateFeedPostPublicResponse; pub mod create_feed_post_response; pub use self::create_feed_post_response::CreateFeedPostResponse; -pub mod create_feed_post_response_1; -pub use self::create_feed_post_response_1::CreateFeedPostResponse1; pub mod create_feed_posts_response; pub use self::create_feed_posts_response::CreateFeedPostsResponse; pub mod create_hash_tag_body; @@ -230,20 +204,14 @@ pub mod create_moderator_body; pub use self::create_moderator_body::CreateModeratorBody; pub mod create_moderator_response; pub use self::create_moderator_response::CreateModeratorResponse; -pub mod create_moderator_response_1; -pub use self::create_moderator_response_1::CreateModeratorResponse1; pub mod create_question_config_body; pub use self::create_question_config_body::CreateQuestionConfigBody; pub mod create_question_config_response; pub use self::create_question_config_response::CreateQuestionConfigResponse; -pub mod create_question_config_response_1; -pub use self::create_question_config_response_1::CreateQuestionConfigResponse1; pub mod create_question_result_body; pub use self::create_question_result_body::CreateQuestionResultBody; pub mod create_question_result_response; pub use self::create_question_result_response::CreateQuestionResultResponse; -pub mod create_question_result_response_1; -pub use self::create_question_result_response_1::CreateQuestionResultResponse1; pub mod create_subscription_api_response; pub use self::create_subscription_api_response::CreateSubscriptionApiResponse; pub mod create_tenant_body; @@ -252,96 +220,40 @@ pub mod create_tenant_package_body; pub use self::create_tenant_package_body::CreateTenantPackageBody; pub mod create_tenant_package_response; pub use self::create_tenant_package_response::CreateTenantPackageResponse; -pub mod create_tenant_package_response_1; -pub use self::create_tenant_package_response_1::CreateTenantPackageResponse1; pub mod create_tenant_response; pub use self::create_tenant_response::CreateTenantResponse; -pub mod create_tenant_response_1; -pub use self::create_tenant_response_1::CreateTenantResponse1; pub mod create_tenant_user_body; pub use self::create_tenant_user_body::CreateTenantUserBody; pub mod create_tenant_user_response; pub use self::create_tenant_user_response::CreateTenantUserResponse; -pub mod create_tenant_user_response_1; -pub use self::create_tenant_user_response_1::CreateTenantUserResponse1; pub mod create_ticket_body; pub use self::create_ticket_body::CreateTicketBody; pub mod create_ticket_response; pub use self::create_ticket_response::CreateTicketResponse; -pub mod create_ticket_response_1; -pub use self::create_ticket_response_1::CreateTicketResponse1; pub mod create_user_badge_params; pub use self::create_user_badge_params::CreateUserBadgeParams; -pub mod create_user_badge_response; -pub use self::create_user_badge_response::CreateUserBadgeResponse; pub mod create_v1_page_react; pub use self::create_v1_page_react::CreateV1PageReact; -pub mod create_v1_page_react_response; -pub use self::create_v1_page_react_response::CreateV1PageReactResponse; -pub mod create_v2_page_react_response; -pub use self::create_v2_page_react_response::CreateV2PageReactResponse; -pub mod create_vote_response; -pub use self::create_vote_response::CreateVoteResponse; pub mod custom_config_parameters; pub use self::custom_config_parameters::CustomConfigParameters; pub mod custom_email_template; pub use self::custom_email_template::CustomEmailTemplate; pub mod delete_comment_action; pub use self::delete_comment_action::DeleteCommentAction; -pub mod delete_comment_public_response; -pub use self::delete_comment_public_response::DeleteCommentPublicResponse; -pub mod delete_comment_response; -pub use self::delete_comment_response::DeleteCommentResponse; pub mod delete_comment_result; pub use self::delete_comment_result::DeleteCommentResult; -pub mod delete_comment_vote_response; -pub use self::delete_comment_vote_response::DeleteCommentVoteResponse; pub mod delete_domain_config_response; pub use self::delete_domain_config_response::DeleteDomainConfigResponse; -pub mod delete_email_template_render_error_response; -pub use self::delete_email_template_render_error_response::DeleteEmailTemplateRenderErrorResponse; -pub mod delete_email_template_response; -pub use self::delete_email_template_response::DeleteEmailTemplateResponse; pub mod delete_feed_post_public_response; pub use self::delete_feed_post_public_response::DeleteFeedPostPublicResponse; -pub mod delete_feed_post_public_response_any_of; -pub use self::delete_feed_post_public_response_any_of::DeleteFeedPostPublicResponseAnyOf; pub mod delete_hash_tag_request_body; pub use self::delete_hash_tag_request_body::DeleteHashTagRequestBody; -pub mod delete_hash_tag_response; -pub use self::delete_hash_tag_response::DeleteHashTagResponse; -pub mod delete_moderation_vote_response; -pub use self::delete_moderation_vote_response::DeleteModerationVoteResponse; -pub mod delete_moderator_response; -pub use self::delete_moderator_response::DeleteModeratorResponse; -pub mod delete_notification_count_response; -pub use self::delete_notification_count_response::DeleteNotificationCountResponse; pub mod delete_page_api_response; pub use self::delete_page_api_response::DeletePageApiResponse; -pub mod delete_pending_webhook_event_response; -pub use self::delete_pending_webhook_event_response::DeletePendingWebhookEventResponse; -pub mod delete_question_config_response; -pub use self::delete_question_config_response::DeleteQuestionConfigResponse; -pub mod delete_question_result_response; -pub use self::delete_question_result_response::DeleteQuestionResultResponse; pub mod delete_sso_user_api_response; pub use self::delete_sso_user_api_response::DeleteSsoUserApiResponse; pub mod delete_subscription_api_response; pub use self::delete_subscription_api_response::DeleteSubscriptionApiResponse; -pub mod delete_tenant_package_response; -pub use self::delete_tenant_package_response::DeleteTenantPackageResponse; -pub mod delete_tenant_response; -pub use self::delete_tenant_response::DeleteTenantResponse; -pub mod delete_tenant_user_response; -pub use self::delete_tenant_user_response::DeleteTenantUserResponse; -pub mod delete_user_badge_response; -pub use self::delete_user_badge_response::DeleteUserBadgeResponse; -pub mod delete_v1_page_react_response; -pub use self::delete_v1_page_react_response::DeleteV1PageReactResponse; -pub mod delete_v2_page_react_response; -pub use self::delete_v2_page_react_response::DeleteV2PageReactResponse; -pub mod delete_vote_response; -pub use self::delete_vote_response::DeleteVoteResponse; pub mod deleted_comment_result_comment; pub use self::deleted_comment_result_comment::DeletedCommentResultComment; pub mod digest_email_frequency; @@ -372,64 +284,28 @@ pub mod find_comments_by_range_item; pub use self::find_comments_by_range_item::FindCommentsByRangeItem; pub mod find_comments_by_range_response; pub use self::find_comments_by_range_response::FindCommentsByRangeResponse; -pub mod flag_comment_public_response; -pub use self::flag_comment_public_response::FlagCommentPublicResponse; pub mod flag_comment_response; pub use self::flag_comment_response::FlagCommentResponse; -pub mod flag_comment_response_1; -pub use self::flag_comment_response_1::FlagCommentResponse1; -pub mod get_api_comments_response; -pub use self::get_api_comments_response::GetApiCommentsResponse; -pub mod get_api_export_status_response; -pub use self::get_api_export_status_response::GetApiExportStatusResponse; -pub mod get_api_ids_response; -pub use self::get_api_ids_response::GetApiIdsResponse; pub mod get_audit_logs_response; pub use self::get_audit_logs_response::GetAuditLogsResponse; -pub mod get_audit_logs_response_1; -pub use self::get_audit_logs_response_1::GetAuditLogsResponse1; -pub mod get_ban_users_from_comment_response; -pub use self::get_ban_users_from_comment_response::GetBanUsersFromCommentResponse; pub mod get_banned_users_count_response; pub use self::get_banned_users_count_response::GetBannedUsersCountResponse; pub mod get_banned_users_from_comment_response; pub use self::get_banned_users_from_comment_response::GetBannedUsersFromCommentResponse; pub mod get_cached_notification_count_response; pub use self::get_cached_notification_count_response::GetCachedNotificationCountResponse; -pub mod get_cached_notification_count_response_1; -pub use self::get_cached_notification_count_response_1::GetCachedNotificationCountResponse1; pub mod get_comment_ban_status_response; pub use self::get_comment_ban_status_response::GetCommentBanStatusResponse; -pub mod get_comment_ban_status_response_1; -pub use self::get_comment_ban_status_response_1::GetCommentBanStatusResponse1; -pub mod get_comment_children_response; -pub use self::get_comment_children_response::GetCommentChildrenResponse; -pub mod get_comment_response; -pub use self::get_comment_response::GetCommentResponse; pub mod get_comment_text_response; pub use self::get_comment_text_response::GetCommentTextResponse; -pub mod get_comment_text_response_1; -pub use self::get_comment_text_response_1::GetCommentTextResponse1; -pub mod get_comment_vote_user_names_response; -pub use self::get_comment_vote_user_names_response::GetCommentVoteUserNamesResponse; pub mod get_comment_vote_user_names_success_response; pub use self::get_comment_vote_user_names_success_response::GetCommentVoteUserNamesSuccessResponse; pub mod get_comments_for_user_response; pub use self::get_comments_for_user_response::GetCommentsForUserResponse; -pub mod get_comments_for_user_response_1; -pub use self::get_comments_for_user_response_1::GetCommentsForUserResponse1; -pub mod get_comments_public_response; -pub use self::get_comments_public_response::GetCommentsPublicResponse; -pub mod get_comments_response; -pub use self::get_comments_response::GetCommentsResponse; pub mod get_comments_response_public_comment_; pub use self::get_comments_response_public_comment_::GetCommentsResponsePublicComment; pub mod get_comments_response_with_presence_public_comment_; pub use self::get_comments_response_with_presence_public_comment_::GetCommentsResponseWithPresencePublicComment; -pub mod get_count_response; -pub use self::get_count_response::GetCountResponse; -pub mod get_counts_response; -pub use self::get_counts_response::GetCountsResponse; pub mod get_domain_config_response; pub use self::get_domain_config_response::GetDomainConfigResponse; pub mod get_domain_configs_response; @@ -440,122 +316,52 @@ pub mod get_domain_configs_response_any_of_1; pub use self::get_domain_configs_response_any_of_1::GetDomainConfigsResponseAnyOf1; pub mod get_email_template_definitions_response; pub use self::get_email_template_definitions_response::GetEmailTemplateDefinitionsResponse; -pub mod get_email_template_definitions_response_1; -pub use self::get_email_template_definitions_response_1::GetEmailTemplateDefinitionsResponse1; pub mod get_email_template_render_errors_response; pub use self::get_email_template_render_errors_response::GetEmailTemplateRenderErrorsResponse; -pub mod get_email_template_render_errors_response_1; -pub use self::get_email_template_render_errors_response_1::GetEmailTemplateRenderErrorsResponse1; pub mod get_email_template_response; pub use self::get_email_template_response::GetEmailTemplateResponse; -pub mod get_email_template_response_1; -pub use self::get_email_template_response_1::GetEmailTemplateResponse1; pub mod get_email_templates_response; pub use self::get_email_templates_response::GetEmailTemplatesResponse; -pub mod get_email_templates_response_1; -pub use self::get_email_templates_response_1::GetEmailTemplatesResponse1; pub mod get_event_log_response; pub use self::get_event_log_response::GetEventLogResponse; -pub mod get_event_log_response_1; -pub use self::get_event_log_response_1::GetEventLogResponse1; -pub mod get_feed_posts_public_response; -pub use self::get_feed_posts_public_response::GetFeedPostsPublicResponse; pub mod get_feed_posts_response; pub use self::get_feed_posts_response::GetFeedPostsResponse; -pub mod get_feed_posts_response_1; -pub use self::get_feed_posts_response_1::GetFeedPostsResponse1; -pub mod get_feed_posts_stats_response; -pub use self::get_feed_posts_stats_response::GetFeedPostsStatsResponse; -pub mod get_gif_large_response; -pub use self::get_gif_large_response::GetGifLargeResponse; pub mod get_gifs_search_response; pub use self::get_gifs_search_response::GetGifsSearchResponse; pub mod get_gifs_trending_response; pub use self::get_gifs_trending_response::GetGifsTrendingResponse; -pub mod get_global_event_log_response; -pub use self::get_global_event_log_response::GetGlobalEventLogResponse; pub mod get_hash_tags_response; pub use self::get_hash_tags_response::GetHashTagsResponse; -pub mod get_hash_tags_response_1; -pub use self::get_hash_tags_response_1::GetHashTagsResponse1; -pub mod get_logs_response; -pub use self::get_logs_response::GetLogsResponse; -pub mod get_manual_badges_for_user_response; -pub use self::get_manual_badges_for_user_response::GetManualBadgesForUserResponse; -pub mod get_manual_badges_response; -pub use self::get_manual_badges_response::GetManualBadgesResponse; -pub mod get_moderation_comment_response; -pub use self::get_moderation_comment_response::GetModerationCommentResponse; -pub mod get_moderation_comment_text_response; -pub use self::get_moderation_comment_text_response::GetModerationCommentTextResponse; pub mod get_moderator_response; pub use self::get_moderator_response::GetModeratorResponse; -pub mod get_moderator_response_1; -pub use self::get_moderator_response_1::GetModeratorResponse1; pub mod get_moderators_response; pub use self::get_moderators_response::GetModeratorsResponse; -pub mod get_moderators_response_1; -pub use self::get_moderators_response_1::GetModeratorsResponse1; pub mod get_my_notifications_response; pub use self::get_my_notifications_response::GetMyNotificationsResponse; pub mod get_notification_count_response; pub use self::get_notification_count_response::GetNotificationCountResponse; -pub mod get_notification_count_response_1; -pub use self::get_notification_count_response_1::GetNotificationCountResponse1; pub mod get_notifications_response; pub use self::get_notifications_response::GetNotificationsResponse; -pub mod get_notifications_response_1; -pub use self::get_notifications_response_1::GetNotificationsResponse1; -pub mod get_offline_users_response; -pub use self::get_offline_users_response::GetOfflineUsersResponse; -pub mod get_online_users_response; -pub use self::get_online_users_response::GetOnlineUsersResponse; pub mod get_page_by_urlid_api_response; pub use self::get_page_by_urlid_api_response::GetPageByUrlidApiResponse; pub mod get_pages_api_response; pub use self::get_pages_api_response::GetPagesApiResponse; -pub mod get_pages_public_response; -pub use self::get_pages_public_response::GetPagesPublicResponse; pub mod get_pending_webhook_event_count_response; pub use self::get_pending_webhook_event_count_response::GetPendingWebhookEventCountResponse; -pub mod get_pending_webhook_event_count_response_1; -pub use self::get_pending_webhook_event_count_response_1::GetPendingWebhookEventCountResponse1; pub mod get_pending_webhook_events_response; pub use self::get_pending_webhook_events_response::GetPendingWebhookEventsResponse; -pub mod get_pending_webhook_events_response_1; -pub use self::get_pending_webhook_events_response_1::GetPendingWebhookEventsResponse1; -pub mod get_pre_ban_summary_response; -pub use self::get_pre_ban_summary_response::GetPreBanSummaryResponse; pub mod get_public_feed_posts_response; pub use self::get_public_feed_posts_response::GetPublicFeedPostsResponse; pub mod get_public_pages_response; pub use self::get_public_pages_response::GetPublicPagesResponse; pub mod get_question_config_response; pub use self::get_question_config_response::GetQuestionConfigResponse; -pub mod get_question_config_response_1; -pub use self::get_question_config_response_1::GetQuestionConfigResponse1; pub mod get_question_configs_response; pub use self::get_question_configs_response::GetQuestionConfigsResponse; -pub mod get_question_configs_response_1; -pub use self::get_question_configs_response_1::GetQuestionConfigsResponse1; pub mod get_question_result_response; pub use self::get_question_result_response::GetQuestionResultResponse; -pub mod get_question_result_response_1; -pub use self::get_question_result_response_1::GetQuestionResultResponse1; pub mod get_question_results_response; pub use self::get_question_results_response::GetQuestionResultsResponse; -pub mod get_question_results_response_1; -pub use self::get_question_results_response_1::GetQuestionResultsResponse1; -pub mod get_search_comments_summary_response; -pub use self::get_search_comments_summary_response::GetSearchCommentsSummaryResponse; -pub mod get_search_pages_response; -pub use self::get_search_pages_response::GetSearchPagesResponse; -pub mod get_search_sites_response; -pub use self::get_search_sites_response::GetSearchSitesResponse; -pub mod get_search_suggest_response; -pub use self::get_search_suggest_response::GetSearchSuggestResponse; -pub mod get_search_users_response; -pub use self::get_search_users_response::GetSearchUsersResponse; pub mod get_sso_user_by_email_api_response; pub use self::get_sso_user_by_email_api_response::GetSsoUserByEmailApiResponse; pub mod get_sso_user_by_id_api_response; @@ -566,108 +372,50 @@ pub mod get_subscriptions_api_response; pub use self::get_subscriptions_api_response::GetSubscriptionsApiResponse; pub mod get_tenant_daily_usages_response; pub use self::get_tenant_daily_usages_response::GetTenantDailyUsagesResponse; -pub mod get_tenant_daily_usages_response_1; -pub use self::get_tenant_daily_usages_response_1::GetTenantDailyUsagesResponse1; pub mod get_tenant_manual_badges_response; pub use self::get_tenant_manual_badges_response::GetTenantManualBadgesResponse; pub mod get_tenant_package_response; pub use self::get_tenant_package_response::GetTenantPackageResponse; -pub mod get_tenant_package_response_1; -pub use self::get_tenant_package_response_1::GetTenantPackageResponse1; pub mod get_tenant_packages_response; pub use self::get_tenant_packages_response::GetTenantPackagesResponse; -pub mod get_tenant_packages_response_1; -pub use self::get_tenant_packages_response_1::GetTenantPackagesResponse1; pub mod get_tenant_response; pub use self::get_tenant_response::GetTenantResponse; -pub mod get_tenant_response_1; -pub use self::get_tenant_response_1::GetTenantResponse1; pub mod get_tenant_user_response; pub use self::get_tenant_user_response::GetTenantUserResponse; -pub mod get_tenant_user_response_1; -pub use self::get_tenant_user_response_1::GetTenantUserResponse1; pub mod get_tenant_users_response; pub use self::get_tenant_users_response::GetTenantUsersResponse; -pub mod get_tenant_users_response_1; -pub use self::get_tenant_users_response_1::GetTenantUsersResponse1; pub mod get_tenants_response; pub use self::get_tenants_response::GetTenantsResponse; -pub mod get_tenants_response_1; -pub use self::get_tenants_response_1::GetTenantsResponse1; pub mod get_ticket_response; pub use self::get_ticket_response::GetTicketResponse; -pub mod get_ticket_response_1; -pub use self::get_ticket_response_1::GetTicketResponse1; pub mod get_tickets_response; pub use self::get_tickets_response::GetTicketsResponse; -pub mod get_tickets_response_1; -pub use self::get_tickets_response_1::GetTicketsResponse1; pub mod get_translations_response; pub use self::get_translations_response::GetTranslationsResponse; -pub mod get_translations_response_1; -pub use self::get_translations_response_1::GetTranslationsResponse1; -pub mod get_trust_factor_response; -pub use self::get_trust_factor_response::GetTrustFactorResponse; -pub mod get_user_badge_progress_by_id_response; -pub use self::get_user_badge_progress_by_id_response::GetUserBadgeProgressByIdResponse; -pub mod get_user_badge_progress_by_user_id_response; -pub use self::get_user_badge_progress_by_user_id_response::GetUserBadgeProgressByUserIdResponse; -pub mod get_user_badge_progress_list_response; -pub use self::get_user_badge_progress_list_response::GetUserBadgeProgressListResponse; -pub mod get_user_badge_response; -pub use self::get_user_badge_response::GetUserBadgeResponse; -pub mod get_user_badges_response; -pub use self::get_user_badges_response::GetUserBadgesResponse; -pub mod get_user_ban_preference_response; -pub use self::get_user_ban_preference_response::GetUserBanPreferenceResponse; pub mod get_user_internal_profile_response; pub use self::get_user_internal_profile_response::GetUserInternalProfileResponse; -pub mod get_user_internal_profile_response_1; -pub use self::get_user_internal_profile_response_1::GetUserInternalProfileResponse1; pub mod get_user_internal_profile_response_profile; pub use self::get_user_internal_profile_response_profile::GetUserInternalProfileResponseProfile; pub mod get_user_manual_badges_response; pub use self::get_user_manual_badges_response::GetUserManualBadgesResponse; pub mod get_user_notification_count_response; pub use self::get_user_notification_count_response::GetUserNotificationCountResponse; -pub mod get_user_notification_count_response_1; -pub use self::get_user_notification_count_response_1::GetUserNotificationCountResponse1; -pub mod get_user_notifications_response; -pub use self::get_user_notifications_response::GetUserNotificationsResponse; pub mod get_user_presence_statuses_response; pub use self::get_user_presence_statuses_response::GetUserPresenceStatusesResponse; -pub mod get_user_presence_statuses_response_1; -pub use self::get_user_presence_statuses_response_1::GetUserPresenceStatusesResponse1; -pub mod get_user_reacts_public_response; -pub use self::get_user_reacts_public_response::GetUserReactsPublicResponse; pub mod get_user_response; pub use self::get_user_response::GetUserResponse; -pub mod get_user_response_1; -pub use self::get_user_response_1::GetUserResponse1; pub mod get_user_trust_factor_response; pub use self::get_user_trust_factor_response::GetUserTrustFactorResponse; -pub mod get_users_info_response; -pub use self::get_users_info_response::GetUsersInfoResponse; pub mod get_v1_page_likes; pub use self::get_v1_page_likes::GetV1PageLikes; -pub mod get_v1_page_likes_response; -pub use self::get_v1_page_likes_response::GetV1PageLikesResponse; pub mod get_v2_page_react_users_response; pub use self::get_v2_page_react_users_response::GetV2PageReactUsersResponse; -pub mod get_v2_page_react_users_response_1; -pub use self::get_v2_page_react_users_response_1::GetV2PageReactUsersResponse1; pub mod get_v2_page_reacts; pub use self::get_v2_page_reacts::GetV2PageReacts; -pub mod get_v2_page_reacts_response; -pub use self::get_v2_page_reacts_response::GetV2PageReactsResponse; pub mod get_votes_for_user_response; pub use self::get_votes_for_user_response::GetVotesForUserResponse; -pub mod get_votes_for_user_response_1; -pub use self::get_votes_for_user_response_1::GetVotesForUserResponse1; pub mod get_votes_response; pub use self::get_votes_response::GetVotesResponse; -pub mod get_votes_response_1; -pub use self::get_votes_response_1::GetVotesResponse1; pub mod gif_get_large_response; pub use self::gif_get_large_response::GifGetLargeResponse; pub mod gif_rating; @@ -696,8 +444,6 @@ pub mod live_event_extra_info; pub use self::live_event_extra_info::LiveEventExtraInfo; pub mod live_event_type; pub use self::live_event_type::LiveEventType; -pub mod lock_comment_response; -pub use self::lock_comment_response::LockCommentResponse; pub mod media_asset; pub use self::media_asset::MediaAsset; pub mod mention_auto_complete_mode; @@ -764,46 +510,14 @@ pub mod patch_domain_config_params; pub use self::patch_domain_config_params::PatchDomainConfigParams; pub mod patch_domain_config_response; pub use self::patch_domain_config_response::PatchDomainConfigResponse; -pub mod patch_hash_tag_response; -pub use self::patch_hash_tag_response::PatchHashTagResponse; pub mod patch_page_api_response; pub use self::patch_page_api_response::PatchPageApiResponse; pub mod patch_sso_user_api_response; pub use self::patch_sso_user_api_response::PatchSsoUserApiResponse; pub mod pending_comment_to_sync_outbound; pub use self::pending_comment_to_sync_outbound::PendingCommentToSyncOutbound; -pub mod pin_comment_response; -pub use self::pin_comment_response::PinCommentResponse; -pub mod post_adjust_comment_votes_response; -pub use self::post_adjust_comment_votes_response::PostAdjustCommentVotesResponse; -pub mod post_api_export_response; -pub use self::post_api_export_response::PostApiExportResponse; -pub mod post_ban_user_from_comment_response; -pub use self::post_ban_user_from_comment_response::PostBanUserFromCommentResponse; -pub mod post_ban_user_undo_response; -pub use self::post_ban_user_undo_response::PostBanUserUndoResponse; -pub mod post_bulk_pre_ban_summary_response; -pub use self::post_bulk_pre_ban_summary_response::PostBulkPreBanSummaryResponse; -pub mod post_comments_by_ids_response; -pub use self::post_comments_by_ids_response::PostCommentsByIdsResponse; -pub mod post_flag_comment_response; -pub use self::post_flag_comment_response::PostFlagCommentResponse; pub mod post_remove_comment_response; pub use self::post_remove_comment_response::PostRemoveCommentResponse; -pub mod post_restore_deleted_comment_response; -pub use self::post_restore_deleted_comment_response::PostRestoreDeletedCommentResponse; -pub mod post_set_comment_approval_status_response; -pub use self::post_set_comment_approval_status_response::PostSetCommentApprovalStatusResponse; -pub mod post_set_comment_review_status_response; -pub use self::post_set_comment_review_status_response::PostSetCommentReviewStatusResponse; -pub mod post_set_comment_spam_status_response; -pub use self::post_set_comment_spam_status_response::PostSetCommentSpamStatusResponse; -pub mod post_set_comment_text_response; -pub use self::post_set_comment_text_response::PostSetCommentTextResponse; -pub mod post_un_flag_comment_response; -pub use self::post_un_flag_comment_response::PostUnFlagCommentResponse; -pub mod post_vote_response; -pub use self::post_vote_response::PostVoteResponse; pub mod pre_ban_summary; pub use self::pre_ban_summary::PreBanSummary; pub mod pub_sub_comment; @@ -830,16 +544,8 @@ pub mod public_page; pub use self::public_page::PublicPage; pub mod public_vote; pub use self::public_vote::PublicVote; -pub mod put_award_badge_response; -pub use self::put_award_badge_response::PutAwardBadgeResponse; -pub mod put_close_thread_response; -pub use self::put_close_thread_response::PutCloseThreadResponse; pub mod put_domain_config_response; pub use self::put_domain_config_response::PutDomainConfigResponse; -pub mod put_remove_badge_response; -pub use self::put_remove_badge_response::PutRemoveBadgeResponse; -pub mod put_reopen_thread_response; -pub use self::put_reopen_thread_response::PutReopenThreadResponse; pub mod put_sso_user_api_response; pub use self::put_sso_user_api_response::PutSsoUserApiResponse; pub mod query_predicate; @@ -864,8 +570,6 @@ pub mod question_when_save; pub use self::question_when_save::QuestionWhenSave; pub mod react_body_params; pub use self::react_body_params::ReactBodyParams; -pub mod react_feed_post_public_response; -pub use self::react_feed_post_public_response::ReactFeedPostPublicResponse; pub mod react_feed_post_response; pub use self::react_feed_post_response::ReactFeedPostResponse; pub mod record_string__before_string_or_null__after_string_or_null___value; @@ -878,8 +582,6 @@ pub mod render_email_template_body; pub use self::render_email_template_body::RenderEmailTemplateBody; pub mod render_email_template_response; pub use self::render_email_template_response::RenderEmailTemplateResponse; -pub mod render_email_template_response_1; -pub use self::render_email_template_response_1::RenderEmailTemplateResponse1; pub mod renderable_user_notification; pub use self::renderable_user_notification::RenderableUserNotification; pub mod repeat_comment_check_ignored_reason; @@ -888,20 +590,10 @@ pub mod repeat_comment_handling_action; pub use self::repeat_comment_handling_action::RepeatCommentHandlingAction; pub mod replace_tenant_package_body; pub use self::replace_tenant_package_body::ReplaceTenantPackageBody; -pub mod replace_tenant_package_response; -pub use self::replace_tenant_package_response::ReplaceTenantPackageResponse; pub mod replace_tenant_user_body; pub use self::replace_tenant_user_body::ReplaceTenantUserBody; -pub mod replace_tenant_user_response; -pub use self::replace_tenant_user_response::ReplaceTenantUserResponse; -pub mod reset_user_notification_count_response; -pub use self::reset_user_notification_count_response::ResetUserNotificationCountResponse; pub mod reset_user_notifications_response; pub use self::reset_user_notifications_response::ResetUserNotificationsResponse; -pub mod reset_user_notifications_response_1; -pub use self::reset_user_notifications_response_1::ResetUserNotificationsResponse1; -pub mod save_comment_response; -pub use self::save_comment_response::SaveCommentResponse; pub mod save_comment_response_optimized; pub use self::save_comment_response_optimized::SaveCommentResponseOptimized; pub mod save_comments_bulk_response; @@ -910,28 +602,18 @@ pub mod save_comments_response_with_presence; pub use self::save_comments_response_with_presence::SaveCommentsResponseWithPresence; pub mod search_users_response; pub use self::search_users_response::SearchUsersResponse; -pub mod search_users_response_1; -pub use self::search_users_response_1::SearchUsersResponse1; pub mod search_users_result; pub use self::search_users_result::SearchUsersResult; pub mod search_users_sectioned_response; pub use self::search_users_sectioned_response::SearchUsersSectionedResponse; -pub mod send_invite_response; -pub use self::send_invite_response::SendInviteResponse; -pub mod send_login_link_response; -pub use self::send_login_link_response::SendLoginLinkResponse; pub mod set_comment_approved_response; pub use self::set_comment_approved_response::SetCommentApprovedResponse; pub mod set_comment_text_params; pub use self::set_comment_text_params::SetCommentTextParams; pub mod set_comment_text_response; pub use self::set_comment_text_response::SetCommentTextResponse; -pub mod set_comment_text_response_1; -pub use self::set_comment_text_response_1::SetCommentTextResponse1; pub mod set_comment_text_result; pub use self::set_comment_text_result::SetCommentTextResult; -pub mod set_trust_factor_response; -pub use self::set_trust_factor_response::SetTrustFactorResponse; pub mod set_user_trust_factor_response; pub use self::set_user_trust_factor_response::SetUserTrustFactorResponse; pub mod size_preset; @@ -952,18 +634,8 @@ pub mod tenant_package; pub use self::tenant_package::TenantPackage; pub mod tos_config; pub use self::tos_config::TosConfig; -pub mod un_block_comment_public_response; -pub use self::un_block_comment_public_response::UnBlockCommentPublicResponse; pub mod un_block_from_comment_params; pub use self::un_block_from_comment_params::UnBlockFromCommentParams; -pub mod un_block_user_from_comment_response; -pub use self::un_block_user_from_comment_response::UnBlockUserFromCommentResponse; -pub mod un_flag_comment_response; -pub use self::un_flag_comment_response::UnFlagCommentResponse; -pub mod un_lock_comment_response; -pub use self::un_lock_comment_response::UnLockCommentResponse; -pub mod un_pin_comment_response; -pub use self::un_pin_comment_response::UnPinCommentResponse; pub mod unblock_success; pub use self::unblock_success::UnblockSuccess; pub mod updatable_comment_params; @@ -974,58 +646,34 @@ pub mod update_api_user_subscription_data; pub use self::update_api_user_subscription_data::UpdateApiUserSubscriptionData; pub mod update_apisso_user_data; pub use self::update_apisso_user_data::UpdateApissoUserData; -pub mod update_comment_response; -pub use self::update_comment_response::UpdateCommentResponse; pub mod update_domain_config_params; pub use self::update_domain_config_params::UpdateDomainConfigParams; pub mod update_email_template_body; pub use self::update_email_template_body::UpdateEmailTemplateBody; -pub mod update_email_template_response; -pub use self::update_email_template_response::UpdateEmailTemplateResponse; pub mod update_feed_post_params; pub use self::update_feed_post_params::UpdateFeedPostParams; -pub mod update_feed_post_public_response; -pub use self::update_feed_post_public_response::UpdateFeedPostPublicResponse; -pub mod update_feed_post_response; -pub use self::update_feed_post_response::UpdateFeedPostResponse; pub mod update_hash_tag_body; pub use self::update_hash_tag_body::UpdateHashTagBody; pub mod update_hash_tag_response; pub use self::update_hash_tag_response::UpdateHashTagResponse; pub mod update_moderator_body; pub use self::update_moderator_body::UpdateModeratorBody; -pub mod update_moderator_response; -pub use self::update_moderator_response::UpdateModeratorResponse; pub mod update_notification_body; pub use self::update_notification_body::UpdateNotificationBody; -pub mod update_notification_response; -pub use self::update_notification_response::UpdateNotificationResponse; pub mod update_question_config_body; pub use self::update_question_config_body::UpdateQuestionConfigBody; -pub mod update_question_config_response; -pub use self::update_question_config_response::UpdateQuestionConfigResponse; pub mod update_question_result_body; pub use self::update_question_result_body::UpdateQuestionResultBody; -pub mod update_question_result_response; -pub use self::update_question_result_response::UpdateQuestionResultResponse; pub mod update_subscription_api_response; pub use self::update_subscription_api_response::UpdateSubscriptionApiResponse; pub mod update_tenant_body; pub use self::update_tenant_body::UpdateTenantBody; pub mod update_tenant_package_body; pub use self::update_tenant_package_body::UpdateTenantPackageBody; -pub mod update_tenant_package_response; -pub use self::update_tenant_package_response::UpdateTenantPackageResponse; -pub mod update_tenant_response; -pub use self::update_tenant_response::UpdateTenantResponse; pub mod update_tenant_user_body; pub use self::update_tenant_user_body::UpdateTenantUserBody; -pub mod update_tenant_user_response; -pub use self::update_tenant_user_response::UpdateTenantUserResponse; pub mod update_user_badge_params; pub use self::update_user_badge_params::UpdateUserBadgeParams; -pub mod update_user_badge_response; -pub use self::update_user_badge_response::UpdateUserBadgeResponse; pub mod update_user_notification_comment_subscription_status_response; pub use self::update_user_notification_comment_subscription_status_response::UpdateUserNotificationCommentSubscriptionStatusResponse; pub mod update_user_notification_page_subscription_status_response; @@ -1062,8 +710,6 @@ pub mod users_list_location; pub use self::users_list_location::UsersListLocation; pub mod vote_body_params; pub use self::vote_body_params::VoteBodyParams; -pub mod vote_comment_response; -pub use self::vote_comment_response::VoteCommentResponse; pub mod vote_delete_response; pub use self::vote_delete_response::VoteDeleteResponse; pub mod vote_response; diff --git a/client/src/models/patch_hash_tag_response.rs b/client/src/models/patch_hash_tag_response.rs deleted file mode 100644 index 9ad1699..0000000 --- a/client/src/models/patch_hash_tag_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PatchHashTagResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "hashTag", skip_serializing_if = "Option::is_none")] - pub hash_tag: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PatchHashTagResponse { - pub fn new(status: models::ApiStatus) -> PatchHashTagResponse { - PatchHashTagResponse { - status, - hash_tag: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/pin_comment_response.rs b/client/src/models/pin_comment_response.rs deleted file mode 100644 index 67f2a20..0000000 --- a/client/src/models/pin_comment_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PinCommentResponse { - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentPositions", skip_serializing_if = "Option::is_none")] - pub comment_positions: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PinCommentResponse { - pub fn new(status: models::ApiStatus) -> PinCommentResponse { - PinCommentResponse { - comment_positions: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_adjust_comment_votes_response.rs b/client/src/models/post_adjust_comment_votes_response.rs deleted file mode 100644 index ea4fb46..0000000 --- a/client/src/models/post_adjust_comment_votes_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostAdjustCommentVotesResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "newCommentVotes", skip_serializing_if = "Option::is_none")] - pub new_comment_votes: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostAdjustCommentVotesResponse { - pub fn new(status: models::ApiStatus) -> PostAdjustCommentVotesResponse { - PostAdjustCommentVotesResponse { - status, - new_comment_votes: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_api_export_response.rs b/client/src/models/post_api_export_response.rs deleted file mode 100644 index 8c61714..0000000 --- a/client/src/models/post_api_export_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostApiExportResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "batchJobId", skip_serializing_if = "Option::is_none")] - pub batch_job_id: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostApiExportResponse { - pub fn new(status: models::ApiStatus) -> PostApiExportResponse { - PostApiExportResponse { - status, - batch_job_id: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_ban_user_from_comment_response.rs b/client/src/models/post_ban_user_from_comment_response.rs deleted file mode 100644 index 11561bf..0000000 --- a/client/src/models/post_ban_user_from_comment_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostBanUserFromCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "changelog", skip_serializing_if = "Option::is_none")] - pub changelog: Option>, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostBanUserFromCommentResponse { - pub fn new(status: models::ApiStatus) -> PostBanUserFromCommentResponse { - PostBanUserFromCommentResponse { - status, - changelog: None, - code: None, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_ban_user_undo_response.rs b/client/src/models/post_ban_user_undo_response.rs deleted file mode 100644 index 2538745..0000000 --- a/client/src/models/post_ban_user_undo_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostBanUserUndoResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostBanUserUndoResponse { - pub fn new(status: models::ApiStatus) -> PostBanUserUndoResponse { - PostBanUserUndoResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_bulk_pre_ban_summary_response.rs b/client/src/models/post_bulk_pre_ban_summary_response.rs deleted file mode 100644 index 0d5f5f3..0000000 --- a/client/src/models/post_bulk_pre_ban_summary_response.rs +++ /dev/null @@ -1,63 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostBulkPreBanSummaryResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "totalRelatedCommentCount", skip_serializing_if = "Option::is_none")] - pub total_related_comment_count: Option, - #[serde(rename = "emailDomains", skip_serializing_if = "Option::is_none")] - pub email_domains: Option>, - #[serde(rename = "emails", skip_serializing_if = "Option::is_none")] - pub emails: Option>, - #[serde(rename = "userIds", skip_serializing_if = "Option::is_none")] - pub user_ids: Option>, - #[serde(rename = "ipHashes", skip_serializing_if = "Option::is_none")] - pub ip_hashes: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostBulkPreBanSummaryResponse { - pub fn new(status: models::ApiStatus) -> PostBulkPreBanSummaryResponse { - PostBulkPreBanSummaryResponse { - status, - total_related_comment_count: None, - email_domains: None, - emails: None, - user_ids: None, - ip_hashes: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_comments_by_ids_response.rs b/client/src/models/post_comments_by_ids_response.rs deleted file mode 100644 index 9f224e8..0000000 --- a/client/src/models/post_comments_by_ids_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostCommentsByIdsResponse { - #[serde(rename = "comments", skip_serializing_if = "Option::is_none")] - pub comments: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostCommentsByIdsResponse { - pub fn new(status: models::ApiStatus) -> PostCommentsByIdsResponse { - PostCommentsByIdsResponse { - comments: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_flag_comment_response.rs b/client/src/models/post_flag_comment_response.rs deleted file mode 100644 index 02323f0..0000000 --- a/client/src/models/post_flag_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostFlagCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostFlagCommentResponse { - pub fn new(status: models::ApiStatus) -> PostFlagCommentResponse { - PostFlagCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_remove_comment_response.rs b/client/src/models/post_remove_comment_response.rs index 751f47c..fef8ac3 100644 --- a/client/src/models/post_remove_comment_response.rs +++ b/client/src/models/post_remove_comment_response.rs @@ -13,38 +13,17 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct PostRemoveCommentResponse { - #[serde(rename = "action", skip_serializing_if = "Option::is_none")] - pub action: Option, + #[serde(rename = "action")] + pub action: String, #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, + pub status: String, } impl PostRemoveCommentResponse { - pub fn new(status: models::ApiStatus) -> PostRemoveCommentResponse { + pub fn new(action: String, status: String) -> PostRemoveCommentResponse { PostRemoveCommentResponse { - action: None, + action, status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/post_restore_deleted_comment_response.rs b/client/src/models/post_restore_deleted_comment_response.rs deleted file mode 100644 index 9cdac18..0000000 --- a/client/src/models/post_restore_deleted_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostRestoreDeletedCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostRestoreDeletedCommentResponse { - pub fn new(status: models::ApiStatus) -> PostRestoreDeletedCommentResponse { - PostRestoreDeletedCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_set_comment_approval_status_response.rs b/client/src/models/post_set_comment_approval_status_response.rs deleted file mode 100644 index 3a6ec77..0000000 --- a/client/src/models/post_set_comment_approval_status_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostSetCommentApprovalStatusResponse { - #[serde(rename = "didResetFlaggedCount", skip_serializing_if = "Option::is_none")] - pub did_reset_flagged_count: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostSetCommentApprovalStatusResponse { - pub fn new(status: models::ApiStatus) -> PostSetCommentApprovalStatusResponse { - PostSetCommentApprovalStatusResponse { - did_reset_flagged_count: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_set_comment_review_status_response.rs b/client/src/models/post_set_comment_review_status_response.rs deleted file mode 100644 index a5d7980..0000000 --- a/client/src/models/post_set_comment_review_status_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostSetCommentReviewStatusResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostSetCommentReviewStatusResponse { - pub fn new(status: models::ApiStatus) -> PostSetCommentReviewStatusResponse { - PostSetCommentReviewStatusResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_set_comment_spam_status_response.rs b/client/src/models/post_set_comment_spam_status_response.rs deleted file mode 100644 index ebf21c2..0000000 --- a/client/src/models/post_set_comment_spam_status_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostSetCommentSpamStatusResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostSetCommentSpamStatusResponse { - pub fn new(status: models::ApiStatus) -> PostSetCommentSpamStatusResponse { - PostSetCommentSpamStatusResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_set_comment_text_response.rs b/client/src/models/post_set_comment_text_response.rs deleted file mode 100644 index b0abd24..0000000 --- a/client/src/models/post_set_comment_text_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostSetCommentTextResponse { - #[serde(rename = "newCommentTextHTML", skip_serializing_if = "Option::is_none")] - pub new_comment_text_html: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostSetCommentTextResponse { - pub fn new(status: models::ApiStatus) -> PostSetCommentTextResponse { - PostSetCommentTextResponse { - new_comment_text_html: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_un_flag_comment_response.rs b/client/src/models/post_un_flag_comment_response.rs deleted file mode 100644 index 3220736..0000000 --- a/client/src/models/post_un_flag_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostUnFlagCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostUnFlagCommentResponse { - pub fn new(status: models::ApiStatus) -> PostUnFlagCommentResponse { - PostUnFlagCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/post_vote_response.rs b/client/src/models/post_vote_response.rs deleted file mode 100644 index 2b07417..0000000 --- a/client/src/models/post_vote_response.rs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostVoteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] - pub vote_id: Option, - #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] - pub is_verified: Option, - #[serde(rename = "user", skip_serializing_if = "Option::is_none")] - pub user: Option>, - #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] - pub edit_key: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PostVoteResponse { - pub fn new(status: models::ApiStatus) -> PostVoteResponse { - PostVoteResponse { - status, - vote_id: None, - is_verified: None, - user: None, - edit_key: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/put_award_badge_response.rs b/client/src/models/put_award_badge_response.rs deleted file mode 100644 index 4e3ee37..0000000 --- a/client/src/models/put_award_badge_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PutAwardBadgeResponse { - #[serde(rename = "notes", skip_serializing_if = "Option::is_none")] - pub notes: Option>, - #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] - pub badges: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PutAwardBadgeResponse { - pub fn new(status: models::ApiStatus) -> PutAwardBadgeResponse { - PutAwardBadgeResponse { - notes: None, - badges: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/put_close_thread_response.rs b/client/src/models/put_close_thread_response.rs deleted file mode 100644 index e6d2ea0..0000000 --- a/client/src/models/put_close_thread_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PutCloseThreadResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PutCloseThreadResponse { - pub fn new(status: models::ApiStatus) -> PutCloseThreadResponse { - PutCloseThreadResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/put_remove_badge_response.rs b/client/src/models/put_remove_badge_response.rs deleted file mode 100644 index ec2b8be..0000000 --- a/client/src/models/put_remove_badge_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PutRemoveBadgeResponse { - #[serde(rename = "badges", skip_serializing_if = "Option::is_none")] - pub badges: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PutRemoveBadgeResponse { - pub fn new(status: models::ApiStatus) -> PutRemoveBadgeResponse { - PutRemoveBadgeResponse { - badges: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/put_reopen_thread_response.rs b/client/src/models/put_reopen_thread_response.rs deleted file mode 100644 index ed509da..0000000 --- a/client/src/models/put_reopen_thread_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PutReopenThreadResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl PutReopenThreadResponse { - pub fn new(status: models::ApiStatus) -> PutReopenThreadResponse { - PutReopenThreadResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/react_feed_post_public_response.rs b/client/src/models/react_feed_post_public_response.rs deleted file mode 100644 index e8e9ac4..0000000 --- a/client/src/models/react_feed_post_public_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReactFeedPostPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reactType", skip_serializing_if = "Option::is_none")] - pub react_type: Option, - #[serde(rename = "isUndo", skip_serializing_if = "Option::is_none")] - pub is_undo: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ReactFeedPostPublicResponse { - pub fn new(status: models::ApiStatus) -> ReactFeedPostPublicResponse { - ReactFeedPostPublicResponse { - status, - react_type: None, - is_undo: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/render_email_template_response_1.rs b/client/src/models/render_email_template_response_1.rs deleted file mode 100644 index a2b2091..0000000 --- a/client/src/models/render_email_template_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RenderEmailTemplateResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "html", skip_serializing_if = "Option::is_none")] - pub html: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl RenderEmailTemplateResponse1 { - pub fn new(status: models::ApiStatus) -> RenderEmailTemplateResponse1 { - RenderEmailTemplateResponse1 { - status, - html: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/replace_tenant_package_response.rs b/client/src/models/replace_tenant_package_response.rs deleted file mode 100644 index 07d37ba..0000000 --- a/client/src/models/replace_tenant_package_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReplaceTenantPackageResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ReplaceTenantPackageResponse { - pub fn new(status: models::ApiStatus) -> ReplaceTenantPackageResponse { - ReplaceTenantPackageResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/replace_tenant_user_response.rs b/client/src/models/replace_tenant_user_response.rs deleted file mode 100644 index e0f58f0..0000000 --- a/client/src/models/replace_tenant_user_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReplaceTenantUserResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ReplaceTenantUserResponse { - pub fn new(status: models::ApiStatus) -> ReplaceTenantUserResponse { - ReplaceTenantUserResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/reset_user_notification_count_response.rs b/client/src/models/reset_user_notification_count_response.rs deleted file mode 100644 index 6e22168..0000000 --- a/client/src/models/reset_user_notification_count_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ResetUserNotificationCountResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ResetUserNotificationCountResponse { - pub fn new(status: models::ApiStatus) -> ResetUserNotificationCountResponse { - ResetUserNotificationCountResponse { - status, - code: None, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/reset_user_notifications_response_1.rs b/client/src/models/reset_user_notifications_response_1.rs deleted file mode 100644 index 0162ab7..0000000 --- a/client/src/models/reset_user_notifications_response_1.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ResetUserNotificationsResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl ResetUserNotificationsResponse1 { - pub fn new(status: models::ApiStatus) -> ResetUserNotificationsResponse1 { - ResetUserNotificationsResponse1 { - status, - code: None, - reason: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/save_comment_response.rs b/client/src/models/save_comment_response.rs deleted file mode 100644 index 38b4285..0000000 --- a/client/src/models/save_comment_response.rs +++ /dev/null @@ -1,58 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SaveCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "user", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] - pub user: Option>>, - /// Construct a type with a set of properties K of type T - #[serde(rename = "moduleData", skip_serializing_if = "Option::is_none")] - pub module_data: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SaveCommentResponse { - pub fn new(status: models::ApiStatus) -> SaveCommentResponse { - SaveCommentResponse { - status, - comment: None, - user: None, - module_data: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/search_users_response_1.rs b/client/src/models/search_users_response_1.rs deleted file mode 100644 index 13a750f..0000000 --- a/client/src/models/search_users_response_1.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SearchUsersResponse1 { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "sections", skip_serializing_if = "Option::is_none")] - pub sections: Option>, - #[serde(rename = "users", skip_serializing_if = "Option::is_none")] - pub users: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SearchUsersResponse1 { - pub fn new(status: models::ApiStatus) -> SearchUsersResponse1 { - SearchUsersResponse1 { - status, - sections: None, - users: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/send_invite_response.rs b/client/src/models/send_invite_response.rs deleted file mode 100644 index 83aecdd..0000000 --- a/client/src/models/send_invite_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SendInviteResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SendInviteResponse { - pub fn new(status: models::ApiStatus) -> SendInviteResponse { - SendInviteResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/send_login_link_response.rs b/client/src/models/send_login_link_response.rs deleted file mode 100644 index cd0014e..0000000 --- a/client/src/models/send_login_link_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SendLoginLinkResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SendLoginLinkResponse { - pub fn new(status: models::ApiStatus) -> SendLoginLinkResponse { - SendLoginLinkResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/set_comment_text_response_1.rs b/client/src/models/set_comment_text_response_1.rs deleted file mode 100644 index 80a858b..0000000 --- a/client/src/models/set_comment_text_response_1.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SetCommentTextResponse1 { - #[serde(rename = "comment", skip_serializing_if = "Option::is_none")] - pub comment: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SetCommentTextResponse1 { - pub fn new(status: models::ApiStatus) -> SetCommentTextResponse1 { - SetCommentTextResponse1 { - comment: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/set_trust_factor_response.rs b/client/src/models/set_trust_factor_response.rs deleted file mode 100644 index 6696c8f..0000000 --- a/client/src/models/set_trust_factor_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct SetTrustFactorResponse { - #[serde(rename = "previousManualTrustFactor", skip_serializing_if = "Option::is_none")] - pub previous_manual_trust_factor: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl SetTrustFactorResponse { - pub fn new(status: models::ApiStatus) -> SetTrustFactorResponse { - SetTrustFactorResponse { - previous_manual_trust_factor: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/un_block_comment_public_response.rs b/client/src/models/un_block_comment_public_response.rs deleted file mode 100644 index ab36add..0000000 --- a/client/src/models/un_block_comment_public_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UnBlockCommentPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] - pub comment_statuses: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UnBlockCommentPublicResponse { - pub fn new(status: models::ApiStatus) -> UnBlockCommentPublicResponse { - UnBlockCommentPublicResponse { - status, - comment_statuses: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/un_block_user_from_comment_response.rs b/client/src/models/un_block_user_from_comment_response.rs deleted file mode 100644 index 582b75d..0000000 --- a/client/src/models/un_block_user_from_comment_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UnBlockUserFromCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentStatuses", skip_serializing_if = "Option::is_none")] - pub comment_statuses: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UnBlockUserFromCommentResponse { - pub fn new(status: models::ApiStatus) -> UnBlockUserFromCommentResponse { - UnBlockUserFromCommentResponse { - status, - comment_statuses: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/un_flag_comment_response.rs b/client/src/models/un_flag_comment_response.rs deleted file mode 100644 index 57b58f5..0000000 --- a/client/src/models/un_flag_comment_response.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UnFlagCommentResponse { - #[serde(rename = "statusCode", skip_serializing_if = "Option::is_none")] - pub status_code: Option, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "wasUnapproved", skip_serializing_if = "Option::is_none")] - pub was_unapproved: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UnFlagCommentResponse { - pub fn new(status: models::ApiStatus) -> UnFlagCommentResponse { - UnFlagCommentResponse { - status_code: None, - status, - code: None, - reason: None, - was_unapproved: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/un_lock_comment_response.rs b/client/src/models/un_lock_comment_response.rs deleted file mode 100644 index 0808487..0000000 --- a/client/src/models/un_lock_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UnLockCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UnLockCommentResponse { - pub fn new(status: models::ApiStatus) -> UnLockCommentResponse { - UnLockCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/un_pin_comment_response.rs b/client/src/models/un_pin_comment_response.rs deleted file mode 100644 index d59401e..0000000 --- a/client/src/models/un_pin_comment_response.rs +++ /dev/null @@ -1,52 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UnPinCommentResponse { - /// Construct a type with a set of properties K of type T - #[serde(rename = "commentPositions", skip_serializing_if = "Option::is_none")] - pub comment_positions: Option>, - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UnPinCommentResponse { - pub fn new(status: models::ApiStatus) -> UnPinCommentResponse { - UnPinCommentResponse { - comment_positions: None, - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_comment_response.rs b/client/src/models/update_comment_response.rs deleted file mode 100644 index b1ab166..0000000 --- a/client/src/models/update_comment_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateCommentResponse { - pub fn new(status: models::ApiStatus) -> UpdateCommentResponse { - UpdateCommentResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_email_template_response.rs b/client/src/models/update_email_template_response.rs deleted file mode 100644 index 6851a67..0000000 --- a/client/src/models/update_email_template_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateEmailTemplateResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateEmailTemplateResponse { - pub fn new(status: models::ApiStatus) -> UpdateEmailTemplateResponse { - UpdateEmailTemplateResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_feed_post_public_response.rs b/client/src/models/update_feed_post_public_response.rs deleted file mode 100644 index ebdf98c..0000000 --- a/client/src/models/update_feed_post_public_response.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateFeedPostPublicResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "feedPost", skip_serializing_if = "Option::is_none")] - pub feed_post: Option>, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateFeedPostPublicResponse { - pub fn new(status: models::ApiStatus) -> UpdateFeedPostPublicResponse { - UpdateFeedPostPublicResponse { - status, - feed_post: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_feed_post_response.rs b/client/src/models/update_feed_post_response.rs deleted file mode 100644 index 3c082c7..0000000 --- a/client/src/models/update_feed_post_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateFeedPostResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateFeedPostResponse { - pub fn new(status: models::ApiStatus) -> UpdateFeedPostResponse { - UpdateFeedPostResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_moderator_response.rs b/client/src/models/update_moderator_response.rs deleted file mode 100644 index 773c5ac..0000000 --- a/client/src/models/update_moderator_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateModeratorResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateModeratorResponse { - pub fn new(status: models::ApiStatus) -> UpdateModeratorResponse { - UpdateModeratorResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_notification_response.rs b/client/src/models/update_notification_response.rs deleted file mode 100644 index 4ed886e..0000000 --- a/client/src/models/update_notification_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateNotificationResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateNotificationResponse { - pub fn new(status: models::ApiStatus) -> UpdateNotificationResponse { - UpdateNotificationResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_question_config_response.rs b/client/src/models/update_question_config_response.rs deleted file mode 100644 index a4d2cc2..0000000 --- a/client/src/models/update_question_config_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateQuestionConfigResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateQuestionConfigResponse { - pub fn new(status: models::ApiStatus) -> UpdateQuestionConfigResponse { - UpdateQuestionConfigResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_question_result_response.rs b/client/src/models/update_question_result_response.rs deleted file mode 100644 index 462992b..0000000 --- a/client/src/models/update_question_result_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateQuestionResultResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateQuestionResultResponse { - pub fn new(status: models::ApiStatus) -> UpdateQuestionResultResponse { - UpdateQuestionResultResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_tenant_package_response.rs b/client/src/models/update_tenant_package_response.rs deleted file mode 100644 index cfa75b1..0000000 --- a/client/src/models/update_tenant_package_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateTenantPackageResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateTenantPackageResponse { - pub fn new(status: models::ApiStatus) -> UpdateTenantPackageResponse { - UpdateTenantPackageResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_tenant_response.rs b/client/src/models/update_tenant_response.rs deleted file mode 100644 index 6a2eb4d..0000000 --- a/client/src/models/update_tenant_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateTenantResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateTenantResponse { - pub fn new(status: models::ApiStatus) -> UpdateTenantResponse { - UpdateTenantResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_tenant_user_response.rs b/client/src/models/update_tenant_user_response.rs deleted file mode 100644 index 6cf6486..0000000 --- a/client/src/models/update_tenant_user_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateTenantUserResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateTenantUserResponse { - pub fn new(status: models::ApiStatus) -> UpdateTenantUserResponse { - UpdateTenantUserResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_user_badge_response.rs b/client/src/models/update_user_badge_response.rs deleted file mode 100644 index 5f7b64f..0000000 --- a/client/src/models/update_user_badge_response.rs +++ /dev/null @@ -1,48 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateUserBadgeResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl UpdateUserBadgeResponse { - pub fn new(status: models::ApiStatus) -> UpdateUserBadgeResponse { - UpdateUserBadgeResponse { - status, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/client/src/models/update_user_notification_comment_subscription_status_response.rs b/client/src/models/update_user_notification_comment_subscription_status_response.rs index 54632c2..0f0ce0c 100644 --- a/client/src/models/update_user_notification_comment_subscription_status_response.rs +++ b/client/src/models/update_user_notification_comment_subscription_status_response.rs @@ -21,20 +21,6 @@ pub struct UpdateUserNotificationCommentSubscriptionStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, } impl UpdateUserNotificationCommentSubscriptionStatusResponse { @@ -44,13 +30,6 @@ impl UpdateUserNotificationCommentSubscriptionStatusResponse { matched_count: None, modified_count: None, note: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/update_user_notification_page_subscription_status_response.rs b/client/src/models/update_user_notification_page_subscription_status_response.rs index ea54f22..5aab0f1 100644 --- a/client/src/models/update_user_notification_page_subscription_status_response.rs +++ b/client/src/models/update_user_notification_page_subscription_status_response.rs @@ -21,20 +21,6 @@ pub struct UpdateUserNotificationPageSubscriptionStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, } impl UpdateUserNotificationPageSubscriptionStatusResponse { @@ -44,13 +30,6 @@ impl UpdateUserNotificationPageSubscriptionStatusResponse { matched_count: None, modified_count: None, note: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/update_user_notification_status_response.rs b/client/src/models/update_user_notification_status_response.rs index ef561ec..0415d01 100644 --- a/client/src/models/update_user_notification_status_response.rs +++ b/client/src/models/update_user_notification_status_response.rs @@ -21,20 +21,6 @@ pub struct UpdateUserNotificationStatusResponse { pub modified_count: Option, #[serde(rename = "note", skip_serializing_if = "Option::is_none")] pub note: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, } impl UpdateUserNotificationStatusResponse { @@ -44,13 +30,6 @@ impl UpdateUserNotificationStatusResponse { matched_count: None, modified_count: None, note: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, } } } diff --git a/client/src/models/vote_comment_response.rs b/client/src/models/vote_comment_response.rs deleted file mode 100644 index 972be95..0000000 --- a/client/src/models/vote_comment_response.rs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * fastcomments - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.0 - * - * Generated by: https://openapi-generator.tech - */ - -use crate::client::models; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct VoteCommentResponse { - #[serde(rename = "status")] - pub status: models::ApiStatus, - #[serde(rename = "voteId", skip_serializing_if = "Option::is_none")] - pub vote_id: Option, - #[serde(rename = "isVerified", skip_serializing_if = "Option::is_none")] - pub is_verified: Option, - #[serde(rename = "user", skip_serializing_if = "Option::is_none")] - pub user: Option>, - #[serde(rename = "editKey", skip_serializing_if = "Option::is_none")] - pub edit_key: Option, - #[serde(rename = "reason", skip_serializing_if = "Option::is_none")] - pub reason: Option, - #[serde(rename = "code", skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(rename = "secondaryCode", skip_serializing_if = "Option::is_none")] - pub secondary_code: Option, - #[serde(rename = "bannedUntil", skip_serializing_if = "Option::is_none")] - pub banned_until: Option, - #[serde(rename = "maxCharacterLength", skip_serializing_if = "Option::is_none")] - pub max_character_length: Option, - #[serde(rename = "translatedError", skip_serializing_if = "Option::is_none")] - pub translated_error: Option, - #[serde(rename = "customConfig", skip_serializing_if = "Option::is_none")] - pub custom_config: Option>, -} - -impl VoteCommentResponse { - pub fn new(status: models::ApiStatus) -> VoteCommentResponse { - VoteCommentResponse { - status, - vote_id: None, - is_verified: None, - user: None, - edit_key: None, - reason: None, - code: None, - secondary_code: None, - banned_until: None, - max_character_length: None, - translated_error: None, - custom_config: None, - } - } -} - diff --git a/openapi.json b/openapi.json index b02430d..0f72c9c 100644 --- a/openapi.json +++ b/openapi.json @@ -11528,15 +11528,17 @@ "content": { "application/json": { "schema": { - "title": "SearchUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SearchUsersResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SearchUsersResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11614,15 +11616,7 @@ "content": { "application/json": { "schema": { - "title": "GetUserPresenceStatusesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" } } } @@ -11636,6 +11630,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -11679,15 +11683,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetMyNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetMyNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11809,15 +11815,17 @@ "content": { "application/json": { "schema": { - "title": "ResetUserNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11897,15 +11905,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11944,15 +11954,17 @@ "content": { "application/json": { "schema": { - "title": "ResetUserNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11998,14 +12010,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -12068,14 +12087,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Enable or disable notifications for a specific comment.", @@ -12147,14 +12173,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Enable or disable notifications for a page. When users are subscribed to a page, notifications are created\nfor new root comments, and also", @@ -12296,15 +12329,7 @@ "content": { "application/json": { "schema": { - "title": "GetTranslationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTranslationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTranslationsResponse" } } } @@ -12328,6 +12353,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -12379,15 +12414,17 @@ "content": { "application/json": { "schema": { - "title": "GetPagesPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPublicPagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPublicPagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12465,15 +12502,7 @@ "content": { "application/json": { "schema": { - "title": "GetOnlineUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersOnlineResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersOnlineResponse" } } } @@ -12497,6 +12526,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Currently-online viewers of a page: people whose websocket session is subscribed to the page right now.\nReturns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).", @@ -12552,15 +12591,7 @@ "content": { "application/json": { "schema": { - "title": "GetOfflineUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersOfflineResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersOfflineResponse" } } } @@ -12584,6 +12615,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Past commenters on the page who are NOT currently online. Sorted by displayName.\nUse this after exhausting /users/online to render a \"Members\" section.\nCursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}\nindex from afterName forward via $gt, no $skip cost.", @@ -12639,15 +12680,7 @@ "content": { "application/json": { "schema": { - "title": "GetUsersInfoResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersInfoResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersInfoResponse" } } } @@ -12661,6 +12694,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.\nUsed by the comment widget to enrich users that just appeared via a presence event.\nNo page context: privacy is enforced uniformly (private profiles are masked).", @@ -12698,15 +12741,17 @@ "content": { "application/json": { "schema": { - "title": "GetV1PageLikesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV1PageLikes" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV1PageLikes" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12743,15 +12788,17 @@ "content": { "application/json": { "schema": { - "title": "CreateV1PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateV1PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateV1PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12796,15 +12843,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteV1PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteV1PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteV1PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12843,15 +12892,17 @@ "content": { "application/json": { "schema": { - "title": "GetV2PageReactUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV2PageReactUsersResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV2PageReactUsersResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12898,15 +12949,17 @@ "content": { "application/json": { "schema": { - "title": "GetV2PageReactsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV2PageReacts" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV2PageReacts" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12943,15 +12996,17 @@ "content": { "application/json": { "schema": { - "title": "CreateV2PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateV2PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateV2PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13004,15 +13059,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteV2PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteV2PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteV2PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13059,15 +13116,17 @@ "content": { "application/json": { "schema": { - "title": "GetCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13146,15 +13205,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiIdsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13241,15 +13302,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiCommentsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13354,15 +13417,17 @@ "content": { "application/json": { "schema": { - "title": "PostApiExportResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationExportResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationExportResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13441,15 +13506,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiExportStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationExportStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationExportStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13496,15 +13563,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationUserSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationUserSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13551,15 +13620,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchPagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationPageSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationPageSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13606,15 +13677,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchSitesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationSiteSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationSiteSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13661,15 +13734,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchCommentsSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationCommentSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationCommentSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13732,15 +13807,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchSuggestResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationSuggestResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationSuggestResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13787,15 +13864,17 @@ "content": { "application/json": { "schema": { - "title": "GetPreBanSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PreBanSummary" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PreBanSummary" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13866,15 +13945,17 @@ "content": { "application/json": { "schema": { - "title": "PostBulkPreBanSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkPreBanSummary" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkPreBanSummary" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13947,15 +14028,17 @@ "content": { "application/json": { "schema": { - "title": "PostBanUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BanUserFromCommentResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BanUserFromCommentResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14066,15 +14149,17 @@ "content": { "application/json": { "schema": { - "title": "GetBanUsersFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14121,15 +14206,17 @@ "content": { "application/json": { "schema": { - "title": "PostBanUserUndoResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14185,14 +14272,21 @@ }, { "$ref": "#/components/schemas/RemoveCommentActionResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -14244,20 +14338,22 @@ "content": { "application/json": { "schema": { - "title": "PostRestoreDeletedCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" } } } - } - }, + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } + }, "tags": [ "Moderation" ], @@ -14307,15 +14403,17 @@ "content": { "application/json": { "schema": { - "title": "PostFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14370,15 +14468,17 @@ "content": { "application/json": { "schema": { - "title": "PostUnFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14433,15 +14533,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentReviewStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14504,15 +14606,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentSpamStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14583,15 +14687,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentApprovalStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetCommentApprovedResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetCommentApprovedResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14654,15 +14760,17 @@ "content": { "application/json": { "schema": { - "title": "GetLogsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14709,15 +14817,17 @@ "content": { "application/json": { "schema": { - "title": "GetModerationCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPICommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPICommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14780,15 +14890,17 @@ "content": { "application/json": { "schema": { - "title": "PostCommentsByIdsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14837,15 +14949,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentChildrenResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14892,15 +15006,17 @@ "content": { "application/json": { "schema": { - "title": "GetModerationCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14947,15 +15063,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15020,15 +15138,17 @@ "content": { "application/json": { "schema": { - "title": "PostAdjustCommentVotesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AdjustVotesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AdjustVotesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15093,15 +15213,17 @@ "content": { "application/json": { "schema": { - "title": "PostVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15164,15 +15286,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteModerationVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15235,15 +15359,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentBanStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentBanStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentBanStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15290,15 +15416,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBanPreferenceResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15337,15 +15465,17 @@ "content": { "application/json": { "schema": { - "title": "GetManualBadgesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantManualBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantManualBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15384,15 +15514,17 @@ "content": { "application/json": { "schema": { - "title": "GetManualBadgesForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserManualBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserManualBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15447,15 +15579,17 @@ "content": { "application/json": { "schema": { - "title": "PutAwardBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AwardUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AwardUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15526,15 +15660,17 @@ "content": { "application/json": { "schema": { - "title": "PutRemoveBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/RemoveUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/RemoveUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15605,15 +15741,17 @@ "content": { "application/json": { "schema": { - "title": "GetTrustFactorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserTrustFactorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserTrustFactorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15660,15 +15798,17 @@ "content": { "application/json": { "schema": { - "title": "SetTrustFactorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetUserTrustFactorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetUserTrustFactorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15723,15 +15863,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserInternalProfileResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserInternalProfileResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserInternalProfileResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15778,15 +15920,17 @@ "content": { "application/json": { "schema": { - "title": "PutReopenThreadResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15833,15 +15977,17 @@ "content": { "application/json": { "schema": { - "title": "PutCloseThreadResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15888,15 +16034,17 @@ "content": { "application/json": { "schema": { - "title": "GetCountsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetBannedUsersCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetBannedUsersCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16006,9 +16154,6 @@ }, { "$ref": "#/components/schemas/GifSearchInternalError" - }, - { - "$ref": "#/components/schemas/APIError" } ] } @@ -16024,6 +16169,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -16084,15 +16239,7 @@ "content": { "application/json": { "schema": { - "title": "GetGifLargeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GifGetLargeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GifGetLargeResponse" } } } @@ -16106,6 +16253,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -16141,15 +16298,17 @@ "content": { "application/json": { "schema": { - "title": "FlagCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16204,15 +16363,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16294,15 +16455,17 @@ "content": { "application/json": { "schema": { - "title": "CreateFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16359,15 +16522,17 @@ "content": { "application/json": { "schema": { - "title": "ReactFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ReactFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ReactFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16440,15 +16605,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserReactsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UserReactsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UserReactsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16498,15 +16665,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16570,30 +16739,33 @@ "application/json": { "schema": { "title": "DeleteFeedPostPublicResponse", - "anyOf": [ - { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status" - ], - "type": "object" - }, - { - "$ref": "#/components/schemas/APIError" + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" } - ] + }, + "required": [ + "status" + ], + "type": "object" } } } - } - }, - "tags": [ - "Public" - ], + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } + }, + "tags": [ + "Public" + ], "security": [], "parameters": [ { @@ -16640,15 +16812,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsStatsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FeedPostsStatsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FeedPostsStatsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16698,15 +16872,17 @@ "content": { "application/json": { "schema": { - "title": "GetEventLogResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEventLogResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEventLogResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16772,15 +16948,17 @@ "content": { "application/json": { "schema": { - "title": "GetGlobalEventLogResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEventLogResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEventLogResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16846,15 +17024,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16909,15 +17089,17 @@ "content": { "application/json": { "schema": { - "title": "SetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16990,15 +17172,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentsForUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentsForUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17078,15 +17262,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17341,15 +17527,17 @@ "content": { "application/json": { "schema": { - "title": "CreateCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17422,15 +17610,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17493,15 +17683,17 @@ "content": { "application/json": { "schema": { - "title": "CheckedCommentsForBlockedResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CheckBlockedCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CheckBlockedCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17549,15 +17741,17 @@ "content": { "application/json": { "schema": { - "title": "VoteCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17638,15 +17832,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17725,15 +17921,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentVoteUserNamesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17789,15 +17987,17 @@ "content": { "application/json": { "schema": { - "title": "PinCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17852,15 +18052,17 @@ "content": { "application/json": { "schema": { - "title": "UnPinCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17915,15 +18117,17 @@ "content": { "application/json": { "schema": { - "title": "LockCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIError" - }, - { - "$ref": "#/components/schemas/APIEmptyResponse" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17978,15 +18182,17 @@ "content": { "application/json": { "schema": { - "title": "UnLockCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIError" - }, - { - "$ref": "#/components/schemas/APIEmptyResponse" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18041,15 +18247,17 @@ "content": { "application/json": { "schema": { - "title": "BlockFromCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BlockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BlockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18104,15 +18312,17 @@ "content": { "application/json": { "schema": { - "title": "UnBlockCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UnblockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UnblockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18920,15 +19130,17 @@ "content": { "application/json": { "schema": { - "title": "GetVotesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetVotesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetVotesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18966,15 +19178,17 @@ "content": { "application/json": { "schema": { - "title": "CreateVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19042,15 +19256,17 @@ "content": { "application/json": { "schema": { - "title": "GetVotesForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetVotesForUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetVotesForUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19106,15 +19322,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19162,15 +19380,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19210,15 +19430,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19256,15 +19478,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptySuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19312,15 +19536,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptySuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19360,15 +19586,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19449,15 +19677,17 @@ "content": { "application/json": { "schema": { - "title": "CreateUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APICreateUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APICreateUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19499,15 +19729,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressByIdResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19547,15 +19779,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressListResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19613,15 +19847,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressByUserIdResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19661,15 +19897,17 @@ "content": { "application/json": { "schema": { - "title": "GetTicketsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTicketsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTicketsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19734,15 +19972,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTicketResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTicketResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTicketResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19792,15 +20032,17 @@ "content": { "application/json": { "schema": { - "title": "GetTicketResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTicketResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTicketResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19848,19 +20090,21 @@ "content": { "application/json": { "schema": { - "title": "ChangeTicketStateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeTicketStateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeTicketStateResponse" } } } - } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } }, "security": [ { @@ -19914,15 +20158,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19960,15 +20206,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20016,15 +20264,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20072,15 +20322,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20127,15 +20379,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20177,15 +20431,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20223,15 +20479,17 @@ "content": { "application/json": { "schema": { - "title": "ReplaceTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20287,15 +20545,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20351,15 +20611,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20415,15 +20677,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantUsersResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantUsersResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20462,15 +20726,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20512,15 +20778,17 @@ "content": { "application/json": { "schema": { - "title": "SendLoginLinkResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20568,15 +20836,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantPackageResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantPackageResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20614,15 +20884,17 @@ "content": { "application/json": { "schema": { - "title": "ReplaceTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20670,15 +20942,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20726,15 +21000,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20774,15 +21050,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantPackagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantPackagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantPackagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20821,15 +21099,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantPackageResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantPackageResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20871,15 +21151,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantDailyUsagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20947,15 +21229,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionResultResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionResultResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20993,15 +21277,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21049,15 +21335,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21097,15 +21385,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21184,15 +21474,17 @@ "content": { "application/json": { "schema": { - "title": "CreateQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateQuestionResultResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateQuestionResultResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21234,15 +21526,17 @@ "content": { "application/json": { "schema": { - "title": "AggregateQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AggregateQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AggregateQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21326,15 +21620,17 @@ "content": { "application/json": { "schema": { - "title": "BulkAggregateQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21384,15 +21680,17 @@ "content": { "application/json": { "schema": { - "title": "CombineCommentsWithQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21495,15 +21793,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionConfigResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionConfigResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21541,15 +21841,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21597,15 +21899,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21645,15 +21949,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionConfigsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionConfigsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionConfigsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21692,15 +21998,17 @@ "content": { "application/json": { "schema": { - "title": "CreateQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateQuestionConfigResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateQuestionConfigResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21742,15 +22050,17 @@ "content": { "application/json": { "schema": { - "title": "GetPendingWebhookEventsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21840,15 +22150,17 @@ "content": { "application/json": { "schema": { - "title": "GetPendingWebhookEventCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21929,15 +22241,17 @@ "content": { "application/json": { "schema": { - "title": "DeletePendingWebhookEventResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21977,15 +22291,17 @@ "content": { "application/json": { "schema": { - "title": "GetNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22066,15 +22382,17 @@ "content": { "application/json": { "schema": { - "title": "GetNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22146,15 +22464,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateNotificationResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22212,15 +22532,17 @@ "content": { "application/json": { "schema": { - "title": "GetCachedNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCachedNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCachedNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22258,15 +22580,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22306,15 +22630,17 @@ "content": { "application/json": { "schema": { - "title": "GetModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetModeratorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetModeratorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22352,15 +22678,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22408,15 +22736,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22464,15 +22794,17 @@ "content": { "application/json": { "schema": { - "title": "GetModeratorsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetModeratorsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetModeratorsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22511,15 +22843,17 @@ "content": { "application/json": { "schema": { - "title": "CreateModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateModeratorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateModeratorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22561,15 +22895,17 @@ "content": { "application/json": { "schema": { - "title": "SendInviteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22617,15 +22953,17 @@ "content": { "application/json": { "schema": { - "title": "GetHashTagsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetHashTagsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetHashTagsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22664,15 +23002,17 @@ "content": { "application/json": { "schema": { - "title": "AddHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateHashTagResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateHashTagResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22714,15 +23054,17 @@ "content": { "application/json": { "schema": { - "title": "AddHashTagsBulkResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkCreateHashTagsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkCreateHashTagsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22764,15 +23106,17 @@ "content": { "application/json": { "schema": { - "title": "PatchHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UpdateHashTagResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UpdateHashTagResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22820,15 +23164,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22884,15 +23230,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22951,15 +23299,17 @@ "content": { "application/json": { "schema": { - "title": "CreateFeedPostResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23033,15 +23383,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateFeedPostResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23091,15 +23443,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateDefinitionsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23131,15 +23485,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateRenderErrorsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23188,15 +23544,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteEmailTemplateRenderErrorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23244,15 +23602,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23290,15 +23650,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23346,15 +23708,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23394,15 +23758,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplatesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplatesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplatesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23441,15 +23807,17 @@ "content": { "application/json": { "schema": { - "title": "CreateEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23491,15 +23859,17 @@ "content": { "application/json": { "schema": { - "title": "RenderEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/RenderEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/RenderEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23954,15 +24324,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24000,15 +24372,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24080,15 +24454,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteCommentResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteCommentResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24144,15 +24520,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24318,15 +24696,17 @@ "content": { "application/json": { "schema": { - "title": "SaveCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APISaveCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APISaveCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24488,15 +24868,17 @@ "content": { "application/json": { "schema": { - "title": "FlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FlagCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FlagCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24552,15 +24934,17 @@ "content": { "application/json": { "schema": { - "title": "UnFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FlagCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FlagCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24616,15 +25000,17 @@ "content": { "application/json": { "schema": { - "title": "BlockUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BlockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BlockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24690,15 +25076,17 @@ "content": { "application/json": { "schema": { - "title": "UnBlockUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UnblockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UnblockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24764,15 +25152,17 @@ "content": { "application/json": { "schema": { - "title": "GetAuditLogsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetAuditLogsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetAuditLogsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } From 32e4c1239780966788b54f08fdd47e25a2a3b357 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 16:04:21 -0700 Subject: [PATCH 3/6] Bump version to 2.0.1 (patch over the 2.0.0 Moderation API release) --- Cargo.lock | 2 +- Cargo.toml | 2 +- client/README.md | 2 +- config.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 59ab6b1..b5ad0ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "fastcomments-sdk" -version = "2.0.0" +version = "2.0.1" dependencies = [ "base64", "chrono", diff --git a/Cargo.toml b/Cargo.toml index fba144b..2f92cfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastcomments-sdk" -version = "2.0.0" +version = "2.0.1" authors = ["FastComments "] description = "Official FastComments Rust SDK (Typed API Client & Utilities)" license = "MIT" diff --git a/client/README.md b/client/README.md index 3552d80..7c8dabc 100644 --- a/client/README.md +++ b/client/README.md @@ -8,7 +8,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 0.0.0 -- Package version: 2.0.0 +- Package version: 2.0.1 - Generator version: 7.23.0-SNAPSHOT - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/config.json b/config.json index b105993..24c7739 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "packageName": "fastcomments_rust", - "packageVersion": "2.0.0", + "packageVersion": "2.0.1", "authorName": "FastComments", "authorEmail": "support@fastcomments.com", "licenseName": "MIT", From 509f64c17101755c7a56dfabf9bd86a7b017f8c6 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 29 Jun 2026 17:07:23 -0700 Subject: [PATCH 4/6] Regenerate from updated spec: mod_api/ moderation paths + PostRemoveCommentApiResponse rename Moderation endpoints gained a mod_api/ path segment; PostRemoveCommentResponse renamed to PostRemoveCommentApiResponse. --- client/.openapi-generator/FILES | 4 +- client/README.md | 88 +-- client/docs/DefaultApi.md | 12 +- client/docs/ModerationApi.md | 254 +++---- ...nse.md => PostRemoveCommentApiResponse.md} | 2 +- client/src/apis/default_api.rs | 24 +- client/src/apis/moderation_api.rs | 350 ++++------ client/src/models/mod.rs | 4 +- ...rs => post_remove_comment_api_response.rs} | 8 +- openapi.json | 634 +++++++++--------- 10 files changed, 643 insertions(+), 737 deletions(-) rename client/docs/{PostRemoveCommentResponse.md => PostRemoveCommentApiResponse.md} (91%) rename client/src/models/{post_remove_comment_response.rs => post_remove_comment_api_response.rs} (81%) diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index d814395..21803f2 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -264,7 +264,7 @@ docs/PatchDomainConfigResponse.md docs/PatchPageApiResponse.md docs/PatchSsoUserApiResponse.md docs/PendingCommentToSyncOutbound.md -docs/PostRemoveCommentResponse.md +docs/PostRemoveCommentApiResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -633,7 +633,7 @@ src/models/patch_domain_config_response.rs src/models/patch_page_api_response.rs src/models/patch_sso_user_api_response.rs src/models/pending_comment_to_sync_outbound.rs -src/models/post_remove_comment_response.rs +src/models/post_remove_comment_api_response.rs src/models/pre_ban_summary.rs src/models/pub_sub_comment.rs src/models/pub_sub_comment_base.rs diff --git a/client/README.md b/client/README.md index 7c8dabc..e426d18 100644 --- a/client/README.md +++ b/client/README.md @@ -140,49 +140,49 @@ Class | Method | HTTP request | Description *DefaultApi* | [**update_tenant_package**](docs/DefaultApi.md#update_tenant_package) | **PATCH** /api/v1/tenant-packages/{id} | *DefaultApi* | [**update_tenant_user**](docs/DefaultApi.md#update_tenant_user) | **PATCH** /api/v1/tenant-users/{id} | *DefaultApi* | [**update_user_badge**](docs/DefaultApi.md#update_user_badge) | **PUT** /api/v1/user-badges/{id} | -*ModerationApi* | [**delete_moderation_vote**](docs/ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -*ModerationApi* | [**get_api_comments**](docs/ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/api/comments | -*ModerationApi* | [**get_api_export_status**](docs/ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/api/export/status | -*ModerationApi* | [**get_api_ids**](docs/ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/api/ids | -*ModerationApi* | [**get_ban_users_from_comment**](docs/ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -*ModerationApi* | [**get_comment_ban_status**](docs/ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -*ModerationApi* | [**get_comment_children**](docs/ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | -*ModerationApi* | [**get_count**](docs/ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/count | -*ModerationApi* | [**get_counts**](docs/ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | -*ModerationApi* | [**get_logs**](docs/ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | -*ModerationApi* | [**get_manual_badges**](docs/ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | -*ModerationApi* | [**get_manual_badges_for_user**](docs/ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | -*ModerationApi* | [**get_moderation_comment**](docs/ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | -*ModerationApi* | [**get_moderation_comment_text**](docs/ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -*ModerationApi* | [**get_pre_ban_summary**](docs/ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -*ModerationApi* | [**get_search_comments_summary**](docs/ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | -*ModerationApi* | [**get_search_pages**](docs/ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/search/pages | -*ModerationApi* | [**get_search_sites**](docs/ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/search/sites | -*ModerationApi* | [**get_search_suggest**](docs/ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/search/suggest | -*ModerationApi* | [**get_search_users**](docs/ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/search/users | -*ModerationApi* | [**get_trust_factor**](docs/ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | -*ModerationApi* | [**get_user_ban_preference**](docs/ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | -*ModerationApi* | [**get_user_internal_profile**](docs/ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | -*ModerationApi* | [**post_adjust_comment_votes**](docs/ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -*ModerationApi* | [**post_api_export**](docs/ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/api/export | -*ModerationApi* | [**post_ban_user_from_comment**](docs/ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -*ModerationApi* | [**post_ban_user_undo**](docs/ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | -*ModerationApi* | [**post_bulk_pre_ban_summary**](docs/ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -*ModerationApi* | [**post_comments_by_ids**](docs/ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/comments-by-ids | -*ModerationApi* | [**post_flag_comment**](docs/ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | -*ModerationApi* | [**post_remove_comment**](docs/ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | -*ModerationApi* | [**post_restore_deleted_comment**](docs/ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -*ModerationApi* | [**post_set_comment_approval_status**](docs/ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -*ModerationApi* | [**post_set_comment_review_status**](docs/ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -*ModerationApi* | [**post_set_comment_spam_status**](docs/ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -*ModerationApi* | [**post_set_comment_text**](docs/ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -*ModerationApi* | [**post_un_flag_comment**](docs/ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -*ModerationApi* | [**post_vote**](docs/ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | -*ModerationApi* | [**put_award_badge**](docs/ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/award-badge | -*ModerationApi* | [**put_close_thread**](docs/ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/close-thread | -*ModerationApi* | [**put_remove_badge**](docs/ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/remove-badge | -*ModerationApi* | [**put_reopen_thread**](docs/ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | -*ModerationApi* | [**set_trust_factor**](docs/ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | +*ModerationApi* | [**delete_moderation_vote**](docs/ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +*ModerationApi* | [**get_api_comments**](docs/ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | +*ModerationApi* | [**get_api_export_status**](docs/ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | +*ModerationApi* | [**get_api_ids**](docs/ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | +*ModerationApi* | [**get_ban_users_from_comment**](docs/ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +*ModerationApi* | [**get_comment_ban_status**](docs/ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +*ModerationApi* | [**get_comment_children**](docs/ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +*ModerationApi* | [**get_count**](docs/ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/mod_api/count | +*ModerationApi* | [**get_counts**](docs/ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +*ModerationApi* | [**get_logs**](docs/ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +*ModerationApi* | [**get_manual_badges**](docs/ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +*ModerationApi* | [**get_manual_badges_for_user**](docs/ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +*ModerationApi* | [**get_moderation_comment**](docs/ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +*ModerationApi* | [**get_moderation_comment_text**](docs/ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +*ModerationApi* | [**get_pre_ban_summary**](docs/ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +*ModerationApi* | [**get_search_comments_summary**](docs/ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +*ModerationApi* | [**get_search_pages**](docs/ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | +*ModerationApi* | [**get_search_sites**](docs/ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | +*ModerationApi* | [**get_search_suggest**](docs/ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | +*ModerationApi* | [**get_search_users**](docs/ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | +*ModerationApi* | [**get_trust_factor**](docs/ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +*ModerationApi* | [**get_user_ban_preference**](docs/ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +*ModerationApi* | [**get_user_internal_profile**](docs/ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +*ModerationApi* | [**post_adjust_comment_votes**](docs/ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +*ModerationApi* | [**post_api_export**](docs/ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | +*ModerationApi* | [**post_ban_user_from_comment**](docs/ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +*ModerationApi* | [**post_ban_user_undo**](docs/ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +*ModerationApi* | [**post_bulk_pre_ban_summary**](docs/ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +*ModerationApi* | [**post_comments_by_ids**](docs/ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +*ModerationApi* | [**post_flag_comment**](docs/ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +*ModerationApi* | [**post_remove_comment**](docs/ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +*ModerationApi* | [**post_restore_deleted_comment**](docs/ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +*ModerationApi* | [**post_set_comment_approval_status**](docs/ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +*ModerationApi* | [**post_set_comment_review_status**](docs/ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +*ModerationApi* | [**post_set_comment_spam_status**](docs/ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +*ModerationApi* | [**post_set_comment_text**](docs/ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +*ModerationApi* | [**post_un_flag_comment**](docs/ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +*ModerationApi* | [**post_vote**](docs/ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +*ModerationApi* | [**put_award_badge**](docs/ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | +*ModerationApi* | [**put_close_thread**](docs/ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | +*ModerationApi* | [**put_remove_badge**](docs/ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | +*ModerationApi* | [**put_reopen_thread**](docs/ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | +*ModerationApi* | [**set_trust_factor**](docs/ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | *PublicApi* | [**block_from_comment_public**](docs/PublicApi.md#block_from_comment_public) | **POST** /block-from-comment/{commentId} | *PublicApi* | [**checked_comments_for_blocked**](docs/PublicApi.md#checked_comments_for_blocked) | **GET** /check-blocked-comments | *PublicApi* | [**create_comment_public**](docs/PublicApi.md#create_comment_public) | **POST** /comments/{tenantId} | @@ -498,7 +498,7 @@ Class | Method | HTTP request | Description - [PatchPageApiResponse](docs/PatchPageApiResponse.md) - [PatchSsoUserApiResponse](docs/PatchSsoUserApiResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRemoveCommentApiResponse](docs/PostRemoveCommentApiResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md index 91abd85..09209c3 100644 --- a/client/docs/DefaultApi.md +++ b/client/docs/DefaultApi.md @@ -160,7 +160,7 @@ Name | Type | Description | Required | Notes Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**tenant_id** | Option<**String**> | | | +**tenant_id** | **String** | | [required] | **create_hash_tag_body** | Option<[**CreateHashTagBody**](CreateHashTagBody.md)> | | | ### Return type @@ -189,7 +189,7 @@ Name | Type | Description | Required | Notes Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**tenant_id** | Option<**String**> | | | +**tenant_id** | **String** | | [required] | **bulk_create_hash_tags_body** | Option<[**BulkCreateHashTagsBody**](BulkCreateHashTagsBody.md)> | | | ### Return type @@ -939,7 +939,7 @@ Name | Type | Description | Required | Notes ## delete_hash_tag -> models::ApiEmptyResponse delete_hash_tag(tag, tenant_id, delete_hash_tag_request_body) +> models::ApiEmptyResponse delete_hash_tag(tenant_id, tag, delete_hash_tag_request_body) ### Parameters @@ -947,8 +947,8 @@ Name | Type | Description | Required | Notes Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **tag** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **delete_hash_tag_request_body** | Option<[**DeleteHashTagRequestBody**](DeleteHashTagRequestBody.md)> | | | ### Return type @@ -2783,7 +2783,7 @@ Name | Type | Description | Required | Notes ## patch_hash_tag -> models::UpdateHashTagResponse patch_hash_tag(tag, tenant_id, update_hash_tag_body) +> models::UpdateHashTagResponse patch_hash_tag(tenant_id, tag, update_hash_tag_body) ### Parameters @@ -2791,8 +2791,8 @@ Name | Type | Description | Required | Notes Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **tag** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **update_hash_tag_body** | Option<[**UpdateHashTagBody**](UpdateHashTagBody.md)> | | | ### Return type diff --git a/client/docs/ModerationApi.md b/client/docs/ModerationApi.md index a17e168..aadf700 100644 --- a/client/docs/ModerationApi.md +++ b/client/docs/ModerationApi.md @@ -4,55 +4,55 @@ All URIs are relative to *https://fastcomments.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**delete_moderation_vote**](ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -[**get_api_comments**](ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/api/comments | -[**get_api_export_status**](ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/api/export/status | -[**get_api_ids**](ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/api/ids | -[**get_ban_users_from_comment**](ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -[**get_comment_ban_status**](ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -[**get_comment_children**](ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | -[**get_count**](ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/count | -[**get_counts**](ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | -[**get_logs**](ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | -[**get_manual_badges**](ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | -[**get_manual_badges_for_user**](ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | -[**get_moderation_comment**](ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | -[**get_moderation_comment_text**](ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -[**get_pre_ban_summary**](ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -[**get_search_comments_summary**](ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | -[**get_search_pages**](ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/search/pages | -[**get_search_sites**](ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/search/sites | -[**get_search_suggest**](ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/search/suggest | -[**get_search_users**](ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/search/users | -[**get_trust_factor**](ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | -[**get_user_ban_preference**](ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | -[**get_user_internal_profile**](ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | -[**post_adjust_comment_votes**](ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -[**post_api_export**](ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/api/export | -[**post_ban_user_from_comment**](ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -[**post_ban_user_undo**](ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | -[**post_bulk_pre_ban_summary**](ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -[**post_comments_by_ids**](ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/comments-by-ids | -[**post_flag_comment**](ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | -[**post_remove_comment**](ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | -[**post_restore_deleted_comment**](ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -[**post_set_comment_approval_status**](ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -[**post_set_comment_review_status**](ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -[**post_set_comment_spam_status**](ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -[**post_set_comment_text**](ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -[**post_un_flag_comment**](ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -[**post_vote**](ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | -[**put_award_badge**](ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/award-badge | -[**put_close_thread**](ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/close-thread | -[**put_remove_badge**](ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/remove-badge | -[**put_reopen_thread**](ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | -[**set_trust_factor**](ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | +[**delete_moderation_vote**](ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +[**get_api_comments**](ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | +[**get_api_export_status**](ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | +[**get_api_ids**](ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | +[**get_ban_users_from_comment**](ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +[**get_comment_ban_status**](ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +[**get_comment_children**](ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +[**get_count**](ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/mod_api/count | +[**get_counts**](ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +[**get_logs**](ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +[**get_manual_badges**](ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +[**get_manual_badges_for_user**](ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +[**get_moderation_comment**](ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +[**get_moderation_comment_text**](ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +[**get_pre_ban_summary**](ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +[**get_search_comments_summary**](ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +[**get_search_pages**](ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | +[**get_search_sites**](ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | +[**get_search_suggest**](ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | +[**get_search_users**](ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | +[**get_trust_factor**](ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +[**get_user_ban_preference**](ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +[**get_user_internal_profile**](ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +[**post_adjust_comment_votes**](ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +[**post_api_export**](ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | +[**post_ban_user_from_comment**](ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +[**post_ban_user_undo**](ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +[**post_bulk_pre_ban_summary**](ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +[**post_comments_by_ids**](ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +[**post_flag_comment**](ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +[**post_remove_comment**](ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +[**post_restore_deleted_comment**](ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +[**post_set_comment_approval_status**](ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +[**post_set_comment_review_status**](ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +[**post_set_comment_spam_status**](ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +[**post_set_comment_text**](ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +[**post_un_flag_comment**](ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +[**post_vote**](ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +[**put_award_badge**](ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | +[**put_close_thread**](ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | +[**put_remove_badge**](ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | +[**put_reopen_thread**](ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | +[**set_trust_factor**](ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | ## delete_moderation_vote -> models::VoteDeleteResponse delete_moderation_vote(comment_id, vote_id, broadcast_id, tenant_id, sso) +> models::VoteDeleteResponse delete_moderation_vote(tenant_id, comment_id, vote_id, broadcast_id, sso) ### Parameters @@ -60,10 +60,10 @@ Method | HTTP request | Description Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **vote_id** | **String** | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -84,7 +84,7 @@ No authorization required ## get_api_comments -> models::ModerationApiGetCommentsResponse get_api_comments(page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, tenant_id, sso) +> models::ModerationApiGetCommentsResponse get_api_comments(tenant_id, page, count, text_search, by_ip_from_comment, filters, search_filters, sorts, demo, sso) ### Parameters @@ -92,6 +92,7 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **page** | Option<**f64**> | | | **count** | Option<**f64**> | | | **text_search** | Option<**String**> | | | @@ -100,7 +101,6 @@ Name | Type | Description | Required | Notes **search_filters** | Option<**String**> | | | **sorts** | Option<**String**> | | | **demo** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -121,7 +121,7 @@ No authorization required ## get_api_export_status -> models::ModerationExportStatusResponse get_api_export_status(batch_job_id, tenant_id, sso) +> models::ModerationExportStatusResponse get_api_export_status(tenant_id, batch_job_id, sso) ### Parameters @@ -129,8 +129,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **batch_job_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -151,7 +151,7 @@ No authorization required ## get_api_ids -> models::ModerationApiGetCommentIdsResponse get_api_ids(text_search, by_ip_from_comment, filters, search_filters, after_id, demo, tenant_id, sso) +> models::ModerationApiGetCommentIdsResponse get_api_ids(tenant_id, text_search, by_ip_from_comment, filters, search_filters, after_id, demo, sso) ### Parameters @@ -159,13 +159,13 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **text_search** | Option<**String**> | | | **by_ip_from_comment** | Option<**String**> | | | **filters** | Option<**String**> | | | **search_filters** | Option<**String**> | | | **after_id** | Option<**String**> | | | **demo** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -186,7 +186,7 @@ No authorization required ## get_ban_users_from_comment -> models::GetBannedUsersFromCommentResponse get_ban_users_from_comment(comment_id, tenant_id, sso) +> models::GetBannedUsersFromCommentResponse get_ban_users_from_comment(tenant_id, comment_id, sso) ### Parameters @@ -194,8 +194,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -216,7 +216,7 @@ No authorization required ## get_comment_ban_status -> models::GetCommentBanStatusResponse get_comment_ban_status(comment_id, tenant_id, sso) +> models::GetCommentBanStatusResponse get_comment_ban_status(tenant_id, comment_id, sso) ### Parameters @@ -224,8 +224,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -246,7 +246,7 @@ No authorization required ## get_comment_children -> models::ModerationApiChildCommentsResponse get_comment_children(comment_id, tenant_id, sso) +> models::ModerationApiChildCommentsResponse get_comment_children(tenant_id, comment_id, sso) ### Parameters @@ -254,8 +254,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -276,7 +276,7 @@ No authorization required ## get_count -> models::ModerationApiCountCommentsResponse get_count(text_search, by_ip_from_comment, filter, search_filters, demo, tenant_id, sso) +> models::ModerationApiCountCommentsResponse get_count(tenant_id, text_search, by_ip_from_comment, filter, search_filters, demo, sso) ### Parameters @@ -284,12 +284,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **text_search** | Option<**String**> | | | **by_ip_from_comment** | Option<**String**> | | | **filter** | Option<**String**> | | | **search_filters** | Option<**String**> | | | **demo** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -318,7 +318,7 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**tenant_id** | Option<**String**> | | | +**tenant_id** | **String** | | [required] | **sso** | Option<**String**> | | | ### Return type @@ -339,7 +339,7 @@ No authorization required ## get_logs -> models::ModerationApiGetLogsResponse get_logs(comment_id, tenant_id, sso) +> models::ModerationApiGetLogsResponse get_logs(tenant_id, comment_id, sso) ### Parameters @@ -347,8 +347,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -377,7 +377,7 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**tenant_id** | Option<**String**> | | | +**tenant_id** | **String** | | [required] | **sso** | Option<**String**> | | | ### Return type @@ -398,7 +398,7 @@ No authorization required ## get_manual_badges_for_user -> models::GetUserManualBadgesResponse get_manual_badges_for_user(badges_user_id, comment_id, tenant_id, sso) +> models::GetUserManualBadgesResponse get_manual_badges_for_user(tenant_id, badges_user_id, comment_id, sso) ### Parameters @@ -406,9 +406,9 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **badges_user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -429,7 +429,7 @@ No authorization required ## get_moderation_comment -> models::ModerationApiCommentResponse get_moderation_comment(comment_id, include_email, include_ip, tenant_id, sso) +> models::ModerationApiCommentResponse get_moderation_comment(tenant_id, comment_id, include_email, include_ip, sso) ### Parameters @@ -437,10 +437,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **include_email** | Option<**bool**> | | | **include_ip** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -461,7 +461,7 @@ No authorization required ## get_moderation_comment_text -> models::GetCommentTextResponse get_moderation_comment_text(comment_id, tenant_id, sso) +> models::GetCommentTextResponse get_moderation_comment_text(tenant_id, comment_id, sso) ### Parameters @@ -469,8 +469,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -491,7 +491,7 @@ No authorization required ## get_pre_ban_summary -> models::PreBanSummary get_pre_ban_summary(comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) +> models::PreBanSummary get_pre_ban_summary(tenant_id, comment_id, include_by_user_id_and_email, include_by_ip, include_by_email_domain, sso) ### Parameters @@ -499,11 +499,11 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **include_by_user_id_and_email** | Option<**bool**> | | | **include_by_ip** | Option<**bool**> | | | **include_by_email_domain** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -524,7 +524,7 @@ No authorization required ## get_search_comments_summary -> models::ModerationCommentSearchResponse get_search_comments_summary(value, filters, search_filters, tenant_id, sso) +> models::ModerationCommentSearchResponse get_search_comments_summary(tenant_id, value, filters, search_filters, sso) ### Parameters @@ -532,10 +532,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **value** | Option<**String**> | | | **filters** | Option<**String**> | | | **search_filters** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -556,7 +556,7 @@ No authorization required ## get_search_pages -> models::ModerationPageSearchResponse get_search_pages(value, tenant_id, sso) +> models::ModerationPageSearchResponse get_search_pages(tenant_id, value, sso) ### Parameters @@ -564,8 +564,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **value** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -586,7 +586,7 @@ No authorization required ## get_search_sites -> models::ModerationSiteSearchResponse get_search_sites(value, tenant_id, sso) +> models::ModerationSiteSearchResponse get_search_sites(tenant_id, value, sso) ### Parameters @@ -594,8 +594,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **value** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -616,7 +616,7 @@ No authorization required ## get_search_suggest -> models::ModerationSuggestResponse get_search_suggest(text_search, tenant_id, sso) +> models::ModerationSuggestResponse get_search_suggest(tenant_id, text_search, sso) ### Parameters @@ -624,8 +624,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **text_search** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -646,7 +646,7 @@ No authorization required ## get_search_users -> models::ModerationUserSearchResponse get_search_users(value, tenant_id, sso) +> models::ModerationUserSearchResponse get_search_users(tenant_id, value, sso) ### Parameters @@ -654,8 +654,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **value** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -676,7 +676,7 @@ No authorization required ## get_trust_factor -> models::GetUserTrustFactorResponse get_trust_factor(user_id, tenant_id, sso) +> models::GetUserTrustFactorResponse get_trust_factor(tenant_id, user_id, sso) ### Parameters @@ -684,8 +684,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **user_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -714,7 +714,7 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**tenant_id** | Option<**String**> | | | +**tenant_id** | **String** | | [required] | **sso** | Option<**String**> | | | ### Return type @@ -735,7 +735,7 @@ No authorization required ## get_user_internal_profile -> models::GetUserInternalProfileResponse get_user_internal_profile(comment_id, tenant_id, sso) +> models::GetUserInternalProfileResponse get_user_internal_profile(tenant_id, comment_id, sso) ### Parameters @@ -743,8 +743,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -765,7 +765,7 @@ No authorization required ## post_adjust_comment_votes -> models::AdjustVotesResponse post_adjust_comment_votes(comment_id, adjust_comment_votes_params, broadcast_id, tenant_id, sso) +> models::AdjustVotesResponse post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, broadcast_id, sso) ### Parameters @@ -773,10 +773,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **adjust_comment_votes_params** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -797,7 +797,7 @@ No authorization required ## post_api_export -> models::ModerationExportResponse post_api_export(text_search, by_ip_from_comment, filters, search_filters, sorts, tenant_id, sso) +> models::ModerationExportResponse post_api_export(tenant_id, text_search, by_ip_from_comment, filters, search_filters, sorts, sso) ### Parameters @@ -805,12 +805,12 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **text_search** | Option<**String**> | | | **by_ip_from_comment** | Option<**String**> | | | **filters** | Option<**String**> | | | **search_filters** | Option<**String**> | | | **sorts** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -831,7 +831,7 @@ No authorization required ## post_ban_user_from_comment -> models::BanUserFromCommentResult post_ban_user_from_comment(comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, tenant_id, sso) +> models::BanUserFromCommentResult post_ban_user_from_comment(tenant_id, comment_id, ban_email, ban_email_domain, ban_ip, delete_all_users_comments, banned_until, is_shadow_ban, update_id, ban_reason, sso) ### Parameters @@ -839,6 +839,7 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **ban_email** | Option<**bool**> | | | **ban_email_domain** | Option<**bool**> | | | @@ -848,7 +849,6 @@ Name | Type | Description | Required | Notes **is_shadow_ban** | Option<**bool**> | | | **update_id** | Option<**String**> | | | **ban_reason** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -869,7 +869,7 @@ No authorization required ## post_ban_user_undo -> models::ApiEmptyResponse post_ban_user_undo(ban_user_undo_params, tenant_id, sso) +> models::ApiEmptyResponse post_ban_user_undo(tenant_id, ban_user_undo_params, sso) ### Parameters @@ -877,8 +877,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **ban_user_undo_params** | [**BanUserUndoParams**](BanUserUndoParams.md) | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -899,7 +899,7 @@ No authorization required ## post_bulk_pre_ban_summary -> models::BulkPreBanSummary post_bulk_pre_ban_summary(bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, tenant_id, sso) +> models::BulkPreBanSummary post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, include_by_user_id_and_email, include_by_ip, include_by_email_domain, sso) ### Parameters @@ -907,11 +907,11 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **bulk_pre_ban_params** | [**BulkPreBanParams**](BulkPreBanParams.md) | | [required] | **include_by_user_id_and_email** | Option<**bool**> | | | **include_by_ip** | Option<**bool**> | | | **include_by_email_domain** | Option<**bool**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -932,7 +932,7 @@ No authorization required ## post_comments_by_ids -> models::ModerationApiChildCommentsResponse post_comments_by_ids(comments_by_ids_params, tenant_id, sso) +> models::ModerationApiChildCommentsResponse post_comments_by_ids(tenant_id, comments_by_ids_params, sso) ### Parameters @@ -940,8 +940,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comments_by_ids_params** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -962,7 +962,7 @@ No authorization required ## post_flag_comment -> models::ApiEmptyResponse post_flag_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_flag_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -970,9 +970,9 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -993,7 +993,7 @@ No authorization required ## post_remove_comment -> models::PostRemoveCommentResponse post_remove_comment(comment_id, broadcast_id, tenant_id, sso) +> models::PostRemoveCommentApiResponse post_remove_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1001,14 +1001,14 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type -[**models::PostRemoveCommentResponse**](PostRemoveCommentResponse.md) +[**models::PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md) ### Authorization @@ -1024,7 +1024,7 @@ No authorization required ## post_restore_deleted_comment -> models::ApiEmptyResponse post_restore_deleted_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_restore_deleted_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1032,9 +1032,9 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1055,7 +1055,7 @@ No authorization required ## post_set_comment_approval_status -> models::SetCommentApprovedResponse post_set_comment_approval_status(comment_id, approved, broadcast_id, tenant_id, sso) +> models::SetCommentApprovedResponse post_set_comment_approval_status(tenant_id, comment_id, approved, broadcast_id, sso) ### Parameters @@ -1063,10 +1063,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **approved** | Option<**bool**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1087,7 +1087,7 @@ No authorization required ## post_set_comment_review_status -> models::ApiEmptyResponse post_set_comment_review_status(comment_id, reviewed, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_set_comment_review_status(tenant_id, comment_id, reviewed, broadcast_id, sso) ### Parameters @@ -1095,10 +1095,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **reviewed** | Option<**bool**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1119,7 +1119,7 @@ No authorization required ## post_set_comment_spam_status -> models::ApiEmptyResponse post_set_comment_spam_status(comment_id, spam, perm_not_spam, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_set_comment_spam_status(tenant_id, comment_id, spam, perm_not_spam, broadcast_id, sso) ### Parameters @@ -1127,11 +1127,11 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **spam** | Option<**bool**> | | | **perm_not_spam** | Option<**bool**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1152,7 +1152,7 @@ No authorization required ## post_set_comment_text -> models::SetCommentTextResponse post_set_comment_text(comment_id, set_comment_text_params, broadcast_id, tenant_id, sso) +> models::SetCommentTextResponse post_set_comment_text(tenant_id, comment_id, set_comment_text_params, broadcast_id, sso) ### Parameters @@ -1160,10 +1160,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **set_comment_text_params** | [**SetCommentTextParams**](SetCommentTextParams.md) | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1184,7 +1184,7 @@ No authorization required ## post_un_flag_comment -> models::ApiEmptyResponse post_un_flag_comment(comment_id, broadcast_id, tenant_id, sso) +> models::ApiEmptyResponse post_un_flag_comment(tenant_id, comment_id, broadcast_id, sso) ### Parameters @@ -1192,9 +1192,9 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1215,7 +1215,7 @@ No authorization required ## post_vote -> models::VoteResponse post_vote(comment_id, direction, broadcast_id, tenant_id, sso) +> models::VoteResponse post_vote(tenant_id, comment_id, direction, broadcast_id, sso) ### Parameters @@ -1223,10 +1223,10 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **comment_id** | **String** | | [required] | **direction** | Option<**String**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1247,7 +1247,7 @@ No authorization required ## put_award_badge -> models::AwardUserBadgeResponse put_award_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) +> models::AwardUserBadgeResponse put_award_badge(tenant_id, badge_id, user_id, comment_id, broadcast_id, sso) ### Parameters @@ -1255,11 +1255,11 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **badge_id** | **String** | | [required] | **user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1280,7 +1280,7 @@ No authorization required ## put_close_thread -> models::ApiEmptyResponse put_close_thread(url_id, tenant_id, sso) +> models::ApiEmptyResponse put_close_thread(tenant_id, url_id, sso) ### Parameters @@ -1288,8 +1288,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **url_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1310,7 +1310,7 @@ No authorization required ## put_remove_badge -> models::RemoveUserBadgeResponse put_remove_badge(badge_id, user_id, comment_id, broadcast_id, tenant_id, sso) +> models::RemoveUserBadgeResponse put_remove_badge(tenant_id, badge_id, user_id, comment_id, broadcast_id, sso) ### Parameters @@ -1318,11 +1318,11 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **badge_id** | **String** | | [required] | **user_id** | Option<**String**> | | | **comment_id** | Option<**String**> | | | **broadcast_id** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1343,7 +1343,7 @@ No authorization required ## put_reopen_thread -> models::ApiEmptyResponse put_reopen_thread(url_id, tenant_id, sso) +> models::ApiEmptyResponse put_reopen_thread(tenant_id, url_id, sso) ### Parameters @@ -1351,8 +1351,8 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **url_id** | **String** | | [required] | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type @@ -1373,7 +1373,7 @@ No authorization required ## set_trust_factor -> models::SetUserTrustFactorResponse set_trust_factor(user_id, trust_factor, tenant_id, sso) +> models::SetUserTrustFactorResponse set_trust_factor(tenant_id, user_id, trust_factor, sso) ### Parameters @@ -1381,9 +1381,9 @@ No authorization required Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- +**tenant_id** | **String** | | [required] | **user_id** | Option<**String**> | | | **trust_factor** | Option<**String**> | | | -**tenant_id** | Option<**String**> | | | **sso** | Option<**String**> | | | ### Return type diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentApiResponse.md similarity index 91% rename from client/docs/PostRemoveCommentResponse.md rename to client/docs/PostRemoveCommentApiResponse.md index c4f773e..5942330 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentApiResponse.md @@ -1,4 +1,4 @@ -# PostRemoveCommentResponse +# PostRemoveCommentApiResponse ## Properties diff --git a/client/src/apis/default_api.rs b/client/src/apis/default_api.rs index e08f752..083f9fc 100644 --- a/client/src/apis/default_api.rs +++ b/client/src/apis/default_api.rs @@ -24,14 +24,14 @@ pub struct AddDomainConfigParams { /// struct for passing parameters to the method [`add_hash_tag`] #[derive(Clone, Debug)] pub struct AddHashTagParams { - pub tenant_id: Option, + pub tenant_id: String, pub create_hash_tag_body: Option } /// struct for passing parameters to the method [`add_hash_tags_bulk`] #[derive(Clone, Debug)] pub struct AddHashTagsBulkParams { - pub tenant_id: Option, + pub tenant_id: String, pub bulk_create_hash_tags_body: Option } @@ -237,8 +237,8 @@ pub struct DeleteEmailTemplateRenderErrorParams { /// struct for passing parameters to the method [`delete_hash_tag`] #[derive(Clone, Debug)] pub struct DeleteHashTagParams { + pub tenant_id: String, pub tag: String, - pub tenant_id: Option, pub delete_hash_tag_request_body: Option } @@ -737,8 +737,8 @@ pub struct PatchDomainConfigParams { /// struct for passing parameters to the method [`patch_hash_tag`] #[derive(Clone, Debug)] pub struct PatchHashTagParams { + pub tenant_id: String, pub tag: String, - pub tenant_id: Option, pub update_hash_tag_body: Option } @@ -1899,9 +1899,7 @@ pub async fn add_hash_tag(configuration: &configuration::Configuration, params: let uri_str = format!("{}/api/v1/hash-tags", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref user_agent) = configuration.user_agent { req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); } @@ -1945,9 +1943,7 @@ pub async fn add_hash_tags_bulk(configuration: &configuration::Configuration, pa let uri_str = format!("{}/api/v1/hash-tags/bulk", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref user_agent) = configuration.user_agent { req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); } @@ -3132,9 +3128,7 @@ pub async fn delete_hash_tag(configuration: &configuration::Configuration, param let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref user_agent) = configuration.user_agent { req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); } @@ -6051,9 +6045,7 @@ pub async fn patch_hash_tag(configuration: &configuration::Configuration, params let uri_str = format!("{}/api/v1/hash-tags/{tag}", configuration.base_path, tag=crate::client::apis::urlencode(params.tag)); let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref user_agent) = configuration.user_agent { req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); } diff --git a/client/src/apis/moderation_api.rs b/client/src/apis/moderation_api.rs index c62f85b..e45e91a 100644 --- a/client/src/apis/moderation_api.rs +++ b/client/src/apis/moderation_api.rs @@ -17,16 +17,17 @@ use super::{Error, configuration, ContentType}; /// struct for passing parameters to the method [`delete_moderation_vote`] #[derive(Clone, Debug)] pub struct DeleteModerationVoteParams { + pub tenant_id: String, pub comment_id: String, pub vote_id: String, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_api_comments`] #[derive(Clone, Debug)] pub struct GetApiCommentsParams { + pub tenant_id: String, pub page: Option, pub count: Option, pub text_search: Option, @@ -35,217 +36,217 @@ pub struct GetApiCommentsParams { pub search_filters: Option, pub sorts: Option, pub demo: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_api_export_status`] #[derive(Clone, Debug)] pub struct GetApiExportStatusParams { + pub tenant_id: String, pub batch_job_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_api_ids`] #[derive(Clone, Debug)] pub struct GetApiIdsParams { + pub tenant_id: String, pub text_search: Option, pub by_ip_from_comment: Option, pub filters: Option, pub search_filters: Option, pub after_id: Option, pub demo: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_ban_users_from_comment`] #[derive(Clone, Debug)] pub struct GetBanUsersFromCommentParams { + pub tenant_id: String, pub comment_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_comment_ban_status`] #[derive(Clone, Debug)] pub struct GetCommentBanStatusParams { + pub tenant_id: String, pub comment_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_comment_children`] #[derive(Clone, Debug)] pub struct GetCommentChildrenParams { + pub tenant_id: String, pub comment_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_count`] #[derive(Clone, Debug)] pub struct GetCountParams { + pub tenant_id: String, pub text_search: Option, pub by_ip_from_comment: Option, pub filter: Option, pub search_filters: Option, pub demo: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_counts`] #[derive(Clone, Debug)] pub struct GetCountsParams { - pub tenant_id: Option, + pub tenant_id: String, pub sso: Option } /// struct for passing parameters to the method [`get_logs`] #[derive(Clone, Debug)] pub struct GetLogsParams { + pub tenant_id: String, pub comment_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_manual_badges`] #[derive(Clone, Debug)] pub struct GetManualBadgesParams { - pub tenant_id: Option, + pub tenant_id: String, pub sso: Option } /// struct for passing parameters to the method [`get_manual_badges_for_user`] #[derive(Clone, Debug)] pub struct GetManualBadgesForUserParams { + pub tenant_id: String, pub badges_user_id: Option, pub comment_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_moderation_comment`] #[derive(Clone, Debug)] pub struct GetModerationCommentParams { + pub tenant_id: String, pub comment_id: String, pub include_email: Option, pub include_ip: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_moderation_comment_text`] #[derive(Clone, Debug)] pub struct GetModerationCommentTextParams { + pub tenant_id: String, pub comment_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_pre_ban_summary`] #[derive(Clone, Debug)] pub struct GetPreBanSummaryParams { + pub tenant_id: String, pub comment_id: String, pub include_by_user_id_and_email: Option, pub include_by_ip: Option, pub include_by_email_domain: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_search_comments_summary`] #[derive(Clone, Debug)] pub struct GetSearchCommentsSummaryParams { + pub tenant_id: String, pub value: Option, pub filters: Option, pub search_filters: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_search_pages`] #[derive(Clone, Debug)] pub struct GetSearchPagesParams { + pub tenant_id: String, pub value: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_search_sites`] #[derive(Clone, Debug)] pub struct GetSearchSitesParams { + pub tenant_id: String, pub value: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_search_suggest`] #[derive(Clone, Debug)] pub struct GetSearchSuggestParams { + pub tenant_id: String, pub text_search: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_search_users`] #[derive(Clone, Debug)] pub struct GetSearchUsersParams { + pub tenant_id: String, pub value: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_trust_factor`] #[derive(Clone, Debug)] pub struct GetTrustFactorParams { + pub tenant_id: String, pub user_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`get_user_ban_preference`] #[derive(Clone, Debug)] pub struct GetUserBanPreferenceParams { - pub tenant_id: Option, + pub tenant_id: String, pub sso: Option } /// struct for passing parameters to the method [`get_user_internal_profile`] #[derive(Clone, Debug)] pub struct GetUserInternalProfileParams { + pub tenant_id: String, pub comment_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_adjust_comment_votes`] #[derive(Clone, Debug)] pub struct PostAdjustCommentVotesParams { + pub tenant_id: String, pub comment_id: String, pub adjust_comment_votes_params: models::AdjustCommentVotesParams, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_api_export`] #[derive(Clone, Debug)] pub struct PostApiExportParams { + pub tenant_id: String, pub text_search: Option, pub by_ip_from_comment: Option, pub filters: Option, pub search_filters: Option, pub sorts: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_ban_user_from_comment`] #[derive(Clone, Debug)] pub struct PostBanUserFromCommentParams { + pub tenant_id: String, pub comment_id: String, pub ban_email: Option, pub ban_email_domain: Option, @@ -255,168 +256,167 @@ pub struct PostBanUserFromCommentParams { pub is_shadow_ban: Option, pub update_id: Option, pub ban_reason: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_ban_user_undo`] #[derive(Clone, Debug)] pub struct PostBanUserUndoParams { + pub tenant_id: String, pub ban_user_undo_params: models::BanUserUndoParams, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_bulk_pre_ban_summary`] #[derive(Clone, Debug)] pub struct PostBulkPreBanSummaryParams { + pub tenant_id: String, pub bulk_pre_ban_params: models::BulkPreBanParams, pub include_by_user_id_and_email: Option, pub include_by_ip: Option, pub include_by_email_domain: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_comments_by_ids`] #[derive(Clone, Debug)] pub struct PostCommentsByIdsParams { + pub tenant_id: String, pub comments_by_ids_params: models::CommentsByIdsParams, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_flag_comment`] #[derive(Clone, Debug)] pub struct PostFlagCommentParams { + pub tenant_id: String, pub comment_id: String, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_remove_comment`] #[derive(Clone, Debug)] pub struct PostRemoveCommentParams { + pub tenant_id: String, pub comment_id: String, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_restore_deleted_comment`] #[derive(Clone, Debug)] pub struct PostRestoreDeletedCommentParams { + pub tenant_id: String, pub comment_id: String, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_set_comment_approval_status`] #[derive(Clone, Debug)] pub struct PostSetCommentApprovalStatusParams { + pub tenant_id: String, pub comment_id: String, pub approved: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_set_comment_review_status`] #[derive(Clone, Debug)] pub struct PostSetCommentReviewStatusParams { + pub tenant_id: String, pub comment_id: String, pub reviewed: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_set_comment_spam_status`] #[derive(Clone, Debug)] pub struct PostSetCommentSpamStatusParams { + pub tenant_id: String, pub comment_id: String, pub spam: Option, pub perm_not_spam: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_set_comment_text`] #[derive(Clone, Debug)] pub struct PostSetCommentTextParams { + pub tenant_id: String, pub comment_id: String, pub set_comment_text_params: models::SetCommentTextParams, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_un_flag_comment`] #[derive(Clone, Debug)] pub struct PostUnFlagCommentParams { + pub tenant_id: String, pub comment_id: String, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`post_vote`] #[derive(Clone, Debug)] pub struct PostVoteParams { + pub tenant_id: String, pub comment_id: String, pub direction: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`put_award_badge`] #[derive(Clone, Debug)] pub struct PutAwardBadgeParams { + pub tenant_id: String, pub badge_id: String, pub user_id: Option, pub comment_id: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`put_close_thread`] #[derive(Clone, Debug)] pub struct PutCloseThreadParams { + pub tenant_id: String, pub url_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`put_remove_badge`] #[derive(Clone, Debug)] pub struct PutRemoveBadgeParams { + pub tenant_id: String, pub badge_id: String, pub user_id: Option, pub comment_id: Option, pub broadcast_id: Option, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`put_reopen_thread`] #[derive(Clone, Debug)] pub struct PutReopenThreadParams { + pub tenant_id: String, pub url_id: String, - pub tenant_id: Option, pub sso: Option } /// struct for passing parameters to the method [`set_trust_factor`] #[derive(Clone, Debug)] pub struct SetTrustFactorParams { + pub tenant_id: String, pub user_id: Option, pub trust_factor: Option, - pub tenant_id: Option, pub sso: Option } @@ -768,15 +768,13 @@ pub enum SetTrustFactorError { pub async fn delete_moderation_vote(configuration: &configuration::Configuration, params: DeleteModerationVoteParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}/{voteId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id), voteId=crate::client::apis::urlencode(params.vote_id)); let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -811,9 +809,10 @@ pub async fn delete_moderation_vote(configuration: &configuration::Configuration pub async fn get_api_comments(configuration: &configuration::Configuration, params: GetApiCommentsParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/api/comments", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/api/comments", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.page { req_builder = req_builder.query(&[("page", ¶m_value.to_string())]); } @@ -838,9 +837,6 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -875,15 +871,13 @@ pub async fn get_api_comments(configuration: &configuration::Configuration, para pub async fn get_api_export_status(configuration: &configuration::Configuration, params: GetApiExportStatusParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/api/export/status", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/api/export/status", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.batch_job_id { req_builder = req_builder.query(&[("batchJobId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -918,9 +912,10 @@ pub async fn get_api_export_status(configuration: &configuration::Configuration, pub async fn get_api_ids(configuration: &configuration::Configuration, params: GetApiIdsParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/api/ids", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/api/ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.text_search { req_builder = req_builder.query(&[("text-search", ¶m_value.to_string())]); } @@ -939,9 +934,6 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -976,12 +968,10 @@ pub async fn get_api_ids(configuration: &configuration::Configuration, params: G pub async fn get_ban_users_from_comment(configuration: &configuration::Configuration, params: GetBanUsersFromCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1016,12 +1006,10 @@ pub async fn get_ban_users_from_comment(configuration: &configuration::Configura pub async fn get_comment_ban_status(configuration: &configuration::Configuration, params: GetCommentBanStatusParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1056,12 +1044,10 @@ pub async fn get_comment_ban_status(configuration: &configuration::Configuration pub async fn get_comment_children(configuration: &configuration::Configuration, params: GetCommentChildrenParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/comment-children/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1096,9 +1082,10 @@ pub async fn get_comment_children(configuration: &configuration::Configuration, pub async fn get_count(configuration: &configuration::Configuration, params: GetCountParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/count", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/count", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.text_search { req_builder = req_builder.query(&[("text-search", ¶m_value.to_string())]); } @@ -1114,9 +1101,6 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get if let Some(ref param_value) = params.demo { req_builder = req_builder.query(&[("demo", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1151,12 +1135,10 @@ pub async fn get_count(configuration: &configuration::Configuration, params: Get pub async fn get_counts(configuration: &configuration::Configuration, params: GetCountsParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/banned-users/counts", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/banned-users/mod_api/counts", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1191,12 +1173,10 @@ pub async fn get_counts(configuration: &configuration::Configuration, params: Ge pub async fn get_logs(configuration: &configuration::Configuration, params: GetLogsParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/logs/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/logs/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1231,12 +1211,10 @@ pub async fn get_logs(configuration: &configuration::Configuration, params: GetL pub async fn get_manual_badges(configuration: &configuration::Configuration, params: GetManualBadgesParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-manual-badges", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1271,18 +1249,16 @@ pub async fn get_manual_badges(configuration: &configuration::Configuration, par pub async fn get_manual_badges_for_user(configuration: &configuration::Configuration, params: GetManualBadgesForUserParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-manual-badges-for-user", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.badges_user_id { req_builder = req_builder.query(&[("badgesUserId", ¶m_value.to_string())]); } if let Some(ref param_value) = params.comment_id { req_builder = req_builder.query(&[("commentId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1317,18 +1293,16 @@ pub async fn get_manual_badges_for_user(configuration: &configuration::Configura pub async fn get_moderation_comment(configuration: &configuration::Configuration, params: GetModerationCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.include_email { req_builder = req_builder.query(&[("includeEmail", ¶m_value.to_string())]); } if let Some(ref param_value) = params.include_ip { req_builder = req_builder.query(&[("includeIP", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1363,12 +1337,10 @@ pub async fn get_moderation_comment(configuration: &configuration::Configuration pub async fn get_moderation_comment_text(configuration: &configuration::Configuration, params: GetModerationCommentTextParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1403,9 +1375,10 @@ pub async fn get_moderation_comment_text(configuration: &configuration::Configur pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, params: GetPreBanSummaryParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/pre-ban-summary/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.include_by_user_id_and_email { req_builder = req_builder.query(&[("includeByUserIdAndEmail", ¶m_value.to_string())]); } @@ -1415,9 +1388,6 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p if let Some(ref param_value) = params.include_by_email_domain { req_builder = req_builder.query(&[("includeByEmailDomain", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1452,9 +1422,10 @@ pub async fn get_pre_ban_summary(configuration: &configuration::Configuration, p pub async fn get_search_comments_summary(configuration: &configuration::Configuration, params: GetSearchCommentsSummaryParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/search/comments/summary", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/search/comments/summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } @@ -1464,9 +1435,6 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur if let Some(ref param_value) = params.search_filters { req_builder = req_builder.query(&[("searchFilters", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1501,15 +1469,13 @@ pub async fn get_search_comments_summary(configuration: &configuration::Configur pub async fn get_search_pages(configuration: &configuration::Configuration, params: GetSearchPagesParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/search/pages", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/search/pages", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1544,15 +1510,13 @@ pub async fn get_search_pages(configuration: &configuration::Configuration, para pub async fn get_search_sites(configuration: &configuration::Configuration, params: GetSearchSitesParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/search/sites", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/search/sites", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1587,15 +1551,13 @@ pub async fn get_search_sites(configuration: &configuration::Configuration, para pub async fn get_search_suggest(configuration: &configuration::Configuration, params: GetSearchSuggestParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/search/suggest", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/search/suggest", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.text_search { req_builder = req_builder.query(&[("text-search", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1630,15 +1592,13 @@ pub async fn get_search_suggest(configuration: &configuration::Configuration, pa pub async fn get_search_users(configuration: &configuration::Configuration, params: GetSearchUsersParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/search/users", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/search/users", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.value { req_builder = req_builder.query(&[("value", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1673,15 +1633,13 @@ pub async fn get_search_users(configuration: &configuration::Configuration, para pub async fn get_trust_factor(configuration: &configuration::Configuration, params: GetTrustFactorParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-trust-factor", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.user_id { req_builder = req_builder.query(&[("userId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1716,12 +1674,10 @@ pub async fn get_trust_factor(configuration: &configuration::Configuration, para pub async fn get_user_ban_preference(configuration: &configuration::Configuration, params: GetUserBanPreferenceParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/user-ban-preference", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/user-ban-preference", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1756,15 +1712,13 @@ pub async fn get_user_ban_preference(configuration: &configuration::Configuratio pub async fn get_user_internal_profile(configuration: &configuration::Configuration, params: GetUserInternalProfileParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/get-user-internal-profile", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/get-user-internal-profile", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.comment_id { req_builder = req_builder.query(&[("commentId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1799,15 +1753,13 @@ pub async fn get_user_internal_profile(configuration: &configuration::Configurat pub async fn post_adjust_comment_votes(configuration: &configuration::Configuration, params: PostAdjustCommentVotesParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1843,9 +1795,10 @@ pub async fn post_adjust_comment_votes(configuration: &configuration::Configurat pub async fn post_api_export(configuration: &configuration::Configuration, params: PostApiExportParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/api/export", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/api/export", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.text_search { req_builder = req_builder.query(&[("text-search", ¶m_value.to_string())]); } @@ -1861,9 +1814,6 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param if let Some(ref param_value) = params.sorts { req_builder = req_builder.query(&[("sorts", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1898,9 +1848,10 @@ pub async fn post_api_export(configuration: &configuration::Configuration, param pub async fn post_ban_user_from_comment(configuration: &configuration::Configuration, params: PostBanUserFromCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.ban_email { req_builder = req_builder.query(&[("banEmail", ¶m_value.to_string())]); } @@ -1925,9 +1876,6 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura if let Some(ref param_value) = params.ban_reason { req_builder = req_builder.query(&[("banReason", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -1962,12 +1910,10 @@ pub async fn post_ban_user_from_comment(configuration: &configuration::Configura pub async fn post_ban_user_undo(configuration: &configuration::Configuration, params: PostBanUserUndoParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/ban-user/undo", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/ban-user/undo", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2003,9 +1949,10 @@ pub async fn post_ban_user_undo(configuration: &configuration::Configuration, pa pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configuration, params: PostBulkPreBanSummaryParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/bulk-pre-ban-summary", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.include_by_user_id_and_email { req_builder = req_builder.query(&[("includeByUserIdAndEmail", ¶m_value.to_string())]); } @@ -2015,9 +1962,6 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat if let Some(ref param_value) = params.include_by_email_domain { req_builder = req_builder.query(&[("includeByEmailDomain", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2053,12 +1997,10 @@ pub async fn post_bulk_pre_ban_summary(configuration: &configuration::Configurat pub async fn post_comments_by_ids(configuration: &configuration::Configuration, params: PostCommentsByIdsParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/comments-by-ids", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/comments-by-ids", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2094,15 +2036,13 @@ pub async fn post_comments_by_ids(configuration: &configuration::Configuration, pub async fn post_flag_comment(configuration: &configuration::Configuration, params: PostFlagCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2135,17 +2075,15 @@ pub async fn post_flag_comment(configuration: &configuration::Configuration, par } } -pub async fn post_remove_comment(configuration: &configuration::Configuration, params: PostRemoveCommentParams) -> Result> { +pub async fn post_remove_comment(configuration: &configuration::Configuration, params: PostRemoveCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/remove-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2168,8 +2106,8 @@ pub async fn post_remove_comment(configuration: &configuration::Configuration, p let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostRemoveCommentResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostRemoveCommentResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PostRemoveCommentApiResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PostRemoveCommentApiResponse`")))), } } else { let content = resp.text().await?; @@ -2180,15 +2118,13 @@ pub async fn post_remove_comment(configuration: &configuration::Configuration, p pub async fn post_restore_deleted_comment(configuration: &configuration::Configuration, params: PostRestoreDeletedCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2223,18 +2159,16 @@ pub async fn post_restore_deleted_comment(configuration: &configuration::Configu pub async fn post_set_comment_approval_status(configuration: &configuration::Configuration, params: PostSetCommentApprovalStatusParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.approved { req_builder = req_builder.query(&[("approved", ¶m_value.to_string())]); } if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2269,18 +2203,16 @@ pub async fn post_set_comment_approval_status(configuration: &configuration::Con pub async fn post_set_comment_review_status(configuration: &configuration::Configuration, params: PostSetCommentReviewStatusParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-review-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.reviewed { req_builder = req_builder.query(&[("reviewed", ¶m_value.to_string())]); } if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2315,9 +2247,10 @@ pub async fn post_set_comment_review_status(configuration: &configuration::Confi pub async fn post_set_comment_spam_status(configuration: &configuration::Configuration, params: PostSetCommentSpamStatusParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.spam { req_builder = req_builder.query(&[("spam", ¶m_value.to_string())]); } @@ -2327,9 +2260,6 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2364,15 +2294,13 @@ pub async fn post_set_comment_spam_status(configuration: &configuration::Configu pub async fn post_set_comment_text(configuration: &configuration::Configuration, params: PostSetCommentTextParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/set-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2408,15 +2336,13 @@ pub async fn post_set_comment_text(configuration: &configuration::Configuration, pub async fn post_un_flag_comment(configuration: &configuration::Configuration, params: PostUnFlagCommentParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/un-flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2451,18 +2377,16 @@ pub async fn post_un_flag_comment(configuration: &configuration::Configuration, pub async fn post_vote(configuration: &configuration::Configuration, params: PostVoteParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/vote/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/vote/{commentId}", configuration.base_path, commentId=crate::client::apis::urlencode(params.comment_id)); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.direction { req_builder = req_builder.query(&[("direction", ¶m_value.to_string())]); } if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2497,9 +2421,10 @@ pub async fn post_vote(configuration: &configuration::Configuration, params: Pos pub async fn put_award_badge(configuration: &configuration::Configuration, params: PutAwardBadgeParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/award-badge", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/award-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); req_builder = req_builder.query(&[("badgeId", ¶ms.badge_id.to_string())]); if let Some(ref param_value) = params.user_id { req_builder = req_builder.query(&[("userId", ¶m_value.to_string())]); @@ -2510,9 +2435,6 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2547,13 +2469,11 @@ pub async fn put_award_badge(configuration: &configuration::Configuration, param pub async fn put_close_thread(configuration: &configuration::Configuration, params: PutCloseThreadParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/close-thread", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/close-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); req_builder = req_builder.query(&[("urlId", ¶ms.url_id.to_string())]); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2588,9 +2508,10 @@ pub async fn put_close_thread(configuration: &configuration::Configuration, para pub async fn put_remove_badge(configuration: &configuration::Configuration, params: PutRemoveBadgeParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/remove-badge", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/remove-badge", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); req_builder = req_builder.query(&[("badgeId", ¶ms.badge_id.to_string())]); if let Some(ref param_value) = params.user_id { req_builder = req_builder.query(&[("userId", ¶m_value.to_string())]); @@ -2601,9 +2522,6 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para if let Some(ref param_value) = params.broadcast_id { req_builder = req_builder.query(&[("broadcastId", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2638,13 +2556,11 @@ pub async fn put_remove_badge(configuration: &configuration::Configuration, para pub async fn put_reopen_thread(configuration: &configuration::Configuration, params: PutReopenThreadParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/reopen-thread", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/reopen-thread", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); req_builder = req_builder.query(&[("urlId", ¶ms.url_id.to_string())]); - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } @@ -2679,18 +2595,16 @@ pub async fn put_reopen_thread(configuration: &configuration::Configuration, par pub async fn set_trust_factor(configuration: &configuration::Configuration, params: SetTrustFactorParams) -> Result> { - let uri_str = format!("{}/auth/my-account/moderate-comments/set-trust-factor", configuration.base_path); + let uri_str = format!("{}/auth/my-account/moderate-comments/mod_api/set-trust-factor", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + req_builder = req_builder.query(&[("tenantId", ¶ms.tenant_id.to_string())]); if let Some(ref param_value) = params.user_id { req_builder = req_builder.query(&[("userId", ¶m_value.to_string())]); } if let Some(ref param_value) = params.trust_factor { req_builder = req_builder.query(&[("trustFactor", ¶m_value.to_string())]); } - if let Some(ref param_value) = params.tenant_id { - req_builder = req_builder.query(&[("tenantId", ¶m_value.to_string())]); - } if let Some(ref param_value) = params.sso { req_builder = req_builder.query(&[("sso", ¶m_value.to_string())]); } diff --git a/client/src/models/mod.rs b/client/src/models/mod.rs index c686c4a..7a3ba5f 100644 --- a/client/src/models/mod.rs +++ b/client/src/models/mod.rs @@ -516,8 +516,8 @@ pub mod patch_sso_user_api_response; pub use self::patch_sso_user_api_response::PatchSsoUserApiResponse; pub mod pending_comment_to_sync_outbound; pub use self::pending_comment_to_sync_outbound::PendingCommentToSyncOutbound; -pub mod post_remove_comment_response; -pub use self::post_remove_comment_response::PostRemoveCommentResponse; +pub mod post_remove_comment_api_response; +pub use self::post_remove_comment_api_response::PostRemoveCommentApiResponse; pub mod pre_ban_summary; pub use self::pre_ban_summary::PreBanSummary; pub mod pub_sub_comment; diff --git a/client/src/models/post_remove_comment_response.rs b/client/src/models/post_remove_comment_api_response.rs similarity index 81% rename from client/src/models/post_remove_comment_response.rs rename to client/src/models/post_remove_comment_api_response.rs index fef8ac3..7cc3ce3 100644 --- a/client/src/models/post_remove_comment_response.rs +++ b/client/src/models/post_remove_comment_api_response.rs @@ -12,16 +12,16 @@ use crate::client::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PostRemoveCommentResponse { +pub struct PostRemoveCommentApiResponse { #[serde(rename = "action")] pub action: String, #[serde(rename = "status")] pub status: String, } -impl PostRemoveCommentResponse { - pub fn new(action: String, status: String) -> PostRemoveCommentResponse { - PostRemoveCommentResponse { +impl PostRemoveCommentApiResponse { + pub fn new(action: String, status: String) -> PostRemoveCommentApiResponse { + PostRemoveCommentApiResponse { action, status, } diff --git a/openapi.json b/openapi.json index 0f72c9c..302747d 100644 --- a/openapi.json +++ b/openapi.json @@ -13107,9 +13107,9 @@ ] } }, - "/auth/my-account/moderate-comments/count": { + "/auth/my-account/moderate-comments/mod_api/count": { "get": { - "operationId": "GetCount", + "operationId": "getCount", "responses": { "200": { "description": "Ok", @@ -13137,6 +13137,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "text-search", @@ -13177,14 +13185,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13196,9 +13196,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/ids": { + "/auth/my-account/moderate-comments/mod_api/api/ids": { "get": { - "operationId": "GetApiIds", + "operationId": "getApiIds", "responses": { "200": { "description": "Ok", @@ -13226,6 +13226,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "text-search", @@ -13274,14 +13282,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13293,9 +13293,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/comments": { + "/auth/my-account/moderate-comments/mod_api/api/comments": { "get": { - "operationId": "GetApiComments", + "operationId": "getApiComments", "responses": { "200": { "description": "Ok", @@ -13323,6 +13323,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "page", @@ -13389,14 +13397,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13408,9 +13408,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/export": { + "/auth/my-account/moderate-comments/mod_api/api/export": { "post": { - "operationId": "PostApiExport", + "operationId": "postApiExport", "responses": { "200": { "description": "Ok", @@ -13440,15 +13440,15 @@ "parameters": [ { "in": "query", - "name": "text-search", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "byIPFromComment", + "name": "text-search", "required": false, "schema": { "type": "string" @@ -13456,7 +13456,7 @@ }, { "in": "query", - "name": "filters", + "name": "byIPFromComment", "required": false, "schema": { "type": "string" @@ -13464,7 +13464,7 @@ }, { "in": "query", - "name": "searchFilters", + "name": "filters", "required": false, "schema": { "type": "string" @@ -13472,7 +13472,7 @@ }, { "in": "query", - "name": "sorts", + "name": "searchFilters", "required": false, "schema": { "type": "string" @@ -13480,7 +13480,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "sorts", "required": false, "schema": { "type": "string" @@ -13497,9 +13497,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/export/status": { + "/auth/my-account/moderate-comments/mod_api/api/export/status": { "get": { - "operationId": "GetApiExportStatus", + "operationId": "getApiExportStatus", "responses": { "200": { "description": "Ok", @@ -13529,15 +13529,15 @@ "parameters": [ { "in": "query", - "name": "batchJobId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "batchJobId", "required": false, "schema": { "type": "string" @@ -13554,9 +13554,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/users": { + "/auth/my-account/moderate-comments/mod_api/search/users": { "get": { - "operationId": "GetSearchUsers", + "operationId": "getSearchUsers", "responses": { "200": { "description": "Ok", @@ -13586,15 +13586,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13611,9 +13611,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/pages": { + "/auth/my-account/moderate-comments/mod_api/search/pages": { "get": { - "operationId": "GetSearchPages", + "operationId": "getSearchPages", "responses": { "200": { "description": "Ok", @@ -13643,15 +13643,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13668,9 +13668,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/sites": { + "/auth/my-account/moderate-comments/mod_api/search/sites": { "get": { - "operationId": "GetSearchSites", + "operationId": "getSearchSites", "responses": { "200": { "description": "Ok", @@ -13700,15 +13700,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13725,9 +13725,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/comments/summary": { + "/auth/my-account/moderate-comments/mod_api/search/comments/summary": { "get": { - "operationId": "GetSearchCommentsSummary", + "operationId": "getSearchCommentsSummary", "responses": { "200": { "description": "Ok", @@ -13757,15 +13757,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "filters", + "name": "value", "required": false, "schema": { "type": "string" @@ -13773,7 +13773,7 @@ }, { "in": "query", - "name": "searchFilters", + "name": "filters", "required": false, "schema": { "type": "string" @@ -13781,7 +13781,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "searchFilters", "required": false, "schema": { "type": "string" @@ -13798,9 +13798,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/suggest": { + "/auth/my-account/moderate-comments/mod_api/search/suggest": { "get": { - "operationId": "GetSearchSuggest", + "operationId": "getSearchSuggest", "responses": { "200": { "description": "Ok", @@ -13830,15 +13830,15 @@ "parameters": [ { "in": "query", - "name": "text-search", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "text-search", "required": false, "schema": { "type": "string" @@ -13855,9 +13855,9 @@ ] } }, - "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}": { "get": { - "operationId": "GetPreBanSummary", + "operationId": "getPreBanSummary", "responses": { "200": { "description": "Ok", @@ -13885,6 +13885,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -13917,14 +13925,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13936,9 +13936,9 @@ ] } }, - "/auth/my-account/moderate-comments/bulk-pre-ban-summary": { + "/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary": { "post": { - "operationId": "PostBulkPreBanSummary", + "operationId": "postBulkPreBanSummary", "responses": { "200": { "description": "Ok", @@ -13968,15 +13968,15 @@ "parameters": [ { "in": "query", - "name": "includeByUserIdAndEmail", - "required": false, + "name": "tenantId", + "required": true, "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "includeByIP", + "name": "includeByUserIdAndEmail", "required": false, "schema": { "type": "boolean" @@ -13984,7 +13984,7 @@ }, { "in": "query", - "name": "includeByEmailDomain", + "name": "includeByIP", "required": false, "schema": { "type": "boolean" @@ -13992,10 +13992,10 @@ }, { "in": "query", - "name": "tenantId", + "name": "includeByEmailDomain", "required": false, "schema": { - "type": "string" + "type": "boolean" } }, { @@ -14019,9 +14019,9 @@ } } }, - "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}": { "post": { - "operationId": "PostBanUserFromComment", + "operationId": "postBanUserFromComment", "responses": { "200": { "description": "Ok", @@ -14049,6 +14049,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14121,14 +14129,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14140,9 +14140,9 @@ ] } }, - "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}": { "get": { - "operationId": "GetBanUsersFromComment", + "operationId": "getBanUsersFromComment", "responses": { "200": { "description": "Ok", @@ -14171,17 +14171,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14197,9 +14197,9 @@ ] } }, - "/auth/my-account/moderate-comments/ban-user/undo": { + "/auth/my-account/moderate-comments/mod_api/ban-user/undo": { "post": { - "operationId": "PostBanUserUndo", + "operationId": "postBanUserUndo", "responses": { "200": { "description": "Ok", @@ -14230,7 +14230,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -14256,16 +14256,16 @@ } } }, - "/auth/my-account/moderate-comments/remove-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}": { "post": { - "operationId": "PostRemoveComment", + "operationId": "postRemoveComment", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": { - "title": "PostRemoveCommentResponse", + "title": "PostRemoveCommentApiResponse", "anyOf": [ { "$ref": "#/components/schemas/DeleteCommentResult" @@ -14295,24 +14295,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14329,9 +14329,9 @@ ] } }, - "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}": { "post": { - "operationId": "PostRestoreDeletedComment", + "operationId": "postRestoreDeletedComment", "responses": { "200": { "description": "Ok", @@ -14360,24 +14360,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14394,9 +14394,9 @@ ] } }, - "/auth/my-account/moderate-comments/flag-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}": { "post": { - "operationId": "PostFlagComment", + "operationId": "postFlagComment", "responses": { "200": { "description": "Ok", @@ -14425,24 +14425,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14459,9 +14459,9 @@ ] } }, - "/auth/my-account/moderate-comments/un-flag-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}": { "post": { - "operationId": "PostUnFlagComment", + "operationId": "postUnFlagComment", "responses": { "200": { "description": "Ok", @@ -14490,24 +14490,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14524,9 +14524,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}": { "post": { - "operationId": "PostSetCommentReviewStatus", + "operationId": "postSetCommentReviewStatus", "responses": { "200": { "description": "Ok", @@ -14554,6 +14554,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14578,14 +14586,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14597,9 +14597,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}": { "post": { - "operationId": "PostSetCommentSpamStatus", + "operationId": "postSetCommentSpamStatus", "responses": { "200": { "description": "Ok", @@ -14627,6 +14627,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14659,14 +14667,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14678,9 +14678,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}": { "post": { - "operationId": "PostSetCommentApprovalStatus", + "operationId": "postSetCommentApprovalStatus", "responses": { "200": { "description": "Ok", @@ -14708,6 +14708,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14732,14 +14740,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14751,9 +14751,9 @@ ] } }, - "/auth/my-account/moderate-comments/logs/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/logs/{commentId}": { "get": { - "operationId": "GetLogs", + "operationId": "getLogs", "responses": { "200": { "description": "Ok", @@ -14782,17 +14782,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14808,9 +14808,9 @@ ] } }, - "/auth/my-account/moderate-comments/comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/comment/{commentId}": { "get": { - "operationId": "GetModerationComment", + "operationId": "getModerationComment", "responses": { "200": { "description": "Ok", @@ -14838,6 +14838,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14862,14 +14870,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14881,9 +14881,9 @@ ] } }, - "/auth/my-account/moderate-comments/comments-by-ids": { + "/auth/my-account/moderate-comments/mod_api/comments-by-ids": { "post": { - "operationId": "PostCommentsByIds", + "operationId": "postCommentsByIds", "responses": { "200": { "description": "Ok", @@ -14914,7 +14914,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -14940,9 +14940,9 @@ } } }, - "/auth/my-account/moderate-comments/comment-children/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}": { "get": { - "operationId": "GetCommentChildren", + "operationId": "getCommentChildren", "responses": { "200": { "description": "Ok", @@ -14971,17 +14971,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14997,9 +14997,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-comment-text/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}": { "get": { - "operationId": "GetModerationCommentText", + "operationId": "getModerationCommentText", "responses": { "200": { "description": "Ok", @@ -15028,17 +15028,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -15054,9 +15054,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-text/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}": { "post": { - "operationId": "PostSetCommentText", + "operationId": "postSetCommentText", "responses": { "200": { "description": "Ok", @@ -15085,24 +15085,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15129,9 +15129,9 @@ } } }, - "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}": { "post": { - "operationId": "PostAdjustCommentVotes", + "operationId": "postAdjustCommentVotes", "responses": { "200": { "description": "Ok", @@ -15160,24 +15160,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15204,9 +15204,9 @@ } } }, - "/auth/my-account/moderate-comments/vote/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}": { "post": { - "operationId": "PostVote", + "operationId": "postVote", "responses": { "200": { "description": "Ok", @@ -15235,24 +15235,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "direction", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "broadcastId", + "name": "direction", "required": false, "schema": { "type": "string" @@ -15260,7 +15260,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15277,9 +15277,9 @@ ] } }, - "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}": { + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}": { "delete": { - "operationId": "DeleteModerationVote", + "operationId": "deleteModerationVote", "responses": { "200": { "description": "Ok", @@ -15308,8 +15308,8 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15317,23 +15317,23 @@ }, { "in": "path", - "name": "voteId", + "name": "commentId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "voteId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15350,9 +15350,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}": { "get": { - "operationId": "GetCommentBanStatus", + "operationId": "getCommentBanStatus", "responses": { "200": { "description": "Ok", @@ -15381,17 +15381,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -15407,9 +15407,9 @@ ] } }, - "/auth/my-account/moderate-comments/user-ban-preference": { + "/auth/my-account/moderate-comments/mod_api/user-ban-preference": { "get": { - "operationId": "GetUserBanPreference", + "operationId": "getUserBanPreference", "responses": { "200": { "description": "Ok", @@ -15440,7 +15440,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -15456,9 +15456,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-manual-badges": { + "/auth/my-account/moderate-comments/mod_api/get-manual-badges": { "get": { - "operationId": "GetManualBadges", + "operationId": "getManualBadges", "responses": { "200": { "description": "Ok", @@ -15489,7 +15489,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -15505,9 +15505,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-manual-badges-for-user": { + "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user": { "get": { - "operationId": "GetManualBadgesForUser", + "operationId": "getManualBadgesForUser", "responses": { "200": { "description": "Ok", @@ -15537,15 +15537,15 @@ "parameters": [ { "in": "query", - "name": "badgesUserId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "badgesUserId", "required": false, "schema": { "type": "string" @@ -15553,7 +15553,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15570,9 +15570,9 @@ ] } }, - "/auth/my-account/moderate-comments/award-badge": { + "/auth/my-account/moderate-comments/mod_api/award-badge": { "put": { - "operationId": "PutAwardBadge", + "operationId": "putAwardBadge", "responses": { "200": { "description": "Ok", @@ -15602,7 +15602,7 @@ "parameters": [ { "in": "query", - "name": "badgeId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15610,15 +15610,15 @@ }, { "in": "query", - "name": "userId", - "required": false, + "name": "badgeId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15626,7 +15626,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15634,7 +15634,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15651,9 +15651,9 @@ ] } }, - "/auth/my-account/moderate-comments/remove-badge": { + "/auth/my-account/moderate-comments/mod_api/remove-badge": { "put": { - "operationId": "PutRemoveBadge", + "operationId": "putRemoveBadge", "responses": { "200": { "description": "Ok", @@ -15683,7 +15683,7 @@ "parameters": [ { "in": "query", - "name": "badgeId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15691,15 +15691,15 @@ }, { "in": "query", - "name": "userId", - "required": false, + "name": "badgeId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15707,7 +15707,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15715,7 +15715,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15732,9 +15732,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-trust-factor": { + "/auth/my-account/moderate-comments/mod_api/get-trust-factor": { "get": { - "operationId": "GetTrustFactor", + "operationId": "getTrustFactor", "responses": { "200": { "description": "Ok", @@ -15764,15 +15764,15 @@ "parameters": [ { "in": "query", - "name": "userId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15789,9 +15789,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-trust-factor": { + "/auth/my-account/moderate-comments/mod_api/set-trust-factor": { "put": { - "operationId": "SetTrustFactor", + "operationId": "setTrustFactor", "responses": { "200": { "description": "Ok", @@ -15821,15 +15821,15 @@ "parameters": [ { "in": "query", - "name": "userId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "trustFactor", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15837,7 +15837,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "trustFactor", "required": false, "schema": { "type": "string" @@ -15854,9 +15854,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-user-internal-profile": { + "/auth/my-account/moderate-comments/mod_api/get-user-internal-profile": { "get": { - "operationId": "GetUserInternalProfile", + "operationId": "getUserInternalProfile", "responses": { "200": { "description": "Ok", @@ -15886,15 +15886,15 @@ "parameters": [ { "in": "query", - "name": "commentId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15911,9 +15911,9 @@ ] } }, - "/auth/my-account/moderate-comments/reopen-thread": { + "/auth/my-account/moderate-comments/mod_api/reopen-thread": { "put": { - "operationId": "PutReopenThread", + "operationId": "putReopenThread", "responses": { "200": { "description": "Ok", @@ -15943,7 +15943,7 @@ "parameters": [ { "in": "query", - "name": "urlId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15951,8 +15951,8 @@ }, { "in": "query", - "name": "tenantId", - "required": false, + "name": "urlId", + "required": true, "schema": { "type": "string" } @@ -15968,9 +15968,9 @@ ] } }, - "/auth/my-account/moderate-comments/close-thread": { + "/auth/my-account/moderate-comments/mod_api/close-thread": { "put": { - "operationId": "PutCloseThread", + "operationId": "putCloseThread", "responses": { "200": { "description": "Ok", @@ -16000,7 +16000,7 @@ "parameters": [ { "in": "query", - "name": "urlId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -16008,8 +16008,8 @@ }, { "in": "query", - "name": "tenantId", - "required": false, + "name": "urlId", + "required": true, "schema": { "type": "string" } @@ -16025,9 +16025,9 @@ ] } }, - "/auth/my-account/moderate-comments/banned-users/counts": { + "/auth/my-account/moderate-comments/banned-users/mod_api/counts": { "get": { - "operationId": "GetCounts", + "operationId": "getCounts", "responses": { "200": { "description": "Ok", @@ -16058,7 +16058,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23027,7 +23027,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23079,7 +23079,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23129,17 +23129,17 @@ ], "parameters": [ { - "in": "path", - "name": "tag", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "tag", + "required": true, "schema": { "type": "string" } @@ -23187,17 +23187,17 @@ ], "parameters": [ { - "in": "path", - "name": "tag", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "tag", + "required": true, "schema": { "type": "string" } From ea5073f2f28897854951855a458e0d504d58a4da Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 10:39:44 -0700 Subject: [PATCH 5/6] README: shorten the ModerationApi description Replace the long capability enumeration with a concise summary. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b94307..922ff18 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The FastComments Rust SDK consists of several modules: - Three API clients covering all FastComments methods: - `default_api` (**DefaultApi**) - API-key-authenticated methods for server-side use - `public_api` (**PublicApi**) - public, no-API-key methods that are safe to call from browsers and mobile apps - - `moderation_api` (**ModerationApi**) - methods backing the moderator dashboard, including comment moderation (list, count, search, logs, export), moderation actions (remove/restore, flag, set review/spam/approval status, votes, reopen/close thread), bans (ban from a comment, undo, pre-ban summaries, ban status/preferences, banned-user counts), and badges & trust (award/remove badges, manual badges, get/set trust factor, user internal profile). Every Moderation method accepts an `sso` parameter so the call can be made on behalf of an SSO-authenticated moderator. + - `moderation_api` (**ModerationApi**) - an extensive suite of live and fast moderation APIs. Every Moderation method accepts an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie. - Full async/await support with tokio - See [client/README.md](client/README.md) for detailed API documentation From 30727007d84e260e0f3fbd59e71e4e08df9a39df Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 12:10:33 -0700 Subject: [PATCH 6/6] Release v3.0.0: regenerate at 3.0.0 with fastcomments-build-20260630 jar Bump version to 3.0.0 and regenerate from the new generator fork release. --- Cargo.toml | 2 +- client/README.md | 2 +- config.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2f92cfa..bd9aff9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastcomments-sdk" -version = "2.0.1" +version = "3.0.0" authors = ["FastComments "] description = "Official FastComments Rust SDK (Typed API Client & Utilities)" license = "MIT" diff --git a/client/README.md b/client/README.md index e426d18..ee665ec 100644 --- a/client/README.md +++ b/client/README.md @@ -8,7 +8,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 0.0.0 -- Package version: 2.0.1 +- Package version: 3.0.0 - Generator version: 7.23.0-SNAPSHOT - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/config.json b/config.json index 24c7739..ba43db8 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "packageName": "fastcomments_rust", - "packageVersion": "2.0.1", + "packageVersion": "3.0.0", "authorName": "FastComments", "authorEmail": "support@fastcomments.com", "licenseName": "MIT",