From 3512431184cab9bfc99a0084cbd28da13d0ce297 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:07:50 -0700 Subject: [PATCH 1/9] 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. --- client/README.md | 2 +- client/fastcomments.nim | 354 ++ client/fastcomments/apis/api_default.nim | 514 ++- client/fastcomments/apis/api_moderation.nim | 355 +- client/fastcomments/apis/api_public.nim | 254 +- .../models/model_add_hash_tag_response.nim | 47 + .../model_add_hash_tags_bulk_response.nim | 47 + ...l_aggregate_question_results_response1.nim | 47 + ...del_block_from_comment_public_response.nim | 46 + ...model_block_user_from_comment_response.nim | 46 + ...k_aggregate_question_results_response1.nim | 47 + .../model_change_ticket_state_response1.nim | 47 + ..._checked_comments_for_blocked_response.nim | 46 + ...omments_with_question_results_response.nim | 47 + .../model_create_comment_public_response.nim | 49 + .../model_create_email_template_response1.nim | 47 + ...model_create_feed_post_public_response.nim | 47 + .../model_create_feed_post_response1.nim | 47 + .../model_create_moderator_response1.nim | 47 + ...model_create_question_config_response1.nim | 47 + ...model_create_question_result_response1.nim | 47 + .../model_create_tenant_package_response1.nim | 47 + .../models/model_create_tenant_response1.nim | 47 + .../model_create_tenant_user_response1.nim | 47 + .../models/model_create_ticket_response1.nim | 47 + .../model_create_user_badge_response.nim | 47 + .../model_create_v1_page_react_response.nim | 46 + .../model_create_v2_page_react_response.nim | 46 + .../models/model_create_vote_response.nim | 47 + .../model_delete_comment_public_response.nim | 47 + .../models/model_delete_comment_response.nim | 47 + .../model_delete_comment_vote_response.nim | 46 + ...e_email_template_render_error_response.nim | 46 + .../model_delete_email_template_response.nim | 46 + ...model_delete_feed_post_public_response.nim | 37 +- ...elete_feed_post_public_response_any_of.nim | 33 + .../models/model_delete_hash_tag_response.nim | 46 + .../model_delete_moderation_vote_response.nim | 46 + .../model_delete_moderator_response.nim | 46 + ...del_delete_notification_count_response.nim | 46 + ..._delete_pending_webhook_event_response.nim | 46 + .../model_delete_question_config_response.nim | 46 + .../model_delete_question_result_response.nim | 46 + .../model_delete_tenant_package_response.nim | 46 + .../models/model_delete_tenant_response.nim | 46 + .../model_delete_tenant_user_response.nim | 46 + .../model_delete_user_badge_response.nim | 46 + .../model_delete_v1_page_react_response.nim | 46 + .../model_delete_v2_page_react_response.nim | 46 + .../models/model_delete_vote_response.nim | 46 + .../model_flag_comment_public_response.nim | 46 + .../models/model_flag_comment_response1.nim | 46 + .../model_get_api_comments_response.nim | 49 + .../model_get_api_export_status_response.nim | 46 + .../models/model_get_api_ids_response.nim | 46 + .../models/model_get_audit_logs_response1.nim | 47 + ...el_get_ban_users_from_comment_response.nim | 47 + ...et_cached_notification_count_response1.nim | 47 + ...model_get_comment_ban_status_response1.nim | 46 + .../model_get_comment_children_response.nim | 47 + .../models/model_get_comment_response.nim | 47 + .../model_get_comment_text_response1.nim | 46 + ...l_get_comment_vote_user_names_response.nim | 46 + .../model_get_comments_for_user_response1.nim | 46 + .../model_get_comments_public_response.nim | 49 + .../models/model_get_comments_response.nim | 47 + .../models/model_get_count_response.nim | 46 + .../models/model_get_counts_response.nim | 46 + ...t_email_template_definitions_response1.nim | 47 + ...email_template_render_errors_response1.nim | 47 + .../model_get_email_template_response1.nim | 47 + .../model_get_email_templates_response1.nim | 47 + .../models/model_get_event_log_response1.nim | 47 + .../model_get_feed_posts_public_response.nim | 48 + .../models/model_get_feed_posts_response1.nim | 47 + .../model_get_feed_posts_stats_response.nim | 47 + .../models/model_get_gif_large_response.nim | 46 + .../models/model_get_gifs_search_response.nim | 10 + .../model_get_global_event_log_response.nim | 47 + .../models/model_get_hash_tags_response1.nim | 47 + .../models/model_get_logs_response.nim | 47 + ...el_get_manual_badges_for_user_response.nim | 47 + .../model_get_manual_badges_response.nim | 47 + .../model_get_moderation_comment_response.nim | 47 + ...l_get_moderation_comment_text_response.nim | 46 + .../models/model_get_moderator_response1.nim | 47 + .../models/model_get_moderators_response1.nim | 47 + ...model_get_notification_count_response1.nim | 46 + .../model_get_notifications_response1.nim | 47 + .../model_get_offline_users_response.nim | 47 + .../model_get_online_users_response.nim | 47 + .../model_get_pages_public_response.nim | 47 + ..._pending_webhook_event_count_response1.nim | 46 + ...l_get_pending_webhook_events_response1.nim | 47 + .../model_get_pre_ban_summary_response.nim | 46 + .../model_get_question_config_response1.nim | 47 + .../model_get_question_configs_response1.nim | 47 + .../model_get_question_result_response1.nim | 47 + .../model_get_question_results_response1.nim | 47 + ...l_get_search_comments_summary_response.nim | 46 + .../model_get_search_pages_response.nim | 47 + .../model_get_search_sites_response.nim | 47 + .../model_get_search_suggest_response.nim | 48 + .../model_get_search_users_response.nim | 47 + ...odel_get_tenant_daily_usages_response1.nim | 47 + .../model_get_tenant_package_response1.nim | 47 + .../model_get_tenant_packages_response1.nim | 47 + .../models/model_get_tenant_response1.nim | 47 + .../model_get_tenant_user_response1.nim | 47 + .../model_get_tenant_users_response1.nim | 47 + .../models/model_get_tenants_response1.nim | 47 + .../models/model_get_ticket_response1.nim | 47 + .../models/model_get_tickets_response1.nim | 47 + .../model_get_translations_response1.nim | 46 + .../model_get_trust_factor_response.nim | 46 + ...get_user_badge_progress_by_id_response.nim | 47 + ...ser_badge_progress_by_user_id_response.nim | 47 + ..._get_user_badge_progress_list_response.nim | 47 + .../models/model_get_user_badge_response.nim | 47 + .../models/model_get_user_badges_response.nim | 47 + ...model_get_user_ban_preference_response.nim | 47 + ...el_get_user_internal_profile_response1.nim | 47 + ..._get_user_notification_count_response1.nim | 46 + .../model_get_user_notifications_response.nim | 47 + ...l_get_user_presence_statuses_response1.nim | 46 + .../model_get_user_reacts_public_response.nim | 46 + .../models/model_get_user_response1.nim | 47 + .../models/model_get_users_info_response.nim | 47 + .../model_get_v1_page_likes_response.nim | 46 + ...odel_get_v2_page_react_users_response1.nim | 46 + .../model_get_v2_page_reacts_response.nim | 46 + .../model_get_votes_for_user_response1.nim | 47 + .../models/model_get_votes_response1.nim | 47 + .../models/model_lock_comment_response.nim | 46 + .../models/model_patch_hash_tag_response.nim | 47 + .../models/model_pin_comment_response.nim | 47 + ...del_post_adjust_comment_votes_response.nim | 46 + .../models/model_post_api_export_response.nim | 46 + ...el_post_ban_user_from_comment_response.nim | 47 + .../model_post_ban_user_undo_response.nim | 46 + ...del_post_bulk_pre_ban_summary_response.nim | 46 + .../model_post_comments_by_ids_response.nim | 47 + .../model_post_flag_comment_response.nim | 46 + .../model_post_remove_comment_response.nim | 11 + ..._post_restore_deleted_comment_response.nim | 46 + ...t_set_comment_approval_status_response.nim | 46 + ...ost_set_comment_review_status_response.nim | 46 + ..._post_set_comment_spam_status_response.nim | 46 + .../model_post_set_comment_text_response.nim | 46 + .../model_post_un_flag_comment_response.nim | 46 + .../models/model_post_vote_response.nim | 47 + .../models/model_put_award_badge_response.nim | 47 + .../model_put_close_thread_response.nim | 46 + .../model_put_remove_badge_response.nim | 47 + .../model_put_reopen_thread_response.nim | 46 + .../model_react_feed_post_public_response.nim | 46 + .../model_render_email_template_response1.nim | 46 + .../model_replace_tenant_package_response.nim | 46 + .../model_replace_tenant_user_response.nim | 46 + ...reset_user_notification_count_response.nim | 46 + ...del_reset_user_notifications_response1.nim | 46 + .../models/model_save_comment_response.nim | 49 + .../models/model_search_users_response1.nim | 48 + .../models/model_send_invite_response.nim | 46 + .../models/model_send_login_link_response.nim | 46 + .../model_set_comment_text_response1.nim | 47 + .../model_set_trust_factor_response.nim | 46 + ...model_un_block_comment_public_response.nim | 46 + ...el_un_block_user_from_comment_response.nim | 46 + .../models/model_un_flag_comment_response.nim | 46 + .../models/model_un_lock_comment_response.nim | 46 + .../models/model_un_pin_comment_response.nim | 47 + .../models/model_update_comment_response.nim | 46 + .../model_update_email_template_response.nim | 46 + ...model_update_feed_post_public_response.nim | 47 + .../model_update_feed_post_response.nim | 46 + .../model_update_moderator_response.nim | 46 + .../model_update_notification_response.nim | 46 + .../model_update_question_config_response.nim | 46 + .../model_update_question_result_response.nim | 46 + .../model_update_tenant_package_response.nim | 46 + .../models/model_update_tenant_response.nim | 46 + .../model_update_tenant_user_response.nim | 46 + .../model_update_user_badge_response.nim | 46 + ...n_comment_subscription_status_response.nim | 10 + ...tion_page_subscription_status_response.nim | 10 + ...date_user_notification_status_response.nim | 10 + .../models/model_vote_comment_response.nim | 47 + docs/Apis/DefaultApi.md | 360 +- docs/Apis/ModerationApi.md | 224 +- docs/Apis/PublicApi.md | 176 +- docs/Models/AddHashTagResponse.md | 17 + docs/Models/AddHashTagsBulkResponse.md | 17 + .../AggregateQuestionResultsResponse_1.md | 17 + docs/Models/BlockFromCommentPublicResponse.md | 17 + docs/Models/BlockUserFromCommentResponse.md | 17 + .../BulkAggregateQuestionResultsResponse_1.md | 17 + docs/Models/ChangeTicketStateResponse_1.md | 17 + .../CheckedCommentsForBlockedResponse.md | 17 + ...bineCommentsWithQuestionResultsResponse.md | 17 + docs/Models/CreateCommentPublicResponse.md | 20 + docs/Models/CreateEmailTemplateResponse_1.md | 17 + docs/Models/CreateFeedPostPublicResponse.md | 17 + docs/Models/CreateFeedPostResponse_1.md | 17 + docs/Models/CreateModeratorResponse_1.md | 17 + docs/Models/CreateQuestionConfigResponse_1.md | 17 + docs/Models/CreateQuestionResultResponse_1.md | 17 + docs/Models/CreateTenantPackageResponse_1.md | 17 + docs/Models/CreateTenantResponse_1.md | 17 + docs/Models/CreateTenantUserResponse_1.md | 17 + docs/Models/CreateTicketResponse_1.md | 17 + docs/Models/CreateUserBadgeResponse.md | 18 + docs/Models/CreateV1PageReactResponse.md | 16 + docs/Models/CreateV2PageReactResponse.md | 16 + docs/Models/CreateVoteResponse.md | 20 + docs/Models/DeleteCommentPublicResponse.md | 18 + docs/Models/DeleteCommentResponse.md | 17 + docs/Models/DeleteCommentVoteResponse.md | 17 + .../DeleteEmailTemplateRenderErrorResponse.md | 16 + docs/Models/DeleteEmailTemplateResponse.md | 16 + docs/Models/DeleteFeedPostPublicResponse.md | 7 + .../DeleteFeedPostPublicResponse_anyOf.md | 9 + docs/Models/DeleteHashTagResponse.md | 16 + docs/Models/DeleteModerationVoteResponse.md | 17 + docs/Models/DeleteModeratorResponse.md | 16 + .../Models/DeleteNotificationCountResponse.md | 16 + .../DeletePendingWebhookEventResponse.md | 16 + docs/Models/DeleteQuestionConfigResponse.md | 16 + docs/Models/DeleteQuestionResultResponse.md | 16 + docs/Models/DeleteTenantPackageResponse.md | 16 + docs/Models/DeleteTenantResponse.md | 16 + docs/Models/DeleteTenantUserResponse.md | 16 + docs/Models/DeleteUserBadgeResponse.md | 16 + docs/Models/DeleteV1PageReactResponse.md | 16 + docs/Models/DeleteV2PageReactResponse.md | 16 + docs/Models/DeleteVoteResponse.md | 17 + docs/Models/FlagCommentPublicResponse.md | 16 + docs/Models/FlagCommentResponse_1.md | 18 + docs/Models/GetApiCommentsResponse.md | 19 + docs/Models/GetApiExportStatusResponse.md | 19 + docs/Models/GetApiIdsResponse.md | 18 + docs/Models/GetAuditLogsResponse_1.md | 17 + docs/Models/GetBanUsersFromCommentResponse.md | 17 + .../GetCachedNotificationCountResponse_1.md | 17 + docs/Models/GetCommentBanStatusResponse_1.md | 18 + docs/Models/GetCommentChildrenResponse.md | 17 + docs/Models/GetCommentResponse.md | 17 + docs/Models/GetCommentTextResponse_1.md | 18 + .../Models/GetCommentVoteUserNamesResponse.md | 18 + docs/Models/GetCommentsForUserResponse_1.md | 17 + docs/Models/GetCommentsPublicResponse.md | 39 + docs/Models/GetCommentsResponse.md | 17 + docs/Models/GetCountResponse.md | 17 + docs/Models/GetCountsResponse.md | 17 + .../GetEmailTemplateDefinitionsResponse_1.md | 17 + .../GetEmailTemplateRenderErrorsResponse_1.md | 17 + docs/Models/GetEmailTemplateResponse_1.md | 17 + docs/Models/GetEmailTemplatesResponse_1.md | 17 + docs/Models/GetEventLogResponse_1.md | 17 + docs/Models/GetFeedPostsPublicResponse.md | 22 + docs/Models/GetFeedPostsResponse_1.md | 17 + docs/Models/GetFeedPostsStatsResponse.md | 17 + docs/Models/GetGifLargeResponse.md | 17 + docs/Models/GetGifsSearchResponse.md | 6 + docs/Models/GetGlobalEventLogResponse.md | 17 + docs/Models/GetHashTagsResponse_1.md | 17 + docs/Models/GetLogsResponse.md | 17 + docs/Models/GetManualBadgesForUserResponse.md | 17 + docs/Models/GetManualBadgesResponse.md | 17 + docs/Models/GetModerationCommentResponse.md | 17 + .../GetModerationCommentTextResponse.md | 17 + docs/Models/GetModeratorResponse_1.md | 17 + docs/Models/GetModeratorsResponse_1.md | 17 + docs/Models/GetNotificationCountResponse_1.md | 17 + docs/Models/GetNotificationsResponse_1.md | 17 + docs/Models/GetOfflineUsersResponse.md | 19 + docs/Models/GetOnlineUsersResponse.md | 21 + docs/Models/GetPagesPublicResponse.md | 18 + .../GetPendingWebhookEventCountResponse_1.md | 17 + .../GetPendingWebhookEventsResponse_1.md | 17 + docs/Models/GetPreBanSummaryResponse.md | 18 + docs/Models/GetQuestionConfigResponse_1.md | 17 + docs/Models/GetQuestionConfigsResponse_1.md | 17 + docs/Models/GetQuestionResultResponse_1.md | 17 + docs/Models/GetQuestionResultsResponse_1.md | 17 + .../GetSearchCommentsSummaryResponse.md | 17 + docs/Models/GetSearchPagesResponse.md | 17 + docs/Models/GetSearchSitesResponse.md | 17 + docs/Models/GetSearchSuggestResponse.md | 18 + docs/Models/GetSearchUsersResponse.md | 17 + docs/Models/GetTenantDailyUsagesResponse_1.md | 17 + docs/Models/GetTenantPackageResponse_1.md | 17 + docs/Models/GetTenantPackagesResponse_1.md | 17 + docs/Models/GetTenantResponse_1.md | 17 + docs/Models/GetTenantUserResponse_1.md | 17 + docs/Models/GetTenantUsersResponse_1.md | 17 + docs/Models/GetTenantsResponse_1.md | 17 + docs/Models/GetTicketResponse_1.md | 18 + docs/Models/GetTicketsResponse_1.md | 17 + docs/Models/GetTranslationsResponse_1.md | 17 + docs/Models/GetTrustFactorResponse.md | 18 + .../GetUserBadgeProgressByIdResponse.md | 17 + .../GetUserBadgeProgressByUserIdResponse.md | 17 + .../GetUserBadgeProgressListResponse.md | 17 + docs/Models/GetUserBadgeResponse.md | 17 + docs/Models/GetUserBadgesResponse.md | 17 + docs/Models/GetUserBanPreferenceResponse.md | 17 + .../GetUserInternalProfileResponse_1.md | 17 + .../GetUserNotificationCountResponse_1.md | 17 + docs/Models/GetUserNotificationsResponse.md | 20 + .../GetUserPresenceStatusesResponse_1.md | 17 + docs/Models/GetUserReactsPublicResponse.md | 17 + docs/Models/GetUserResponse_1.md | 17 + docs/Models/GetUsersInfoResponse.md | 17 + docs/Models/GetV1PageLikesResponse.md | 20 + docs/Models/GetV2PageReactUsersResponse_1.md | 17 + docs/Models/GetV2PageReactsResponse.md | 18 + docs/Models/GetVotesForUserResponse_1.md | 19 + docs/Models/GetVotesResponse_1.md | 19 + docs/Models/LockCommentResponse.md | 16 + docs/Models/PatchHashTagResponse.md | 17 + docs/Models/PinCommentResponse.md | 17 + docs/Models/PostAdjustCommentVotesResponse.md | 17 + docs/Models/PostApiExportResponse.md | 17 + docs/Models/PostBanUserFromCommentResponse.md | 17 + docs/Models/PostBanUserUndoResponse.md | 16 + docs/Models/PostBulkPreBanSummaryResponse.md | 21 + docs/Models/PostCommentsByIdsResponse.md | 17 + docs/Models/PostFlagCommentResponse.md | 16 + docs/Models/PostRemoveCommentResponse.md | 11 +- .../PostRestoreDeletedCommentResponse.md | 16 + .../PostSetCommentApprovalStatusResponse.md | 17 + .../PostSetCommentReviewStatusResponse.md | 16 + .../PostSetCommentSpamStatusResponse.md | 16 + docs/Models/PostSetCommentTextResponse.md | 17 + docs/Models/PostUnFlagCommentResponse.md | 16 + docs/Models/PostVoteResponse.md | 20 + docs/Models/PutAwardBadgeResponse.md | 18 + docs/Models/PutCloseThreadResponse.md | 16 + docs/Models/PutRemoveBadgeResponse.md | 17 + docs/Models/PutReopenThreadResponse.md | 16 + docs/Models/ReactFeedPostPublicResponse.md | 18 + docs/Models/RenderEmailTemplateResponse_1.md | 17 + docs/Models/ReplaceTenantPackageResponse.md | 16 + docs/Models/ReplaceTenantUserResponse.md | 16 + .../ResetUserNotificationCountResponse.md | 16 + .../ResetUserNotificationsResponse_1.md | 16 + docs/Models/SaveCommentResponse.md | 19 + docs/Models/SearchUsersResponse_1.md | 18 + docs/Models/SendInviteResponse.md | 16 + docs/Models/SendLoginLinkResponse.md | 16 + docs/Models/SetCommentTextResponse_1.md | 17 + docs/Models/SetTrustFactorResponse.md | 17 + docs/Models/UnBlockCommentPublicResponse.md | 17 + docs/Models/UnBlockUserFromCommentResponse.md | 17 + docs/Models/UnFlagCommentResponse.md | 18 + docs/Models/UnLockCommentResponse.md | 16 + docs/Models/UnPinCommentResponse.md | 17 + docs/Models/UpdateCommentResponse.md | 16 + docs/Models/UpdateEmailTemplateResponse.md | 16 + docs/Models/UpdateFeedPostPublicResponse.md | 17 + docs/Models/UpdateFeedPostResponse.md | 16 + docs/Models/UpdateModeratorResponse.md | 16 + docs/Models/UpdateNotificationResponse.md | 16 + docs/Models/UpdateQuestionConfigResponse.md | 16 + docs/Models/UpdateQuestionResultResponse.md | 16 + docs/Models/UpdateTenantPackageResponse.md | 16 + docs/Models/UpdateTenantResponse.md | 16 + docs/Models/UpdateTenantUserResponse.md | 16 + docs/Models/UpdateUserBadgeResponse.md | 16 + ...cationCommentSubscriptionStatusResponse.md | 7 + ...ificationPageSubscriptionStatusResponse.md | 7 + .../UpdateUserNotificationStatusResponse.md | 7 + docs/Models/VoteCommentResponse.md | 20 + docs/README.md | 177 + openapi.json | 4082 +++++++++-------- 376 files changed, 15028 insertions(+), 2874 deletions(-) create mode 100644 client/fastcomments/models/model_add_hash_tag_response.nim create mode 100644 client/fastcomments/models/model_add_hash_tags_bulk_response.nim create mode 100644 client/fastcomments/models/model_aggregate_question_results_response1.nim create mode 100644 client/fastcomments/models/model_block_from_comment_public_response.nim create mode 100644 client/fastcomments/models/model_block_user_from_comment_response.nim create mode 100644 client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim create mode 100644 client/fastcomments/models/model_change_ticket_state_response1.nim create mode 100644 client/fastcomments/models/model_checked_comments_for_blocked_response.nim create mode 100644 client/fastcomments/models/model_combine_comments_with_question_results_response.nim create mode 100644 client/fastcomments/models/model_create_comment_public_response.nim create mode 100644 client/fastcomments/models/model_create_email_template_response1.nim create mode 100644 client/fastcomments/models/model_create_feed_post_public_response.nim create mode 100644 client/fastcomments/models/model_create_feed_post_response1.nim create mode 100644 client/fastcomments/models/model_create_moderator_response1.nim create mode 100644 client/fastcomments/models/model_create_question_config_response1.nim create mode 100644 client/fastcomments/models/model_create_question_result_response1.nim create mode 100644 client/fastcomments/models/model_create_tenant_package_response1.nim create mode 100644 client/fastcomments/models/model_create_tenant_response1.nim create mode 100644 client/fastcomments/models/model_create_tenant_user_response1.nim create mode 100644 client/fastcomments/models/model_create_ticket_response1.nim create mode 100644 client/fastcomments/models/model_create_user_badge_response.nim create mode 100644 client/fastcomments/models/model_create_v1_page_react_response.nim create mode 100644 client/fastcomments/models/model_create_v2_page_react_response.nim create mode 100644 client/fastcomments/models/model_create_vote_response.nim create mode 100644 client/fastcomments/models/model_delete_comment_public_response.nim create mode 100644 client/fastcomments/models/model_delete_comment_response.nim create mode 100644 client/fastcomments/models/model_delete_comment_vote_response.nim create mode 100644 client/fastcomments/models/model_delete_email_template_render_error_response.nim create mode 100644 client/fastcomments/models/model_delete_email_template_response.nim create mode 100644 client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim create mode 100644 client/fastcomments/models/model_delete_hash_tag_response.nim create mode 100644 client/fastcomments/models/model_delete_moderation_vote_response.nim create mode 100644 client/fastcomments/models/model_delete_moderator_response.nim create mode 100644 client/fastcomments/models/model_delete_notification_count_response.nim create mode 100644 client/fastcomments/models/model_delete_pending_webhook_event_response.nim create mode 100644 client/fastcomments/models/model_delete_question_config_response.nim create mode 100644 client/fastcomments/models/model_delete_question_result_response.nim create mode 100644 client/fastcomments/models/model_delete_tenant_package_response.nim create mode 100644 client/fastcomments/models/model_delete_tenant_response.nim create mode 100644 client/fastcomments/models/model_delete_tenant_user_response.nim create mode 100644 client/fastcomments/models/model_delete_user_badge_response.nim create mode 100644 client/fastcomments/models/model_delete_v1_page_react_response.nim create mode 100644 client/fastcomments/models/model_delete_v2_page_react_response.nim create mode 100644 client/fastcomments/models/model_delete_vote_response.nim create mode 100644 client/fastcomments/models/model_flag_comment_public_response.nim create mode 100644 client/fastcomments/models/model_flag_comment_response1.nim create mode 100644 client/fastcomments/models/model_get_api_comments_response.nim create mode 100644 client/fastcomments/models/model_get_api_export_status_response.nim create mode 100644 client/fastcomments/models/model_get_api_ids_response.nim create mode 100644 client/fastcomments/models/model_get_audit_logs_response1.nim create mode 100644 client/fastcomments/models/model_get_ban_users_from_comment_response.nim create mode 100644 client/fastcomments/models/model_get_cached_notification_count_response1.nim create mode 100644 client/fastcomments/models/model_get_comment_ban_status_response1.nim create mode 100644 client/fastcomments/models/model_get_comment_children_response.nim create mode 100644 client/fastcomments/models/model_get_comment_response.nim create mode 100644 client/fastcomments/models/model_get_comment_text_response1.nim create mode 100644 client/fastcomments/models/model_get_comment_vote_user_names_response.nim create mode 100644 client/fastcomments/models/model_get_comments_for_user_response1.nim create mode 100644 client/fastcomments/models/model_get_comments_public_response.nim create mode 100644 client/fastcomments/models/model_get_comments_response.nim create mode 100644 client/fastcomments/models/model_get_count_response.nim create mode 100644 client/fastcomments/models/model_get_counts_response.nim create mode 100644 client/fastcomments/models/model_get_email_template_definitions_response1.nim create mode 100644 client/fastcomments/models/model_get_email_template_render_errors_response1.nim create mode 100644 client/fastcomments/models/model_get_email_template_response1.nim create mode 100644 client/fastcomments/models/model_get_email_templates_response1.nim create mode 100644 client/fastcomments/models/model_get_event_log_response1.nim create mode 100644 client/fastcomments/models/model_get_feed_posts_public_response.nim create mode 100644 client/fastcomments/models/model_get_feed_posts_response1.nim create mode 100644 client/fastcomments/models/model_get_feed_posts_stats_response.nim create mode 100644 client/fastcomments/models/model_get_gif_large_response.nim create mode 100644 client/fastcomments/models/model_get_global_event_log_response.nim create mode 100644 client/fastcomments/models/model_get_hash_tags_response1.nim create mode 100644 client/fastcomments/models/model_get_logs_response.nim create mode 100644 client/fastcomments/models/model_get_manual_badges_for_user_response.nim create mode 100644 client/fastcomments/models/model_get_manual_badges_response.nim create mode 100644 client/fastcomments/models/model_get_moderation_comment_response.nim create mode 100644 client/fastcomments/models/model_get_moderation_comment_text_response.nim create mode 100644 client/fastcomments/models/model_get_moderator_response1.nim create mode 100644 client/fastcomments/models/model_get_moderators_response1.nim create mode 100644 client/fastcomments/models/model_get_notification_count_response1.nim create mode 100644 client/fastcomments/models/model_get_notifications_response1.nim create mode 100644 client/fastcomments/models/model_get_offline_users_response.nim create mode 100644 client/fastcomments/models/model_get_online_users_response.nim create mode 100644 client/fastcomments/models/model_get_pages_public_response.nim create mode 100644 client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim create mode 100644 client/fastcomments/models/model_get_pending_webhook_events_response1.nim create mode 100644 client/fastcomments/models/model_get_pre_ban_summary_response.nim create mode 100644 client/fastcomments/models/model_get_question_config_response1.nim create mode 100644 client/fastcomments/models/model_get_question_configs_response1.nim create mode 100644 client/fastcomments/models/model_get_question_result_response1.nim create mode 100644 client/fastcomments/models/model_get_question_results_response1.nim create mode 100644 client/fastcomments/models/model_get_search_comments_summary_response.nim create mode 100644 client/fastcomments/models/model_get_search_pages_response.nim create mode 100644 client/fastcomments/models/model_get_search_sites_response.nim create mode 100644 client/fastcomments/models/model_get_search_suggest_response.nim create mode 100644 client/fastcomments/models/model_get_search_users_response.nim create mode 100644 client/fastcomments/models/model_get_tenant_daily_usages_response1.nim create mode 100644 client/fastcomments/models/model_get_tenant_package_response1.nim create mode 100644 client/fastcomments/models/model_get_tenant_packages_response1.nim create mode 100644 client/fastcomments/models/model_get_tenant_response1.nim create mode 100644 client/fastcomments/models/model_get_tenant_user_response1.nim create mode 100644 client/fastcomments/models/model_get_tenant_users_response1.nim create mode 100644 client/fastcomments/models/model_get_tenants_response1.nim create mode 100644 client/fastcomments/models/model_get_ticket_response1.nim create mode 100644 client/fastcomments/models/model_get_tickets_response1.nim create mode 100644 client/fastcomments/models/model_get_translations_response1.nim create mode 100644 client/fastcomments/models/model_get_trust_factor_response.nim create mode 100644 client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim create mode 100644 client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim create mode 100644 client/fastcomments/models/model_get_user_badge_progress_list_response.nim create mode 100644 client/fastcomments/models/model_get_user_badge_response.nim create mode 100644 client/fastcomments/models/model_get_user_badges_response.nim create mode 100644 client/fastcomments/models/model_get_user_ban_preference_response.nim create mode 100644 client/fastcomments/models/model_get_user_internal_profile_response1.nim create mode 100644 client/fastcomments/models/model_get_user_notification_count_response1.nim create mode 100644 client/fastcomments/models/model_get_user_notifications_response.nim create mode 100644 client/fastcomments/models/model_get_user_presence_statuses_response1.nim create mode 100644 client/fastcomments/models/model_get_user_reacts_public_response.nim create mode 100644 client/fastcomments/models/model_get_user_response1.nim create mode 100644 client/fastcomments/models/model_get_users_info_response.nim create mode 100644 client/fastcomments/models/model_get_v1_page_likes_response.nim create mode 100644 client/fastcomments/models/model_get_v2_page_react_users_response1.nim create mode 100644 client/fastcomments/models/model_get_v2_page_reacts_response.nim create mode 100644 client/fastcomments/models/model_get_votes_for_user_response1.nim create mode 100644 client/fastcomments/models/model_get_votes_response1.nim create mode 100644 client/fastcomments/models/model_lock_comment_response.nim create mode 100644 client/fastcomments/models/model_patch_hash_tag_response.nim create mode 100644 client/fastcomments/models/model_pin_comment_response.nim create mode 100644 client/fastcomments/models/model_post_adjust_comment_votes_response.nim create mode 100644 client/fastcomments/models/model_post_api_export_response.nim create mode 100644 client/fastcomments/models/model_post_ban_user_from_comment_response.nim create mode 100644 client/fastcomments/models/model_post_ban_user_undo_response.nim create mode 100644 client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim create mode 100644 client/fastcomments/models/model_post_comments_by_ids_response.nim create mode 100644 client/fastcomments/models/model_post_flag_comment_response.nim create mode 100644 client/fastcomments/models/model_post_restore_deleted_comment_response.nim create mode 100644 client/fastcomments/models/model_post_set_comment_approval_status_response.nim create mode 100644 client/fastcomments/models/model_post_set_comment_review_status_response.nim create mode 100644 client/fastcomments/models/model_post_set_comment_spam_status_response.nim create mode 100644 client/fastcomments/models/model_post_set_comment_text_response.nim create mode 100644 client/fastcomments/models/model_post_un_flag_comment_response.nim create mode 100644 client/fastcomments/models/model_post_vote_response.nim create mode 100644 client/fastcomments/models/model_put_award_badge_response.nim create mode 100644 client/fastcomments/models/model_put_close_thread_response.nim create mode 100644 client/fastcomments/models/model_put_remove_badge_response.nim create mode 100644 client/fastcomments/models/model_put_reopen_thread_response.nim create mode 100644 client/fastcomments/models/model_react_feed_post_public_response.nim create mode 100644 client/fastcomments/models/model_render_email_template_response1.nim create mode 100644 client/fastcomments/models/model_replace_tenant_package_response.nim create mode 100644 client/fastcomments/models/model_replace_tenant_user_response.nim create mode 100644 client/fastcomments/models/model_reset_user_notification_count_response.nim create mode 100644 client/fastcomments/models/model_reset_user_notifications_response1.nim create mode 100644 client/fastcomments/models/model_save_comment_response.nim create mode 100644 client/fastcomments/models/model_search_users_response1.nim create mode 100644 client/fastcomments/models/model_send_invite_response.nim create mode 100644 client/fastcomments/models/model_send_login_link_response.nim create mode 100644 client/fastcomments/models/model_set_comment_text_response1.nim create mode 100644 client/fastcomments/models/model_set_trust_factor_response.nim create mode 100644 client/fastcomments/models/model_un_block_comment_public_response.nim create mode 100644 client/fastcomments/models/model_un_block_user_from_comment_response.nim create mode 100644 client/fastcomments/models/model_un_flag_comment_response.nim create mode 100644 client/fastcomments/models/model_un_lock_comment_response.nim create mode 100644 client/fastcomments/models/model_un_pin_comment_response.nim create mode 100644 client/fastcomments/models/model_update_comment_response.nim create mode 100644 client/fastcomments/models/model_update_email_template_response.nim create mode 100644 client/fastcomments/models/model_update_feed_post_public_response.nim create mode 100644 client/fastcomments/models/model_update_feed_post_response.nim create mode 100644 client/fastcomments/models/model_update_moderator_response.nim create mode 100644 client/fastcomments/models/model_update_notification_response.nim create mode 100644 client/fastcomments/models/model_update_question_config_response.nim create mode 100644 client/fastcomments/models/model_update_question_result_response.nim create mode 100644 client/fastcomments/models/model_update_tenant_package_response.nim create mode 100644 client/fastcomments/models/model_update_tenant_response.nim create mode 100644 client/fastcomments/models/model_update_tenant_user_response.nim create mode 100644 client/fastcomments/models/model_update_user_badge_response.nim create mode 100644 client/fastcomments/models/model_vote_comment_response.nim create mode 100644 docs/Models/AddHashTagResponse.md create mode 100644 docs/Models/AddHashTagsBulkResponse.md create mode 100644 docs/Models/AggregateQuestionResultsResponse_1.md create mode 100644 docs/Models/BlockFromCommentPublicResponse.md create mode 100644 docs/Models/BlockUserFromCommentResponse.md create mode 100644 docs/Models/BulkAggregateQuestionResultsResponse_1.md create mode 100644 docs/Models/ChangeTicketStateResponse_1.md create mode 100644 docs/Models/CheckedCommentsForBlockedResponse.md create mode 100644 docs/Models/CombineCommentsWithQuestionResultsResponse.md create mode 100644 docs/Models/CreateCommentPublicResponse.md create mode 100644 docs/Models/CreateEmailTemplateResponse_1.md create mode 100644 docs/Models/CreateFeedPostPublicResponse.md create mode 100644 docs/Models/CreateFeedPostResponse_1.md create mode 100644 docs/Models/CreateModeratorResponse_1.md create mode 100644 docs/Models/CreateQuestionConfigResponse_1.md create mode 100644 docs/Models/CreateQuestionResultResponse_1.md create mode 100644 docs/Models/CreateTenantPackageResponse_1.md create mode 100644 docs/Models/CreateTenantResponse_1.md create mode 100644 docs/Models/CreateTenantUserResponse_1.md create mode 100644 docs/Models/CreateTicketResponse_1.md create mode 100644 docs/Models/CreateUserBadgeResponse.md create mode 100644 docs/Models/CreateV1PageReactResponse.md create mode 100644 docs/Models/CreateV2PageReactResponse.md create mode 100644 docs/Models/CreateVoteResponse.md create mode 100644 docs/Models/DeleteCommentPublicResponse.md create mode 100644 docs/Models/DeleteCommentResponse.md create mode 100644 docs/Models/DeleteCommentVoteResponse.md create mode 100644 docs/Models/DeleteEmailTemplateRenderErrorResponse.md create mode 100644 docs/Models/DeleteEmailTemplateResponse.md create mode 100644 docs/Models/DeleteFeedPostPublicResponse_anyOf.md create mode 100644 docs/Models/DeleteHashTagResponse.md create mode 100644 docs/Models/DeleteModerationVoteResponse.md create mode 100644 docs/Models/DeleteModeratorResponse.md create mode 100644 docs/Models/DeleteNotificationCountResponse.md create mode 100644 docs/Models/DeletePendingWebhookEventResponse.md create mode 100644 docs/Models/DeleteQuestionConfigResponse.md create mode 100644 docs/Models/DeleteQuestionResultResponse.md create mode 100644 docs/Models/DeleteTenantPackageResponse.md create mode 100644 docs/Models/DeleteTenantResponse.md create mode 100644 docs/Models/DeleteTenantUserResponse.md create mode 100644 docs/Models/DeleteUserBadgeResponse.md create mode 100644 docs/Models/DeleteV1PageReactResponse.md create mode 100644 docs/Models/DeleteV2PageReactResponse.md create mode 100644 docs/Models/DeleteVoteResponse.md create mode 100644 docs/Models/FlagCommentPublicResponse.md create mode 100644 docs/Models/FlagCommentResponse_1.md create mode 100644 docs/Models/GetApiCommentsResponse.md create mode 100644 docs/Models/GetApiExportStatusResponse.md create mode 100644 docs/Models/GetApiIdsResponse.md create mode 100644 docs/Models/GetAuditLogsResponse_1.md create mode 100644 docs/Models/GetBanUsersFromCommentResponse.md create mode 100644 docs/Models/GetCachedNotificationCountResponse_1.md create mode 100644 docs/Models/GetCommentBanStatusResponse_1.md create mode 100644 docs/Models/GetCommentChildrenResponse.md create mode 100644 docs/Models/GetCommentResponse.md create mode 100644 docs/Models/GetCommentTextResponse_1.md create mode 100644 docs/Models/GetCommentVoteUserNamesResponse.md create mode 100644 docs/Models/GetCommentsForUserResponse_1.md create mode 100644 docs/Models/GetCommentsPublicResponse.md create mode 100644 docs/Models/GetCommentsResponse.md create mode 100644 docs/Models/GetCountResponse.md create mode 100644 docs/Models/GetCountsResponse.md create mode 100644 docs/Models/GetEmailTemplateDefinitionsResponse_1.md create mode 100644 docs/Models/GetEmailTemplateRenderErrorsResponse_1.md create mode 100644 docs/Models/GetEmailTemplateResponse_1.md create mode 100644 docs/Models/GetEmailTemplatesResponse_1.md create mode 100644 docs/Models/GetEventLogResponse_1.md create mode 100644 docs/Models/GetFeedPostsPublicResponse.md create mode 100644 docs/Models/GetFeedPostsResponse_1.md create mode 100644 docs/Models/GetFeedPostsStatsResponse.md create mode 100644 docs/Models/GetGifLargeResponse.md create mode 100644 docs/Models/GetGlobalEventLogResponse.md create mode 100644 docs/Models/GetHashTagsResponse_1.md create mode 100644 docs/Models/GetLogsResponse.md create mode 100644 docs/Models/GetManualBadgesForUserResponse.md create mode 100644 docs/Models/GetManualBadgesResponse.md create mode 100644 docs/Models/GetModerationCommentResponse.md create mode 100644 docs/Models/GetModerationCommentTextResponse.md create mode 100644 docs/Models/GetModeratorResponse_1.md create mode 100644 docs/Models/GetModeratorsResponse_1.md create mode 100644 docs/Models/GetNotificationCountResponse_1.md create mode 100644 docs/Models/GetNotificationsResponse_1.md create mode 100644 docs/Models/GetOfflineUsersResponse.md create mode 100644 docs/Models/GetOnlineUsersResponse.md create mode 100644 docs/Models/GetPagesPublicResponse.md create mode 100644 docs/Models/GetPendingWebhookEventCountResponse_1.md create mode 100644 docs/Models/GetPendingWebhookEventsResponse_1.md create mode 100644 docs/Models/GetPreBanSummaryResponse.md create mode 100644 docs/Models/GetQuestionConfigResponse_1.md create mode 100644 docs/Models/GetQuestionConfigsResponse_1.md create mode 100644 docs/Models/GetQuestionResultResponse_1.md create mode 100644 docs/Models/GetQuestionResultsResponse_1.md create mode 100644 docs/Models/GetSearchCommentsSummaryResponse.md create mode 100644 docs/Models/GetSearchPagesResponse.md create mode 100644 docs/Models/GetSearchSitesResponse.md create mode 100644 docs/Models/GetSearchSuggestResponse.md create mode 100644 docs/Models/GetSearchUsersResponse.md create mode 100644 docs/Models/GetTenantDailyUsagesResponse_1.md create mode 100644 docs/Models/GetTenantPackageResponse_1.md create mode 100644 docs/Models/GetTenantPackagesResponse_1.md create mode 100644 docs/Models/GetTenantResponse_1.md create mode 100644 docs/Models/GetTenantUserResponse_1.md create mode 100644 docs/Models/GetTenantUsersResponse_1.md create mode 100644 docs/Models/GetTenantsResponse_1.md create mode 100644 docs/Models/GetTicketResponse_1.md create mode 100644 docs/Models/GetTicketsResponse_1.md create mode 100644 docs/Models/GetTranslationsResponse_1.md create mode 100644 docs/Models/GetTrustFactorResponse.md create mode 100644 docs/Models/GetUserBadgeProgressByIdResponse.md create mode 100644 docs/Models/GetUserBadgeProgressByUserIdResponse.md create mode 100644 docs/Models/GetUserBadgeProgressListResponse.md create mode 100644 docs/Models/GetUserBadgeResponse.md create mode 100644 docs/Models/GetUserBadgesResponse.md create mode 100644 docs/Models/GetUserBanPreferenceResponse.md create mode 100644 docs/Models/GetUserInternalProfileResponse_1.md create mode 100644 docs/Models/GetUserNotificationCountResponse_1.md create mode 100644 docs/Models/GetUserNotificationsResponse.md create mode 100644 docs/Models/GetUserPresenceStatusesResponse_1.md create mode 100644 docs/Models/GetUserReactsPublicResponse.md create mode 100644 docs/Models/GetUserResponse_1.md create mode 100644 docs/Models/GetUsersInfoResponse.md create mode 100644 docs/Models/GetV1PageLikesResponse.md create mode 100644 docs/Models/GetV2PageReactUsersResponse_1.md create mode 100644 docs/Models/GetV2PageReactsResponse.md create mode 100644 docs/Models/GetVotesForUserResponse_1.md create mode 100644 docs/Models/GetVotesResponse_1.md create mode 100644 docs/Models/LockCommentResponse.md create mode 100644 docs/Models/PatchHashTagResponse.md create mode 100644 docs/Models/PinCommentResponse.md create mode 100644 docs/Models/PostAdjustCommentVotesResponse.md create mode 100644 docs/Models/PostApiExportResponse.md create mode 100644 docs/Models/PostBanUserFromCommentResponse.md create mode 100644 docs/Models/PostBanUserUndoResponse.md create mode 100644 docs/Models/PostBulkPreBanSummaryResponse.md create mode 100644 docs/Models/PostCommentsByIdsResponse.md create mode 100644 docs/Models/PostFlagCommentResponse.md create mode 100644 docs/Models/PostRestoreDeletedCommentResponse.md create mode 100644 docs/Models/PostSetCommentApprovalStatusResponse.md create mode 100644 docs/Models/PostSetCommentReviewStatusResponse.md create mode 100644 docs/Models/PostSetCommentSpamStatusResponse.md create mode 100644 docs/Models/PostSetCommentTextResponse.md create mode 100644 docs/Models/PostUnFlagCommentResponse.md create mode 100644 docs/Models/PostVoteResponse.md create mode 100644 docs/Models/PutAwardBadgeResponse.md create mode 100644 docs/Models/PutCloseThreadResponse.md create mode 100644 docs/Models/PutRemoveBadgeResponse.md create mode 100644 docs/Models/PutReopenThreadResponse.md create mode 100644 docs/Models/ReactFeedPostPublicResponse.md create mode 100644 docs/Models/RenderEmailTemplateResponse_1.md create mode 100644 docs/Models/ReplaceTenantPackageResponse.md create mode 100644 docs/Models/ReplaceTenantUserResponse.md create mode 100644 docs/Models/ResetUserNotificationCountResponse.md create mode 100644 docs/Models/ResetUserNotificationsResponse_1.md create mode 100644 docs/Models/SaveCommentResponse.md create mode 100644 docs/Models/SearchUsersResponse_1.md create mode 100644 docs/Models/SendInviteResponse.md create mode 100644 docs/Models/SendLoginLinkResponse.md create mode 100644 docs/Models/SetCommentTextResponse_1.md create mode 100644 docs/Models/SetTrustFactorResponse.md create mode 100644 docs/Models/UnBlockCommentPublicResponse.md create mode 100644 docs/Models/UnBlockUserFromCommentResponse.md create mode 100644 docs/Models/UnFlagCommentResponse.md create mode 100644 docs/Models/UnLockCommentResponse.md create mode 100644 docs/Models/UnPinCommentResponse.md create mode 100644 docs/Models/UpdateCommentResponse.md create mode 100644 docs/Models/UpdateEmailTemplateResponse.md create mode 100644 docs/Models/UpdateFeedPostPublicResponse.md create mode 100644 docs/Models/UpdateFeedPostResponse.md create mode 100644 docs/Models/UpdateModeratorResponse.md create mode 100644 docs/Models/UpdateNotificationResponse.md create mode 100644 docs/Models/UpdateQuestionConfigResponse.md create mode 100644 docs/Models/UpdateQuestionResultResponse.md create mode 100644 docs/Models/UpdateTenantPackageResponse.md create mode 100644 docs/Models/UpdateTenantResponse.md create mode 100644 docs/Models/UpdateTenantUserResponse.md create mode 100644 docs/Models/UpdateUserBadgeResponse.md create mode 100644 docs/Models/VoteCommentResponse.md diff --git a/client/README.md b/client/README.md index bcaecc6..2b92882 100644 --- a/client/README.md +++ b/client/README.md @@ -7,7 +7,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.1.1 +- Package version: 2.0.0 - Generator version: 7.23.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.NimClientCodegen diff --git a/client/fastcomments.nim b/client/fastcomments.nim index cb782f5..ed0e35e 100644 --- a/client/fastcomments.nim +++ b/client/fastcomments.nim @@ -43,11 +43,14 @@ import fastcomments/models/model_api_user_subscription import fastcomments/models/model_add_domain_config_params import fastcomments/models/model_add_domain_config_response import fastcomments/models/model_add_domain_config_response_any_of +import fastcomments/models/model_add_hash_tag_response +import fastcomments/models/model_add_hash_tags_bulk_response import fastcomments/models/model_add_page_api_response import fastcomments/models/model_add_sso_user_api_response import fastcomments/models/model_adjust_comment_votes_params import fastcomments/models/model_adjust_votes_response import fastcomments/models/model_aggregate_question_results_response +import fastcomments/models/model_aggregate_question_results_response1 import fastcomments/models/model_aggregate_response import fastcomments/models/model_aggregate_time_bucket import fastcomments/models/model_aggregation_api_error @@ -67,12 +70,15 @@ import fastcomments/models/model_banned_user_match_matched_on_value import fastcomments/models/model_banned_user_match_type import fastcomments/models/model_billing_info import fastcomments/models/model_block_from_comment_params +import fastcomments/models/model_block_from_comment_public_response import fastcomments/models/model_block_success +import fastcomments/models/model_block_user_from_comment_response import fastcomments/models/model_build_moderation_filter_params import fastcomments/models/model_build_moderation_filter_response import fastcomments/models/model_bulk_aggregate_question_item import fastcomments/models/model_bulk_aggregate_question_results_request import fastcomments/models/model_bulk_aggregate_question_results_response +import fastcomments/models/model_bulk_aggregate_question_results_response1 import fastcomments/models/model_bulk_create_hash_tags_body import fastcomments/models/model_bulk_create_hash_tags_body_tags_inner import fastcomments/models/model_bulk_create_hash_tags_response @@ -82,7 +88,10 @@ import fastcomments/models/model_bulk_pre_ban_summary import fastcomments/models/model_change_comment_pin_status_response import fastcomments/models/model_change_ticket_state_body import fastcomments/models/model_change_ticket_state_response +import fastcomments/models/model_change_ticket_state_response1 import fastcomments/models/model_check_blocked_comments_response +import fastcomments/models/model_checked_comments_for_blocked_response +import fastcomments/models/model_combine_comments_with_question_results_response import fastcomments/models/model_combine_question_results_with_comments_response import fastcomments/models/model_comment_data import fastcomments/models/model_comment_html_rendering_mode @@ -102,40 +111,75 @@ import fastcomments/models/model_create_api_page_data import fastcomments/models/model_create_apisso_user_data import fastcomments/models/model_create_api_user_subscription_data import fastcomments/models/model_create_comment_params +import fastcomments/models/model_create_comment_public_response import fastcomments/models/model_create_email_template_body import fastcomments/models/model_create_email_template_response +import fastcomments/models/model_create_email_template_response1 import fastcomments/models/model_create_feed_post_params +import fastcomments/models/model_create_feed_post_public_response import fastcomments/models/model_create_feed_post_response +import fastcomments/models/model_create_feed_post_response1 import fastcomments/models/model_create_feed_posts_response import fastcomments/models/model_create_hash_tag_body import fastcomments/models/model_create_hash_tag_response import fastcomments/models/model_create_moderator_body import fastcomments/models/model_create_moderator_response +import fastcomments/models/model_create_moderator_response1 import fastcomments/models/model_create_question_config_body import fastcomments/models/model_create_question_config_response +import fastcomments/models/model_create_question_config_response1 import fastcomments/models/model_create_question_result_body import fastcomments/models/model_create_question_result_response +import fastcomments/models/model_create_question_result_response1 import fastcomments/models/model_create_subscription_api_response import fastcomments/models/model_create_tenant_body import fastcomments/models/model_create_tenant_package_body import fastcomments/models/model_create_tenant_package_response +import fastcomments/models/model_create_tenant_package_response1 import fastcomments/models/model_create_tenant_response +import fastcomments/models/model_create_tenant_response1 import fastcomments/models/model_create_tenant_user_body import fastcomments/models/model_create_tenant_user_response +import fastcomments/models/model_create_tenant_user_response1 import fastcomments/models/model_create_ticket_body import fastcomments/models/model_create_ticket_response +import fastcomments/models/model_create_ticket_response1 import fastcomments/models/model_create_user_badge_params +import fastcomments/models/model_create_user_badge_response import fastcomments/models/model_create_v1_page_react +import fastcomments/models/model_create_v1_page_react_response +import fastcomments/models/model_create_v2_page_react_response +import fastcomments/models/model_create_vote_response import fastcomments/models/model_custom_config_parameters import fastcomments/models/model_custom_email_template import fastcomments/models/model_delete_comment_action +import fastcomments/models/model_delete_comment_public_response +import fastcomments/models/model_delete_comment_response import fastcomments/models/model_delete_comment_result +import fastcomments/models/model_delete_comment_vote_response import fastcomments/models/model_delete_domain_config_response +import fastcomments/models/model_delete_email_template_render_error_response +import fastcomments/models/model_delete_email_template_response import fastcomments/models/model_delete_feed_post_public_response +import fastcomments/models/model_delete_feed_post_public_response_any_of import fastcomments/models/model_delete_hash_tag_request_body +import fastcomments/models/model_delete_hash_tag_response +import fastcomments/models/model_delete_moderation_vote_response +import fastcomments/models/model_delete_moderator_response +import fastcomments/models/model_delete_notification_count_response import fastcomments/models/model_delete_page_api_response +import fastcomments/models/model_delete_pending_webhook_event_response +import fastcomments/models/model_delete_question_config_response +import fastcomments/models/model_delete_question_result_response import fastcomments/models/model_delete_sso_user_api_response import fastcomments/models/model_delete_subscription_api_response +import fastcomments/models/model_delete_tenant_package_response +import fastcomments/models/model_delete_tenant_response +import fastcomments/models/model_delete_tenant_user_response +import fastcomments/models/model_delete_user_badge_response +import fastcomments/models/model_delete_v1_page_react_response +import fastcomments/models/model_delete_v2_page_react_response +import fastcomments/models/model_delete_vote_response import fastcomments/models/model_deleted_comment_result_comment import fastcomments/models/model_digest_email_frequency import fastcomments/models/model_email_template_definition @@ -151,72 +195,154 @@ import fastcomments/models/model_feed_post_stats import fastcomments/models/model_feed_posts_stats_response import fastcomments/models/model_find_comments_by_range_item import fastcomments/models/model_find_comments_by_range_response +import fastcomments/models/model_flag_comment_public_response import fastcomments/models/model_flag_comment_response +import fastcomments/models/model_flag_comment_response1 +import fastcomments/models/model_get_api_comments_response +import fastcomments/models/model_get_api_export_status_response +import fastcomments/models/model_get_api_ids_response import fastcomments/models/model_get_audit_logs_response +import fastcomments/models/model_get_audit_logs_response1 +import fastcomments/models/model_get_ban_users_from_comment_response import fastcomments/models/model_get_banned_users_count_response import fastcomments/models/model_get_banned_users_from_comment_response import fastcomments/models/model_get_cached_notification_count_response +import fastcomments/models/model_get_cached_notification_count_response1 import fastcomments/models/model_get_comment_ban_status_response +import fastcomments/models/model_get_comment_ban_status_response1 +import fastcomments/models/model_get_comment_children_response +import fastcomments/models/model_get_comment_response import fastcomments/models/model_get_comment_text_response +import fastcomments/models/model_get_comment_text_response1 +import fastcomments/models/model_get_comment_vote_user_names_response import fastcomments/models/model_get_comment_vote_user_names_success_response import fastcomments/models/model_get_comments_for_user_response +import fastcomments/models/model_get_comments_for_user_response1 +import fastcomments/models/model_get_comments_public_response +import fastcomments/models/model_get_comments_response import fastcomments/models/model_get_comments_response_public_comment import fastcomments/models/model_get_comments_response_with_presence_public_comment +import fastcomments/models/model_get_count_response +import fastcomments/models/model_get_counts_response import fastcomments/models/model_get_domain_config_response import fastcomments/models/model_get_domain_configs_response import fastcomments/models/model_get_domain_configs_response_any_of import fastcomments/models/model_get_domain_configs_response_any_of1 import fastcomments/models/model_get_email_template_definitions_response +import fastcomments/models/model_get_email_template_definitions_response1 import fastcomments/models/model_get_email_template_render_errors_response +import fastcomments/models/model_get_email_template_render_errors_response1 import fastcomments/models/model_get_email_template_response +import fastcomments/models/model_get_email_template_response1 import fastcomments/models/model_get_email_templates_response +import fastcomments/models/model_get_email_templates_response1 import fastcomments/models/model_get_event_log_response +import fastcomments/models/model_get_event_log_response1 +import fastcomments/models/model_get_feed_posts_public_response import fastcomments/models/model_get_feed_posts_response +import fastcomments/models/model_get_feed_posts_response1 +import fastcomments/models/model_get_feed_posts_stats_response +import fastcomments/models/model_get_gif_large_response import fastcomments/models/model_get_gifs_search_response import fastcomments/models/model_get_gifs_trending_response +import fastcomments/models/model_get_global_event_log_response import fastcomments/models/model_get_hash_tags_response +import fastcomments/models/model_get_hash_tags_response1 +import fastcomments/models/model_get_logs_response +import fastcomments/models/model_get_manual_badges_for_user_response +import fastcomments/models/model_get_manual_badges_response +import fastcomments/models/model_get_moderation_comment_response +import fastcomments/models/model_get_moderation_comment_text_response import fastcomments/models/model_get_moderator_response +import fastcomments/models/model_get_moderator_response1 import fastcomments/models/model_get_moderators_response +import fastcomments/models/model_get_moderators_response1 import fastcomments/models/model_get_my_notifications_response import fastcomments/models/model_get_notification_count_response +import fastcomments/models/model_get_notification_count_response1 import fastcomments/models/model_get_notifications_response +import fastcomments/models/model_get_notifications_response1 +import fastcomments/models/model_get_offline_users_response +import fastcomments/models/model_get_online_users_response import fastcomments/models/model_get_page_by_urlid_api_response import fastcomments/models/model_get_pages_api_response +import fastcomments/models/model_get_pages_public_response import fastcomments/models/model_get_pending_webhook_event_count_response +import fastcomments/models/model_get_pending_webhook_event_count_response1 import fastcomments/models/model_get_pending_webhook_events_response +import fastcomments/models/model_get_pending_webhook_events_response1 +import fastcomments/models/model_get_pre_ban_summary_response import fastcomments/models/model_get_public_feed_posts_response import fastcomments/models/model_get_public_pages_response import fastcomments/models/model_get_question_config_response +import fastcomments/models/model_get_question_config_response1 import fastcomments/models/model_get_question_configs_response +import fastcomments/models/model_get_question_configs_response1 import fastcomments/models/model_get_question_result_response +import fastcomments/models/model_get_question_result_response1 import fastcomments/models/model_get_question_results_response +import fastcomments/models/model_get_question_results_response1 import fastcomments/models/model_get_sso_user_by_email_api_response import fastcomments/models/model_get_sso_user_by_id_api_response import fastcomments/models/model_get_sso_users_response +import fastcomments/models/model_get_search_comments_summary_response +import fastcomments/models/model_get_search_pages_response +import fastcomments/models/model_get_search_sites_response +import fastcomments/models/model_get_search_suggest_response +import fastcomments/models/model_get_search_users_response import fastcomments/models/model_get_subscriptions_api_response import fastcomments/models/model_get_tenant_daily_usages_response +import fastcomments/models/model_get_tenant_daily_usages_response1 import fastcomments/models/model_get_tenant_manual_badges_response import fastcomments/models/model_get_tenant_package_response +import fastcomments/models/model_get_tenant_package_response1 import fastcomments/models/model_get_tenant_packages_response +import fastcomments/models/model_get_tenant_packages_response1 import fastcomments/models/model_get_tenant_response +import fastcomments/models/model_get_tenant_response1 import fastcomments/models/model_get_tenant_user_response +import fastcomments/models/model_get_tenant_user_response1 import fastcomments/models/model_get_tenant_users_response +import fastcomments/models/model_get_tenant_users_response1 import fastcomments/models/model_get_tenants_response +import fastcomments/models/model_get_tenants_response1 import fastcomments/models/model_get_ticket_response +import fastcomments/models/model_get_ticket_response1 import fastcomments/models/model_get_tickets_response +import fastcomments/models/model_get_tickets_response1 import fastcomments/models/model_get_translations_response +import fastcomments/models/model_get_translations_response1 +import fastcomments/models/model_get_trust_factor_response +import fastcomments/models/model_get_user_badge_progress_by_id_response +import fastcomments/models/model_get_user_badge_progress_by_user_id_response +import fastcomments/models/model_get_user_badge_progress_list_response +import fastcomments/models/model_get_user_badge_response +import fastcomments/models/model_get_user_badges_response +import fastcomments/models/model_get_user_ban_preference_response import fastcomments/models/model_get_user_internal_profile_response +import fastcomments/models/model_get_user_internal_profile_response1 import fastcomments/models/model_get_user_internal_profile_response_profile import fastcomments/models/model_get_user_manual_badges_response import fastcomments/models/model_get_user_notification_count_response +import fastcomments/models/model_get_user_notification_count_response1 +import fastcomments/models/model_get_user_notifications_response import fastcomments/models/model_get_user_presence_statuses_response +import fastcomments/models/model_get_user_presence_statuses_response1 +import fastcomments/models/model_get_user_reacts_public_response import fastcomments/models/model_get_user_response +import fastcomments/models/model_get_user_response1 import fastcomments/models/model_get_user_trust_factor_response +import fastcomments/models/model_get_users_info_response import fastcomments/models/model_get_v1_page_likes +import fastcomments/models/model_get_v1_page_likes_response import fastcomments/models/model_get_v2_page_react_users_response +import fastcomments/models/model_get_v2_page_react_users_response1 import fastcomments/models/model_get_v2_page_reacts +import fastcomments/models/model_get_v2_page_reacts_response import fastcomments/models/model_get_votes_for_user_response +import fastcomments/models/model_get_votes_for_user_response1 import fastcomments/models/model_get_votes_response +import fastcomments/models/model_get_votes_response1 import fastcomments/models/model_gif_get_large_response import fastcomments/models/model_gif_rating import fastcomments/models/model_gif_search_internal_error @@ -231,6 +357,7 @@ import fastcomments/models/model_imported_site_type import fastcomments/models/model_live_event import fastcomments/models/model_live_event_extra_info import fastcomments/models/model_live_event_type +import fastcomments/models/model_lock_comment_response import fastcomments/models/model_media_asset import fastcomments/models/model_mention_auto_complete_mode import fastcomments/models/model_meta_item @@ -264,10 +391,26 @@ import fastcomments/models/model_page_users_online_response import fastcomments/models/model_pages_sort_by import fastcomments/models/model_patch_domain_config_params import fastcomments/models/model_patch_domain_config_response +import fastcomments/models/model_patch_hash_tag_response import fastcomments/models/model_patch_page_api_response import fastcomments/models/model_patch_sso_user_api_response import fastcomments/models/model_pending_comment_to_sync_outbound +import fastcomments/models/model_pin_comment_response +import fastcomments/models/model_post_adjust_comment_votes_response +import fastcomments/models/model_post_api_export_response +import fastcomments/models/model_post_ban_user_from_comment_response +import fastcomments/models/model_post_ban_user_undo_response +import fastcomments/models/model_post_bulk_pre_ban_summary_response +import fastcomments/models/model_post_comments_by_ids_response +import fastcomments/models/model_post_flag_comment_response import fastcomments/models/model_post_remove_comment_response +import fastcomments/models/model_post_restore_deleted_comment_response +import fastcomments/models/model_post_set_comment_approval_status_response +import fastcomments/models/model_post_set_comment_review_status_response +import fastcomments/models/model_post_set_comment_spam_status_response +import fastcomments/models/model_post_set_comment_text_response +import fastcomments/models/model_post_un_flag_comment_response +import fastcomments/models/model_post_vote_response import fastcomments/models/model_pre_ban_summary import fastcomments/models/model_pub_sub_comment import fastcomments/models/model_pub_sub_comment_base @@ -281,7 +424,11 @@ import fastcomments/models/model_public_comment_base import fastcomments/models/model_public_feed_posts_response import fastcomments/models/model_public_page import fastcomments/models/model_public_vote +import fastcomments/models/model_put_award_badge_response +import fastcomments/models/model_put_close_thread_response import fastcomments/models/model_put_domain_config_response +import fastcomments/models/model_put_remove_badge_response +import fastcomments/models/model_put_reopen_thread_response import fastcomments/models/model_put_sso_user_api_response import fastcomments/models/model_query_predicate import fastcomments/models/model_query_predicate_value @@ -294,30 +441,42 @@ import fastcomments/models/model_question_result_aggregation_overall import fastcomments/models/model_question_sub_question_visibility import fastcomments/models/model_question_when_save import fastcomments/models/model_react_body_params +import fastcomments/models/model_react_feed_post_public_response import fastcomments/models/model_react_feed_post_response import fastcomments/models/model_record_string_before_string_or_null_after_string_or_null_value import fastcomments/models/model_remove_comment_action_response import fastcomments/models/model_remove_user_badge_response import fastcomments/models/model_render_email_template_body import fastcomments/models/model_render_email_template_response +import fastcomments/models/model_render_email_template_response1 import fastcomments/models/model_renderable_user_notification import fastcomments/models/model_repeat_comment_check_ignored_reason import fastcomments/models/model_repeat_comment_handling_action import fastcomments/models/model_replace_tenant_package_body +import fastcomments/models/model_replace_tenant_package_response import fastcomments/models/model_replace_tenant_user_body +import fastcomments/models/model_replace_tenant_user_response +import fastcomments/models/model_reset_user_notification_count_response import fastcomments/models/model_reset_user_notifications_response +import fastcomments/models/model_reset_user_notifications_response1 import fastcomments/models/model_sort_dir import fastcomments/models/model_sso_security_level +import fastcomments/models/model_save_comment_response import fastcomments/models/model_save_comment_response_optimized import fastcomments/models/model_save_comments_bulk_response import fastcomments/models/model_save_comments_response_with_presence import fastcomments/models/model_search_users_response +import fastcomments/models/model_search_users_response1 import fastcomments/models/model_search_users_result import fastcomments/models/model_search_users_sectioned_response +import fastcomments/models/model_send_invite_response +import fastcomments/models/model_send_login_link_response import fastcomments/models/model_set_comment_approved_response import fastcomments/models/model_set_comment_text_params import fastcomments/models/model_set_comment_text_response +import fastcomments/models/model_set_comment_text_response1 import fastcomments/models/model_set_comment_text_result +import fastcomments/models/model_set_trust_factor_response import fastcomments/models/model_set_user_trust_factor_response import fastcomments/models/model_size_preset import fastcomments/models/model_sort_directions @@ -326,26 +485,43 @@ import fastcomments/models/model_tos_config import fastcomments/models/model_tenant_badge import fastcomments/models/model_tenant_hash_tag import fastcomments/models/model_tenant_package +import fastcomments/models/model_un_block_comment_public_response import fastcomments/models/model_un_block_from_comment_params +import fastcomments/models/model_un_block_user_from_comment_response +import fastcomments/models/model_un_flag_comment_response +import fastcomments/models/model_un_lock_comment_response +import fastcomments/models/model_un_pin_comment_response import fastcomments/models/model_unblock_success import fastcomments/models/model_updatable_comment_params import fastcomments/models/model_update_api_page_data import fastcomments/models/model_update_apisso_user_data import fastcomments/models/model_update_api_user_subscription_data +import fastcomments/models/model_update_comment_response import fastcomments/models/model_update_domain_config_params import fastcomments/models/model_update_email_template_body +import fastcomments/models/model_update_email_template_response import fastcomments/models/model_update_feed_post_params +import fastcomments/models/model_update_feed_post_public_response +import fastcomments/models/model_update_feed_post_response import fastcomments/models/model_update_hash_tag_body import fastcomments/models/model_update_hash_tag_response import fastcomments/models/model_update_moderator_body +import fastcomments/models/model_update_moderator_response import fastcomments/models/model_update_notification_body +import fastcomments/models/model_update_notification_response import fastcomments/models/model_update_question_config_body +import fastcomments/models/model_update_question_config_response import fastcomments/models/model_update_question_result_body +import fastcomments/models/model_update_question_result_response import fastcomments/models/model_update_subscription_api_response import fastcomments/models/model_update_tenant_body import fastcomments/models/model_update_tenant_package_body +import fastcomments/models/model_update_tenant_package_response +import fastcomments/models/model_update_tenant_response import fastcomments/models/model_update_tenant_user_body +import fastcomments/models/model_update_tenant_user_response import fastcomments/models/model_update_user_badge_params +import fastcomments/models/model_update_user_badge_response import fastcomments/models/model_update_user_notification_comment_subscription_status_response import fastcomments/models/model_update_user_notification_page_subscription_status_response import fastcomments/models/model_update_user_notification_status_response @@ -364,6 +540,7 @@ import fastcomments/models/model_user_search_section_result import fastcomments/models/model_user_session_info import fastcomments/models/model_users_list_location import fastcomments/models/model_vote_body_params +import fastcomments/models/model_vote_comment_response import fastcomments/models/model_vote_delete_response import fastcomments/models/model_vote_response import fastcomments/models/model_vote_response_user @@ -404,11 +581,14 @@ export model_api_user_subscription export model_add_domain_config_params export model_add_domain_config_response export model_add_domain_config_response_any_of +export model_add_hash_tag_response +export model_add_hash_tags_bulk_response export model_add_page_api_response export model_add_sso_user_api_response export model_adjust_comment_votes_params export model_adjust_votes_response export model_aggregate_question_results_response +export model_aggregate_question_results_response1 export model_aggregate_response export model_aggregate_time_bucket export model_aggregation_api_error @@ -428,12 +608,15 @@ export model_banned_user_match_matched_on_value export model_banned_user_match_type export model_billing_info export model_block_from_comment_params +export model_block_from_comment_public_response export model_block_success +export model_block_user_from_comment_response export model_build_moderation_filter_params export model_build_moderation_filter_response export model_bulk_aggregate_question_item export model_bulk_aggregate_question_results_request export model_bulk_aggregate_question_results_response +export model_bulk_aggregate_question_results_response1 export model_bulk_create_hash_tags_body export model_bulk_create_hash_tags_body_tags_inner export model_bulk_create_hash_tags_response @@ -443,7 +626,10 @@ export model_bulk_pre_ban_summary export model_change_comment_pin_status_response export model_change_ticket_state_body export model_change_ticket_state_response +export model_change_ticket_state_response1 export model_check_blocked_comments_response +export model_checked_comments_for_blocked_response +export model_combine_comments_with_question_results_response export model_combine_question_results_with_comments_response export model_comment_data export model_comment_html_rendering_mode @@ -463,40 +649,75 @@ export model_create_api_page_data export model_create_apisso_user_data export model_create_api_user_subscription_data export model_create_comment_params +export model_create_comment_public_response export model_create_email_template_body export model_create_email_template_response +export model_create_email_template_response1 export model_create_feed_post_params +export model_create_feed_post_public_response export model_create_feed_post_response +export model_create_feed_post_response1 export model_create_feed_posts_response export model_create_hash_tag_body export model_create_hash_tag_response export model_create_moderator_body export model_create_moderator_response +export model_create_moderator_response1 export model_create_question_config_body export model_create_question_config_response +export model_create_question_config_response1 export model_create_question_result_body export model_create_question_result_response +export model_create_question_result_response1 export model_create_subscription_api_response export model_create_tenant_body export model_create_tenant_package_body export model_create_tenant_package_response +export model_create_tenant_package_response1 export model_create_tenant_response +export model_create_tenant_response1 export model_create_tenant_user_body export model_create_tenant_user_response +export model_create_tenant_user_response1 export model_create_ticket_body export model_create_ticket_response +export model_create_ticket_response1 export model_create_user_badge_params +export model_create_user_badge_response export model_create_v1_page_react +export model_create_v1_page_react_response +export model_create_v2_page_react_response +export model_create_vote_response export model_custom_config_parameters export model_custom_email_template export model_delete_comment_action +export model_delete_comment_public_response +export model_delete_comment_response export model_delete_comment_result +export model_delete_comment_vote_response export model_delete_domain_config_response +export model_delete_email_template_render_error_response +export model_delete_email_template_response export model_delete_feed_post_public_response +export model_delete_feed_post_public_response_any_of export model_delete_hash_tag_request_body +export model_delete_hash_tag_response +export model_delete_moderation_vote_response +export model_delete_moderator_response +export model_delete_notification_count_response export model_delete_page_api_response +export model_delete_pending_webhook_event_response +export model_delete_question_config_response +export model_delete_question_result_response export model_delete_sso_user_api_response export model_delete_subscription_api_response +export model_delete_tenant_package_response +export model_delete_tenant_response +export model_delete_tenant_user_response +export model_delete_user_badge_response +export model_delete_v1_page_react_response +export model_delete_v2_page_react_response +export model_delete_vote_response export model_deleted_comment_result_comment export model_digest_email_frequency export model_email_template_definition @@ -512,72 +733,154 @@ export model_feed_post_stats export model_feed_posts_stats_response export model_find_comments_by_range_item export model_find_comments_by_range_response +export model_flag_comment_public_response export model_flag_comment_response +export model_flag_comment_response1 +export model_get_api_comments_response +export model_get_api_export_status_response +export model_get_api_ids_response export model_get_audit_logs_response +export model_get_audit_logs_response1 +export model_get_ban_users_from_comment_response export model_get_banned_users_count_response export model_get_banned_users_from_comment_response export model_get_cached_notification_count_response +export model_get_cached_notification_count_response1 export model_get_comment_ban_status_response +export model_get_comment_ban_status_response1 +export model_get_comment_children_response +export model_get_comment_response export model_get_comment_text_response +export model_get_comment_text_response1 +export model_get_comment_vote_user_names_response export model_get_comment_vote_user_names_success_response export model_get_comments_for_user_response +export model_get_comments_for_user_response1 +export model_get_comments_public_response +export model_get_comments_response export model_get_comments_response_public_comment export model_get_comments_response_with_presence_public_comment +export model_get_count_response +export model_get_counts_response export model_get_domain_config_response export model_get_domain_configs_response export model_get_domain_configs_response_any_of export model_get_domain_configs_response_any_of1 export model_get_email_template_definitions_response +export model_get_email_template_definitions_response1 export model_get_email_template_render_errors_response +export model_get_email_template_render_errors_response1 export model_get_email_template_response +export model_get_email_template_response1 export model_get_email_templates_response +export model_get_email_templates_response1 export model_get_event_log_response +export model_get_event_log_response1 +export model_get_feed_posts_public_response export model_get_feed_posts_response +export model_get_feed_posts_response1 +export model_get_feed_posts_stats_response +export model_get_gif_large_response export model_get_gifs_search_response export model_get_gifs_trending_response +export model_get_global_event_log_response export model_get_hash_tags_response +export model_get_hash_tags_response1 +export model_get_logs_response +export model_get_manual_badges_for_user_response +export model_get_manual_badges_response +export model_get_moderation_comment_response +export model_get_moderation_comment_text_response export model_get_moderator_response +export model_get_moderator_response1 export model_get_moderators_response +export model_get_moderators_response1 export model_get_my_notifications_response export model_get_notification_count_response +export model_get_notification_count_response1 export model_get_notifications_response +export model_get_notifications_response1 +export model_get_offline_users_response +export model_get_online_users_response export model_get_page_by_urlid_api_response export model_get_pages_api_response +export model_get_pages_public_response export model_get_pending_webhook_event_count_response +export model_get_pending_webhook_event_count_response1 export model_get_pending_webhook_events_response +export model_get_pending_webhook_events_response1 +export model_get_pre_ban_summary_response export model_get_public_feed_posts_response export model_get_public_pages_response export model_get_question_config_response +export model_get_question_config_response1 export model_get_question_configs_response +export model_get_question_configs_response1 export model_get_question_result_response +export model_get_question_result_response1 export model_get_question_results_response +export model_get_question_results_response1 export model_get_sso_user_by_email_api_response export model_get_sso_user_by_id_api_response export model_get_sso_users_response +export model_get_search_comments_summary_response +export model_get_search_pages_response +export model_get_search_sites_response +export model_get_search_suggest_response +export model_get_search_users_response export model_get_subscriptions_api_response export model_get_tenant_daily_usages_response +export model_get_tenant_daily_usages_response1 export model_get_tenant_manual_badges_response export model_get_tenant_package_response +export model_get_tenant_package_response1 export model_get_tenant_packages_response +export model_get_tenant_packages_response1 export model_get_tenant_response +export model_get_tenant_response1 export model_get_tenant_user_response +export model_get_tenant_user_response1 export model_get_tenant_users_response +export model_get_tenant_users_response1 export model_get_tenants_response +export model_get_tenants_response1 export model_get_ticket_response +export model_get_ticket_response1 export model_get_tickets_response +export model_get_tickets_response1 export model_get_translations_response +export model_get_translations_response1 +export model_get_trust_factor_response +export model_get_user_badge_progress_by_id_response +export model_get_user_badge_progress_by_user_id_response +export model_get_user_badge_progress_list_response +export model_get_user_badge_response +export model_get_user_badges_response +export model_get_user_ban_preference_response export model_get_user_internal_profile_response +export model_get_user_internal_profile_response1 export model_get_user_internal_profile_response_profile export model_get_user_manual_badges_response export model_get_user_notification_count_response +export model_get_user_notification_count_response1 +export model_get_user_notifications_response export model_get_user_presence_statuses_response +export model_get_user_presence_statuses_response1 +export model_get_user_reacts_public_response export model_get_user_response +export model_get_user_response1 export model_get_user_trust_factor_response +export model_get_users_info_response export model_get_v1_page_likes +export model_get_v1_page_likes_response export model_get_v2_page_react_users_response +export model_get_v2_page_react_users_response1 export model_get_v2_page_reacts +export model_get_v2_page_reacts_response export model_get_votes_for_user_response +export model_get_votes_for_user_response1 export model_get_votes_response +export model_get_votes_response1 export model_gif_get_large_response export model_gif_rating export model_gif_search_internal_error @@ -592,6 +895,7 @@ export model_imported_site_type export model_live_event export model_live_event_extra_info export model_live_event_type +export model_lock_comment_response export model_media_asset export model_mention_auto_complete_mode export model_meta_item @@ -625,10 +929,26 @@ export model_page_users_online_response export model_pages_sort_by export model_patch_domain_config_params export model_patch_domain_config_response +export model_patch_hash_tag_response export model_patch_page_api_response export model_patch_sso_user_api_response export model_pending_comment_to_sync_outbound +export model_pin_comment_response +export model_post_adjust_comment_votes_response +export model_post_api_export_response +export model_post_ban_user_from_comment_response +export model_post_ban_user_undo_response +export model_post_bulk_pre_ban_summary_response +export model_post_comments_by_ids_response +export model_post_flag_comment_response export model_post_remove_comment_response +export model_post_restore_deleted_comment_response +export model_post_set_comment_approval_status_response +export model_post_set_comment_review_status_response +export model_post_set_comment_spam_status_response +export model_post_set_comment_text_response +export model_post_un_flag_comment_response +export model_post_vote_response export model_pre_ban_summary export model_pub_sub_comment export model_pub_sub_comment_base @@ -642,7 +962,11 @@ export model_public_comment_base export model_public_feed_posts_response export model_public_page export model_public_vote +export model_put_award_badge_response +export model_put_close_thread_response export model_put_domain_config_response +export model_put_remove_badge_response +export model_put_reopen_thread_response export model_put_sso_user_api_response export model_query_predicate export model_query_predicate_value @@ -655,30 +979,42 @@ export model_question_result_aggregation_overall export model_question_sub_question_visibility export model_question_when_save export model_react_body_params +export model_react_feed_post_public_response export model_react_feed_post_response export model_record_string_before_string_or_null_after_string_or_null_value export model_remove_comment_action_response export model_remove_user_badge_response export model_render_email_template_body export model_render_email_template_response +export model_render_email_template_response1 export model_renderable_user_notification export model_repeat_comment_check_ignored_reason export model_repeat_comment_handling_action export model_replace_tenant_package_body +export model_replace_tenant_package_response export model_replace_tenant_user_body +export model_replace_tenant_user_response +export model_reset_user_notification_count_response export model_reset_user_notifications_response +export model_reset_user_notifications_response1 export model_sort_dir export model_sso_security_level +export model_save_comment_response export model_save_comment_response_optimized export model_save_comments_bulk_response export model_save_comments_response_with_presence export model_search_users_response +export model_search_users_response1 export model_search_users_result export model_search_users_sectioned_response +export model_send_invite_response +export model_send_login_link_response export model_set_comment_approved_response export model_set_comment_text_params export model_set_comment_text_response +export model_set_comment_text_response1 export model_set_comment_text_result +export model_set_trust_factor_response export model_set_user_trust_factor_response export model_size_preset export model_sort_directions @@ -687,26 +1023,43 @@ export model_tos_config export model_tenant_badge export model_tenant_hash_tag export model_tenant_package +export model_un_block_comment_public_response export model_un_block_from_comment_params +export model_un_block_user_from_comment_response +export model_un_flag_comment_response +export model_un_lock_comment_response +export model_un_pin_comment_response export model_unblock_success export model_updatable_comment_params export model_update_api_page_data export model_update_apisso_user_data export model_update_api_user_subscription_data +export model_update_comment_response export model_update_domain_config_params export model_update_email_template_body +export model_update_email_template_response export model_update_feed_post_params +export model_update_feed_post_public_response +export model_update_feed_post_response export model_update_hash_tag_body export model_update_hash_tag_response export model_update_moderator_body +export model_update_moderator_response export model_update_notification_body +export model_update_notification_response export model_update_question_config_body +export model_update_question_config_response export model_update_question_result_body +export model_update_question_result_response export model_update_subscription_api_response export model_update_tenant_body export model_update_tenant_package_body +export model_update_tenant_package_response +export model_update_tenant_response export model_update_tenant_user_body +export model_update_tenant_user_response export model_update_user_badge_params +export model_update_user_badge_response export model_update_user_notification_comment_subscription_status_response export model_update_user_notification_page_subscription_status_response export model_update_user_notification_status_response @@ -725,6 +1078,7 @@ export model_user_search_section_result export model_user_session_info export model_users_list_location export model_vote_body_params +export model_vote_comment_response export model_vote_delete_response export model_vote_response export model_vote_response_user diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index cf35ffc..50d09a0 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -18,140 +18,166 @@ import tables import typetraits import uri -import ../models/model_api_create_user_badge_response -import ../models/model_api_empty_response -import ../models/model_api_empty_success_response -import ../models/model_api_error -import ../models/model_api_get_comment_response -import ../models/model_api_get_comments_response -import ../models/model_api_get_user_badge_progress_list_response -import ../models/model_api_get_user_badge_progress_response -import ../models/model_api_get_user_badge_response -import ../models/model_api_get_user_badges_response -import ../models/model_api_save_comment_response import ../models/model_add_domain_config_params import ../models/model_add_domain_config_response +import ../models/model_add_hash_tag_response +import ../models/model_add_hash_tags_bulk_response import ../models/model_add_page_api_response import ../models/model_add_sso_user_api_response -import ../models/model_aggregate_question_results_response +import ../models/model_aggregate_question_results_response1 import ../models/model_aggregate_response import ../models/model_aggregate_time_bucket import ../models/model_aggregation_request import ../models/model_block_from_comment_params -import ../models/model_block_success +import ../models/model_block_user_from_comment_response import ../models/model_bulk_aggregate_question_results_request -import ../models/model_bulk_aggregate_question_results_response +import ../models/model_bulk_aggregate_question_results_response1 import ../models/model_bulk_create_hash_tags_body -import ../models/model_bulk_create_hash_tags_response import ../models/model_change_ticket_state_body -import ../models/model_change_ticket_state_response -import ../models/model_combine_question_results_with_comments_response +import ../models/model_change_ticket_state_response1 +import ../models/model_combine_comments_with_question_results_response import ../models/model_create_api_page_data import ../models/model_create_apisso_user_data import ../models/model_create_api_user_subscription_data import ../models/model_create_comment_params import ../models/model_create_email_template_body -import ../models/model_create_email_template_response +import ../models/model_create_email_template_response1 import ../models/model_create_feed_post_params -import ../models/model_create_feed_posts_response +import ../models/model_create_feed_post_response1 import ../models/model_create_hash_tag_body -import ../models/model_create_hash_tag_response import ../models/model_create_moderator_body -import ../models/model_create_moderator_response +import ../models/model_create_moderator_response1 import ../models/model_create_question_config_body -import ../models/model_create_question_config_response +import ../models/model_create_question_config_response1 import ../models/model_create_question_result_body -import ../models/model_create_question_result_response +import ../models/model_create_question_result_response1 import ../models/model_create_subscription_api_response import ../models/model_create_tenant_body import ../models/model_create_tenant_package_body -import ../models/model_create_tenant_package_response -import ../models/model_create_tenant_response +import ../models/model_create_tenant_package_response1 +import ../models/model_create_tenant_response1 import ../models/model_create_tenant_user_body -import ../models/model_create_tenant_user_response +import ../models/model_create_tenant_user_response1 import ../models/model_create_ticket_body -import ../models/model_create_ticket_response +import ../models/model_create_ticket_response1 import ../models/model_create_user_badge_params -import ../models/model_delete_comment_result +import ../models/model_create_user_badge_response +import ../models/model_create_vote_response +import ../models/model_delete_comment_response import ../models/model_delete_domain_config_response +import ../models/model_delete_email_template_render_error_response +import ../models/model_delete_email_template_response import ../models/model_delete_hash_tag_request_body +import ../models/model_delete_hash_tag_response +import ../models/model_delete_moderator_response +import ../models/model_delete_notification_count_response import ../models/model_delete_page_api_response +import ../models/model_delete_pending_webhook_event_response +import ../models/model_delete_question_config_response +import ../models/model_delete_question_result_response import ../models/model_delete_sso_user_api_response import ../models/model_delete_subscription_api_response +import ../models/model_delete_tenant_package_response +import ../models/model_delete_tenant_response +import ../models/model_delete_tenant_user_response +import ../models/model_delete_user_badge_response +import ../models/model_delete_vote_response import ../models/model_feed_post -import ../models/model_flag_comment_response -import ../models/model_get_audit_logs_response -import ../models/model_get_cached_notification_count_response +import ../models/model_flag_comment_response1 +import ../models/model_get_audit_logs_response1 +import ../models/model_get_cached_notification_count_response1 +import ../models/model_get_comment_response +import ../models/model_get_comments_response import ../models/model_get_domain_config_response import ../models/model_get_domain_configs_response -import ../models/model_get_email_template_definitions_response -import ../models/model_get_email_template_render_errors_response -import ../models/model_get_email_template_response -import ../models/model_get_email_templates_response -import ../models/model_get_feed_posts_response -import ../models/model_get_hash_tags_response -import ../models/model_get_moderator_response -import ../models/model_get_moderators_response -import ../models/model_get_notification_count_response -import ../models/model_get_notifications_response +import ../models/model_get_email_template_definitions_response1 +import ../models/model_get_email_template_render_errors_response1 +import ../models/model_get_email_template_response1 +import ../models/model_get_email_templates_response1 +import ../models/model_get_feed_posts_response1 +import ../models/model_get_hash_tags_response1 +import ../models/model_get_moderator_response1 +import ../models/model_get_moderators_response1 +import ../models/model_get_notification_count_response1 +import ../models/model_get_notifications_response1 import ../models/model_get_page_by_urlid_api_response import ../models/model_get_pages_api_response -import ../models/model_get_pending_webhook_event_count_response -import ../models/model_get_pending_webhook_events_response -import ../models/model_get_question_config_response -import ../models/model_get_question_configs_response -import ../models/model_get_question_result_response -import ../models/model_get_question_results_response +import ../models/model_get_pending_webhook_event_count_response1 +import ../models/model_get_pending_webhook_events_response1 +import ../models/model_get_question_config_response1 +import ../models/model_get_question_configs_response1 +import ../models/model_get_question_result_response1 +import ../models/model_get_question_results_response1 import ../models/model_get_sso_user_by_email_api_response import ../models/model_get_sso_user_by_id_api_response import ../models/model_get_sso_users_response import ../models/model_get_subscriptions_api_response -import ../models/model_get_tenant_daily_usages_response -import ../models/model_get_tenant_package_response -import ../models/model_get_tenant_packages_response -import ../models/model_get_tenant_response -import ../models/model_get_tenant_user_response -import ../models/model_get_tenant_users_response -import ../models/model_get_tenants_response -import ../models/model_get_ticket_response -import ../models/model_get_tickets_response -import ../models/model_get_user_response -import ../models/model_get_votes_for_user_response -import ../models/model_get_votes_response +import ../models/model_get_tenant_daily_usages_response1 +import ../models/model_get_tenant_package_response1 +import ../models/model_get_tenant_packages_response1 +import ../models/model_get_tenant_response1 +import ../models/model_get_tenant_user_response1 +import ../models/model_get_tenant_users_response1 +import ../models/model_get_tenants_response1 +import ../models/model_get_ticket_response1 +import ../models/model_get_tickets_response1 +import ../models/model_get_user_badge_progress_by_id_response +import ../models/model_get_user_badge_progress_by_user_id_response +import ../models/model_get_user_badge_progress_list_response +import ../models/model_get_user_badge_response +import ../models/model_get_user_badges_response +import ../models/model_get_user_response1 +import ../models/model_get_votes_for_user_response1 +import ../models/model_get_votes_response1 import ../models/model_patch_domain_config_params import ../models/model_patch_domain_config_response +import ../models/model_patch_hash_tag_response import ../models/model_patch_page_api_response import ../models/model_patch_sso_user_api_response import ../models/model_put_domain_config_response import ../models/model_put_sso_user_api_response import ../models/model_render_email_template_body -import ../models/model_render_email_template_response +import ../models/model_render_email_template_response1 import ../models/model_replace_tenant_package_body +import ../models/model_replace_tenant_package_response import ../models/model_replace_tenant_user_body +import ../models/model_replace_tenant_user_response import ../models/model_sort_dir +import ../models/model_save_comment_response import ../models/model_save_comments_bulk_response +import ../models/model_send_invite_response +import ../models/model_send_login_link_response import ../models/model_sort_directions import ../models/model_un_block_from_comment_params -import ../models/model_unblock_success +import ../models/model_un_block_user_from_comment_response +import ../models/model_un_flag_comment_response import ../models/model_updatable_comment_params import ../models/model_update_api_page_data import ../models/model_update_apisso_user_data import ../models/model_update_api_user_subscription_data +import ../models/model_update_comment_response import ../models/model_update_domain_config_params import ../models/model_update_email_template_body +import ../models/model_update_email_template_response +import ../models/model_update_feed_post_response import ../models/model_update_hash_tag_body -import ../models/model_update_hash_tag_response import ../models/model_update_moderator_body +import ../models/model_update_moderator_response import ../models/model_update_notification_body +import ../models/model_update_notification_response import ../models/model_update_question_config_body +import ../models/model_update_question_config_response import ../models/model_update_question_result_body +import ../models/model_update_question_result_response import ../models/model_update_subscription_api_response import ../models/model_update_tenant_body import ../models/model_update_tenant_package_body +import ../models/model_update_tenant_package_response +import ../models/model_update_tenant_response import ../models/model_update_tenant_user_body +import ../models/model_update_tenant_user_response import ../models/model_update_user_badge_params -import ../models/model_vote_delete_response -import ../models/model_vote_response +import ../models/model_update_user_badge_response const basepath = "https://fastcomments.com" @@ -179,7 +205,7 @@ proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigP constructResult[AddDomainConfigResponse](response) -proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[CreateHashTagResponse], Response) = +proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[AddHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -188,10 +214,10 @@ proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: Cr let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags" & "?" & url_encoded_query_params, $(%createHashTagBody)) - constructResult[CreateHashTagResponse](response) + constructResult[AddHashTagResponse](response) -proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[BulkCreateHashTagsResponse], Response) = +proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[AddHashTagsBulkResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -200,7 +226,7 @@ proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTa let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags/bulk" & "?" & url_encoded_query_params, $(%bulkCreateHashTagsBody)) - constructResult[BulkCreateHashTagsResponse](response) + constructResult[AddHashTagsBulkResponse](response) proc addPage*(httpClient: HttpClient, tenantId: string, createAPIPageData: CreateAPIPageData): (Option[AddPageAPIResponse], Response) = @@ -240,7 +266,7 @@ proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: Ag constructResult[AggregateResponse](response) -proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, timeBucket: AggregateTimeBucket, startDate: string, forceRecalculate: bool): (Option[AggregateQuestionResultsResponse], Response) = +proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, timeBucket: AggregateTimeBucket, startDate: string, forceRecalculate: bool): (Option[AggregateQuestionResultsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -259,10 +285,10 @@ proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questio let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results-aggregation" & "?" & url_encoded_query_params) - constructResult[AggregateQuestionResultsResponse](response) + constructResult[AggregateQuestionResultsResponse1](response) -proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId: string, anonUserId: string): (Option[BlockSuccess], Response) = +proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId: string, anonUserId: string): (Option[BlockUserFromCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -274,10 +300,10 @@ proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/block" & "?" & url_encoded_query_params, $(%blockFromCommentParams)) - constructResult[BlockSuccess](response) + constructResult[BlockUserFromCommentResponse](response) -proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse], Response) = +proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -287,10 +313,10 @@ proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bul let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-results-aggregation/bulk" & "?" & url_encoded_query_params, $(%bulkAggregateQuestionResultsRequest)) - constructResult[BulkAggregateQuestionResultsResponse](response) + constructResult[BulkAggregateQuestionResultsResponse1](response) -proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse], Response) = +proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -299,10 +325,10 @@ proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tickets/{id}/state" & "?" & url_encoded_query_params, $(%changeTicketStateBody)) - constructResult[ChangeTicketStateResponse](response) + constructResult[ChangeTicketStateResponse1](response) -proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, startDate: string, forceRecalculate: bool, minValue: float64, maxValue: float64, limit: float64): (Option[CombineQuestionResultsWithCommentsResponse], Response) = +proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, startDate: string, forceRecalculate: bool, minValue: float64, maxValue: float64, limit: float64): (Option[CombineCommentsWithQuestionResultsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -325,10 +351,10 @@ proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results-aggregation/combine/comments" & "?" & url_encoded_query_params) - constructResult[CombineQuestionResultsWithCommentsResponse](response) + constructResult[CombineCommentsWithQuestionResultsResponse](response) -proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse], Response) = +proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -336,10 +362,10 @@ proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/email-templates" & "?" & url_encoded_query_params, $(%createEmailTemplateBody)) - constructResult[CreateEmailTemplateResponse](response) + constructResult[CreateEmailTemplateResponse1](response) -proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, isLive: bool, doSpamCheck: bool, skipDupCheck: bool): (Option[CreateFeedPostsResponse], Response) = +proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, isLive: bool, doSpamCheck: bool, skipDupCheck: bool): (Option[CreateFeedPostResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -355,10 +381,10 @@ proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostPar let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/feed-posts" & "?" & url_encoded_query_params, $(%createFeedPostParams)) - constructResult[CreateFeedPostsResponse](response) + constructResult[CreateFeedPostResponse1](response) -proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse], Response) = +proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -366,10 +392,10 @@ proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorB let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/moderators" & "?" & url_encoded_query_params, $(%createModeratorBody)) - constructResult[CreateModeratorResponse](response) + constructResult[CreateModeratorResponse1](response) -proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse], Response) = +proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -377,10 +403,10 @@ proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuest let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-configs" & "?" & url_encoded_query_params, $(%createQuestionConfigBody)) - constructResult[CreateQuestionConfigResponse](response) + constructResult[CreateQuestionConfigResponse1](response) -proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse], Response) = +proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -388,7 +414,7 @@ proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuest let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-results" & "?" & url_encoded_query_params, $(%createQuestionResultBody)) - constructResult[CreateQuestionResultResponse](response) + constructResult[CreateQuestionResultResponse1](response) proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData): (Option[CreateSubscriptionAPIResponse], Response) = @@ -402,7 +428,7 @@ proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUser constructResult[CreateSubscriptionAPIResponse](response) -proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse], Response) = +proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -410,10 +436,10 @@ proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: C let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenants" & "?" & url_encoded_query_params, $(%createTenantBody)) - constructResult[CreateTenantResponse](response) + constructResult[CreateTenantResponse1](response) -proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse], Response) = +proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -421,10 +447,10 @@ proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenant let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenant-packages" & "?" & url_encoded_query_params, $(%createTenantPackageBody)) - constructResult[CreateTenantPackageResponse](response) + constructResult[CreateTenantPackageResponse1](response) -proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse], Response) = +proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -432,10 +458,10 @@ proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUse let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenant-users" & "?" & url_encoded_query_params, $(%createTenantUserBody)) - constructResult[CreateTenantUserResponse](response) + constructResult[CreateTenantUserResponse1](response) -proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse], Response) = +proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -444,10 +470,10 @@ proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, cre let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tickets" & "?" & url_encoded_query_params, $(%createTicketBody)) - constructResult[CreateTicketResponse](response) + constructResult[CreateTicketResponse1](response) -proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[APICreateUserBadgeResponse], Response) = +proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[CreateUserBadgeResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -455,10 +481,10 @@ proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/user-badges" & "?" & url_encoded_query_params, $(%createUserBadgeParams)) - constructResult[APICreateUserBadgeResponse](response) + constructResult[CreateUserBadgeResponse](response) -proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, userId: string, anonUserId: string): (Option[VoteResponse], Response) = +proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, userId: string, anonUserId: string): (Option[CreateVoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -471,10 +497,10 @@ proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, di let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/votes" & "?" & url_encoded_query_params) - constructResult[VoteResponse](response) + constructResult[CreateVoteResponse](response) -proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contextUserId: string, isLive: bool): (Option[DeleteCommentResult], Response) = +proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contextUserId: string, isLive: bool): (Option[DeleteCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -485,7 +511,7 @@ proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contex let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteCommentResult](response) + constructResult[DeleteCommentResponse](response) proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[DeleteDomainConfigResponse], Response) = @@ -498,27 +524,27 @@ proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: strin constructResult[DeleteDomainConfigResponse](response) -proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteEmailTemplateResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteEmailTemplateResponse](response) -proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[APIEmptyResponse], Response) = +proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[DeleteEmailTemplateRenderErrorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/email-templates/{id}/render-errors/{errorId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteEmailTemplateRenderErrorResponse](response) -proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[APIEmptyResponse], Response) = +proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[DeleteHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -526,10 +552,10 @@ proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, delet query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.request(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, httpMethod = HttpDelete, body = $(%deleteHashTagRequestBody)) - constructResult[APIEmptyResponse](response) + constructResult[DeleteHashTagResponse](response) -proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string): (Option[APIEmptyResponse], Response) = +proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string): (Option[DeleteModeratorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -538,17 +564,17 @@ proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, send let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteModeratorResponse](response) -proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/notification-count/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteNotificationCountResponse](response) proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePageAPIResponse], Response) = @@ -561,34 +587,34 @@ proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[ constructResult[DeletePageAPIResponse](response) -proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePendingWebhookEventResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/pending-webhook-events/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeletePendingWebhookEventResponse](response) -proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteQuestionConfigResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteQuestionConfigResponse](response) -proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteQuestionResultResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteQuestionResultResponse](response) proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: bool, commentDeleteMode: string): (Option[DeleteSSOUserAPIResponse], Response) = @@ -617,7 +643,7 @@ proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[DeleteSubscriptionAPIResponse](response) -proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string): (Option[APIEmptyResponse], Response) = +proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string): (Option[DeleteTenantResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -626,20 +652,20 @@ proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteTenantResponse](response) -proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteTenantPackageResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteTenantPackageResponse](response) -proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: string, commentDeleteMode: string): (Option[APIEmptyResponse], Response) = +proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: string, commentDeleteMode: string): (Option[DeleteTenantUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -650,20 +676,20 @@ proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, del let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[DeleteTenantUserResponse](response) -proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptySuccessResponse], Response) = +proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params) - constructResult[APIEmptySuccessResponse](response) + constructResult[DeleteUserBadgeResponse](response) -proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string): (Option[VoteDeleteResponse], Response) = +proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string): (Option[DeleteVoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -672,10 +698,10 @@ proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/votes/{id}" & "?" & url_encoded_query_params) - constructResult[VoteDeleteResponse](response) + constructResult[DeleteVoteResponse](response) -proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = +proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -686,10 +712,10 @@ proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/flag" & "?" & url_encoded_query_params) - constructResult[FlagCommentResponse](response) + constructResult[FlagCommentResponse1](response) -proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, skip: float64, order: SORTDIR, after: float64, before: float64): (Option[GetAuditLogsResponse], Response) = +proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, skip: float64, order: SORTDIR, after: float64, before: float64): (Option[GetAuditLogsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -706,30 +732,30 @@ proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, ski let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/audit-logs" & "?" & url_encoded_query_params) - constructResult[GetAuditLogsResponse](response) + constructResult[GetAuditLogsResponse1](response) -proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse], Response) = +proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/notification-count/{id}" & "?" & url_encoded_query_params) - constructResult[GetCachedNotificationCountResponse](response) + constructResult[GetCachedNotificationCountResponse1](response) -proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetCommentResponse], Response) = +proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params) - constructResult[APIGetCommentResponse](response) + constructResult[GetCommentResponse](response) -proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: int, skip: int, asTree: bool, skipChildren: int, limitChildren: int, maxTreeDepth: int, urlId: string, userId: string, anonUserId: string, contextUserId: string, hashTag: string, parentId: string, direction: SortDirections, fromDate: int64, toDate: int64): (Option[APIGetCommentsResponse], Response) = +proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: int, skip: int, asTree: bool, skipChildren: int, limitChildren: int, maxTreeDepth: int, urlId: string, userId: string, anonUserId: string, contextUserId: string, hashTag: string, parentId: string, direction: SortDirections, fromDate: int64, toDate: int64): (Option[GetCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -768,7 +794,7 @@ proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: in let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/comments" & "?" & url_encoded_query_params) - constructResult[APIGetCommentsResponse](response) + constructResult[GetCommentsResponse](response) proc getDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[GetDomainConfigResponse], Response) = @@ -791,27 +817,27 @@ proc getDomainConfigs*(httpClient: HttpClient, tenantId: string): (Option[GetDom constructResult[GetDomainConfigsResponse](response) -proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse], Response) = +proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateResponse](response) + constructResult[GetEmailTemplateResponse1](response) -proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse], Response) = +proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/email-templates/definitions" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateDefinitionsResponse](response) + constructResult[GetEmailTemplateDefinitionsResponse1](response) -proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse], Response) = +proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -820,10 +846,10 @@ proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/email-templates/{id}/render-errors" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateRenderErrorsResponse](response) + constructResult[GetEmailTemplateRenderErrorsResponse1](response) -proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse], Response) = +proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -832,10 +858,10 @@ proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/email-templates" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplatesResponse](response) + constructResult[GetEmailTemplatesResponse1](response) -proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string]): (Option[GetFeedPostsResponse], Response) = +proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string]): (Option[GetFeedPostsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -848,10 +874,10 @@ proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, li let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/feed-posts" & "?" & url_encoded_query_params) - constructResult[GetFeedPostsResponse](response) + constructResult[GetFeedPostsResponse1](response) -proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse], Response) = +proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -860,20 +886,20 @@ proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Opt let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/hash-tags" & "?" & url_encoded_query_params) - constructResult[GetHashTagsResponse](response) + constructResult[GetHashTagsResponse1](response) -proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse], Response) = +proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params) - constructResult[GetModeratorResponse](response) + constructResult[GetModeratorResponse1](response) -proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse], Response) = +proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -882,10 +908,10 @@ proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (O let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/moderators" & "?" & url_encoded_query_params) - constructResult[GetModeratorsResponse](response) + constructResult[GetModeratorsResponse1](response) -proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string): (Option[GetNotificationCountResponse], Response) = +proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string): (Option[GetNotificationCountResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -902,10 +928,10 @@ proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/notifications/count" & "?" & url_encoded_query_params) - constructResult[GetNotificationCountResponse](response) + constructResult[GetNotificationCountResponse1](response) -proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string, skip: float64): (Option[GetNotificationsResponse], Response) = +proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string, skip: float64): (Option[GetNotificationsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -924,7 +950,7 @@ proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/notifications" & "?" & url_encoded_query_params) - constructResult[GetNotificationsResponse](response) + constructResult[GetNotificationsResponse1](response) proc getPageByURLId*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetPageByURLIdAPIResponse], Response) = @@ -948,7 +974,7 @@ proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIRes constructResult[GetPagesAPIResponse](response) -proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64): (Option[GetPendingWebhookEventCountResponse], Response) = +proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64): (Option[GetPendingWebhookEventCountResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -967,10 +993,10 @@ proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, comm let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/pending-webhook-events/count" & "?" & url_encoded_query_params) - constructResult[GetPendingWebhookEventCountResponse](response) + constructResult[GetPendingWebhookEventCountResponse1](response) -proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64, skip: float64): (Option[GetPendingWebhookEventsResponse], Response) = +proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64, skip: float64): (Option[GetPendingWebhookEventsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -991,20 +1017,20 @@ proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/pending-webhook-events" & "?" & url_encoded_query_params) - constructResult[GetPendingWebhookEventsResponse](response) + constructResult[GetPendingWebhookEventsResponse1](response) -proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse], Response) = +proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params) - constructResult[GetQuestionConfigResponse](response) + constructResult[GetQuestionConfigResponse1](response) -proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse], Response) = +proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1013,20 +1039,20 @@ proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64 let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-configs" & "?" & url_encoded_query_params) - constructResult[GetQuestionConfigsResponse](response) + constructResult[GetQuestionConfigsResponse1](response) -proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse], Response) = +proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params) - constructResult[GetQuestionResultResponse](response) + constructResult[GetQuestionResultResponse1](response) -proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, startDate: string, questionId: string, questionIds: string, skip: float64): (Option[GetQuestionResultsResponse], Response) = +proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, startDate: string, questionId: string, questionIds: string, skip: float64): (Option[GetQuestionResultsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1045,7 +1071,7 @@ proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results" & "?" & url_encoded_query_params) - constructResult[GetQuestionResultsResponse](response) + constructResult[GetQuestionResultsResponse1](response) proc getSSOUserByEmail*(httpClient: HttpClient, tenantId: string, email: string): (Option[GetSSOUserByEmailAPIResponse], Response) = @@ -1092,17 +1118,17 @@ proc getSubscriptions*(httpClient: HttpClient, tenantId: string, userId: string) constructResult[GetSubscriptionsAPIResponse](response) -proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse], Response) = +proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantResponse](response) + constructResult[GetTenantResponse1](response) -proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: float64, monthNumber: float64, dayNumber: float64, skip: float64): (Option[GetTenantDailyUsagesResponse], Response) = +proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: float64, monthNumber: float64, dayNumber: float64, skip: float64): (Option[GetTenantDailyUsagesResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1117,20 +1143,20 @@ proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-daily-usage" & "?" & url_encoded_query_params) - constructResult[GetTenantDailyUsagesResponse](response) + constructResult[GetTenantDailyUsagesResponse1](response) -proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse], Response) = +proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantPackageResponse](response) + constructResult[GetTenantPackageResponse1](response) -proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse], Response) = +proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1139,20 +1165,20 @@ proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-packages" & "?" & url_encoded_query_params) - constructResult[GetTenantPackagesResponse](response) + constructResult[GetTenantPackagesResponse1](response) -proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse], Response) = +proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantUserResponse](response) + constructResult[GetTenantUserResponse1](response) -proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse], Response) = +proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1161,10 +1187,10 @@ proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): ( let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-users" & "?" & url_encoded_query_params) - constructResult[GetTenantUsersResponse](response) + constructResult[GetTenantUsersResponse1](response) -proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: float64): (Option[GetTenantsResponse], Response) = +proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: float64): (Option[GetTenantsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1175,10 +1201,10 @@ proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: f let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenants" & "?" & url_encoded_query_params) - constructResult[GetTenantsResponse](response) + constructResult[GetTenantsResponse1](response) -proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[GetTicketResponse], Response) = +proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[GetTicketResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1187,10 +1213,10 @@ proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tickets/{id}" & "?" & url_encoded_query_params) - constructResult[GetTicketResponse](response) + constructResult[GetTicketResponse1](response) -proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state: float64, skip: float64, limit: float64): (Option[GetTicketsResponse], Response) = +proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state: float64, skip: float64, limit: float64): (Option[GetTicketsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1205,50 +1231,50 @@ proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tickets" & "?" & url_encoded_query_params) - constructResult[GetTicketsResponse](response) + constructResult[GetTicketsResponse1](response) -proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse], Response) = +proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/users/{id}" & "?" & url_encoded_query_params) - constructResult[GetUserResponse](response) + constructResult[GetUserResponse1](response) -proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeResponse], Response) = +proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params) - constructResult[APIGetUserBadgeResponse](response) + constructResult[GetUserBadgeResponse](response) -proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeProgressResponse], Response) = +proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserBadgeProgressByIdResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badge-progress/{id}" & "?" & url_encoded_query_params) - constructResult[APIGetUserBadgeProgressResponse](response) + constructResult[GetUserBadgeProgressByIdResponse](response) -proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[APIGetUserBadgeProgressResponse], Response) = +proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[GetUserBadgeProgressByUserIdResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badge-progress/user/{userId}" & "?" & url_encoded_query_params) - constructResult[APIGetUserBadgeProgressResponse](response) + constructResult[GetUserBadgeProgressByUserIdResponse](response) -proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: string, limit: float64, skip: float64): (Option[APIGetUserBadgeProgressListResponse], Response) = +proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: string, limit: float64, skip: float64): (Option[GetUserBadgeProgressListResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1261,10 +1287,10 @@ proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/user-badge-progress" & "?" & url_encoded_query_params) - constructResult[APIGetUserBadgeProgressListResponse](response) + constructResult[GetUserBadgeProgressListResponse](response) -proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, badgeId: string, `type`: float64, displayedOnComments: bool, limit: float64, skip: float64): (Option[APIGetUserBadgesResponse], Response) = +proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, badgeId: string, `type`: float64, displayedOnComments: bool, limit: float64, skip: float64): (Option[GetUserBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1283,10 +1309,10 @@ proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, ba let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/user-badges" & "?" & url_encoded_query_params) - constructResult[APIGetUserBadgesResponse](response) + constructResult[GetUserBadgesResponse](response) -proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse], Response) = +proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1294,10 +1320,10 @@ proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/votes" & "?" & url_encoded_query_params) - constructResult[GetVotesResponse](response) + constructResult[GetVotesResponse1](response) -proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, anonUserId: string): (Option[GetVotesForUserResponse], Response) = +proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, anonUserId: string): (Option[GetVotesForUserResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1309,7 +1335,7 @@ proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/votes/for-user" & "?" & url_encoded_query_params) - constructResult[GetVotesForUserResponse](response) + constructResult[GetVotesForUserResponse1](response) proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams): (Option[PatchDomainConfigResponse], Response) = @@ -1323,7 +1349,7 @@ proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate constructResult[PatchDomainConfigResponse](response) -proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, updateHashTagBody: UpdateHashTagBody): (Option[UpdateHashTagResponse], Response) = +proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, updateHashTagBody: UpdateHashTagBody): (Option[PatchHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1332,7 +1358,7 @@ proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, update let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, $(%updateHashTagBody)) - constructResult[UpdateHashTagResponse](response) + constructResult[PatchHashTagResponse](response) proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIPageData: UpdateAPIPageData): (Option[PatchPageAPIResponse], Response) = @@ -1383,7 +1409,7 @@ proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPI constructResult[PutSSOUserAPIResponse](response) -proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string): (Option[RenderEmailTemplateResponse], Response) = +proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string): (Option[RenderEmailTemplateResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1393,10 +1419,10 @@ proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/email-templates/render" & "?" & url_encoded_query_params, $(%renderEmailTemplateBody)) - constructResult[RenderEmailTemplateResponse](response) + constructResult[RenderEmailTemplateResponse1](response) -proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[APIEmptyResponse], Response) = +proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[ReplaceTenantPackageResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1404,10 +1430,10 @@ proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params, $(%replaceTenantPackageBody)) - constructResult[APIEmptyResponse](response) + constructResult[ReplaceTenantPackageResponse](response) -proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = +proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string): (Option[ReplaceTenantUserResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1417,10 +1443,10 @@ proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, re let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params, $(%replaceTenantUserBody)) - constructResult[APIEmptyResponse](response) + constructResult[ReplaceTenantUserResponse](response) -proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[APISaveCommentResponse], Response) = +proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[SaveCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1436,7 +1462,7 @@ proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/comments" & "?" & url_encoded_query_params, $(%createCommentParams)) - constructResult[APISaveCommentResponse](response) + constructResult[SaveCommentResponse](response) proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[seq[SaveCommentsBulkResponse]], Response) = @@ -1458,7 +1484,7 @@ proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentPa constructResult[seq[SaveCommentsBulkResponse]](response) -proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[APIEmptyResponse], Response) = +proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[SendInviteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1466,10 +1492,10 @@ proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/moderators/{id}/send-invite" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[SendInviteResponse](response) -proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string): (Option[APIEmptyResponse], Response) = +proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string): (Option[SendLoginLinkResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1478,10 +1504,10 @@ proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redire let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/tenant-users/{id}/send-login-link" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[SendLoginLinkResponse](response) -proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId: string, anonUserId: string): (Option[UnblockSuccess], Response) = +proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId: string, anonUserId: string): (Option[UnBlockUserFromCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1493,10 +1519,10 @@ proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/un-block" & "?" & url_encoded_query_params, $(%unBlockFromCommentParams)) - constructResult[UnblockSuccess](response) + constructResult[UnBlockUserFromCommentResponse](response) -proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = +proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[UnFlagCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1507,10 +1533,10 @@ proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/un-flag" & "?" & url_encoded_query_params) - constructResult[FlagCommentResponse](response) + constructResult[UnFlagCommentResponse](response) -proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, contextUserId: string, doSpamCheck: bool, isLive: bool): (Option[APIEmptyResponse], Response) = +proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, contextUserId: string, doSpamCheck: bool, isLive: bool): (Option[UpdateCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1524,10 +1550,10 @@ proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updata let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params, $(%updatableCommentParams)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateCommentResponse](response) -proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[APIEmptyResponse], Response) = +proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[UpdateEmailTemplateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1535,10 +1561,10 @@ proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params, $(%updateEmailTemplateBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateEmailTemplateResponse](response) -proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[APIEmptyResponse], Response) = +proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[UpdateFeedPostResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1546,10 +1572,10 @@ proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/feed-posts/{id}" & "?" & url_encoded_query_params, $(%feedPost)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateFeedPostResponse](response) -proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[APIEmptyResponse], Response) = +proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[UpdateModeratorResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1557,10 +1583,10 @@ proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, upda let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params, $(%updateModeratorBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateModeratorResponse](response) -proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string): (Option[APIEmptyResponse], Response) = +proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string): (Option[UpdateNotificationResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1570,10 +1596,10 @@ proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/notifications/{id}" & "?" & url_encoded_query_params, $(%updateNotificationBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateNotificationResponse](response) -proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[APIEmptyResponse], Response) = +proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[UpdateQuestionConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1581,10 +1607,10 @@ proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params, $(%updateQuestionConfigBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateQuestionConfigResponse](response) -proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[APIEmptyResponse], Response) = +proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[UpdateQuestionResultResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1592,7 +1618,7 @@ proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params, $(%updateQuestionResultBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateQuestionResultResponse](response) proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: string): (Option[UpdateSubscriptionAPIResponse], Response) = @@ -1608,7 +1634,7 @@ proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[UpdateSubscriptionAPIResponse](response) -proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[APIEmptyResponse], Response) = +proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[UpdateTenantResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1616,10 +1642,10 @@ proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params, $(%updateTenantBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateTenantResponse](response) -proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[APIEmptyResponse], Response) = +proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[UpdateTenantPackageResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1627,10 +1653,10 @@ proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params, $(%updateTenantPackageBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateTenantPackageResponse](response) -proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = +proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string): (Option[UpdateTenantUserResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1640,10 +1666,10 @@ proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, upd let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params, $(%updateTenantUserBody)) - constructResult[APIEmptyResponse](response) + constructResult[UpdateTenantUserResponse](response) -proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[APIEmptySuccessResponse], Response) = +proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[UpdateUserBadgeResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1651,5 +1677,5 @@ proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, upda let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params, $(%updateUserBadgeParams)) - constructResult[APIEmptySuccessResponse](response) + constructResult[UpdateUserBadgeResponse](response) diff --git a/client/fastcomments/apis/api_moderation.nim b/client/fastcomments/apis/api_moderation.nim index a82c758..70ab7ff 100644 --- a/client/fastcomments/apis/api_moderation.nim +++ b/client/fastcomments/apis/api_moderation.nim @@ -18,47 +18,54 @@ import tables import typetraits import uri -import ../models/model_api_empty_response -import ../models/model_api_error -import ../models/model_api_moderate_get_user_ban_preferences_response import ../models/model_adjust_comment_votes_params -import ../models/model_adjust_votes_response -import ../models/model_award_user_badge_response -import ../models/model_ban_user_from_comment_result import ../models/model_ban_user_undo_params import ../models/model_bulk_pre_ban_params -import ../models/model_bulk_pre_ban_summary import ../models/model_comments_by_ids_params -import ../models/model_get_banned_users_count_response -import ../models/model_get_banned_users_from_comment_response -import ../models/model_get_comment_ban_status_response -import ../models/model_get_comment_text_response -import ../models/model_get_tenant_manual_badges_response -import ../models/model_get_user_internal_profile_response -import ../models/model_get_user_manual_badges_response -import ../models/model_get_user_trust_factor_response -import ../models/model_moderation_api_child_comments_response -import ../models/model_moderation_api_comment_response -import ../models/model_moderation_api_count_comments_response -import ../models/model_moderation_api_get_comment_ids_response -import ../models/model_moderation_api_get_comments_response -import ../models/model_moderation_api_get_logs_response -import ../models/model_moderation_comment_search_response -import ../models/model_moderation_export_response -import ../models/model_moderation_export_status_response -import ../models/model_moderation_page_search_response -import ../models/model_moderation_site_search_response -import ../models/model_moderation_suggest_response -import ../models/model_moderation_user_search_response +import ../models/model_delete_moderation_vote_response +import ../models/model_get_api_comments_response +import ../models/model_get_api_export_status_response +import ../models/model_get_api_ids_response +import ../models/model_get_ban_users_from_comment_response +import ../models/model_get_comment_ban_status_response1 +import ../models/model_get_comment_children_response +import ../models/model_get_count_response +import ../models/model_get_counts_response +import ../models/model_get_logs_response +import ../models/model_get_manual_badges_for_user_response +import ../models/model_get_manual_badges_response +import ../models/model_get_moderation_comment_response +import ../models/model_get_moderation_comment_text_response +import ../models/model_get_pre_ban_summary_response +import ../models/model_get_search_comments_summary_response +import ../models/model_get_search_pages_response +import ../models/model_get_search_sites_response +import ../models/model_get_search_suggest_response +import ../models/model_get_search_users_response +import ../models/model_get_trust_factor_response +import ../models/model_get_user_ban_preference_response +import ../models/model_get_user_internal_profile_response1 +import ../models/model_post_adjust_comment_votes_response +import ../models/model_post_api_export_response +import ../models/model_post_ban_user_from_comment_response +import ../models/model_post_ban_user_undo_response +import ../models/model_post_bulk_pre_ban_summary_response +import ../models/model_post_comments_by_ids_response +import ../models/model_post_flag_comment_response import ../models/model_post_remove_comment_response -import ../models/model_pre_ban_summary -import ../models/model_remove_user_badge_response -import ../models/model_set_comment_approved_response +import ../models/model_post_restore_deleted_comment_response +import ../models/model_post_set_comment_approval_status_response +import ../models/model_post_set_comment_review_status_response +import ../models/model_post_set_comment_spam_status_response +import ../models/model_post_set_comment_text_response +import ../models/model_post_un_flag_comment_response +import ../models/model_post_vote_response +import ../models/model_put_award_badge_response +import ../models/model_put_close_thread_response +import ../models/model_put_remove_badge_response +import ../models/model_put_reopen_thread_response import ../models/model_set_comment_text_params -import ../models/model_set_comment_text_response -import ../models/model_set_user_trust_factor_response -import ../models/model_vote_delete_response -import ../models/model_vote_response +import ../models/model_set_trust_factor_response const basepath = "https://fastcomments.com" @@ -75,18 +82,22 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, sso: string): (Option[VoteDeleteResponse], Response) = +proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, broadcastId: string, tenantId: string, sso: string): (Option[DeleteModerationVoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" & "?" & url_encoded_query_params) - constructResult[VoteDeleteResponse](response) + constructResult[DeleteModerationVoteResponse](response) -proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, demo: bool, sso: string): (Option[ModerationAPIGetCommentsResponse], Response) = +proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, demo: bool, tenantId: string, sso: string): (Option[GetApiCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $page != "": @@ -105,28 +116,32 @@ proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, text query_params_list.add(("sorts", $sorts)) if $demo != "": query_params_list.add(("demo", $demo)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/comments" & "?" & url_encoded_query_params) - constructResult[ModerationAPIGetCommentsResponse](response) + constructResult[GetApiCommentsResponse](response) -proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, sso: string): (Option[ModerationExportStatusResponse], Response) = +proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: string, sso: string): (Option[GetApiExportStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $batchJobId != "": query_params_list.add(("batchJobId", $batchJobId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/export/status" & "?" & url_encoded_query_params) - constructResult[ModerationExportStatusResponse](response) + constructResult[GetApiExportStatusResponse](response) -proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, afterId: string, demo: bool, sso: string): (Option[ModerationAPIGetCommentIdsResponse], Response) = +proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, afterId: string, demo: bool, tenantId: string, sso: string): (Option[GetApiIdsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -141,48 +156,56 @@ proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: str query_params_list.add(("afterId", $afterId)) if $demo != "": query_params_list.add(("demo", $demo)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/ids" & "?" & url_encoded_query_params) - constructResult[ModerationAPIGetCommentIdsResponse](response) + constructResult[GetApiIdsResponse](response) -proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, sso: string): (Option[GetBannedUsersFromCommentResponse], Response) = +proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetBanUsersFromCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetBannedUsersFromCommentResponse](response) + constructResult[GetBanUsersFromCommentResponse](response) -proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, sso: string): (Option[GetCommentBanStatusResponse], Response) = +proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentBanStatusResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetCommentBanStatusResponse](response) + constructResult[GetCommentBanStatusResponse1](response) -proc getCommentChildren*(httpClient: HttpClient, commentId: string, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = +proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentChildrenResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment-children/{commentId}" & "?" & url_encoded_query_params) - constructResult[ModerationAPIChildCommentsResponse](response) + constructResult[GetCommentChildrenResponse](response) -proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filter: string, searchFilters: string, demo: bool, sso: string): (Option[ModerationAPICountCommentsResponse], Response) = +proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filter: string, searchFilters: string, demo: bool, tenantId: string, sso: string): (Option[GetCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -195,89 +218,103 @@ proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: stri query_params_list.add(("searchFilters", $searchFilters)) if $demo != "": query_params_list.add(("demo", $demo)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/count" & "?" & url_encoded_query_params) - constructResult[ModerationAPICountCommentsResponse](response) + constructResult[GetCountResponse](response) -proc getCounts*(httpClient: HttpClient, sso: string): (Option[GetBannedUsersCountResponse], Response) = +proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetCountsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/banned-users/counts" & "?" & url_encoded_query_params) - constructResult[GetBannedUsersCountResponse](response) + constructResult[GetCountsResponse](response) -proc getLogs*(httpClient: HttpClient, commentId: string, sso: string): (Option[ModerationAPIGetLogsResponse], Response) = +proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetLogsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/logs/{commentId}" & "?" & url_encoded_query_params) - constructResult[ModerationAPIGetLogsResponse](response) + constructResult[GetLogsResponse](response) -proc getManualBadges*(httpClient: HttpClient, sso: string): (Option[GetTenantManualBadgesResponse], Response) = +proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetManualBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges" & "?" & url_encoded_query_params) - constructResult[GetTenantManualBadgesResponse](response) + constructResult[GetManualBadgesResponse](response) -proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, commentId: string, sso: string): (Option[GetUserManualBadgesResponse], Response) = +proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, commentId: string, tenantId: string, sso: string): (Option[GetManualBadgesForUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $badgesUserId != "": query_params_list.add(("badgesUserId", $badgesUserId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges-for-user" & "?" & url_encoded_query_params) - constructResult[GetUserManualBadgesResponse](response) + constructResult[GetManualBadgesForUserResponse](response) -proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEmail: bool, includeIP: bool, sso: string): (Option[ModerationAPICommentResponse], Response) = +proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEmail: bool, includeIP: bool, tenantId: string, sso: string): (Option[GetModerationCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $includeEmail != "": query_params_list.add(("includeEmail", $includeEmail)) if $includeIP != "": query_params_list.add(("includeIP", $includeIP)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[ModerationAPICommentResponse](response) + constructResult[GetModerationCommentResponse](response) -proc getModerationCommentText*(httpClient: HttpClient, commentId: string, sso: string): (Option[GetCommentTextResponse], Response) = +proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetModerationCommentTextResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-text/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetCommentTextResponse](response) + constructResult[GetModerationCommentTextResponse](response) -proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, sso: string): (Option[PreBanSummary], Response) = +proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[GetPreBanSummaryResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $includeByUserIdAndEmail != "": @@ -286,15 +323,17 @@ proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserI query_params_list.add(("includeByIP", $includeByIP)) if $includeByEmailDomain != "": query_params_list.add(("includeByEmailDomain", $includeByEmailDomain)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" & "?" & url_encoded_query_params) - constructResult[PreBanSummary](response) + constructResult[GetPreBanSummaryResponse](response) -proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: string, searchFilters: string, sso: string): (Option[ModerationCommentSearchResponse], Response) = +proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: string, searchFilters: string, tenantId: string, sso: string): (Option[GetSearchCommentsSummaryResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -303,116 +342,136 @@ proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: s query_params_list.add(("filters", $filters)) if $searchFilters != "": query_params_list.add(("searchFilters", $searchFilters)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/comments/summary" & "?" & url_encoded_query_params) - constructResult[ModerationCommentSearchResponse](response) + constructResult[GetSearchCommentsSummaryResponse](response) -proc getSearchPages*(httpClient: HttpClient, value: string, sso: string): (Option[ModerationPageSearchResponse], Response) = +proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchPagesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": query_params_list.add(("value", $value)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/pages" & "?" & url_encoded_query_params) - constructResult[ModerationPageSearchResponse](response) + constructResult[GetSearchPagesResponse](response) -proc getSearchSites*(httpClient: HttpClient, value: string, sso: string): (Option[ModerationSiteSearchResponse], Response) = +proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchSitesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": query_params_list.add(("value", $value)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/sites" & "?" & url_encoded_query_params) - constructResult[ModerationSiteSearchResponse](response) + constructResult[GetSearchSitesResponse](response) -proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, sso: string): (Option[ModerationSuggestResponse], Response) = +proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: string, sso: string): (Option[GetSearchSuggestResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": query_params_list.add(("text-search", $textSearch)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/suggest" & "?" & url_encoded_query_params) - constructResult[ModerationSuggestResponse](response) + constructResult[GetSearchSuggestResponse](response) -proc getSearchUsers*(httpClient: HttpClient, value: string, sso: string): (Option[ModerationUserSearchResponse], Response) = +proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": query_params_list.add(("value", $value)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/users" & "?" & url_encoded_query_params) - constructResult[ModerationUserSearchResponse](response) + constructResult[GetSearchUsersResponse](response) -proc getTrustFactor*(httpClient: HttpClient, userId: string, sso: string): (Option[GetUserTrustFactorResponse], Response) = +proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, sso: string): (Option[GetTrustFactorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": query_params_list.add(("userId", $userId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-trust-factor" & "?" & url_encoded_query_params) - constructResult[GetUserTrustFactorResponse](response) + constructResult[GetTrustFactorResponse](response) -proc getUserBanPreference*(httpClient: HttpClient, sso: string): (Option[APIModerateGetUserBanPreferencesResponse], Response) = +proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserBanPreferenceResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/user-ban-preference" & "?" & url_encoded_query_params) - constructResult[APIModerateGetUserBanPreferencesResponse](response) + constructResult[GetUserBanPreferenceResponse](response) -proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, sso: string): (Option[GetUserInternalProfileResponse], Response) = +proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetUserInternalProfileResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] if $commentId != "": query_params_list.add(("commentId", $commentId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-user-internal-profile" & "?" & url_encoded_query_params) - constructResult[GetUserInternalProfileResponse](response) + constructResult[GetUserInternalProfileResponse1](response) -proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, sso: string): (Option[AdjustVotesResponse], Response) = +proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: string, tenantId: string, sso: string): (Option[PostAdjustCommentVotesResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" & "?" & url_encoded_query_params, $(%adjustCommentVotesParams)) - constructResult[AdjustVotesResponse](response) + constructResult[PostAdjustCommentVotesResponse](response) -proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, sso: string): (Option[ModerationExportResponse], Response) = +proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, tenantId: string, sso: string): (Option[PostApiExportResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -425,15 +484,17 @@ proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: query_params_list.add(("searchFilters", $searchFilters)) if $sorts != "": query_params_list.add(("sorts", $sorts)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/api/export" & "?" & url_encoded_query_params) - constructResult[ModerationExportResponse](response) + constructResult[PostApiExportResponse](response) -proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail: bool, banEmailDomain: bool, banIP: bool, deleteAllUsersComments: bool, bannedUntil: string, isShadowBan: bool, updateId: string, banReason: string, sso: string): (Option[BanUserFromCommentResult], Response) = +proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail: bool, banEmailDomain: bool, banIP: bool, deleteAllUsersComments: bool, bannedUntil: string, isShadowBan: bool, updateId: string, banReason: string, tenantId: string, sso: string): (Option[PostBanUserFromCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $banEmail != "": @@ -452,27 +513,31 @@ proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail query_params_list.add(("updateId", $updateId)) if $banReason != "": query_params_list.add(("banReason", $banReason)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[BanUserFromCommentResult](response) + constructResult[PostBanUserFromCommentResponse](response) -proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, sso: string): (Option[APIEmptyResponse], Response) = +proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, tenantId: string, sso: string): (Option[PostBanUserUndoResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/ban-user/undo" & "?" & url_encoded_query_params, $(%banUserUndoParams)) - constructResult[APIEmptyResponse](response) + constructResult[PostBanUserUndoResponse](response) -proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, sso: string): (Option[BulkPreBanSummary], Response) = +proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[PostBulkPreBanSummaryResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -482,40 +547,52 @@ proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBan query_params_list.add(("includeByIP", $includeByIP)) if $includeByEmailDomain != "": query_params_list.add(("includeByEmailDomain", $includeByEmailDomain)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/bulk-pre-ban-summary" & "?" & url_encoded_query_params, $(%bulkPreBanParams)) - constructResult[BulkPreBanSummary](response) + constructResult[PostBulkPreBanSummaryResponse](response) -proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = +proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, tenantId: string, sso: string): (Option[PostCommentsByIdsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/comments-by-ids" & "?" & url_encoded_query_params, $(%commentsByIdsParams)) - constructResult[ModerationAPIChildCommentsResponse](response) + constructResult[PostCommentsByIdsResponse](response) -proc postFlagComment*(httpClient: HttpClient, commentId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostFlagCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PostFlagCommentResponse](response) -proc postRemoveComment*(httpClient: HttpClient, commentId: string, sso: string): (Option[PostRemoveCommentResponse], Response) = +proc postRemoveComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostRemoveCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -524,95 +601,123 @@ proc postRemoveComment*(httpClient: HttpClient, commentId: string, sso: string): constructResult[PostRemoveCommentResponse](response) -proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostRestoreDeletedCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PostRestoreDeletedCommentResponse](response) -proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, approved: bool, sso: string): (Option[SetCommentApprovedResponse], Response) = +proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, approved: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentApprovalStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $approved != "": query_params_list.add(("approved", $approved)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[SetCommentApprovedResponse](response) + constructResult[PostSetCommentApprovalStatusResponse](response) -proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, reviewed: bool, sso: string): (Option[APIEmptyResponse], Response) = +proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, reviewed: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentReviewStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $reviewed != "": query_params_list.add(("reviewed", $reviewed)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PostSetCommentReviewStatusResponse](response) -proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: bool, permNotSpam: bool, sso: string): (Option[APIEmptyResponse], Response) = +proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: bool, permNotSpam: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentSpamStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $spam != "": query_params_list.add(("spam", $spam)) if $permNotSpam != "": query_params_list.add(("permNotSpam", $permNotSpam)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PostSetCommentSpamStatusResponse](response) -proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, sso: string): (Option[SetCommentTextResponse], Response) = +proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentTextResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-text/{commentId}" & "?" & url_encoded_query_params, $(%setCommentTextParams)) - constructResult[SetCommentTextResponse](response) + constructResult[PostSetCommentTextResponse](response) -proc postUnFlagComment*(httpClient: HttpClient, commentId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostUnFlagCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/un-flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PostUnFlagCommentResponse](response) -proc postVote*(httpClient: HttpClient, commentId: string, direction: string, sso: string): (Option[VoteResponse], Response) = +proc postVote*(httpClient: HttpClient, commentId: string, direction: string, broadcastId: string, tenantId: string, sso: string): (Option[PostVoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $direction != "": query_params_list.add(("direction", $direction)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}" & "?" & url_encoded_query_params) - constructResult[VoteResponse](response) + constructResult[PostVoteResponse](response) -proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, sso: string): (Option[AwardUserBadgeResponse], Response) = +proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PutAwardBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -622,27 +727,31 @@ proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, com query_params_list.add(("commentId", $commentId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/award-badge" & "?" & url_encoded_query_params) - constructResult[AwardUserBadgeResponse](response) + constructResult[PutAwardBadgeResponse](response) -proc putCloseThread*(httpClient: HttpClient, urlId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[PutCloseThreadResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/close-thread" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PutCloseThreadResponse](response) -proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, sso: string): (Option[RemoveUserBadgeResponse], Response) = +proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PutRemoveBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -652,37 +761,43 @@ proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, co query_params_list.add(("commentId", $commentId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/remove-badge" & "?" & url_encoded_query_params) - constructResult[RemoveUserBadgeResponse](response) + constructResult[PutRemoveBadgeResponse](response) -proc putReopenThread*(httpClient: HttpClient, urlId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[PutReopenThreadResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/reopen-thread" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[PutReopenThreadResponse](response) -proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string, sso: string): (Option[SetUserTrustFactorResponse], Response) = +proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string, tenantId: string, sso: string): (Option[SetTrustFactorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": query_params_list.add(("userId", $userId)) if $trustFactor != "": query_params_list.add(("trustFactor", $trustFactor)) + if $tenantId != "": + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/set-trust-factor" & "?" & url_encoded_query_params) - constructResult[SetUserTrustFactorResponse](response) + constructResult[SetTrustFactorResponse](response) diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index 76bd07d..d3e174b 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -20,57 +20,67 @@ import uri import ../models/model_api_empty_response import ../models/model_api_error -import ../models/model_block_success -import ../models/model_change_comment_pin_status_response -import ../models/model_check_blocked_comments_response +import ../models/model_block_from_comment_public_response +import ../models/model_checked_comments_for_blocked_response import ../models/model_comment_data import ../models/model_comment_text_update_request +import ../models/model_create_comment_public_response import ../models/model_create_feed_post_params -import ../models/model_create_feed_post_response -import ../models/model_create_v1_page_react +import ../models/model_create_feed_post_public_response +import ../models/model_create_v1_page_react_response +import ../models/model_create_v2_page_react_response +import ../models/model_delete_comment_public_response +import ../models/model_delete_comment_vote_response import ../models/model_delete_feed_post_public_response -import ../models/model_feed_posts_stats_response -import ../models/model_get_comment_vote_user_names_success_response -import ../models/model_get_comments_for_user_response -import ../models/model_get_comments_response_with_presence_public_comment -import ../models/model_get_event_log_response +import ../models/model_delete_v1_page_react_response +import ../models/model_delete_v2_page_react_response +import ../models/model_flag_comment_public_response +import ../models/model_get_comment_text_response1 +import ../models/model_get_comment_vote_user_names_response +import ../models/model_get_comments_for_user_response1 +import ../models/model_get_comments_public_response +import ../models/model_get_event_log_response1 +import ../models/model_get_feed_posts_public_response +import ../models/model_get_feed_posts_stats_response +import ../models/model_get_gif_large_response import ../models/model_get_gifs_search_response import ../models/model_get_gifs_trending_response -import ../models/model_get_my_notifications_response -import ../models/model_get_public_pages_response -import ../models/model_get_translations_response -import ../models/model_get_user_notification_count_response -import ../models/model_get_user_presence_statuses_response -import ../models/model_get_v1_page_likes -import ../models/model_get_v2_page_react_users_response -import ../models/model_get_v2_page_reacts -import ../models/model_gif_get_large_response -import ../models/model_page_users_info_response -import ../models/model_page_users_offline_response -import ../models/model_page_users_online_response +import ../models/model_get_global_event_log_response +import ../models/model_get_offline_users_response +import ../models/model_get_online_users_response +import ../models/model_get_pages_public_response +import ../models/model_get_translations_response1 +import ../models/model_get_user_notification_count_response1 +import ../models/model_get_user_notifications_response +import ../models/model_get_user_presence_statuses_response1 +import ../models/model_get_user_reacts_public_response +import ../models/model_get_users_info_response +import ../models/model_get_v1_page_likes_response +import ../models/model_get_v2_page_react_users_response1 +import ../models/model_get_v2_page_reacts_response +import ../models/model_lock_comment_response import ../models/model_pages_sort_by -import ../models/model_public_api_delete_comment_response -import ../models/model_public_api_get_comment_text_response -import ../models/model_public_api_set_comment_text_response +import ../models/model_pin_comment_response import ../models/model_public_block_from_comment_params -import ../models/model_public_feed_posts_response import ../models/model_react_body_params -import ../models/model_react_feed_post_response -import ../models/model_reset_user_notifications_response -import ../models/model_save_comments_response_with_presence -import ../models/model_search_users_result +import ../models/model_react_feed_post_public_response +import ../models/model_reset_user_notification_count_response +import ../models/model_reset_user_notifications_response1 +import ../models/model_search_users_response1 +import ../models/model_set_comment_text_response1 import ../models/model_size_preset import ../models/model_sort_directions -import ../models/model_unblock_success +import ../models/model_un_block_comment_public_response +import ../models/model_un_lock_comment_response +import ../models/model_un_pin_comment_response import ../models/model_update_feed_post_params +import ../models/model_update_feed_post_public_response import ../models/model_update_user_notification_comment_subscription_status_response import ../models/model_update_user_notification_page_subscription_status_response import ../models/model_update_user_notification_status_response import ../models/model_upload_image_response -import ../models/model_user_reacts_response import ../models/model_vote_body_params -import ../models/model_vote_delete_response -import ../models/model_vote_response +import ../models/model_vote_comment_response const basepath = "https://fastcomments.com" @@ -87,7 +97,7 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[BlockSuccess], Response) = +proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[BlockFromCommentPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -97,10 +107,10 @@ proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/block-from-comment/{commentId}" & "?" & url_encoded_query_params, $(%publicBlockFromCommentParams)) - constructResult[BlockSuccess](response) + constructResult[BlockFromCommentPublicResponse](response) -proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string): (Option[CheckBlockedCommentsResponse], Response) = +proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string): (Option[CheckedCommentsForBlockedResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -110,10 +120,10 @@ proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commen let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/check-blocked-comments" & "?" & url_encoded_query_params) - constructResult[CheckBlockedCommentsResponse](response) + constructResult[CheckedCommentsForBlockedResponse](response) -proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId: string, sso: string): (Option[SaveCommentsResponseWithPresence], Response) = +proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId: string, sso: string): (Option[CreateCommentPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -126,10 +136,10 @@ proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}" & "?" & url_encoded_query_params, $(%commentData)) - constructResult[SaveCommentsResponseWithPresence](response) + constructResult[CreateCommentPublicResponse](response) -proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = +proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -140,10 +150,10 @@ proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/feed-posts/{tenantId}" & "?" & url_encoded_query_params, $(%createFeedPostParams)) - constructResult[CreateFeedPostResponse](response) + constructResult[CreateFeedPostPublicResponse](response) -proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string): (Option[CreateV1PageReact], Response) = +proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string): (Option[CreateV1PageReactResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -152,10 +162,10 @@ proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV1PageReact](response) + constructResult[CreateV1PageReactResponse](response) -proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string): (Option[CreateV1PageReact], Response) = +proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string): (Option[CreateV2PageReactResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -165,10 +175,10 @@ proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV1PageReact](response) + constructResult[CreateV2PageReactResponse](response) -proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, editKey: string, sso: string): (Option[PublicAPIDeleteCommentResponse], Response) = +proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, editKey: string, sso: string): (Option[DeleteCommentPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -179,10 +189,10 @@ proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/comments/{tenantId}/{commentId}" & "?" & url_encoded_query_params) - constructResult[PublicAPIDeleteCommentResponse](response) + constructResult[DeleteCommentPublicResponse](response) -proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey: string, sso: string): (Option[VoteDeleteResponse], Response) = +proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey: string, sso: string): (Option[DeleteCommentVoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -194,7 +204,7 @@ proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/comments/{tenantId}/{commentId}/vote/{voteId}" & "?" & url_encoded_query_params) - constructResult[VoteDeleteResponse](response) + constructResult[DeleteCommentVoteResponse](response) proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, broadcastId: string, sso: string): (Option[DeleteFeedPostPublicResponse], Response) = @@ -210,17 +220,17 @@ proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str constructResult[DeleteFeedPostPublicResponse](response) -proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[CreateV1PageReact], Response) = +proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[DeleteV1PageReactResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV1PageReact](response) + constructResult[DeleteV1PageReactResponse](response) -proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[CreateV1PageReact], Response) = +proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[DeleteV2PageReactResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -228,10 +238,10 @@ proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV1PageReact](response) + constructResult[DeleteV2PageReactResponse](response) -proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string): (Option[APIEmptyResponse], Response) = +proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string): (Option[FlagCommentPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -241,10 +251,10 @@ proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[FlagCommentPublicResponse](response) -proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, editKey: string, sso: string): (Option[PublicAPIGetCommentTextResponse], Response) = +proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, editKey: string, sso: string): (Option[GetCommentTextResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] if $editKey != "": @@ -254,10 +264,10 @@ proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}/{commentId}/text" & "?" & url_encoded_query_params) - constructResult[PublicAPIGetCommentTextResponse](response) + constructResult[GetCommentTextResponse1](response) -proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = +proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string): (Option[GetCommentVoteUserNamesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("dir", $dir)) @@ -266,10 +276,10 @@ proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}/{commentId}/votes" & "?" & url_encoded_query_params) - constructResult[GetCommentVoteUserNamesSuccessResponse](response) + constructResult[GetCommentVoteUserNamesResponse](response) -proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: SortDirections, repliesToUserId: string, page: float64, includei10n: bool, locale: string, isCrawler: bool): (Option[GetCommentsForUserResponse], Response) = +proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: SortDirections, repliesToUserId: string, page: float64, includei10n: bool, locale: string, isCrawler: bool): (Option[GetCommentsForUserResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -289,10 +299,10 @@ proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: Sort let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/comments-for-user" & "?" & url_encoded_query_params) - constructResult[GetCommentsForUserResponse](response) + constructResult[GetCommentsForUserResponse1](response) -proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, page: int, direction: SortDirections, sso: string, skip: int, skipChildren: int, limit: int, limitChildren: int, countChildren: bool, fetchPageForCommentId: string, includeConfig: bool, countAll: bool, includei10n: bool, locale: string, modules: string, isCrawler: bool, includeNotificationCount: bool, asTree: bool, maxTreeDepth: int, useFullTranslationIds: bool, parentId: string, searchText: string, hashTags: seq[string], userId: string, customConfigStr: string, afterCommentId: string, beforeCommentId: string): (Option[GetCommentsResponseWithPresencePublicComment], Response) = +proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, page: int, direction: SortDirections, sso: string, skip: int, skipChildren: int, limit: int, limitChildren: int, countChildren: bool, fetchPageForCommentId: string, includeConfig: bool, countAll: bool, includei10n: bool, locale: string, modules: string, isCrawler: bool, includeNotificationCount: bool, asTree: bool, maxTreeDepth: int, useFullTranslationIds: bool, parentId: string, searchText: string, hashTags: seq[string], userId: string, customConfigStr: string, afterCommentId: string, beforeCommentId: string): (Option[GetCommentsPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -351,10 +361,10 @@ proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetCommentsResponseWithPresencePublicComment](response) + constructResult[GetCommentsPublicResponse](response) -proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = +proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -365,10 +375,10 @@ proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/event-log/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetEventLogResponse](response) + constructResult[GetEventLogResponse1](response) -proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string], sso: string, isCrawler: bool, includeUserInfo: bool): (Option[PublicFeedPostsResponse], Response) = +proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string], sso: string, isCrawler: bool, includeUserInfo: bool): (Option[GetFeedPostsPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $afterId != "": @@ -386,10 +396,10 @@ proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}" & "?" & url_encoded_query_params) - constructResult[PublicFeedPostsResponse](response) + constructResult[GetFeedPostsPublicResponse](response) -proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[FeedPostsStatsResponse], Response) = +proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[GetFeedPostsStatsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("postIds", $postIds.join(","))) @@ -398,17 +408,17 @@ proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}/stats" & "?" & url_encoded_query_params) - constructResult[FeedPostsStatsResponse](response) + constructResult[GetFeedPostsStatsResponse](response) -proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GifGetLargeResponse], Response) = +proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GetGifLargeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("largeInternalURLSanitized", $largeInternalURLSanitized)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/gifs/get-large/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GifGetLargeResponse](response) + constructResult[GetGifLargeResponse](response) proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, locale: string, rating: string, page: float64): (Option[GetGifsSearchResponse], Response) = @@ -442,7 +452,7 @@ proc getGifsTrending*(httpClient: HttpClient, tenantId: string, locale: string, constructResult[GetGifsTrendingResponse](response) -proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = +proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetGlobalEventLogResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -453,10 +463,10 @@ proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/event-log/global/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetEventLogResponse](response) + constructResult[GetGlobalEventLogResponse](response) -proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOfflineResponse], Response) = +proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[GetOfflineUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -467,10 +477,10 @@ proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, a let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/offline" & "?" & url_encoded_query_params) - constructResult[PageUsersOfflineResponse](response) + constructResult[GetOfflineUsersResponse](response) -proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOnlineResponse], Response) = +proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[GetOnlineUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -481,10 +491,10 @@ proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, af let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/online" & "?" & url_encoded_query_params) - constructResult[PageUsersOnlineResponse](response) + constructResult[GetOnlineUsersResponse](response) -proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, limit: int, q: string, sortBy: PagesSortBy, hasComments: bool): (Option[GetPublicPagesResponse], Response) = +proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, limit: int, q: string, sortBy: PagesSortBy, hasComments: bool): (Option[GetPagesPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $cursor != "": @@ -500,10 +510,10 @@ proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, l let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetPublicPagesResponse](response) + constructResult[GetPagesPublicResponse](response) -proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, locale: string, useFullTranslationIds: bool): (Option[GetTranslationsResponse], Response) = +proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, locale: string, useFullTranslationIds: bool): (Option[GetTranslationsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -513,10 +523,10 @@ proc getTranslations*(httpClient: HttpClient, namespace: string, component: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/translations/{namespace}/{component}" & "?" & url_encoded_query_params) - constructResult[GetTranslationsResponse](response) + constructResult[GetTranslationsResponse1](response) -proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserNotificationCountResponse], Response) = +proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserNotificationCountResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -525,10 +535,10 @@ proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-notifications/get-count" & "?" & url_encoded_query_params) - constructResult[GetUserNotificationCountResponse](response) + constructResult[GetUserNotificationCountResponse1](response) -proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: string, pageSize: int, afterId: string, includeContext: bool, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, includeTranslations: bool, includeTenantNotifications: bool, sso: string): (Option[GetMyNotificationsResponse], Response) = +proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: string, pageSize: int, afterId: string, includeContext: bool, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, includeTranslations: bool, includeTenantNotifications: bool, sso: string): (Option[GetUserNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -557,10 +567,10 @@ proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-notifications" & "?" & url_encoded_query_params) - constructResult[GetMyNotificationsResponse](response) + constructResult[GetUserNotificationsResponse](response) -proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse], Response) = +proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -569,10 +579,10 @@ proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-presence-status" & "?" & url_encoded_query_params) - constructResult[GetUserPresenceStatusesResponse](response) + constructResult[GetUserPresenceStatusesResponse1](response) -proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[UserReactsResponse], Response) = +proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[GetUserReactsPublicResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if postIds.len > 0: @@ -582,30 +592,30 @@ proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}/user-reacts" & "?" & url_encoded_query_params) - constructResult[UserReactsResponse](response) + constructResult[GetUserReactsPublicResponse](response) -proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[PageUsersInfoResponse], Response) = +proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[GetUsersInfoResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("ids", $ids)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/info" & "?" & url_encoded_query_params) - constructResult[PageUsersInfoResponse](response) + constructResult[GetUsersInfoResponse](response) -proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikes], Response) = +proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetV1PageLikes](response) + constructResult[GetV1PageLikesResponse](response) -proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse], Response) = +proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -613,20 +623,20 @@ proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v2/{tenantId}/list" & "?" & url_encoded_query_params) - constructResult[GetV2PageReactUsersResponse](response) + constructResult[GetV2PageReactUsersResponse1](response) -proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReacts], Response) = +proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReactsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetV2PageReacts](response) + constructResult[GetV2PageReactsResponse](response) -proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[LockCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -635,7 +645,7 @@ proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, b let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/lock" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[LockCommentResponse](response) proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) = @@ -645,7 +655,7 @@ proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) constructResult[APIEmptyResponse](response) -proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = +proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[PinCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -654,10 +664,10 @@ proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, br let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/pin" & "?" & url_encoded_query_params) - constructResult[ChangeCommentPinStatusResponse](response) + constructResult[PinCommentResponse](response) -proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo: bool, broadcastId: string, sso: string): (Option[ReactFeedPostResponse], Response) = +proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo: bool, broadcastId: string, sso: string): (Option[ReactFeedPostPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -670,10 +680,10 @@ proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/feed-posts/{tenantId}/react/{postId}" & "?" & url_encoded_query_params, $(%reactBodyParams)) - constructResult[ReactFeedPostResponse](response) + constructResult[ReactFeedPostPublicResponse](response) -proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ResetUserNotificationsResponse], Response) = +proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ResetUserNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -682,10 +692,10 @@ proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/user-notifications/reset-count" & "?" & url_encoded_query_params) - constructResult[ResetUserNotificationsResponse](response) + constructResult[ResetUserNotificationCountResponse](response) -proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: string, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, sso: string): (Option[ResetUserNotificationsResponse], Response) = +proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: string, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, sso: string): (Option[ResetUserNotificationsResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -704,10 +714,10 @@ proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/user-notifications/reset" & "?" & url_encoded_query_params) - constructResult[ResetUserNotificationsResponse](response) + constructResult[ResetUserNotificationsResponse1](response) -proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds: seq[string], sso: string, searchSection: string): (Option[SearchUsersResult], Response) = +proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds: seq[string], sso: string, searchSection: string): (Option[SearchUsersResponse1], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -722,10 +732,10 @@ proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usern let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/user-search/{tenantId}" & "?" & url_encoded_query_params) - constructResult[SearchUsersResult](response) + constructResult[SearchUsersResponse1](response) -proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: string, sso: string): (Option[PublicAPISetCommentTextResponse], Response) = +proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: string, sso: string): (Option[SetCommentTextResponse1], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -737,10 +747,10 @@ proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/update-text" & "?" & url_encoded_query_params, $(%commentTextUpdateRequest)) - constructResult[PublicAPISetCommentTextResponse](response) + constructResult[SetCommentTextResponse1](response) -proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[UnblockSuccess], Response) = +proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[UnBlockCommentPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -749,10 +759,10 @@ proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.request(basepath & fmt"/block-from-comment/{commentId}" & "?" & url_encoded_query_params, httpMethod = HttpDelete, body = $(%publicBlockFromCommentParams)) - constructResult[UnblockSuccess](response) + constructResult[UnBlockCommentPublicResponse](response) -proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = +proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[UnLockCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -761,10 +771,10 @@ proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/unlock" & "?" & url_encoded_query_params) - constructResult[APIEmptyResponse](response) + constructResult[UnLockCommentResponse](response) -proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = +proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[UnPinCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -773,10 +783,10 @@ proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/unpin" & "?" & url_encoded_query_params) - constructResult[ChangeCommentPinStatusResponse](response) + constructResult[UnPinCommentResponse](response) -proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = +proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId: string, sso: string): (Option[UpdateFeedPostPublicResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -787,7 +797,7 @@ proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/feed-posts/{tenantId}/{postId}" & "?" & url_encoded_query_params, $(%updateFeedPostParams)) - constructResult[CreateFeedPostResponse](response) + constructResult[UpdateFeedPostPublicResponse](response) proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, sso: string): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = @@ -847,7 +857,7 @@ proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, sizePr constructResult[UploadImageResponse](response) -proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId: string, sso: string): (Option[VoteResponse], Response) = +proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId: string, sso: string): (Option[VoteCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -860,5 +870,5 @@ proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/vote" & "?" & url_encoded_query_params, $(%voteBodyParams)) - constructResult[VoteResponse](response) + constructResult[VoteCommentResponse](response) diff --git a/client/fastcomments/models/model_add_hash_tag_response.nim b/client/fastcomments/models/model_add_hash_tag_response.nim new file mode 100644 index 0000000..d9e78f9 --- /dev/null +++ b/client/fastcomments/models/model_add_hash_tag_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_hash_tag_response +import model_custom_config_parameters +import model_tenant_hash_tag + +# AnyOf type +type AddHashTagResponseKind* {.pure.} = enum + CreateHashTagResponseVariant + APIErrorVariant + +type AddHashTagResponse* = object + ## + case kind*: AddHashTagResponseKind + of AddHashTagResponseKind.CreateHashTagResponseVariant: + CreateHashTagResponseValue*: CreateHashTagResponse + of AddHashTagResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[AddHashTagResponse]): AddHashTagResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return AddHashTagResponse(kind: AddHashTagResponseKind.CreateHashTagResponseVariant, CreateHashTagResponseValue: to(node, CreateHashTagResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateHashTagResponse: ", e.msg + try: + return AddHashTagResponse(kind: AddHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of AddHashTagResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_add_hash_tags_bulk_response.nim b/client/fastcomments/models/model_add_hash_tags_bulk_response.nim new file mode 100644 index 0000000..2991971 --- /dev/null +++ b/client/fastcomments/models/model_add_hash_tags_bulk_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_bulk_create_hash_tags_response +import model_bulk_create_hash_tags_response_results_inner +import model_custom_config_parameters + +# AnyOf type +type AddHashTagsBulkResponseKind* {.pure.} = enum + BulkCreateHashTagsResponseVariant + APIErrorVariant + +type AddHashTagsBulkResponse* = object + ## + case kind*: AddHashTagsBulkResponseKind + of AddHashTagsBulkResponseKind.BulkCreateHashTagsResponseVariant: + BulkCreateHashTagsResponseValue*: BulkCreateHashTagsResponse + of AddHashTagsBulkResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[AddHashTagsBulkResponse]): AddHashTagsBulkResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return AddHashTagsBulkResponse(kind: AddHashTagsBulkResponseKind.BulkCreateHashTagsResponseVariant, BulkCreateHashTagsResponseValue: to(node, BulkCreateHashTagsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BulkCreateHashTagsResponse: ", e.msg + try: + return AddHashTagsBulkResponse(kind: AddHashTagsBulkResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of AddHashTagsBulkResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_aggregate_question_results_response1.nim b/client/fastcomments/models/model_aggregate_question_results_response1.nim new file mode 100644 index 0000000..5bb1d9d --- /dev/null +++ b/client/fastcomments/models/model_aggregate_question_results_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_aggregate_question_results_response +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_question_result_aggregation_overall + +# AnyOf type +type AggregateQuestionResultsResponse1Kind* {.pure.} = enum + AggregateQuestionResultsResponseVariant + APIErrorVariant + +type AggregateQuestionResultsResponse1* = object + ## + case kind*: AggregateQuestionResultsResponse1Kind + of AggregateQuestionResultsResponse1Kind.AggregateQuestionResultsResponseVariant: + AggregateQuestionResultsResponseValue*: AggregateQuestionResultsResponse + of AggregateQuestionResultsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[AggregateQuestionResultsResponse1]): AggregateQuestionResultsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return AggregateQuestionResultsResponse1(kind: AggregateQuestionResultsResponse1Kind.AggregateQuestionResultsResponseVariant, AggregateQuestionResultsResponseValue: to(node, AggregateQuestionResultsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as AggregateQuestionResultsResponse: ", e.msg + try: + return AggregateQuestionResultsResponse1(kind: AggregateQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of AggregateQuestionResultsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_block_from_comment_public_response.nim b/client/fastcomments/models/model_block_from_comment_public_response.nim new file mode 100644 index 0000000..46c44b8 --- /dev/null +++ b/client/fastcomments/models/model_block_from_comment_public_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_block_success +import model_custom_config_parameters + +# AnyOf type +type BlockFromCommentPublicResponseKind* {.pure.} = enum + BlockSuccessVariant + APIErrorVariant + +type BlockFromCommentPublicResponse* = object + ## + case kind*: BlockFromCommentPublicResponseKind + of BlockFromCommentPublicResponseKind.BlockSuccessVariant: + BlockSuccessValue*: BlockSuccess + of BlockFromCommentPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[BlockFromCommentPublicResponse]): BlockFromCommentPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return BlockFromCommentPublicResponse(kind: BlockFromCommentPublicResponseKind.BlockSuccessVariant, BlockSuccessValue: to(node, BlockSuccess)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BlockSuccess: ", e.msg + try: + return BlockFromCommentPublicResponse(kind: BlockFromCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of BlockFromCommentPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_block_user_from_comment_response.nim b/client/fastcomments/models/model_block_user_from_comment_response.nim new file mode 100644 index 0000000..97f029a --- /dev/null +++ b/client/fastcomments/models/model_block_user_from_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_block_success +import model_custom_config_parameters + +# AnyOf type +type BlockUserFromCommentResponseKind* {.pure.} = enum + BlockSuccessVariant + APIErrorVariant + +type BlockUserFromCommentResponse* = object + ## + case kind*: BlockUserFromCommentResponseKind + of BlockUserFromCommentResponseKind.BlockSuccessVariant: + BlockSuccessValue*: BlockSuccess + of BlockUserFromCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[BlockUserFromCommentResponse]): BlockUserFromCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return BlockUserFromCommentResponse(kind: BlockUserFromCommentResponseKind.BlockSuccessVariant, BlockSuccessValue: to(node, BlockSuccess)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BlockSuccess: ", e.msg + try: + return BlockUserFromCommentResponse(kind: BlockUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of BlockUserFromCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim b/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim new file mode 100644 index 0000000..3865c64 --- /dev/null +++ b/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_bulk_aggregate_question_results_response +import model_custom_config_parameters +import model_question_result_aggregation_overall + +# AnyOf type +type BulkAggregateQuestionResultsResponse1Kind* {.pure.} = enum + BulkAggregateQuestionResultsResponseVariant + APIErrorVariant + +type BulkAggregateQuestionResultsResponse1* = object + ## + case kind*: BulkAggregateQuestionResultsResponse1Kind + of BulkAggregateQuestionResultsResponse1Kind.BulkAggregateQuestionResultsResponseVariant: + BulkAggregateQuestionResultsResponseValue*: BulkAggregateQuestionResultsResponse + of BulkAggregateQuestionResultsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[BulkAggregateQuestionResultsResponse1]): BulkAggregateQuestionResultsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return BulkAggregateQuestionResultsResponse1(kind: BulkAggregateQuestionResultsResponse1Kind.BulkAggregateQuestionResultsResponseVariant, BulkAggregateQuestionResultsResponseValue: to(node, BulkAggregateQuestionResultsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BulkAggregateQuestionResultsResponse: ", e.msg + try: + return BulkAggregateQuestionResultsResponse1(kind: BulkAggregateQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of BulkAggregateQuestionResultsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_change_ticket_state_response1.nim b/client/fastcomments/models/model_change_ticket_state_response1.nim new file mode 100644 index 0000000..cbe6926 --- /dev/null +++ b/client/fastcomments/models/model_change_ticket_state_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_ticket +import model_change_ticket_state_response +import model_custom_config_parameters + +# AnyOf type +type ChangeTicketStateResponse1Kind* {.pure.} = enum + ChangeTicketStateResponseVariant + APIErrorVariant + +type ChangeTicketStateResponse1* = object + ## + case kind*: ChangeTicketStateResponse1Kind + of ChangeTicketStateResponse1Kind.ChangeTicketStateResponseVariant: + ChangeTicketStateResponseValue*: ChangeTicketStateResponse + of ChangeTicketStateResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ChangeTicketStateResponse1]): ChangeTicketStateResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return ChangeTicketStateResponse1(kind: ChangeTicketStateResponse1Kind.ChangeTicketStateResponseVariant, ChangeTicketStateResponseValue: to(node, ChangeTicketStateResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ChangeTicketStateResponse: ", e.msg + try: + return ChangeTicketStateResponse1(kind: ChangeTicketStateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ChangeTicketStateResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_checked_comments_for_blocked_response.nim b/client/fastcomments/models/model_checked_comments_for_blocked_response.nim new file mode 100644 index 0000000..e0ea5f5 --- /dev/null +++ b/client/fastcomments/models/model_checked_comments_for_blocked_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_check_blocked_comments_response +import model_custom_config_parameters + +# AnyOf type +type CheckedCommentsForBlockedResponseKind* {.pure.} = enum + CheckBlockedCommentsResponseVariant + APIErrorVariant + +type CheckedCommentsForBlockedResponse* = object + ## + case kind*: CheckedCommentsForBlockedResponseKind + of CheckedCommentsForBlockedResponseKind.CheckBlockedCommentsResponseVariant: + CheckBlockedCommentsResponseValue*: CheckBlockedCommentsResponse + of CheckedCommentsForBlockedResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CheckedCommentsForBlockedResponse]): CheckedCommentsForBlockedResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CheckedCommentsForBlockedResponse(kind: CheckedCommentsForBlockedResponseKind.CheckBlockedCommentsResponseVariant, CheckBlockedCommentsResponseValue: to(node, CheckBlockedCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CheckBlockedCommentsResponse: ", e.msg + try: + return CheckedCommentsForBlockedResponse(kind: CheckedCommentsForBlockedResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CheckedCommentsForBlockedResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_combine_comments_with_question_results_response.nim b/client/fastcomments/models/model_combine_comments_with_question_results_response.nim new file mode 100644 index 0000000..4d2e58b --- /dev/null +++ b/client/fastcomments/models/model_combine_comments_with_question_results_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_combine_question_results_with_comments_response +import model_custom_config_parameters +import model_find_comments_by_range_response + +# AnyOf type +type CombineCommentsWithQuestionResultsResponseKind* {.pure.} = enum + CombineQuestionResultsWithCommentsResponseVariant + APIErrorVariant + +type CombineCommentsWithQuestionResultsResponse* = object + ## + case kind*: CombineCommentsWithQuestionResultsResponseKind + of CombineCommentsWithQuestionResultsResponseKind.CombineQuestionResultsWithCommentsResponseVariant: + CombineQuestionResultsWithCommentsResponseValue*: CombineQuestionResultsWithCommentsResponse + of CombineCommentsWithQuestionResultsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CombineCommentsWithQuestionResultsResponse]): CombineCommentsWithQuestionResultsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CombineCommentsWithQuestionResultsResponse(kind: CombineCommentsWithQuestionResultsResponseKind.CombineQuestionResultsWithCommentsResponseVariant, CombineQuestionResultsWithCommentsResponseValue: to(node, CombineQuestionResultsWithCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CombineQuestionResultsWithCommentsResponse: ", e.msg + try: + return CombineCommentsWithQuestionResultsResponse(kind: CombineCommentsWithQuestionResultsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CombineCommentsWithQuestionResultsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_comment_public_response.nim b/client/fastcomments/models/model_create_comment_public_response.nim new file mode 100644 index 0000000..19242f6 --- /dev/null +++ b/client/fastcomments/models/model_create_comment_public_response.nim @@ -0,0 +1,49 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_object +import model_public_comment +import model_save_comments_response_with_presence +import model_user_session_info + +# AnyOf type +type CreateCommentPublicResponseKind* {.pure.} = enum + SaveCommentsResponseWithPresenceVariant + APIErrorVariant + +type CreateCommentPublicResponse* = object + ## + case kind*: CreateCommentPublicResponseKind + of CreateCommentPublicResponseKind.SaveCommentsResponseWithPresenceVariant: + SaveCommentsResponseWithPresenceValue*: SaveCommentsResponseWithPresence + of CreateCommentPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateCommentPublicResponse]): CreateCommentPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateCommentPublicResponse(kind: CreateCommentPublicResponseKind.SaveCommentsResponseWithPresenceVariant, SaveCommentsResponseWithPresenceValue: to(node, SaveCommentsResponseWithPresence)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as SaveCommentsResponseWithPresence: ", e.msg + try: + return CreateCommentPublicResponse(kind: CreateCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateCommentPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_email_template_response1.nim b/client/fastcomments/models/model_create_email_template_response1.nim new file mode 100644 index 0000000..b25d333 --- /dev/null +++ b/client/fastcomments/models/model_create_email_template_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_email_template_response +import model_custom_config_parameters +import model_custom_email_template + +# AnyOf type +type CreateEmailTemplateResponse1Kind* {.pure.} = enum + CreateEmailTemplateResponseVariant + APIErrorVariant + +type CreateEmailTemplateResponse1* = object + ## + case kind*: CreateEmailTemplateResponse1Kind + of CreateEmailTemplateResponse1Kind.CreateEmailTemplateResponseVariant: + CreateEmailTemplateResponseValue*: CreateEmailTemplateResponse + of CreateEmailTemplateResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateEmailTemplateResponse1]): CreateEmailTemplateResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateEmailTemplateResponse1(kind: CreateEmailTemplateResponse1Kind.CreateEmailTemplateResponseVariant, CreateEmailTemplateResponseValue: to(node, CreateEmailTemplateResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateEmailTemplateResponse: ", e.msg + try: + return CreateEmailTemplateResponse1(kind: CreateEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateEmailTemplateResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_feed_post_public_response.nim b/client/fastcomments/models/model_create_feed_post_public_response.nim new file mode 100644 index 0000000..f309455 --- /dev/null +++ b/client/fastcomments/models/model_create_feed_post_public_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_feed_post_response +import model_custom_config_parameters +import model_feed_post + +# AnyOf type +type CreateFeedPostPublicResponseKind* {.pure.} = enum + CreateFeedPostResponseVariant + APIErrorVariant + +type CreateFeedPostPublicResponse* = object + ## + case kind*: CreateFeedPostPublicResponseKind + of CreateFeedPostPublicResponseKind.CreateFeedPostResponseVariant: + CreateFeedPostResponseValue*: CreateFeedPostResponse + of CreateFeedPostPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateFeedPostPublicResponse]): CreateFeedPostPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateFeedPostPublicResponse(kind: CreateFeedPostPublicResponseKind.CreateFeedPostResponseVariant, CreateFeedPostResponseValue: to(node, CreateFeedPostResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateFeedPostResponse: ", e.msg + try: + return CreateFeedPostPublicResponse(kind: CreateFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateFeedPostPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_feed_post_response1.nim b/client/fastcomments/models/model_create_feed_post_response1.nim new file mode 100644 index 0000000..4056bba --- /dev/null +++ b/client/fastcomments/models/model_create_feed_post_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_feed_posts_response +import model_custom_config_parameters +import model_feed_post + +# AnyOf type +type CreateFeedPostResponse1Kind* {.pure.} = enum + CreateFeedPostsResponseVariant + APIErrorVariant + +type CreateFeedPostResponse1* = object + ## + case kind*: CreateFeedPostResponse1Kind + of CreateFeedPostResponse1Kind.CreateFeedPostsResponseVariant: + CreateFeedPostsResponseValue*: CreateFeedPostsResponse + of CreateFeedPostResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateFeedPostResponse1]): CreateFeedPostResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateFeedPostResponse1(kind: CreateFeedPostResponse1Kind.CreateFeedPostsResponseVariant, CreateFeedPostsResponseValue: to(node, CreateFeedPostsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateFeedPostsResponse: ", e.msg + try: + return CreateFeedPostResponse1(kind: CreateFeedPostResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateFeedPostResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_moderator_response1.nim b/client/fastcomments/models/model_create_moderator_response1.nim new file mode 100644 index 0000000..58678f5 --- /dev/null +++ b/client/fastcomments/models/model_create_moderator_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_moderator_response +import model_custom_config_parameters +import model_moderator + +# AnyOf type +type CreateModeratorResponse1Kind* {.pure.} = enum + CreateModeratorResponseVariant + APIErrorVariant + +type CreateModeratorResponse1* = object + ## + case kind*: CreateModeratorResponse1Kind + of CreateModeratorResponse1Kind.CreateModeratorResponseVariant: + CreateModeratorResponseValue*: CreateModeratorResponse + of CreateModeratorResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateModeratorResponse1]): CreateModeratorResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateModeratorResponse1(kind: CreateModeratorResponse1Kind.CreateModeratorResponseVariant, CreateModeratorResponseValue: to(node, CreateModeratorResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateModeratorResponse: ", e.msg + try: + return CreateModeratorResponse1(kind: CreateModeratorResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateModeratorResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_question_config_response1.nim b/client/fastcomments/models/model_create_question_config_response1.nim new file mode 100644 index 0000000..8454528 --- /dev/null +++ b/client/fastcomments/models/model_create_question_config_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_question_config_response +import model_custom_config_parameters +import model_question_config + +# AnyOf type +type CreateQuestionConfigResponse1Kind* {.pure.} = enum + CreateQuestionConfigResponseVariant + APIErrorVariant + +type CreateQuestionConfigResponse1* = object + ## + case kind*: CreateQuestionConfigResponse1Kind + of CreateQuestionConfigResponse1Kind.CreateQuestionConfigResponseVariant: + CreateQuestionConfigResponseValue*: CreateQuestionConfigResponse + of CreateQuestionConfigResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateQuestionConfigResponse1]): CreateQuestionConfigResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateQuestionConfigResponse1(kind: CreateQuestionConfigResponse1Kind.CreateQuestionConfigResponseVariant, CreateQuestionConfigResponseValue: to(node, CreateQuestionConfigResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateQuestionConfigResponse: ", e.msg + try: + return CreateQuestionConfigResponse1(kind: CreateQuestionConfigResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateQuestionConfigResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_question_result_response1.nim b/client/fastcomments/models/model_create_question_result_response1.nim new file mode 100644 index 0000000..9c664df --- /dev/null +++ b/client/fastcomments/models/model_create_question_result_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_question_result_response +import model_custom_config_parameters +import model_question_result + +# AnyOf type +type CreateQuestionResultResponse1Kind* {.pure.} = enum + CreateQuestionResultResponseVariant + APIErrorVariant + +type CreateQuestionResultResponse1* = object + ## + case kind*: CreateQuestionResultResponse1Kind + of CreateQuestionResultResponse1Kind.CreateQuestionResultResponseVariant: + CreateQuestionResultResponseValue*: CreateQuestionResultResponse + of CreateQuestionResultResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateQuestionResultResponse1]): CreateQuestionResultResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateQuestionResultResponse1(kind: CreateQuestionResultResponse1Kind.CreateQuestionResultResponseVariant, CreateQuestionResultResponseValue: to(node, CreateQuestionResultResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateQuestionResultResponse: ", e.msg + try: + return CreateQuestionResultResponse1(kind: CreateQuestionResultResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateQuestionResultResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_tenant_package_response1.nim b/client/fastcomments/models/model_create_tenant_package_response1.nim new file mode 100644 index 0000000..dd3ee64 --- /dev/null +++ b/client/fastcomments/models/model_create_tenant_package_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_tenant_package_response +import model_custom_config_parameters +import model_tenant_package + +# AnyOf type +type CreateTenantPackageResponse1Kind* {.pure.} = enum + CreateTenantPackageResponseVariant + APIErrorVariant + +type CreateTenantPackageResponse1* = object + ## + case kind*: CreateTenantPackageResponse1Kind + of CreateTenantPackageResponse1Kind.CreateTenantPackageResponseVariant: + CreateTenantPackageResponseValue*: CreateTenantPackageResponse + of CreateTenantPackageResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateTenantPackageResponse1]): CreateTenantPackageResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateTenantPackageResponse1(kind: CreateTenantPackageResponse1Kind.CreateTenantPackageResponseVariant, CreateTenantPackageResponseValue: to(node, CreateTenantPackageResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateTenantPackageResponse: ", e.msg + try: + return CreateTenantPackageResponse1(kind: CreateTenantPackageResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantPackageResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_tenant_response1.nim b/client/fastcomments/models/model_create_tenant_response1.nim new file mode 100644 index 0000000..5293e51 --- /dev/null +++ b/client/fastcomments/models/model_create_tenant_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_tenant +import model_create_tenant_response +import model_custom_config_parameters + +# AnyOf type +type CreateTenantResponse1Kind* {.pure.} = enum + CreateTenantResponseVariant + APIErrorVariant + +type CreateTenantResponse1* = object + ## + case kind*: CreateTenantResponse1Kind + of CreateTenantResponse1Kind.CreateTenantResponseVariant: + CreateTenantResponseValue*: CreateTenantResponse + of CreateTenantResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateTenantResponse1]): CreateTenantResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateTenantResponse1(kind: CreateTenantResponse1Kind.CreateTenantResponseVariant, CreateTenantResponseValue: to(node, CreateTenantResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateTenantResponse: ", e.msg + try: + return CreateTenantResponse1(kind: CreateTenantResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_tenant_user_response1.nim b/client/fastcomments/models/model_create_tenant_user_response1.nim new file mode 100644 index 0000000..6a3e8fd --- /dev/null +++ b/client/fastcomments/models/model_create_tenant_user_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_tenant_user_response +import model_custom_config_parameters +import model_user + +# AnyOf type +type CreateTenantUserResponse1Kind* {.pure.} = enum + CreateTenantUserResponseVariant + APIErrorVariant + +type CreateTenantUserResponse1* = object + ## + case kind*: CreateTenantUserResponse1Kind + of CreateTenantUserResponse1Kind.CreateTenantUserResponseVariant: + CreateTenantUserResponseValue*: CreateTenantUserResponse + of CreateTenantUserResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateTenantUserResponse1]): CreateTenantUserResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateTenantUserResponse1(kind: CreateTenantUserResponse1Kind.CreateTenantUserResponseVariant, CreateTenantUserResponseValue: to(node, CreateTenantUserResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateTenantUserResponse: ", e.msg + try: + return CreateTenantUserResponse1(kind: CreateTenantUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantUserResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_ticket_response1.nim b/client/fastcomments/models/model_create_ticket_response1.nim new file mode 100644 index 0000000..7917053 --- /dev/null +++ b/client/fastcomments/models/model_create_ticket_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_ticket +import model_create_ticket_response +import model_custom_config_parameters + +# AnyOf type +type CreateTicketResponse1Kind* {.pure.} = enum + CreateTicketResponseVariant + APIErrorVariant + +type CreateTicketResponse1* = object + ## + case kind*: CreateTicketResponse1Kind + of CreateTicketResponse1Kind.CreateTicketResponseVariant: + CreateTicketResponseValue*: CreateTicketResponse + of CreateTicketResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateTicketResponse1]): CreateTicketResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateTicketResponse1(kind: CreateTicketResponse1Kind.CreateTicketResponseVariant, CreateTicketResponseValue: to(node, CreateTicketResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateTicketResponse: ", e.msg + try: + return CreateTicketResponse1(kind: CreateTicketResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateTicketResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_user_badge_response.nim b/client/fastcomments/models/model_create_user_badge_response.nim new file mode 100644 index 0000000..6a021ba --- /dev/null +++ b/client/fastcomments/models/model_create_user_badge_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_create_user_badge_response +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_user_badge + +# AnyOf type +type CreateUserBadgeResponseKind* {.pure.} = enum + APICreateUserBadgeResponseVariant + APIErrorVariant + +type CreateUserBadgeResponse* = object + ## + case kind*: CreateUserBadgeResponseKind + of CreateUserBadgeResponseKind.APICreateUserBadgeResponseVariant: + APICreateUserBadgeResponseValue*: APICreateUserBadgeResponse + of CreateUserBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateUserBadgeResponse]): CreateUserBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateUserBadgeResponse(kind: CreateUserBadgeResponseKind.APICreateUserBadgeResponseVariant, APICreateUserBadgeResponseValue: to(node, APICreateUserBadgeResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APICreateUserBadgeResponse: ", e.msg + try: + return CreateUserBadgeResponse(kind: CreateUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateUserBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_v1_page_react_response.nim b/client/fastcomments/models/model_create_v1_page_react_response.nim new file mode 100644 index 0000000..4937fe7 --- /dev/null +++ b/client/fastcomments/models/model_create_v1_page_react_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_v1_page_react +import model_custom_config_parameters + +# AnyOf type +type CreateV1PageReactResponseKind* {.pure.} = enum + CreateV1PageReactVariant + APIErrorVariant + +type CreateV1PageReactResponse* = object + ## + case kind*: CreateV1PageReactResponseKind + of CreateV1PageReactResponseKind.CreateV1PageReactVariant: + CreateV1PageReactValue*: CreateV1PageReact + of CreateV1PageReactResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateV1PageReactResponse]): CreateV1PageReactResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateV1PageReactResponse(kind: CreateV1PageReactResponseKind.CreateV1PageReactVariant, CreateV1PageReactValue: to(node, CreateV1PageReact)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateV1PageReact: ", e.msg + try: + return CreateV1PageReactResponse(kind: CreateV1PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateV1PageReactResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_v2_page_react_response.nim b/client/fastcomments/models/model_create_v2_page_react_response.nim new file mode 100644 index 0000000..fea6ef4 --- /dev/null +++ b/client/fastcomments/models/model_create_v2_page_react_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_v1_page_react +import model_custom_config_parameters + +# AnyOf type +type CreateV2PageReactResponseKind* {.pure.} = enum + CreateV2PageReactVariant + APIErrorVariant + +type CreateV2PageReactResponse* = object + ## + case kind*: CreateV2PageReactResponseKind + of CreateV2PageReactResponseKind.CreateV2PageReactVariant: + CreateV2PageReactValue*: CreateV1PageReact + of CreateV2PageReactResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateV2PageReactResponse]): CreateV2PageReactResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateV2PageReactResponse(kind: CreateV2PageReactResponseKind.CreateV2PageReactVariant, CreateV2PageReactValue: to(node, CreateV1PageReact)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateV1PageReact: ", e.msg + try: + return CreateV2PageReactResponse(kind: CreateV2PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateV2PageReactResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_create_vote_response.nim b/client/fastcomments/models/model_create_vote_response.nim new file mode 100644 index 0000000..794f849 --- /dev/null +++ b/client/fastcomments/models/model_create_vote_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_response +import model_vote_response_user + +# AnyOf type +type CreateVoteResponseKind* {.pure.} = enum + VoteResponseVariant + APIErrorVariant + +type CreateVoteResponse* = object + ## + case kind*: CreateVoteResponseKind + of CreateVoteResponseKind.VoteResponseVariant: + VoteResponseValue*: VoteResponse + of CreateVoteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[CreateVoteResponse]): CreateVoteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return CreateVoteResponse(kind: CreateVoteResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteResponse: ", e.msg + try: + return CreateVoteResponse(kind: CreateVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of CreateVoteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_comment_public_response.nim b/client/fastcomments/models/model_delete_comment_public_response.nim new file mode 100644 index 0000000..edc1be8 --- /dev/null +++ b/client/fastcomments/models/model_delete_comment_public_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_deleted_comment_result_comment +import model_public_api_delete_comment_response + +# AnyOf type +type DeleteCommentPublicResponseKind* {.pure.} = enum + PublicAPIDeleteCommentResponseVariant + APIErrorVariant + +type DeleteCommentPublicResponse* = object + ## + case kind*: DeleteCommentPublicResponseKind + of DeleteCommentPublicResponseKind.PublicAPIDeleteCommentResponseVariant: + PublicAPIDeleteCommentResponseValue*: PublicAPIDeleteCommentResponse + of DeleteCommentPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteCommentPublicResponse]): DeleteCommentPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteCommentPublicResponse(kind: DeleteCommentPublicResponseKind.PublicAPIDeleteCommentResponseVariant, PublicAPIDeleteCommentResponseValue: to(node, PublicAPIDeleteCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PublicAPIDeleteCommentResponse: ", e.msg + try: + return DeleteCommentPublicResponse(kind: DeleteCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_comment_response.nim b/client/fastcomments/models/model_delete_comment_response.nim new file mode 100644 index 0000000..4e1d352 --- /dev/null +++ b/client/fastcomments/models/model_delete_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_delete_comment_action +import model_delete_comment_result + +# AnyOf type +type DeleteCommentResponseKind* {.pure.} = enum + DeleteCommentResultVariant + APIErrorVariant + +type DeleteCommentResponse* = object + ## + case kind*: DeleteCommentResponseKind + of DeleteCommentResponseKind.DeleteCommentResultVariant: + DeleteCommentResultValue*: DeleteCommentResult + of DeleteCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteCommentResponse]): DeleteCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteCommentResponse(kind: DeleteCommentResponseKind.DeleteCommentResultVariant, DeleteCommentResultValue: to(node, DeleteCommentResult)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as DeleteCommentResult: ", e.msg + try: + return DeleteCommentResponse(kind: DeleteCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_comment_vote_response.nim b/client/fastcomments/models/model_delete_comment_vote_response.nim new file mode 100644 index 0000000..a0934a1 --- /dev/null +++ b/client/fastcomments/models/model_delete_comment_vote_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_delete_response + +# AnyOf type +type DeleteCommentVoteResponseKind* {.pure.} = enum + VoteDeleteResponseVariant + APIErrorVariant + +type DeleteCommentVoteResponse* = object + ## + case kind*: DeleteCommentVoteResponseKind + of DeleteCommentVoteResponseKind.VoteDeleteResponseVariant: + VoteDeleteResponseValue*: VoteDeleteResponse + of DeleteCommentVoteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteCommentVoteResponse]): DeleteCommentVoteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteCommentVoteResponse(kind: DeleteCommentVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteDeleteResponse: ", e.msg + try: + return DeleteCommentVoteResponse(kind: DeleteCommentVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentVoteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_email_template_render_error_response.nim b/client/fastcomments/models/model_delete_email_template_render_error_response.nim new file mode 100644 index 0000000..d9d2dff --- /dev/null +++ b/client/fastcomments/models/model_delete_email_template_render_error_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteEmailTemplateRenderErrorResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteEmailTemplateRenderErrorResponse* = object + ## + case kind*: DeleteEmailTemplateRenderErrorResponseKind + of DeleteEmailTemplateRenderErrorResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteEmailTemplateRenderErrorResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteEmailTemplateRenderErrorResponse]): DeleteEmailTemplateRenderErrorResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteEmailTemplateRenderErrorResponse(kind: DeleteEmailTemplateRenderErrorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteEmailTemplateRenderErrorResponse(kind: DeleteEmailTemplateRenderErrorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteEmailTemplateRenderErrorResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_email_template_response.nim b/client/fastcomments/models/model_delete_email_template_response.nim new file mode 100644 index 0000000..559aa55 --- /dev/null +++ b/client/fastcomments/models/model_delete_email_template_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteEmailTemplateResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteEmailTemplateResponse* = object + ## + case kind*: DeleteEmailTemplateResponseKind + of DeleteEmailTemplateResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteEmailTemplateResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteEmailTemplateResponse]): DeleteEmailTemplateResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteEmailTemplateResponse(kind: DeleteEmailTemplateResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteEmailTemplateResponse(kind: DeleteEmailTemplateResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteEmailTemplateResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_feed_post_public_response.nim b/client/fastcomments/models/model_delete_feed_post_public_response.nim index 119e8c3..8fbf9ea 100644 --- a/client/fastcomments/models/model_delete_feed_post_public_response.nim +++ b/client/fastcomments/models/model_delete_feed_post_public_response.nim @@ -12,22 +12,35 @@ import tables import marshal import options +import model_api_error import model_api_status +import model_custom_config_parameters +import model_delete_feed_post_public_response_any_of + +# AnyOf type +type DeleteFeedPostPublicResponseKind* {.pure.} = enum + DeleteFeedPostPublicResponseAnyOfVariant + APIErrorVariant type DeleteFeedPostPublicResponse* = object ## - status*: APIStatus - + case kind*: DeleteFeedPostPublicResponseKind + of DeleteFeedPostPublicResponseKind.DeleteFeedPostPublicResponseAnyOfVariant: + DeleteFeedPostPublicResponse_anyOfValue*: DeleteFeedPostPublicResponseAnyOf + of DeleteFeedPostPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError -# Custom JSON deserialization for DeleteFeedPostPublicResponse with custom field names proc to*(node: JsonNode, T: typedesc[DeleteFeedPostPublicResponse]): DeleteFeedPostPublicResponse = - result = DeleteFeedPostPublicResponse() - if node.kind == JObject: - if node.hasKey("status"): - result.status = to(node["status"], APIStatus) - -# Custom JSON serialization for DeleteFeedPostPublicResponse with custom field names -proc `%`*(obj: DeleteFeedPostPublicResponse): JsonNode = - result = newJObject() - result["status"] = %obj.status + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteFeedPostPublicResponse(kind: DeleteFeedPostPublicResponseKind.DeleteFeedPostPublicResponseAnyOfVariant, DeleteFeedPostPublicResponse_anyOfValue: to(node, DeleteFeedPostPublicResponseAnyOf)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as DeleteFeedPostPublicResponseAnyOf: ", e.msg + try: + return DeleteFeedPostPublicResponse(kind: DeleteFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteFeedPostPublicResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim b/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim new file mode 100644 index 0000000..26617ee --- /dev/null +++ b/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim @@ -0,0 +1,33 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_status + +type DeleteFeedPostPublicResponseAnyOf* = object + ## + status*: APIStatus + + +# Custom JSON deserialization for DeleteFeedPostPublicResponseAnyOf with custom field names +proc to*(node: JsonNode, T: typedesc[DeleteFeedPostPublicResponseAnyOf]): DeleteFeedPostPublicResponseAnyOf = + result = DeleteFeedPostPublicResponseAnyOf() + if node.kind == JObject: + if node.hasKey("status"): + result.status = to(node["status"], APIStatus) + +# Custom JSON serialization for DeleteFeedPostPublicResponseAnyOf with custom field names +proc `%`*(obj: DeleteFeedPostPublicResponseAnyOf): JsonNode = + result = newJObject() + result["status"] = %obj.status + diff --git a/client/fastcomments/models/model_delete_hash_tag_response.nim b/client/fastcomments/models/model_delete_hash_tag_response.nim new file mode 100644 index 0000000..95fa1cf --- /dev/null +++ b/client/fastcomments/models/model_delete_hash_tag_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteHashTagResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteHashTagResponse* = object + ## + case kind*: DeleteHashTagResponseKind + of DeleteHashTagResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteHashTagResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteHashTagResponse]): DeleteHashTagResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteHashTagResponse(kind: DeleteHashTagResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteHashTagResponse(kind: DeleteHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteHashTagResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_moderation_vote_response.nim b/client/fastcomments/models/model_delete_moderation_vote_response.nim new file mode 100644 index 0000000..eb2182a --- /dev/null +++ b/client/fastcomments/models/model_delete_moderation_vote_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_delete_response + +# AnyOf type +type DeleteModerationVoteResponseKind* {.pure.} = enum + VoteDeleteResponseVariant + APIErrorVariant + +type DeleteModerationVoteResponse* = object + ## + case kind*: DeleteModerationVoteResponseKind + of DeleteModerationVoteResponseKind.VoteDeleteResponseVariant: + VoteDeleteResponseValue*: VoteDeleteResponse + of DeleteModerationVoteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteModerationVoteResponse]): DeleteModerationVoteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteModerationVoteResponse(kind: DeleteModerationVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteDeleteResponse: ", e.msg + try: + return DeleteModerationVoteResponse(kind: DeleteModerationVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteModerationVoteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_moderator_response.nim b/client/fastcomments/models/model_delete_moderator_response.nim new file mode 100644 index 0000000..faa2df8 --- /dev/null +++ b/client/fastcomments/models/model_delete_moderator_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteModeratorResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteModeratorResponse* = object + ## + case kind*: DeleteModeratorResponseKind + of DeleteModeratorResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteModeratorResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteModeratorResponse]): DeleteModeratorResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteModeratorResponse(kind: DeleteModeratorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteModeratorResponse(kind: DeleteModeratorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteModeratorResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_notification_count_response.nim b/client/fastcomments/models/model_delete_notification_count_response.nim new file mode 100644 index 0000000..a85898d --- /dev/null +++ b/client/fastcomments/models/model_delete_notification_count_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteNotificationCountResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteNotificationCountResponse* = object + ## + case kind*: DeleteNotificationCountResponseKind + of DeleteNotificationCountResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteNotificationCountResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteNotificationCountResponse]): DeleteNotificationCountResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteNotificationCountResponse(kind: DeleteNotificationCountResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteNotificationCountResponse(kind: DeleteNotificationCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteNotificationCountResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_pending_webhook_event_response.nim b/client/fastcomments/models/model_delete_pending_webhook_event_response.nim new file mode 100644 index 0000000..79a78cf --- /dev/null +++ b/client/fastcomments/models/model_delete_pending_webhook_event_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeletePendingWebhookEventResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeletePendingWebhookEventResponse* = object + ## + case kind*: DeletePendingWebhookEventResponseKind + of DeletePendingWebhookEventResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeletePendingWebhookEventResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeletePendingWebhookEventResponse]): DeletePendingWebhookEventResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeletePendingWebhookEventResponse(kind: DeletePendingWebhookEventResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeletePendingWebhookEventResponse(kind: DeletePendingWebhookEventResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeletePendingWebhookEventResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_question_config_response.nim b/client/fastcomments/models/model_delete_question_config_response.nim new file mode 100644 index 0000000..95831c0 --- /dev/null +++ b/client/fastcomments/models/model_delete_question_config_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteQuestionConfigResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteQuestionConfigResponse* = object + ## + case kind*: DeleteQuestionConfigResponseKind + of DeleteQuestionConfigResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteQuestionConfigResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteQuestionConfigResponse]): DeleteQuestionConfigResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteQuestionConfigResponse(kind: DeleteQuestionConfigResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteQuestionConfigResponse(kind: DeleteQuestionConfigResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteQuestionConfigResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_question_result_response.nim b/client/fastcomments/models/model_delete_question_result_response.nim new file mode 100644 index 0000000..d689569 --- /dev/null +++ b/client/fastcomments/models/model_delete_question_result_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteQuestionResultResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteQuestionResultResponse* = object + ## + case kind*: DeleteQuestionResultResponseKind + of DeleteQuestionResultResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteQuestionResultResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteQuestionResultResponse]): DeleteQuestionResultResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteQuestionResultResponse(kind: DeleteQuestionResultResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteQuestionResultResponse(kind: DeleteQuestionResultResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteQuestionResultResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_tenant_package_response.nim b/client/fastcomments/models/model_delete_tenant_package_response.nim new file mode 100644 index 0000000..c33c14d --- /dev/null +++ b/client/fastcomments/models/model_delete_tenant_package_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteTenantPackageResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteTenantPackageResponse* = object + ## + case kind*: DeleteTenantPackageResponseKind + of DeleteTenantPackageResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteTenantPackageResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteTenantPackageResponse]): DeleteTenantPackageResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteTenantPackageResponse(kind: DeleteTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteTenantPackageResponse(kind: DeleteTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantPackageResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_tenant_response.nim b/client/fastcomments/models/model_delete_tenant_response.nim new file mode 100644 index 0000000..102a072 --- /dev/null +++ b/client/fastcomments/models/model_delete_tenant_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteTenantResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteTenantResponse* = object + ## + case kind*: DeleteTenantResponseKind + of DeleteTenantResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteTenantResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteTenantResponse]): DeleteTenantResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteTenantResponse(kind: DeleteTenantResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteTenantResponse(kind: DeleteTenantResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_tenant_user_response.nim b/client/fastcomments/models/model_delete_tenant_user_response.nim new file mode 100644 index 0000000..9fb0453 --- /dev/null +++ b/client/fastcomments/models/model_delete_tenant_user_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteTenantUserResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type DeleteTenantUserResponse* = object + ## + case kind*: DeleteTenantUserResponseKind + of DeleteTenantUserResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of DeleteTenantUserResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteTenantUserResponse]): DeleteTenantUserResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteTenantUserResponse(kind: DeleteTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return DeleteTenantUserResponse(kind: DeleteTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantUserResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_user_badge_response.nim b/client/fastcomments/models/model_delete_user_badge_response.nim new file mode 100644 index 0000000..6dc7090 --- /dev/null +++ b/client/fastcomments/models/model_delete_user_badge_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_success_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type DeleteUserBadgeResponseKind* {.pure.} = enum + APIEmptySuccessResponseVariant + APIErrorVariant + +type DeleteUserBadgeResponse* = object + ## + case kind*: DeleteUserBadgeResponseKind + of DeleteUserBadgeResponseKind.APIEmptySuccessResponseVariant: + APIEmptySuccessResponseValue*: APIEmptySuccessResponse + of DeleteUserBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteUserBadgeResponse]): DeleteUserBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteUserBadgeResponse(kind: DeleteUserBadgeResponseKind.APIEmptySuccessResponseVariant, APIEmptySuccessResponseValue: to(node, APIEmptySuccessResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptySuccessResponse: ", e.msg + try: + return DeleteUserBadgeResponse(kind: DeleteUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteUserBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_v1_page_react_response.nim b/client/fastcomments/models/model_delete_v1_page_react_response.nim new file mode 100644 index 0000000..ecfbb3c --- /dev/null +++ b/client/fastcomments/models/model_delete_v1_page_react_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_v1_page_react +import model_custom_config_parameters + +# AnyOf type +type DeleteV1PageReactResponseKind* {.pure.} = enum + DeleteV1PageReactVariant + APIErrorVariant + +type DeleteV1PageReactResponse* = object + ## + case kind*: DeleteV1PageReactResponseKind + of DeleteV1PageReactResponseKind.DeleteV1PageReactVariant: + DeleteV1PageReactValue*: CreateV1PageReact + of DeleteV1PageReactResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteV1PageReactResponse]): DeleteV1PageReactResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteV1PageReactResponse(kind: DeleteV1PageReactResponseKind.DeleteV1PageReactVariant, DeleteV1PageReactValue: to(node, CreateV1PageReact)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateV1PageReact: ", e.msg + try: + return DeleteV1PageReactResponse(kind: DeleteV1PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteV1PageReactResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_v2_page_react_response.nim b/client/fastcomments/models/model_delete_v2_page_react_response.nim new file mode 100644 index 0000000..085d1fb --- /dev/null +++ b/client/fastcomments/models/model_delete_v2_page_react_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_v1_page_react +import model_custom_config_parameters + +# AnyOf type +type DeleteV2PageReactResponseKind* {.pure.} = enum + DeleteV2PageReactVariant + APIErrorVariant + +type DeleteV2PageReactResponse* = object + ## + case kind*: DeleteV2PageReactResponseKind + of DeleteV2PageReactResponseKind.DeleteV2PageReactVariant: + DeleteV2PageReactValue*: CreateV1PageReact + of DeleteV2PageReactResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteV2PageReactResponse]): DeleteV2PageReactResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteV2PageReactResponse(kind: DeleteV2PageReactResponseKind.DeleteV2PageReactVariant, DeleteV2PageReactValue: to(node, CreateV1PageReact)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateV1PageReact: ", e.msg + try: + return DeleteV2PageReactResponse(kind: DeleteV2PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteV2PageReactResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_delete_vote_response.nim b/client/fastcomments/models/model_delete_vote_response.nim new file mode 100644 index 0000000..85ddab5 --- /dev/null +++ b/client/fastcomments/models/model_delete_vote_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_delete_response + +# AnyOf type +type DeleteVoteResponseKind* {.pure.} = enum + VoteDeleteResponseVariant + APIErrorVariant + +type DeleteVoteResponse* = object + ## + case kind*: DeleteVoteResponseKind + of DeleteVoteResponseKind.VoteDeleteResponseVariant: + VoteDeleteResponseValue*: VoteDeleteResponse + of DeleteVoteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[DeleteVoteResponse]): DeleteVoteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return DeleteVoteResponse(kind: DeleteVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteDeleteResponse: ", e.msg + try: + return DeleteVoteResponse(kind: DeleteVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of DeleteVoteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_flag_comment_public_response.nim b/client/fastcomments/models/model_flag_comment_public_response.nim new file mode 100644 index 0000000..006091a --- /dev/null +++ b/client/fastcomments/models/model_flag_comment_public_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type FlagCommentPublicResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type FlagCommentPublicResponse* = object + ## + case kind*: FlagCommentPublicResponseKind + of FlagCommentPublicResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of FlagCommentPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[FlagCommentPublicResponse]): FlagCommentPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return FlagCommentPublicResponse(kind: FlagCommentPublicResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return FlagCommentPublicResponse(kind: FlagCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of FlagCommentPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_flag_comment_response1.nim b/client/fastcomments/models/model_flag_comment_response1.nim new file mode 100644 index 0000000..e2032b3 --- /dev/null +++ b/client/fastcomments/models/model_flag_comment_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_flag_comment_response + +# AnyOf type +type FlagCommentResponse1Kind* {.pure.} = enum + FlagCommentResponseVariant + APIErrorVariant + +type FlagCommentResponse1* = object + ## + case kind*: FlagCommentResponse1Kind + of FlagCommentResponse1Kind.FlagCommentResponseVariant: + FlagCommentResponseValue*: FlagCommentResponse + of FlagCommentResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[FlagCommentResponse1]): FlagCommentResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return FlagCommentResponse1(kind: FlagCommentResponse1Kind.FlagCommentResponseVariant, FlagCommentResponseValue: to(node, FlagCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as FlagCommentResponse: ", e.msg + try: + return FlagCommentResponse1(kind: FlagCommentResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of FlagCommentResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_api_comments_response.nim b/client/fastcomments/models/model_get_api_comments_response.nim new file mode 100644 index 0000000..a6b909a --- /dev/null +++ b/client/fastcomments/models/model_get_api_comments_response.nim @@ -0,0 +1,49 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_comment +import model_moderation_api_get_comments_response +import model_moderation_filter +import model_object + +# AnyOf type +type GetApiCommentsResponseKind* {.pure.} = enum + ModerationAPIGetCommentsResponseVariant + APIErrorVariant + +type GetApiCommentsResponse* = object + ## + case kind*: GetApiCommentsResponseKind + of GetApiCommentsResponseKind.ModerationAPIGetCommentsResponseVariant: + ModerationAPIGetCommentsResponseValue*: ModerationAPIGetCommentsResponse + of GetApiCommentsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetApiCommentsResponse]): GetApiCommentsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetApiCommentsResponse(kind: GetApiCommentsResponseKind.ModerationAPIGetCommentsResponseVariant, ModerationAPIGetCommentsResponseValue: to(node, ModerationAPIGetCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPIGetCommentsResponse: ", e.msg + try: + return GetApiCommentsResponse(kind: GetApiCommentsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetApiCommentsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_api_export_status_response.nim b/client/fastcomments/models/model_get_api_export_status_response.nim new file mode 100644 index 0000000..aa8ba0d --- /dev/null +++ b/client/fastcomments/models/model_get_api_export_status_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_export_status_response + +# AnyOf type +type GetApiExportStatusResponseKind* {.pure.} = enum + ModerationExportStatusResponseVariant + APIErrorVariant + +type GetApiExportStatusResponse* = object + ## + case kind*: GetApiExportStatusResponseKind + of GetApiExportStatusResponseKind.ModerationExportStatusResponseVariant: + ModerationExportStatusResponseValue*: ModerationExportStatusResponse + of GetApiExportStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetApiExportStatusResponse]): GetApiExportStatusResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetApiExportStatusResponse(kind: GetApiExportStatusResponseKind.ModerationExportStatusResponseVariant, ModerationExportStatusResponseValue: to(node, ModerationExportStatusResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationExportStatusResponse: ", e.msg + try: + return GetApiExportStatusResponse(kind: GetApiExportStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetApiExportStatusResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_api_ids_response.nim b/client/fastcomments/models/model_get_api_ids_response.nim new file mode 100644 index 0000000..b9e4335 --- /dev/null +++ b/client/fastcomments/models/model_get_api_ids_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_get_comment_ids_response + +# AnyOf type +type GetApiIdsResponseKind* {.pure.} = enum + ModerationAPIGetCommentIdsResponseVariant + APIErrorVariant + +type GetApiIdsResponse* = object + ## + case kind*: GetApiIdsResponseKind + of GetApiIdsResponseKind.ModerationAPIGetCommentIdsResponseVariant: + ModerationAPIGetCommentIdsResponseValue*: ModerationAPIGetCommentIdsResponse + of GetApiIdsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetApiIdsResponse]): GetApiIdsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetApiIdsResponse(kind: GetApiIdsResponseKind.ModerationAPIGetCommentIdsResponseVariant, ModerationAPIGetCommentIdsResponseValue: to(node, ModerationAPIGetCommentIdsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPIGetCommentIdsResponse: ", e.msg + try: + return GetApiIdsResponse(kind: GetApiIdsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetApiIdsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_audit_logs_response1.nim b/client/fastcomments/models/model_get_audit_logs_response1.nim new file mode 100644 index 0000000..359821c --- /dev/null +++ b/client/fastcomments/models/model_get_audit_logs_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_audit_log +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_audit_logs_response + +# AnyOf type +type GetAuditLogsResponse1Kind* {.pure.} = enum + GetAuditLogsResponseVariant + APIErrorVariant + +type GetAuditLogsResponse1* = object + ## + case kind*: GetAuditLogsResponse1Kind + of GetAuditLogsResponse1Kind.GetAuditLogsResponseVariant: + GetAuditLogsResponseValue*: GetAuditLogsResponse + of GetAuditLogsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetAuditLogsResponse1]): GetAuditLogsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetAuditLogsResponse1(kind: GetAuditLogsResponse1Kind.GetAuditLogsResponseVariant, GetAuditLogsResponseValue: to(node, GetAuditLogsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetAuditLogsResponse: ", e.msg + try: + return GetAuditLogsResponse1(kind: GetAuditLogsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetAuditLogsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_ban_users_from_comment_response.nim b/client/fastcomments/models/model_get_ban_users_from_comment_response.nim new file mode 100644 index 0000000..0db7761 --- /dev/null +++ b/client/fastcomments/models/model_get_ban_users_from_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_banned_user_with_multi_match_info +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_banned_users_from_comment_response + +# AnyOf type +type GetBanUsersFromCommentResponseKind* {.pure.} = enum + GetBannedUsersFromCommentResponseVariant + APIErrorVariant + +type GetBanUsersFromCommentResponse* = object + ## + case kind*: GetBanUsersFromCommentResponseKind + of GetBanUsersFromCommentResponseKind.GetBannedUsersFromCommentResponseVariant: + GetBannedUsersFromCommentResponseValue*: GetBannedUsersFromCommentResponse + of GetBanUsersFromCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetBanUsersFromCommentResponse]): GetBanUsersFromCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetBanUsersFromCommentResponse(kind: GetBanUsersFromCommentResponseKind.GetBannedUsersFromCommentResponseVariant, GetBannedUsersFromCommentResponseValue: to(node, GetBannedUsersFromCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetBannedUsersFromCommentResponse: ", e.msg + try: + return GetBanUsersFromCommentResponse(kind: GetBanUsersFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetBanUsersFromCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_cached_notification_count_response1.nim b/client/fastcomments/models/model_get_cached_notification_count_response1.nim new file mode 100644 index 0000000..fd379da --- /dev/null +++ b/client/fastcomments/models/model_get_cached_notification_count_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_cached_notification_count_response +import model_user_notification_count + +# AnyOf type +type GetCachedNotificationCountResponse1Kind* {.pure.} = enum + GetCachedNotificationCountResponseVariant + APIErrorVariant + +type GetCachedNotificationCountResponse1* = object + ## + case kind*: GetCachedNotificationCountResponse1Kind + of GetCachedNotificationCountResponse1Kind.GetCachedNotificationCountResponseVariant: + GetCachedNotificationCountResponseValue*: GetCachedNotificationCountResponse + of GetCachedNotificationCountResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCachedNotificationCountResponse1]): GetCachedNotificationCountResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCachedNotificationCountResponse1(kind: GetCachedNotificationCountResponse1Kind.GetCachedNotificationCountResponseVariant, GetCachedNotificationCountResponseValue: to(node, GetCachedNotificationCountResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCachedNotificationCountResponse: ", e.msg + try: + return GetCachedNotificationCountResponse1(kind: GetCachedNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCachedNotificationCountResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comment_ban_status_response1.nim b/client/fastcomments/models/model_get_comment_ban_status_response1.nim new file mode 100644 index 0000000..00eedf6 --- /dev/null +++ b/client/fastcomments/models/model_get_comment_ban_status_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_comment_ban_status_response + +# AnyOf type +type GetCommentBanStatusResponse1Kind* {.pure.} = enum + GetCommentBanStatusResponseVariant + APIErrorVariant + +type GetCommentBanStatusResponse1* = object + ## + case kind*: GetCommentBanStatusResponse1Kind + of GetCommentBanStatusResponse1Kind.GetCommentBanStatusResponseVariant: + GetCommentBanStatusResponseValue*: GetCommentBanStatusResponse + of GetCommentBanStatusResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentBanStatusResponse1]): GetCommentBanStatusResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentBanStatusResponse1(kind: GetCommentBanStatusResponse1Kind.GetCommentBanStatusResponseVariant, GetCommentBanStatusResponseValue: to(node, GetCommentBanStatusResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCommentBanStatusResponse: ", e.msg + try: + return GetCommentBanStatusResponse1(kind: GetCommentBanStatusResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentBanStatusResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comment_children_response.nim b/client/fastcomments/models/model_get_comment_children_response.nim new file mode 100644 index 0000000..e7d2548 --- /dev/null +++ b/client/fastcomments/models/model_get_comment_children_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_child_comments_response +import model_moderation_api_comment + +# AnyOf type +type GetCommentChildrenResponseKind* {.pure.} = enum + ModerationAPIChildCommentsResponseVariant + APIErrorVariant + +type GetCommentChildrenResponse* = object + ## + case kind*: GetCommentChildrenResponseKind + of GetCommentChildrenResponseKind.ModerationAPIChildCommentsResponseVariant: + ModerationAPIChildCommentsResponseValue*: ModerationAPIChildCommentsResponse + of GetCommentChildrenResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentChildrenResponse]): GetCommentChildrenResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentChildrenResponse(kind: GetCommentChildrenResponseKind.ModerationAPIChildCommentsResponseVariant, ModerationAPIChildCommentsResponseValue: to(node, ModerationAPIChildCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPIChildCommentsResponse: ", e.msg + try: + return GetCommentChildrenResponse(kind: GetCommentChildrenResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentChildrenResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comment_response.nim b/client/fastcomments/models/model_get_comment_response.nim new file mode 100644 index 0000000..7f024a6 --- /dev/null +++ b/client/fastcomments/models/model_get_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_comment +import model_api_error +import model_api_get_comment_response +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type GetCommentResponseKind* {.pure.} = enum + APIGetCommentResponseVariant + APIErrorVariant + +type GetCommentResponse* = object + ## + case kind*: GetCommentResponseKind + of GetCommentResponseKind.APIGetCommentResponseVariant: + APIGetCommentResponseValue*: APIGetCommentResponse + of GetCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentResponse]): GetCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentResponse(kind: GetCommentResponseKind.APIGetCommentResponseVariant, APIGetCommentResponseValue: to(node, APIGetCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetCommentResponse: ", e.msg + try: + return GetCommentResponse(kind: GetCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comment_text_response1.nim b/client/fastcomments/models/model_get_comment_text_response1.nim new file mode 100644 index 0000000..04c9143 --- /dev/null +++ b/client/fastcomments/models/model_get_comment_text_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_public_api_get_comment_text_response + +# AnyOf type +type GetCommentTextResponse1Kind* {.pure.} = enum + PublicAPIGetCommentTextResponseVariant + APIErrorVariant + +type GetCommentTextResponse1* = object + ## + case kind*: GetCommentTextResponse1Kind + of GetCommentTextResponse1Kind.PublicAPIGetCommentTextResponseVariant: + PublicAPIGetCommentTextResponseValue*: PublicAPIGetCommentTextResponse + of GetCommentTextResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentTextResponse1]): GetCommentTextResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentTextResponse1(kind: GetCommentTextResponse1Kind.PublicAPIGetCommentTextResponseVariant, PublicAPIGetCommentTextResponseValue: to(node, PublicAPIGetCommentTextResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PublicAPIGetCommentTextResponse: ", e.msg + try: + return GetCommentTextResponse1(kind: GetCommentTextResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentTextResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comment_vote_user_names_response.nim b/client/fastcomments/models/model_get_comment_vote_user_names_response.nim new file mode 100644 index 0000000..22e90ca --- /dev/null +++ b/client/fastcomments/models/model_get_comment_vote_user_names_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_comment_vote_user_names_success_response + +# AnyOf type +type GetCommentVoteUserNamesResponseKind* {.pure.} = enum + GetCommentVoteUserNamesSuccessResponseVariant + APIErrorVariant + +type GetCommentVoteUserNamesResponse* = object + ## + case kind*: GetCommentVoteUserNamesResponseKind + of GetCommentVoteUserNamesResponseKind.GetCommentVoteUserNamesSuccessResponseVariant: + GetCommentVoteUserNamesSuccessResponseValue*: GetCommentVoteUserNamesSuccessResponse + of GetCommentVoteUserNamesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentVoteUserNamesResponse]): GetCommentVoteUserNamesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentVoteUserNamesResponse(kind: GetCommentVoteUserNamesResponseKind.GetCommentVoteUserNamesSuccessResponseVariant, GetCommentVoteUserNamesSuccessResponseValue: to(node, GetCommentVoteUserNamesSuccessResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCommentVoteUserNamesSuccessResponse: ", e.msg + try: + return GetCommentVoteUserNamesResponse(kind: GetCommentVoteUserNamesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentVoteUserNamesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comments_for_user_response1.nim b/client/fastcomments/models/model_get_comments_for_user_response1.nim new file mode 100644 index 0000000..5edf318 --- /dev/null +++ b/client/fastcomments/models/model_get_comments_for_user_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_comments_for_user_response + +# AnyOf type +type GetCommentsForUserResponse1Kind* {.pure.} = enum + GetCommentsForUserResponseVariant + APIErrorVariant + +type GetCommentsForUserResponse1* = object + ## + case kind*: GetCommentsForUserResponse1Kind + of GetCommentsForUserResponse1Kind.GetCommentsForUserResponseVariant: + GetCommentsForUserResponseValue*: GetCommentsForUserResponse + of GetCommentsForUserResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentsForUserResponse1]): GetCommentsForUserResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentsForUserResponse1(kind: GetCommentsForUserResponse1Kind.GetCommentsForUserResponseVariant, GetCommentsForUserResponseValue: to(node, GetCommentsForUserResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCommentsForUserResponse: ", e.msg + try: + return GetCommentsForUserResponse1(kind: GetCommentsForUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsForUserResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comments_public_response.nim b/client/fastcomments/models/model_get_comments_public_response.nim new file mode 100644 index 0000000..95f99e6 --- /dev/null +++ b/client/fastcomments/models/model_get_comments_public_response.nim @@ -0,0 +1,49 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_comments_response_with_presence_public_comment +import model_object +import model_public_comment +import model_user_session_info + +# AnyOf type +type GetCommentsPublicResponseKind* {.pure.} = enum + GetCommentsResponseWithPresencePublicCommentVariant + APIErrorVariant + +type GetCommentsPublicResponse* = object + ## + case kind*: GetCommentsPublicResponseKind + of GetCommentsPublicResponseKind.GetCommentsResponseWithPresencePublicCommentVariant: + GetCommentsResponseWithPresence_PublicComment_Value*: GetCommentsResponseWithPresencePublicComment + of GetCommentsPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentsPublicResponse]): GetCommentsPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentsPublicResponse(kind: GetCommentsPublicResponseKind.GetCommentsResponseWithPresencePublicCommentVariant, GetCommentsResponseWithPresence_PublicComment_Value: to(node, GetCommentsResponseWithPresencePublicComment)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCommentsResponseWithPresencePublicComment: ", e.msg + try: + return GetCommentsPublicResponse(kind: GetCommentsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_comments_response.nim b/client/fastcomments/models/model_get_comments_response.nim new file mode 100644 index 0000000..52af032 --- /dev/null +++ b/client/fastcomments/models/model_get_comments_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_comment +import model_api_error +import model_api_get_comments_response +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type GetCommentsResponseKind* {.pure.} = enum + APIGetCommentsResponseVariant + APIErrorVariant + +type GetCommentsResponse* = object + ## + case kind*: GetCommentsResponseKind + of GetCommentsResponseKind.APIGetCommentsResponseVariant: + APIGetCommentsResponseValue*: APIGetCommentsResponse + of GetCommentsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCommentsResponse]): GetCommentsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCommentsResponse(kind: GetCommentsResponseKind.APIGetCommentsResponseVariant, APIGetCommentsResponseValue: to(node, APIGetCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetCommentsResponse: ", e.msg + try: + return GetCommentsResponse(kind: GetCommentsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_count_response.nim b/client/fastcomments/models/model_get_count_response.nim new file mode 100644 index 0000000..8773a5f --- /dev/null +++ b/client/fastcomments/models/model_get_count_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_count_comments_response + +# AnyOf type +type GetCountResponseKind* {.pure.} = enum + ModerationAPICountCommentsResponseVariant + APIErrorVariant + +type GetCountResponse* = object + ## + case kind*: GetCountResponseKind + of GetCountResponseKind.ModerationAPICountCommentsResponseVariant: + ModerationAPICountCommentsResponseValue*: ModerationAPICountCommentsResponse + of GetCountResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCountResponse]): GetCountResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCountResponse(kind: GetCountResponseKind.ModerationAPICountCommentsResponseVariant, ModerationAPICountCommentsResponseValue: to(node, ModerationAPICountCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPICountCommentsResponse: ", e.msg + try: + return GetCountResponse(kind: GetCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCountResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_counts_response.nim b/client/fastcomments/models/model_get_counts_response.nim new file mode 100644 index 0000000..9ef660d --- /dev/null +++ b/client/fastcomments/models/model_get_counts_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_banned_users_count_response + +# AnyOf type +type GetCountsResponseKind* {.pure.} = enum + GetBannedUsersCountResponseVariant + APIErrorVariant + +type GetCountsResponse* = object + ## + case kind*: GetCountsResponseKind + of GetCountsResponseKind.GetBannedUsersCountResponseVariant: + GetBannedUsersCountResponseValue*: GetBannedUsersCountResponse + of GetCountsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetCountsResponse]): GetCountsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetCountsResponse(kind: GetCountsResponseKind.GetBannedUsersCountResponseVariant, GetBannedUsersCountResponseValue: to(node, GetBannedUsersCountResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetBannedUsersCountResponse: ", e.msg + try: + return GetCountsResponse(kind: GetCountsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetCountsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_email_template_definitions_response1.nim b/client/fastcomments/models/model_get_email_template_definitions_response1.nim new file mode 100644 index 0000000..7e8a0fc --- /dev/null +++ b/client/fastcomments/models/model_get_email_template_definitions_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_email_template_definition +import model_get_email_template_definitions_response + +# AnyOf type +type GetEmailTemplateDefinitionsResponse1Kind* {.pure.} = enum + GetEmailTemplateDefinitionsResponseVariant + APIErrorVariant + +type GetEmailTemplateDefinitionsResponse1* = object + ## + case kind*: GetEmailTemplateDefinitionsResponse1Kind + of GetEmailTemplateDefinitionsResponse1Kind.GetEmailTemplateDefinitionsResponseVariant: + GetEmailTemplateDefinitionsResponseValue*: GetEmailTemplateDefinitionsResponse + of GetEmailTemplateDefinitionsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetEmailTemplateDefinitionsResponse1]): GetEmailTemplateDefinitionsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetEmailTemplateDefinitionsResponse1(kind: GetEmailTemplateDefinitionsResponse1Kind.GetEmailTemplateDefinitionsResponseVariant, GetEmailTemplateDefinitionsResponseValue: to(node, GetEmailTemplateDefinitionsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEmailTemplateDefinitionsResponse: ", e.msg + try: + return GetEmailTemplateDefinitionsResponse1(kind: GetEmailTemplateDefinitionsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateDefinitionsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_email_template_render_errors_response1.nim b/client/fastcomments/models/model_get_email_template_render_errors_response1.nim new file mode 100644 index 0000000..22129e0 --- /dev/null +++ b/client/fastcomments/models/model_get_email_template_render_errors_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_email_template_render_error_response +import model_get_email_template_render_errors_response + +# AnyOf type +type GetEmailTemplateRenderErrorsResponse1Kind* {.pure.} = enum + GetEmailTemplateRenderErrorsResponseVariant + APIErrorVariant + +type GetEmailTemplateRenderErrorsResponse1* = object + ## + case kind*: GetEmailTemplateRenderErrorsResponse1Kind + of GetEmailTemplateRenderErrorsResponse1Kind.GetEmailTemplateRenderErrorsResponseVariant: + GetEmailTemplateRenderErrorsResponseValue*: GetEmailTemplateRenderErrorsResponse + of GetEmailTemplateRenderErrorsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetEmailTemplateRenderErrorsResponse1]): GetEmailTemplateRenderErrorsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetEmailTemplateRenderErrorsResponse1(kind: GetEmailTemplateRenderErrorsResponse1Kind.GetEmailTemplateRenderErrorsResponseVariant, GetEmailTemplateRenderErrorsResponseValue: to(node, GetEmailTemplateRenderErrorsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEmailTemplateRenderErrorsResponse: ", e.msg + try: + return GetEmailTemplateRenderErrorsResponse1(kind: GetEmailTemplateRenderErrorsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateRenderErrorsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_email_template_response1.nim b/client/fastcomments/models/model_get_email_template_response1.nim new file mode 100644 index 0000000..208d082 --- /dev/null +++ b/client/fastcomments/models/model_get_email_template_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_custom_email_template +import model_get_email_template_response + +# AnyOf type +type GetEmailTemplateResponse1Kind* {.pure.} = enum + GetEmailTemplateResponseVariant + APIErrorVariant + +type GetEmailTemplateResponse1* = object + ## + case kind*: GetEmailTemplateResponse1Kind + of GetEmailTemplateResponse1Kind.GetEmailTemplateResponseVariant: + GetEmailTemplateResponseValue*: GetEmailTemplateResponse + of GetEmailTemplateResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetEmailTemplateResponse1]): GetEmailTemplateResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetEmailTemplateResponse1(kind: GetEmailTemplateResponse1Kind.GetEmailTemplateResponseVariant, GetEmailTemplateResponseValue: to(node, GetEmailTemplateResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEmailTemplateResponse: ", e.msg + try: + return GetEmailTemplateResponse1(kind: GetEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_email_templates_response1.nim b/client/fastcomments/models/model_get_email_templates_response1.nim new file mode 100644 index 0000000..3ff282e --- /dev/null +++ b/client/fastcomments/models/model_get_email_templates_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_custom_email_template +import model_get_email_templates_response + +# AnyOf type +type GetEmailTemplatesResponse1Kind* {.pure.} = enum + GetEmailTemplatesResponseVariant + APIErrorVariant + +type GetEmailTemplatesResponse1* = object + ## + case kind*: GetEmailTemplatesResponse1Kind + of GetEmailTemplatesResponse1Kind.GetEmailTemplatesResponseVariant: + GetEmailTemplatesResponseValue*: GetEmailTemplatesResponse + of GetEmailTemplatesResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetEmailTemplatesResponse1]): GetEmailTemplatesResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetEmailTemplatesResponse1(kind: GetEmailTemplatesResponse1Kind.GetEmailTemplatesResponseVariant, GetEmailTemplatesResponseValue: to(node, GetEmailTemplatesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEmailTemplatesResponse: ", e.msg + try: + return GetEmailTemplatesResponse1(kind: GetEmailTemplatesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplatesResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_event_log_response1.nim b/client/fastcomments/models/model_get_event_log_response1.nim new file mode 100644 index 0000000..ecacc9b --- /dev/null +++ b/client/fastcomments/models/model_get_event_log_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_event_log_entry +import model_get_event_log_response + +# AnyOf type +type GetEventLogResponse1Kind* {.pure.} = enum + GetEventLogResponseVariant + APIErrorVariant + +type GetEventLogResponse1* = object + ## + case kind*: GetEventLogResponse1Kind + of GetEventLogResponse1Kind.GetEventLogResponseVariant: + GetEventLogResponseValue*: GetEventLogResponse + of GetEventLogResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetEventLogResponse1]): GetEventLogResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetEventLogResponse1(kind: GetEventLogResponse1Kind.GetEventLogResponseVariant, GetEventLogResponseValue: to(node, GetEventLogResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEventLogResponse: ", e.msg + try: + return GetEventLogResponse1(kind: GetEventLogResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetEventLogResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_feed_posts_public_response.nim b/client/fastcomments/models/model_get_feed_posts_public_response.nim new file mode 100644 index 0000000..ba423d1 --- /dev/null +++ b/client/fastcomments/models/model_get_feed_posts_public_response.nim @@ -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 +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_feed_post +import model_public_feed_posts_response +import model_user_session_info + +# AnyOf type +type GetFeedPostsPublicResponseKind* {.pure.} = enum + PublicFeedPostsResponseVariant + APIErrorVariant + +type GetFeedPostsPublicResponse* = object + ## + case kind*: GetFeedPostsPublicResponseKind + of GetFeedPostsPublicResponseKind.PublicFeedPostsResponseVariant: + PublicFeedPostsResponseValue*: PublicFeedPostsResponse + of GetFeedPostsPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetFeedPostsPublicResponse]): GetFeedPostsPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetFeedPostsPublicResponse(kind: GetFeedPostsPublicResponseKind.PublicFeedPostsResponseVariant, PublicFeedPostsResponseValue: to(node, PublicFeedPostsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PublicFeedPostsResponse: ", e.msg + try: + return GetFeedPostsPublicResponse(kind: GetFeedPostsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_feed_posts_response1.nim b/client/fastcomments/models/model_get_feed_posts_response1.nim new file mode 100644 index 0000000..a38c873 --- /dev/null +++ b/client/fastcomments/models/model_get_feed_posts_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_feed_post +import model_get_feed_posts_response + +# AnyOf type +type GetFeedPostsResponse1Kind* {.pure.} = enum + GetFeedPostsResponseVariant + APIErrorVariant + +type GetFeedPostsResponse1* = object + ## + case kind*: GetFeedPostsResponse1Kind + of GetFeedPostsResponse1Kind.GetFeedPostsResponseVariant: + GetFeedPostsResponseValue*: GetFeedPostsResponse + of GetFeedPostsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetFeedPostsResponse1]): GetFeedPostsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetFeedPostsResponse1(kind: GetFeedPostsResponse1Kind.GetFeedPostsResponseVariant, GetFeedPostsResponseValue: to(node, GetFeedPostsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetFeedPostsResponse: ", e.msg + try: + return GetFeedPostsResponse1(kind: GetFeedPostsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_feed_posts_stats_response.nim b/client/fastcomments/models/model_get_feed_posts_stats_response.nim new file mode 100644 index 0000000..dd434e3 --- /dev/null +++ b/client/fastcomments/models/model_get_feed_posts_stats_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_feed_post_stats +import model_feed_posts_stats_response + +# AnyOf type +type GetFeedPostsStatsResponseKind* {.pure.} = enum + FeedPostsStatsResponseVariant + APIErrorVariant + +type GetFeedPostsStatsResponse* = object + ## + case kind*: GetFeedPostsStatsResponseKind + of GetFeedPostsStatsResponseKind.FeedPostsStatsResponseVariant: + FeedPostsStatsResponseValue*: FeedPostsStatsResponse + of GetFeedPostsStatsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetFeedPostsStatsResponse]): GetFeedPostsStatsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetFeedPostsStatsResponse(kind: GetFeedPostsStatsResponseKind.FeedPostsStatsResponseVariant, FeedPostsStatsResponseValue: to(node, FeedPostsStatsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as FeedPostsStatsResponse: ", e.msg + try: + return GetFeedPostsStatsResponse(kind: GetFeedPostsStatsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsStatsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_gif_large_response.nim b/client/fastcomments/models/model_get_gif_large_response.nim new file mode 100644 index 0000000..1ddcde1 --- /dev/null +++ b/client/fastcomments/models/model_get_gif_large_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_gif_get_large_response + +# AnyOf type +type GetGifLargeResponseKind* {.pure.} = enum + GifGetLargeResponseVariant + APIErrorVariant + +type GetGifLargeResponse* = object + ## + case kind*: GetGifLargeResponseKind + of GetGifLargeResponseKind.GifGetLargeResponseVariant: + GifGetLargeResponseValue*: GifGetLargeResponse + of GetGifLargeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetGifLargeResponse]): GetGifLargeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetGifLargeResponse(kind: GetGifLargeResponseKind.GifGetLargeResponseVariant, GifGetLargeResponseValue: to(node, GifGetLargeResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GifGetLargeResponse: ", e.msg + try: + return GetGifLargeResponse(kind: GetGifLargeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetGifLargeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_gifs_search_response.nim b/client/fastcomments/models/model_get_gifs_search_response.nim index 36978c9..bc48fef 100644 --- a/client/fastcomments/models/model_get_gifs_search_response.nim +++ b/client/fastcomments/models/model_get_gifs_search_response.nim @@ -12,7 +12,9 @@ import tables import marshal import options +import model_api_error import model_api_status +import model_custom_config_parameters import model_gif_search_internal_error import model_gif_search_response import model_gif_search_response_images_inner_inner @@ -21,6 +23,7 @@ import model_gif_search_response_images_inner_inner type GetGifsSearchResponseKind* {.pure.} = enum GifSearchResponseVariant GifSearchInternalErrorVariant + APIErrorVariant type GetGifsSearchResponse* = object ## @@ -29,6 +32,8 @@ type GetGifsSearchResponse* = object GifSearchResponseValue*: GifSearchResponse of GetGifsSearchResponseKind.GifSearchInternalErrorVariant: GifSearchInternalErrorValue*: GifSearchInternalError + of GetGifsSearchResponseKind.APIErrorVariant: + APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[GetGifsSearchResponse]): GetGifsSearchResponse = ## Custom deserializer for anyOf type - tries each variant @@ -42,5 +47,10 @@ proc to*(node: JsonNode, T: typedesc[GetGifsSearchResponse]): GetGifsSearchRespo except Exception as e: when defined(debug): echo "Failed to deserialize as GifSearchInternalError: ", e.msg + try: + return GetGifsSearchResponse(kind: GetGifsSearchResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of GetGifsSearchResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_get_global_event_log_response.nim b/client/fastcomments/models/model_get_global_event_log_response.nim new file mode 100644 index 0000000..8533949 --- /dev/null +++ b/client/fastcomments/models/model_get_global_event_log_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_event_log_entry +import model_get_event_log_response + +# AnyOf type +type GetGlobalEventLogResponseKind* {.pure.} = enum + GetEventLogResponseVariant + APIErrorVariant + +type GetGlobalEventLogResponse* = object + ## + case kind*: GetGlobalEventLogResponseKind + of GetGlobalEventLogResponseKind.GetEventLogResponseVariant: + GetEventLogResponseValue*: GetEventLogResponse + of GetGlobalEventLogResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetGlobalEventLogResponse]): GetGlobalEventLogResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetGlobalEventLogResponse(kind: GetGlobalEventLogResponseKind.GetEventLogResponseVariant, GetEventLogResponseValue: to(node, GetEventLogResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetEventLogResponse: ", e.msg + try: + return GetGlobalEventLogResponse(kind: GetGlobalEventLogResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetGlobalEventLogResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_hash_tags_response1.nim b/client/fastcomments/models/model_get_hash_tags_response1.nim new file mode 100644 index 0000000..081a255 --- /dev/null +++ b/client/fastcomments/models/model_get_hash_tags_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_hash_tags_response +import model_tenant_hash_tag + +# AnyOf type +type GetHashTagsResponse1Kind* {.pure.} = enum + GetHashTagsResponseVariant + APIErrorVariant + +type GetHashTagsResponse1* = object + ## + case kind*: GetHashTagsResponse1Kind + of GetHashTagsResponse1Kind.GetHashTagsResponseVariant: + GetHashTagsResponseValue*: GetHashTagsResponse + of GetHashTagsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetHashTagsResponse1]): GetHashTagsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetHashTagsResponse1(kind: GetHashTagsResponse1Kind.GetHashTagsResponseVariant, GetHashTagsResponseValue: to(node, GetHashTagsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetHashTagsResponse: ", e.msg + try: + return GetHashTagsResponse1(kind: GetHashTagsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetHashTagsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_logs_response.nim b/client/fastcomments/models/model_get_logs_response.nim new file mode 100644 index 0000000..6baa12d --- /dev/null +++ b/client/fastcomments/models/model_get_logs_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_comment_log +import model_moderation_api_get_logs_response + +# AnyOf type +type GetLogsResponseKind* {.pure.} = enum + ModerationAPIGetLogsResponseVariant + APIErrorVariant + +type GetLogsResponse* = object + ## + case kind*: GetLogsResponseKind + of GetLogsResponseKind.ModerationAPIGetLogsResponseVariant: + ModerationAPIGetLogsResponseValue*: ModerationAPIGetLogsResponse + of GetLogsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetLogsResponse]): GetLogsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetLogsResponse(kind: GetLogsResponseKind.ModerationAPIGetLogsResponseVariant, ModerationAPIGetLogsResponseValue: to(node, ModerationAPIGetLogsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPIGetLogsResponse: ", e.msg + try: + return GetLogsResponse(kind: GetLogsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetLogsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_manual_badges_for_user_response.nim b/client/fastcomments/models/model_get_manual_badges_for_user_response.nim new file mode 100644 index 0000000..2181dfd --- /dev/null +++ b/client/fastcomments/models/model_get_manual_badges_for_user_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_manual_badges_response +import model_user_badge + +# AnyOf type +type GetManualBadgesForUserResponseKind* {.pure.} = enum + GetUserManualBadgesResponseVariant + APIErrorVariant + +type GetManualBadgesForUserResponse* = object + ## + case kind*: GetManualBadgesForUserResponseKind + of GetManualBadgesForUserResponseKind.GetUserManualBadgesResponseVariant: + GetUserManualBadgesResponseValue*: GetUserManualBadgesResponse + of GetManualBadgesForUserResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetManualBadgesForUserResponse]): GetManualBadgesForUserResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetManualBadgesForUserResponse(kind: GetManualBadgesForUserResponseKind.GetUserManualBadgesResponseVariant, GetUserManualBadgesResponseValue: to(node, GetUserManualBadgesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserManualBadgesResponse: ", e.msg + try: + return GetManualBadgesForUserResponse(kind: GetManualBadgesForUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetManualBadgesForUserResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_manual_badges_response.nim b/client/fastcomments/models/model_get_manual_badges_response.nim new file mode 100644 index 0000000..b8f3ba2 --- /dev/null +++ b/client/fastcomments/models/model_get_manual_badges_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_tenant_manual_badges_response +import model_tenant_badge + +# AnyOf type +type GetManualBadgesResponseKind* {.pure.} = enum + GetTenantManualBadgesResponseVariant + APIErrorVariant + +type GetManualBadgesResponse* = object + ## + case kind*: GetManualBadgesResponseKind + of GetManualBadgesResponseKind.GetTenantManualBadgesResponseVariant: + GetTenantManualBadgesResponseValue*: GetTenantManualBadgesResponse + of GetManualBadgesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetManualBadgesResponse]): GetManualBadgesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetManualBadgesResponse(kind: GetManualBadgesResponseKind.GetTenantManualBadgesResponseVariant, GetTenantManualBadgesResponseValue: to(node, GetTenantManualBadgesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantManualBadgesResponse: ", e.msg + try: + return GetManualBadgesResponse(kind: GetManualBadgesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetManualBadgesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_moderation_comment_response.nim b/client/fastcomments/models/model_get_moderation_comment_response.nim new file mode 100644 index 0000000..5f09b95 --- /dev/null +++ b/client/fastcomments/models/model_get_moderation_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_comment +import model_moderation_api_comment_response + +# AnyOf type +type GetModerationCommentResponseKind* {.pure.} = enum + ModerationAPICommentResponseVariant + APIErrorVariant + +type GetModerationCommentResponse* = object + ## + case kind*: GetModerationCommentResponseKind + of GetModerationCommentResponseKind.ModerationAPICommentResponseVariant: + ModerationAPICommentResponseValue*: ModerationAPICommentResponse + of GetModerationCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetModerationCommentResponse]): GetModerationCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetModerationCommentResponse(kind: GetModerationCommentResponseKind.ModerationAPICommentResponseVariant, ModerationAPICommentResponseValue: to(node, ModerationAPICommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPICommentResponse: ", e.msg + try: + return GetModerationCommentResponse(kind: GetModerationCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetModerationCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_moderation_comment_text_response.nim b/client/fastcomments/models/model_get_moderation_comment_text_response.nim new file mode 100644 index 0000000..a5a2f9c --- /dev/null +++ b/client/fastcomments/models/model_get_moderation_comment_text_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_comment_text_response + +# AnyOf type +type GetModerationCommentTextResponseKind* {.pure.} = enum + GetCommentTextResponseVariant + APIErrorVariant + +type GetModerationCommentTextResponse* = object + ## + case kind*: GetModerationCommentTextResponseKind + of GetModerationCommentTextResponseKind.GetCommentTextResponseVariant: + GetCommentTextResponseValue*: GetCommentTextResponse + of GetModerationCommentTextResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetModerationCommentTextResponse]): GetModerationCommentTextResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetModerationCommentTextResponse(kind: GetModerationCommentTextResponseKind.GetCommentTextResponseVariant, GetCommentTextResponseValue: to(node, GetCommentTextResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetCommentTextResponse: ", e.msg + try: + return GetModerationCommentTextResponse(kind: GetModerationCommentTextResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetModerationCommentTextResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_moderator_response1.nim b/client/fastcomments/models/model_get_moderator_response1.nim new file mode 100644 index 0000000..3cf314f --- /dev/null +++ b/client/fastcomments/models/model_get_moderator_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_moderator_response +import model_moderator + +# AnyOf type +type GetModeratorResponse1Kind* {.pure.} = enum + GetModeratorResponseVariant + APIErrorVariant + +type GetModeratorResponse1* = object + ## + case kind*: GetModeratorResponse1Kind + of GetModeratorResponse1Kind.GetModeratorResponseVariant: + GetModeratorResponseValue*: GetModeratorResponse + of GetModeratorResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetModeratorResponse1]): GetModeratorResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetModeratorResponse1(kind: GetModeratorResponse1Kind.GetModeratorResponseVariant, GetModeratorResponseValue: to(node, GetModeratorResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetModeratorResponse: ", e.msg + try: + return GetModeratorResponse1(kind: GetModeratorResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetModeratorResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_moderators_response1.nim b/client/fastcomments/models/model_get_moderators_response1.nim new file mode 100644 index 0000000..bb2cc28 --- /dev/null +++ b/client/fastcomments/models/model_get_moderators_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_moderators_response +import model_moderator + +# AnyOf type +type GetModeratorsResponse1Kind* {.pure.} = enum + GetModeratorsResponseVariant + APIErrorVariant + +type GetModeratorsResponse1* = object + ## + case kind*: GetModeratorsResponse1Kind + of GetModeratorsResponse1Kind.GetModeratorsResponseVariant: + GetModeratorsResponseValue*: GetModeratorsResponse + of GetModeratorsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetModeratorsResponse1]): GetModeratorsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetModeratorsResponse1(kind: GetModeratorsResponse1Kind.GetModeratorsResponseVariant, GetModeratorsResponseValue: to(node, GetModeratorsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetModeratorsResponse: ", e.msg + try: + return GetModeratorsResponse1(kind: GetModeratorsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetModeratorsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_notification_count_response1.nim b/client/fastcomments/models/model_get_notification_count_response1.nim new file mode 100644 index 0000000..f26e8f2 --- /dev/null +++ b/client/fastcomments/models/model_get_notification_count_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_notification_count_response + +# AnyOf type +type GetNotificationCountResponse1Kind* {.pure.} = enum + GetNotificationCountResponseVariant + APIErrorVariant + +type GetNotificationCountResponse1* = object + ## + case kind*: GetNotificationCountResponse1Kind + of GetNotificationCountResponse1Kind.GetNotificationCountResponseVariant: + GetNotificationCountResponseValue*: GetNotificationCountResponse + of GetNotificationCountResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetNotificationCountResponse1]): GetNotificationCountResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetNotificationCountResponse1(kind: GetNotificationCountResponse1Kind.GetNotificationCountResponseVariant, GetNotificationCountResponseValue: to(node, GetNotificationCountResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetNotificationCountResponse: ", e.msg + try: + return GetNotificationCountResponse1(kind: GetNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetNotificationCountResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_notifications_response1.nim b/client/fastcomments/models/model_get_notifications_response1.nim new file mode 100644 index 0000000..74e4c9f --- /dev/null +++ b/client/fastcomments/models/model_get_notifications_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_notifications_response +import model_user_notification + +# AnyOf type +type GetNotificationsResponse1Kind* {.pure.} = enum + GetNotificationsResponseVariant + APIErrorVariant + +type GetNotificationsResponse1* = object + ## + case kind*: GetNotificationsResponse1Kind + of GetNotificationsResponse1Kind.GetNotificationsResponseVariant: + GetNotificationsResponseValue*: GetNotificationsResponse + of GetNotificationsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetNotificationsResponse1]): GetNotificationsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetNotificationsResponse1(kind: GetNotificationsResponse1Kind.GetNotificationsResponseVariant, GetNotificationsResponseValue: to(node, GetNotificationsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetNotificationsResponse: ", e.msg + try: + return GetNotificationsResponse1(kind: GetNotificationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetNotificationsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_offline_users_response.nim b/client/fastcomments/models/model_get_offline_users_response.nim new file mode 100644 index 0000000..a8c9c33 --- /dev/null +++ b/client/fastcomments/models/model_get_offline_users_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_page_user_entry +import model_page_users_offline_response + +# AnyOf type +type GetOfflineUsersResponseKind* {.pure.} = enum + PageUsersOfflineResponseVariant + APIErrorVariant + +type GetOfflineUsersResponse* = object + ## + case kind*: GetOfflineUsersResponseKind + of GetOfflineUsersResponseKind.PageUsersOfflineResponseVariant: + PageUsersOfflineResponseValue*: PageUsersOfflineResponse + of GetOfflineUsersResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetOfflineUsersResponse]): GetOfflineUsersResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetOfflineUsersResponse(kind: GetOfflineUsersResponseKind.PageUsersOfflineResponseVariant, PageUsersOfflineResponseValue: to(node, PageUsersOfflineResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PageUsersOfflineResponse: ", e.msg + try: + return GetOfflineUsersResponse(kind: GetOfflineUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetOfflineUsersResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_online_users_response.nim b/client/fastcomments/models/model_get_online_users_response.nim new file mode 100644 index 0000000..d8db0fd --- /dev/null +++ b/client/fastcomments/models/model_get_online_users_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_page_user_entry +import model_page_users_online_response + +# AnyOf type +type GetOnlineUsersResponseKind* {.pure.} = enum + PageUsersOnlineResponseVariant + APIErrorVariant + +type GetOnlineUsersResponse* = object + ## + case kind*: GetOnlineUsersResponseKind + of GetOnlineUsersResponseKind.PageUsersOnlineResponseVariant: + PageUsersOnlineResponseValue*: PageUsersOnlineResponse + of GetOnlineUsersResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetOnlineUsersResponse]): GetOnlineUsersResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetOnlineUsersResponse(kind: GetOnlineUsersResponseKind.PageUsersOnlineResponseVariant, PageUsersOnlineResponseValue: to(node, PageUsersOnlineResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PageUsersOnlineResponse: ", e.msg + try: + return GetOnlineUsersResponse(kind: GetOnlineUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetOnlineUsersResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_pages_public_response.nim b/client/fastcomments/models/model_get_pages_public_response.nim new file mode 100644 index 0000000..58f5623 --- /dev/null +++ b/client/fastcomments/models/model_get_pages_public_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_public_pages_response +import model_public_page + +# AnyOf type +type GetPagesPublicResponseKind* {.pure.} = enum + GetPublicPagesResponseVariant + APIErrorVariant + +type GetPagesPublicResponse* = object + ## + case kind*: GetPagesPublicResponseKind + of GetPagesPublicResponseKind.GetPublicPagesResponseVariant: + GetPublicPagesResponseValue*: GetPublicPagesResponse + of GetPagesPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetPagesPublicResponse]): GetPagesPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetPagesPublicResponse(kind: GetPagesPublicResponseKind.GetPublicPagesResponseVariant, GetPublicPagesResponseValue: to(node, GetPublicPagesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetPublicPagesResponse: ", e.msg + try: + return GetPagesPublicResponse(kind: GetPagesPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetPagesPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim b/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim new file mode 100644 index 0000000..a8c3fdb --- /dev/null +++ b/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_pending_webhook_event_count_response + +# AnyOf type +type GetPendingWebhookEventCountResponse1Kind* {.pure.} = enum + GetPendingWebhookEventCountResponseVariant + APIErrorVariant + +type GetPendingWebhookEventCountResponse1* = object + ## + case kind*: GetPendingWebhookEventCountResponse1Kind + of GetPendingWebhookEventCountResponse1Kind.GetPendingWebhookEventCountResponseVariant: + GetPendingWebhookEventCountResponseValue*: GetPendingWebhookEventCountResponse + of GetPendingWebhookEventCountResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetPendingWebhookEventCountResponse1]): GetPendingWebhookEventCountResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetPendingWebhookEventCountResponse1(kind: GetPendingWebhookEventCountResponse1Kind.GetPendingWebhookEventCountResponseVariant, GetPendingWebhookEventCountResponseValue: to(node, GetPendingWebhookEventCountResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetPendingWebhookEventCountResponse: ", e.msg + try: + return GetPendingWebhookEventCountResponse1(kind: GetPendingWebhookEventCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetPendingWebhookEventCountResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_pending_webhook_events_response1.nim b/client/fastcomments/models/model_get_pending_webhook_events_response1.nim new file mode 100644 index 0000000..f6b5422 --- /dev/null +++ b/client/fastcomments/models/model_get_pending_webhook_events_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_pending_webhook_events_response +import model_pending_comment_to_sync_outbound + +# AnyOf type +type GetPendingWebhookEventsResponse1Kind* {.pure.} = enum + GetPendingWebhookEventsResponseVariant + APIErrorVariant + +type GetPendingWebhookEventsResponse1* = object + ## + case kind*: GetPendingWebhookEventsResponse1Kind + of GetPendingWebhookEventsResponse1Kind.GetPendingWebhookEventsResponseVariant: + GetPendingWebhookEventsResponseValue*: GetPendingWebhookEventsResponse + of GetPendingWebhookEventsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetPendingWebhookEventsResponse1]): GetPendingWebhookEventsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetPendingWebhookEventsResponse1(kind: GetPendingWebhookEventsResponse1Kind.GetPendingWebhookEventsResponseVariant, GetPendingWebhookEventsResponseValue: to(node, GetPendingWebhookEventsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetPendingWebhookEventsResponse: ", e.msg + try: + return GetPendingWebhookEventsResponse1(kind: GetPendingWebhookEventsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetPendingWebhookEventsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_pre_ban_summary_response.nim b/client/fastcomments/models/model_get_pre_ban_summary_response.nim new file mode 100644 index 0000000..97304ef --- /dev/null +++ b/client/fastcomments/models/model_get_pre_ban_summary_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_pre_ban_summary + +# AnyOf type +type GetPreBanSummaryResponseKind* {.pure.} = enum + PreBanSummaryVariant + APIErrorVariant + +type GetPreBanSummaryResponse* = object + ## + case kind*: GetPreBanSummaryResponseKind + of GetPreBanSummaryResponseKind.PreBanSummaryVariant: + PreBanSummaryValue*: PreBanSummary + of GetPreBanSummaryResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetPreBanSummaryResponse]): GetPreBanSummaryResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetPreBanSummaryResponse(kind: GetPreBanSummaryResponseKind.PreBanSummaryVariant, PreBanSummaryValue: to(node, PreBanSummary)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PreBanSummary: ", e.msg + try: + return GetPreBanSummaryResponse(kind: GetPreBanSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetPreBanSummaryResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_question_config_response1.nim b/client/fastcomments/models/model_get_question_config_response1.nim new file mode 100644 index 0000000..0111808 --- /dev/null +++ b/client/fastcomments/models/model_get_question_config_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_question_config_response +import model_question_config + +# AnyOf type +type GetQuestionConfigResponse1Kind* {.pure.} = enum + GetQuestionConfigResponseVariant + APIErrorVariant + +type GetQuestionConfigResponse1* = object + ## + case kind*: GetQuestionConfigResponse1Kind + of GetQuestionConfigResponse1Kind.GetQuestionConfigResponseVariant: + GetQuestionConfigResponseValue*: GetQuestionConfigResponse + of GetQuestionConfigResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetQuestionConfigResponse1]): GetQuestionConfigResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetQuestionConfigResponse1(kind: GetQuestionConfigResponse1Kind.GetQuestionConfigResponseVariant, GetQuestionConfigResponseValue: to(node, GetQuestionConfigResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetQuestionConfigResponse: ", e.msg + try: + return GetQuestionConfigResponse1(kind: GetQuestionConfigResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionConfigResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_question_configs_response1.nim b/client/fastcomments/models/model_get_question_configs_response1.nim new file mode 100644 index 0000000..c9caf0f --- /dev/null +++ b/client/fastcomments/models/model_get_question_configs_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_question_configs_response +import model_question_config + +# AnyOf type +type GetQuestionConfigsResponse1Kind* {.pure.} = enum + GetQuestionConfigsResponseVariant + APIErrorVariant + +type GetQuestionConfigsResponse1* = object + ## + case kind*: GetQuestionConfigsResponse1Kind + of GetQuestionConfigsResponse1Kind.GetQuestionConfigsResponseVariant: + GetQuestionConfigsResponseValue*: GetQuestionConfigsResponse + of GetQuestionConfigsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetQuestionConfigsResponse1]): GetQuestionConfigsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetQuestionConfigsResponse1(kind: GetQuestionConfigsResponse1Kind.GetQuestionConfigsResponseVariant, GetQuestionConfigsResponseValue: to(node, GetQuestionConfigsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetQuestionConfigsResponse: ", e.msg + try: + return GetQuestionConfigsResponse1(kind: GetQuestionConfigsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionConfigsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_question_result_response1.nim b/client/fastcomments/models/model_get_question_result_response1.nim new file mode 100644 index 0000000..c7ab24a --- /dev/null +++ b/client/fastcomments/models/model_get_question_result_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_question_result_response +import model_question_result + +# AnyOf type +type GetQuestionResultResponse1Kind* {.pure.} = enum + GetQuestionResultResponseVariant + APIErrorVariant + +type GetQuestionResultResponse1* = object + ## + case kind*: GetQuestionResultResponse1Kind + of GetQuestionResultResponse1Kind.GetQuestionResultResponseVariant: + GetQuestionResultResponseValue*: GetQuestionResultResponse + of GetQuestionResultResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetQuestionResultResponse1]): GetQuestionResultResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetQuestionResultResponse1(kind: GetQuestionResultResponse1Kind.GetQuestionResultResponseVariant, GetQuestionResultResponseValue: to(node, GetQuestionResultResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetQuestionResultResponse: ", e.msg + try: + return GetQuestionResultResponse1(kind: GetQuestionResultResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionResultResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_question_results_response1.nim b/client/fastcomments/models/model_get_question_results_response1.nim new file mode 100644 index 0000000..59542db --- /dev/null +++ b/client/fastcomments/models/model_get_question_results_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_question_results_response +import model_question_result + +# AnyOf type +type GetQuestionResultsResponse1Kind* {.pure.} = enum + GetQuestionResultsResponseVariant + APIErrorVariant + +type GetQuestionResultsResponse1* = object + ## + case kind*: GetQuestionResultsResponse1Kind + of GetQuestionResultsResponse1Kind.GetQuestionResultsResponseVariant: + GetQuestionResultsResponseValue*: GetQuestionResultsResponse + of GetQuestionResultsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetQuestionResultsResponse1]): GetQuestionResultsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetQuestionResultsResponse1(kind: GetQuestionResultsResponse1Kind.GetQuestionResultsResponseVariant, GetQuestionResultsResponseValue: to(node, GetQuestionResultsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetQuestionResultsResponse: ", e.msg + try: + return GetQuestionResultsResponse1(kind: GetQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionResultsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_search_comments_summary_response.nim b/client/fastcomments/models/model_get_search_comments_summary_response.nim new file mode 100644 index 0000000..550dfa4 --- /dev/null +++ b/client/fastcomments/models/model_get_search_comments_summary_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_comment_search_response + +# AnyOf type +type GetSearchCommentsSummaryResponseKind* {.pure.} = enum + ModerationCommentSearchResponseVariant + APIErrorVariant + +type GetSearchCommentsSummaryResponse* = object + ## + case kind*: GetSearchCommentsSummaryResponseKind + of GetSearchCommentsSummaryResponseKind.ModerationCommentSearchResponseVariant: + ModerationCommentSearchResponseValue*: ModerationCommentSearchResponse + of GetSearchCommentsSummaryResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetSearchCommentsSummaryResponse]): GetSearchCommentsSummaryResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetSearchCommentsSummaryResponse(kind: GetSearchCommentsSummaryResponseKind.ModerationCommentSearchResponseVariant, ModerationCommentSearchResponseValue: to(node, ModerationCommentSearchResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationCommentSearchResponse: ", e.msg + try: + return GetSearchCommentsSummaryResponse(kind: GetSearchCommentsSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetSearchCommentsSummaryResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_search_pages_response.nim b/client/fastcomments/models/model_get_search_pages_response.nim new file mode 100644 index 0000000..4e4fa6e --- /dev/null +++ b/client/fastcomments/models/model_get_search_pages_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_page_search_projected +import model_moderation_page_search_response + +# AnyOf type +type GetSearchPagesResponseKind* {.pure.} = enum + ModerationPageSearchResponseVariant + APIErrorVariant + +type GetSearchPagesResponse* = object + ## + case kind*: GetSearchPagesResponseKind + of GetSearchPagesResponseKind.ModerationPageSearchResponseVariant: + ModerationPageSearchResponseValue*: ModerationPageSearchResponse + of GetSearchPagesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetSearchPagesResponse]): GetSearchPagesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetSearchPagesResponse(kind: GetSearchPagesResponseKind.ModerationPageSearchResponseVariant, ModerationPageSearchResponseValue: to(node, ModerationPageSearchResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationPageSearchResponse: ", e.msg + try: + return GetSearchPagesResponse(kind: GetSearchPagesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetSearchPagesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_search_sites_response.nim b/client/fastcomments/models/model_get_search_sites_response.nim new file mode 100644 index 0000000..c8dd8d0 --- /dev/null +++ b/client/fastcomments/models/model_get_search_sites_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_site_search_projected +import model_moderation_site_search_response + +# AnyOf type +type GetSearchSitesResponseKind* {.pure.} = enum + ModerationSiteSearchResponseVariant + APIErrorVariant + +type GetSearchSitesResponse* = object + ## + case kind*: GetSearchSitesResponseKind + of GetSearchSitesResponseKind.ModerationSiteSearchResponseVariant: + ModerationSiteSearchResponseValue*: ModerationSiteSearchResponse + of GetSearchSitesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetSearchSitesResponse]): GetSearchSitesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetSearchSitesResponse(kind: GetSearchSitesResponseKind.ModerationSiteSearchResponseVariant, ModerationSiteSearchResponseValue: to(node, ModerationSiteSearchResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationSiteSearchResponse: ", e.msg + try: + return GetSearchSitesResponse(kind: GetSearchSitesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetSearchSitesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_search_suggest_response.nim b/client/fastcomments/models/model_get_search_suggest_response.nim new file mode 100644 index 0000000..c2064ec --- /dev/null +++ b/client/fastcomments/models/model_get_search_suggest_response.nim @@ -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 +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_page_search_projected +import model_moderation_suggest_response +import model_moderation_user_search_projected + +# AnyOf type +type GetSearchSuggestResponseKind* {.pure.} = enum + ModerationSuggestResponseVariant + APIErrorVariant + +type GetSearchSuggestResponse* = object + ## + case kind*: GetSearchSuggestResponseKind + of GetSearchSuggestResponseKind.ModerationSuggestResponseVariant: + ModerationSuggestResponseValue*: ModerationSuggestResponse + of GetSearchSuggestResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetSearchSuggestResponse]): GetSearchSuggestResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetSearchSuggestResponse(kind: GetSearchSuggestResponseKind.ModerationSuggestResponseVariant, ModerationSuggestResponseValue: to(node, ModerationSuggestResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationSuggestResponse: ", e.msg + try: + return GetSearchSuggestResponse(kind: GetSearchSuggestResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetSearchSuggestResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_search_users_response.nim b/client/fastcomments/models/model_get_search_users_response.nim new file mode 100644 index 0000000..f822710 --- /dev/null +++ b/client/fastcomments/models/model_get_search_users_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_user_search_projected +import model_moderation_user_search_response + +# AnyOf type +type GetSearchUsersResponseKind* {.pure.} = enum + ModerationUserSearchResponseVariant + APIErrorVariant + +type GetSearchUsersResponse* = object + ## + case kind*: GetSearchUsersResponseKind + of GetSearchUsersResponseKind.ModerationUserSearchResponseVariant: + ModerationUserSearchResponseValue*: ModerationUserSearchResponse + of GetSearchUsersResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetSearchUsersResponse]): GetSearchUsersResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetSearchUsersResponse(kind: GetSearchUsersResponseKind.ModerationUserSearchResponseVariant, ModerationUserSearchResponseValue: to(node, ModerationUserSearchResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationUserSearchResponse: ", e.msg + try: + return GetSearchUsersResponse(kind: GetSearchUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetSearchUsersResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim b/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim new file mode 100644 index 0000000..c4d95bc --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_tenant_daily_usage +import model_custom_config_parameters +import model_get_tenant_daily_usages_response + +# AnyOf type +type GetTenantDailyUsagesResponse1Kind* {.pure.} = enum + GetTenantDailyUsagesResponseVariant + APIErrorVariant + +type GetTenantDailyUsagesResponse1* = object + ## + case kind*: GetTenantDailyUsagesResponse1Kind + of GetTenantDailyUsagesResponse1Kind.GetTenantDailyUsagesResponseVariant: + GetTenantDailyUsagesResponseValue*: GetTenantDailyUsagesResponse + of GetTenantDailyUsagesResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantDailyUsagesResponse1]): GetTenantDailyUsagesResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantDailyUsagesResponse1(kind: GetTenantDailyUsagesResponse1Kind.GetTenantDailyUsagesResponseVariant, GetTenantDailyUsagesResponseValue: to(node, GetTenantDailyUsagesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantDailyUsagesResponse: ", e.msg + try: + return GetTenantDailyUsagesResponse1(kind: GetTenantDailyUsagesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantDailyUsagesResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_package_response1.nim b/client/fastcomments/models/model_get_tenant_package_response1.nim new file mode 100644 index 0000000..d706a85 --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_package_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_tenant_package_response +import model_tenant_package + +# AnyOf type +type GetTenantPackageResponse1Kind* {.pure.} = enum + GetTenantPackageResponseVariant + APIErrorVariant + +type GetTenantPackageResponse1* = object + ## + case kind*: GetTenantPackageResponse1Kind + of GetTenantPackageResponse1Kind.GetTenantPackageResponseVariant: + GetTenantPackageResponseValue*: GetTenantPackageResponse + of GetTenantPackageResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantPackageResponse1]): GetTenantPackageResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantPackageResponse1(kind: GetTenantPackageResponse1Kind.GetTenantPackageResponseVariant, GetTenantPackageResponseValue: to(node, GetTenantPackageResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantPackageResponse: ", e.msg + try: + return GetTenantPackageResponse1(kind: GetTenantPackageResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantPackageResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_packages_response1.nim b/client/fastcomments/models/model_get_tenant_packages_response1.nim new file mode 100644 index 0000000..dad8e3c --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_packages_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_tenant_packages_response +import model_tenant_package + +# AnyOf type +type GetTenantPackagesResponse1Kind* {.pure.} = enum + GetTenantPackagesResponseVariant + APIErrorVariant + +type GetTenantPackagesResponse1* = object + ## + case kind*: GetTenantPackagesResponse1Kind + of GetTenantPackagesResponse1Kind.GetTenantPackagesResponseVariant: + GetTenantPackagesResponseValue*: GetTenantPackagesResponse + of GetTenantPackagesResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantPackagesResponse1]): GetTenantPackagesResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantPackagesResponse1(kind: GetTenantPackagesResponse1Kind.GetTenantPackagesResponseVariant, GetTenantPackagesResponseValue: to(node, GetTenantPackagesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantPackagesResponse: ", e.msg + try: + return GetTenantPackagesResponse1(kind: GetTenantPackagesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantPackagesResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_response1.nim b/client/fastcomments/models/model_get_tenant_response1.nim new file mode 100644 index 0000000..73dd2fa --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_tenant +import model_custom_config_parameters +import model_get_tenant_response + +# AnyOf type +type GetTenantResponse1Kind* {.pure.} = enum + GetTenantResponseVariant + APIErrorVariant + +type GetTenantResponse1* = object + ## + case kind*: GetTenantResponse1Kind + of GetTenantResponse1Kind.GetTenantResponseVariant: + GetTenantResponseValue*: GetTenantResponse + of GetTenantResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantResponse1]): GetTenantResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantResponse1(kind: GetTenantResponse1Kind.GetTenantResponseVariant, GetTenantResponseValue: to(node, GetTenantResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantResponse: ", e.msg + try: + return GetTenantResponse1(kind: GetTenantResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_user_response1.nim b/client/fastcomments/models/model_get_tenant_user_response1.nim new file mode 100644 index 0000000..21d90f0 --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_user_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_tenant_user_response +import model_user + +# AnyOf type +type GetTenantUserResponse1Kind* {.pure.} = enum + GetTenantUserResponseVariant + APIErrorVariant + +type GetTenantUserResponse1* = object + ## + case kind*: GetTenantUserResponse1Kind + of GetTenantUserResponse1Kind.GetTenantUserResponseVariant: + GetTenantUserResponseValue*: GetTenantUserResponse + of GetTenantUserResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantUserResponse1]): GetTenantUserResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantUserResponse1(kind: GetTenantUserResponse1Kind.GetTenantUserResponseVariant, GetTenantUserResponseValue: to(node, GetTenantUserResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantUserResponse: ", e.msg + try: + return GetTenantUserResponse1(kind: GetTenantUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantUserResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenant_users_response1.nim b/client/fastcomments/models/model_get_tenant_users_response1.nim new file mode 100644 index 0000000..69c12d4 --- /dev/null +++ b/client/fastcomments/models/model_get_tenant_users_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_tenant_users_response +import model_user + +# AnyOf type +type GetTenantUsersResponse1Kind* {.pure.} = enum + GetTenantUsersResponseVariant + APIErrorVariant + +type GetTenantUsersResponse1* = object + ## + case kind*: GetTenantUsersResponse1Kind + of GetTenantUsersResponse1Kind.GetTenantUsersResponseVariant: + GetTenantUsersResponseValue*: GetTenantUsersResponse + of GetTenantUsersResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantUsersResponse1]): GetTenantUsersResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantUsersResponse1(kind: GetTenantUsersResponse1Kind.GetTenantUsersResponseVariant, GetTenantUsersResponseValue: to(node, GetTenantUsersResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantUsersResponse: ", e.msg + try: + return GetTenantUsersResponse1(kind: GetTenantUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantUsersResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tenants_response1.nim b/client/fastcomments/models/model_get_tenants_response1.nim new file mode 100644 index 0000000..7db2cf2 --- /dev/null +++ b/client/fastcomments/models/model_get_tenants_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_tenant +import model_custom_config_parameters +import model_get_tenants_response + +# AnyOf type +type GetTenantsResponse1Kind* {.pure.} = enum + GetTenantsResponseVariant + APIErrorVariant + +type GetTenantsResponse1* = object + ## + case kind*: GetTenantsResponse1Kind + of GetTenantsResponse1Kind.GetTenantsResponseVariant: + GetTenantsResponseValue*: GetTenantsResponse + of GetTenantsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTenantsResponse1]): GetTenantsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTenantsResponse1(kind: GetTenantsResponse1Kind.GetTenantsResponseVariant, GetTenantsResponseValue: to(node, GetTenantsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTenantsResponse: ", e.msg + try: + return GetTenantsResponse1(kind: GetTenantsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTenantsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_ticket_response1.nim b/client/fastcomments/models/model_get_ticket_response1.nim new file mode 100644 index 0000000..7e1fa2d --- /dev/null +++ b/client/fastcomments/models/model_get_ticket_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_ticket_detail +import model_custom_config_parameters +import model_get_ticket_response + +# AnyOf type +type GetTicketResponse1Kind* {.pure.} = enum + GetTicketResponseVariant + APIErrorVariant + +type GetTicketResponse1* = object + ## + case kind*: GetTicketResponse1Kind + of GetTicketResponse1Kind.GetTicketResponseVariant: + GetTicketResponseValue*: GetTicketResponse + of GetTicketResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTicketResponse1]): GetTicketResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTicketResponse1(kind: GetTicketResponse1Kind.GetTicketResponseVariant, GetTicketResponseValue: to(node, GetTicketResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTicketResponse: ", e.msg + try: + return GetTicketResponse1(kind: GetTicketResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTicketResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_tickets_response1.nim b/client/fastcomments/models/model_get_tickets_response1.nim new file mode 100644 index 0000000..5d3c210 --- /dev/null +++ b/client/fastcomments/models/model_get_tickets_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_api_ticket +import model_custom_config_parameters +import model_get_tickets_response + +# AnyOf type +type GetTicketsResponse1Kind* {.pure.} = enum + GetTicketsResponseVariant + APIErrorVariant + +type GetTicketsResponse1* = object + ## + case kind*: GetTicketsResponse1Kind + of GetTicketsResponse1Kind.GetTicketsResponseVariant: + GetTicketsResponseValue*: GetTicketsResponse + of GetTicketsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTicketsResponse1]): GetTicketsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTicketsResponse1(kind: GetTicketsResponse1Kind.GetTicketsResponseVariant, GetTicketsResponseValue: to(node, GetTicketsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTicketsResponse: ", e.msg + try: + return GetTicketsResponse1(kind: GetTicketsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTicketsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_translations_response1.nim b/client/fastcomments/models/model_get_translations_response1.nim new file mode 100644 index 0000000..4845d3a --- /dev/null +++ b/client/fastcomments/models/model_get_translations_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_translations_response + +# AnyOf type +type GetTranslationsResponse1Kind* {.pure.} = enum + GetTranslationsResponseVariant + APIErrorVariant + +type GetTranslationsResponse1* = object + ## + case kind*: GetTranslationsResponse1Kind + of GetTranslationsResponse1Kind.GetTranslationsResponseVariant: + GetTranslationsResponseValue*: GetTranslationsResponse + of GetTranslationsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTranslationsResponse1]): GetTranslationsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTranslationsResponse1(kind: GetTranslationsResponse1Kind.GetTranslationsResponseVariant, GetTranslationsResponseValue: to(node, GetTranslationsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetTranslationsResponse: ", e.msg + try: + return GetTranslationsResponse1(kind: GetTranslationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTranslationsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_trust_factor_response.nim b/client/fastcomments/models/model_get_trust_factor_response.nim new file mode 100644 index 0000000..5a65a2f --- /dev/null +++ b/client/fastcomments/models/model_get_trust_factor_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_trust_factor_response + +# AnyOf type +type GetTrustFactorResponseKind* {.pure.} = enum + GetUserTrustFactorResponseVariant + APIErrorVariant + +type GetTrustFactorResponse* = object + ## + case kind*: GetTrustFactorResponseKind + of GetTrustFactorResponseKind.GetUserTrustFactorResponseVariant: + GetUserTrustFactorResponseValue*: GetUserTrustFactorResponse + of GetTrustFactorResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetTrustFactorResponse]): GetTrustFactorResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetTrustFactorResponse(kind: GetTrustFactorResponseKind.GetUserTrustFactorResponseVariant, GetUserTrustFactorResponseValue: to(node, GetUserTrustFactorResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserTrustFactorResponse: ", e.msg + try: + return GetTrustFactorResponse(kind: GetTrustFactorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetTrustFactorResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim b/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim new file mode 100644 index 0000000..eec62c6 --- /dev/null +++ b/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_get_user_badge_progress_response +import model_api_status +import model_custom_config_parameters +import model_user_badge_progress + +# AnyOf type +type GetUserBadgeProgressByIdResponseKind* {.pure.} = enum + APIGetUserBadgeProgressResponseVariant + APIErrorVariant + +type GetUserBadgeProgressByIdResponse* = object + ## + case kind*: GetUserBadgeProgressByIdResponseKind + of GetUserBadgeProgressByIdResponseKind.APIGetUserBadgeProgressResponseVariant: + APIGetUserBadgeProgressResponseValue*: APIGetUserBadgeProgressResponse + of GetUserBadgeProgressByIdResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressByIdResponse]): GetUserBadgeProgressByIdResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBadgeProgressByIdResponse(kind: GetUserBadgeProgressByIdResponseKind.APIGetUserBadgeProgressResponseVariant, APIGetUserBadgeProgressResponseValue: to(node, APIGetUserBadgeProgressResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetUserBadgeProgressResponse: ", e.msg + try: + return GetUserBadgeProgressByIdResponse(kind: GetUserBadgeProgressByIdResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressByIdResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim b/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim new file mode 100644 index 0000000..ae13b0a --- /dev/null +++ b/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_get_user_badge_progress_response +import model_api_status +import model_custom_config_parameters +import model_user_badge_progress + +# AnyOf type +type GetUserBadgeProgressByUserIdResponseKind* {.pure.} = enum + APIGetUserBadgeProgressResponseVariant + APIErrorVariant + +type GetUserBadgeProgressByUserIdResponse* = object + ## + case kind*: GetUserBadgeProgressByUserIdResponseKind + of GetUserBadgeProgressByUserIdResponseKind.APIGetUserBadgeProgressResponseVariant: + APIGetUserBadgeProgressResponseValue*: APIGetUserBadgeProgressResponse + of GetUserBadgeProgressByUserIdResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressByUserIdResponse]): GetUserBadgeProgressByUserIdResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBadgeProgressByUserIdResponse(kind: GetUserBadgeProgressByUserIdResponseKind.APIGetUserBadgeProgressResponseVariant, APIGetUserBadgeProgressResponseValue: to(node, APIGetUserBadgeProgressResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetUserBadgeProgressResponse: ", e.msg + try: + return GetUserBadgeProgressByUserIdResponse(kind: GetUserBadgeProgressByUserIdResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressByUserIdResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_badge_progress_list_response.nim b/client/fastcomments/models/model_get_user_badge_progress_list_response.nim new file mode 100644 index 0000000..9f64fe2 --- /dev/null +++ b/client/fastcomments/models/model_get_user_badge_progress_list_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_get_user_badge_progress_list_response +import model_api_status +import model_custom_config_parameters +import model_user_badge_progress + +# AnyOf type +type GetUserBadgeProgressListResponseKind* {.pure.} = enum + APIGetUserBadgeProgressListResponseVariant + APIErrorVariant + +type GetUserBadgeProgressListResponse* = object + ## + case kind*: GetUserBadgeProgressListResponseKind + of GetUserBadgeProgressListResponseKind.APIGetUserBadgeProgressListResponseVariant: + APIGetUserBadgeProgressListResponseValue*: APIGetUserBadgeProgressListResponse + of GetUserBadgeProgressListResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressListResponse]): GetUserBadgeProgressListResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBadgeProgressListResponse(kind: GetUserBadgeProgressListResponseKind.APIGetUserBadgeProgressListResponseVariant, APIGetUserBadgeProgressListResponseValue: to(node, APIGetUserBadgeProgressListResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetUserBadgeProgressListResponse: ", e.msg + try: + return GetUserBadgeProgressListResponse(kind: GetUserBadgeProgressListResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressListResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_badge_response.nim b/client/fastcomments/models/model_get_user_badge_response.nim new file mode 100644 index 0000000..a9f51d0 --- /dev/null +++ b/client/fastcomments/models/model_get_user_badge_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_get_user_badge_response +import model_api_status +import model_custom_config_parameters +import model_user_badge + +# AnyOf type +type GetUserBadgeResponseKind* {.pure.} = enum + APIGetUserBadgeResponseVariant + APIErrorVariant + +type GetUserBadgeResponse* = object + ## + case kind*: GetUserBadgeResponseKind + of GetUserBadgeResponseKind.APIGetUserBadgeResponseVariant: + APIGetUserBadgeResponseValue*: APIGetUserBadgeResponse + of GetUserBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBadgeResponse]): GetUserBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBadgeResponse(kind: GetUserBadgeResponseKind.APIGetUserBadgeResponseVariant, APIGetUserBadgeResponseValue: to(node, APIGetUserBadgeResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetUserBadgeResponse: ", e.msg + try: + return GetUserBadgeResponse(kind: GetUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_badges_response.nim b/client/fastcomments/models/model_get_user_badges_response.nim new file mode 100644 index 0000000..6c734b5 --- /dev/null +++ b/client/fastcomments/models/model_get_user_badges_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_get_user_badges_response +import model_api_status +import model_custom_config_parameters +import model_user_badge + +# AnyOf type +type GetUserBadgesResponseKind* {.pure.} = enum + APIGetUserBadgesResponseVariant + APIErrorVariant + +type GetUserBadgesResponse* = object + ## + case kind*: GetUserBadgesResponseKind + of GetUserBadgesResponseKind.APIGetUserBadgesResponseVariant: + APIGetUserBadgesResponseValue*: APIGetUserBadgesResponse + of GetUserBadgesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBadgesResponse]): GetUserBadgesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBadgesResponse(kind: GetUserBadgesResponseKind.APIGetUserBadgesResponseVariant, APIGetUserBadgesResponseValue: to(node, APIGetUserBadgesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIGetUserBadgesResponse: ", e.msg + try: + return GetUserBadgesResponse(kind: GetUserBadgesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_ban_preference_response.nim b/client/fastcomments/models/model_get_user_ban_preference_response.nim new file mode 100644 index 0000000..fbc3153 --- /dev/null +++ b/client/fastcomments/models/model_get_user_ban_preference_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_moderate_get_user_ban_preferences_response +import model_api_moderate_user_ban_preferences +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type GetUserBanPreferenceResponseKind* {.pure.} = enum + APIModerateGetUserBanPreferencesResponseVariant + APIErrorVariant + +type GetUserBanPreferenceResponse* = object + ## + case kind*: GetUserBanPreferenceResponseKind + of GetUserBanPreferenceResponseKind.APIModerateGetUserBanPreferencesResponseVariant: + APIModerateGetUserBanPreferencesResponseValue*: APIModerateGetUserBanPreferencesResponse + of GetUserBanPreferenceResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserBanPreferenceResponse]): GetUserBanPreferenceResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserBanPreferenceResponse(kind: GetUserBanPreferenceResponseKind.APIModerateGetUserBanPreferencesResponseVariant, APIModerateGetUserBanPreferencesResponseValue: to(node, APIModerateGetUserBanPreferencesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIModerateGetUserBanPreferencesResponse: ", e.msg + try: + return GetUserBanPreferenceResponse(kind: GetUserBanPreferenceResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserBanPreferenceResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_internal_profile_response1.nim b/client/fastcomments/models/model_get_user_internal_profile_response1.nim new file mode 100644 index 0000000..cbb39ef --- /dev/null +++ b/client/fastcomments/models/model_get_user_internal_profile_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_internal_profile_response +import model_get_user_internal_profile_response_profile + +# AnyOf type +type GetUserInternalProfileResponse1Kind* {.pure.} = enum + GetUserInternalProfileResponseVariant + APIErrorVariant + +type GetUserInternalProfileResponse1* = object + ## + case kind*: GetUserInternalProfileResponse1Kind + of GetUserInternalProfileResponse1Kind.GetUserInternalProfileResponseVariant: + GetUserInternalProfileResponseValue*: GetUserInternalProfileResponse + of GetUserInternalProfileResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserInternalProfileResponse1]): GetUserInternalProfileResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserInternalProfileResponse1(kind: GetUserInternalProfileResponse1Kind.GetUserInternalProfileResponseVariant, GetUserInternalProfileResponseValue: to(node, GetUserInternalProfileResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserInternalProfileResponse: ", e.msg + try: + return GetUserInternalProfileResponse1(kind: GetUserInternalProfileResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserInternalProfileResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_notification_count_response1.nim b/client/fastcomments/models/model_get_user_notification_count_response1.nim new file mode 100644 index 0000000..f1dbbe3 --- /dev/null +++ b/client/fastcomments/models/model_get_user_notification_count_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_notification_count_response + +# AnyOf type +type GetUserNotificationCountResponse1Kind* {.pure.} = enum + GetUserNotificationCountResponseVariant + APIErrorVariant + +type GetUserNotificationCountResponse1* = object + ## + case kind*: GetUserNotificationCountResponse1Kind + of GetUserNotificationCountResponse1Kind.GetUserNotificationCountResponseVariant: + GetUserNotificationCountResponseValue*: GetUserNotificationCountResponse + of GetUserNotificationCountResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserNotificationCountResponse1]): GetUserNotificationCountResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserNotificationCountResponse1(kind: GetUserNotificationCountResponse1Kind.GetUserNotificationCountResponseVariant, GetUserNotificationCountResponseValue: to(node, GetUserNotificationCountResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserNotificationCountResponse: ", e.msg + try: + return GetUserNotificationCountResponse1(kind: GetUserNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserNotificationCountResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_notifications_response.nim b/client/fastcomments/models/model_get_user_notifications_response.nim new file mode 100644 index 0000000..eac2b52 --- /dev/null +++ b/client/fastcomments/models/model_get_user_notifications_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_my_notifications_response +import model_renderable_user_notification + +# AnyOf type +type GetUserNotificationsResponseKind* {.pure.} = enum + GetMyNotificationsResponseVariant + APIErrorVariant + +type GetUserNotificationsResponse* = object + ## + case kind*: GetUserNotificationsResponseKind + of GetUserNotificationsResponseKind.GetMyNotificationsResponseVariant: + GetMyNotificationsResponseValue*: GetMyNotificationsResponse + of GetUserNotificationsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserNotificationsResponse]): GetUserNotificationsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserNotificationsResponse(kind: GetUserNotificationsResponseKind.GetMyNotificationsResponseVariant, GetMyNotificationsResponseValue: to(node, GetMyNotificationsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetMyNotificationsResponse: ", e.msg + try: + return GetUserNotificationsResponse(kind: GetUserNotificationsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserNotificationsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_presence_statuses_response1.nim b/client/fastcomments/models/model_get_user_presence_statuses_response1.nim new file mode 100644 index 0000000..7b7f7bb --- /dev/null +++ b/client/fastcomments/models/model_get_user_presence_statuses_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_presence_statuses_response + +# AnyOf type +type GetUserPresenceStatusesResponse1Kind* {.pure.} = enum + GetUserPresenceStatusesResponseVariant + APIErrorVariant + +type GetUserPresenceStatusesResponse1* = object + ## + case kind*: GetUserPresenceStatusesResponse1Kind + of GetUserPresenceStatusesResponse1Kind.GetUserPresenceStatusesResponseVariant: + GetUserPresenceStatusesResponseValue*: GetUserPresenceStatusesResponse + of GetUserPresenceStatusesResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserPresenceStatusesResponse1]): GetUserPresenceStatusesResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserPresenceStatusesResponse1(kind: GetUserPresenceStatusesResponse1Kind.GetUserPresenceStatusesResponseVariant, GetUserPresenceStatusesResponseValue: to(node, GetUserPresenceStatusesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserPresenceStatusesResponse: ", e.msg + try: + return GetUserPresenceStatusesResponse1(kind: GetUserPresenceStatusesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserPresenceStatusesResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_reacts_public_response.nim b/client/fastcomments/models/model_get_user_reacts_public_response.nim new file mode 100644 index 0000000..7f3134f --- /dev/null +++ b/client/fastcomments/models/model_get_user_reacts_public_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_user_reacts_response + +# AnyOf type +type GetUserReactsPublicResponseKind* {.pure.} = enum + UserReactsResponseVariant + APIErrorVariant + +type GetUserReactsPublicResponse* = object + ## + case kind*: GetUserReactsPublicResponseKind + of GetUserReactsPublicResponseKind.UserReactsResponseVariant: + UserReactsResponseValue*: UserReactsResponse + of GetUserReactsPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserReactsPublicResponse]): GetUserReactsPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserReactsPublicResponse(kind: GetUserReactsPublicResponseKind.UserReactsResponseVariant, UserReactsResponseValue: to(node, UserReactsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as UserReactsResponse: ", e.msg + try: + return GetUserReactsPublicResponse(kind: GetUserReactsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserReactsPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_user_response1.nim b/client/fastcomments/models/model_get_user_response1.nim new file mode 100644 index 0000000..3a645b3 --- /dev/null +++ b/client/fastcomments/models/model_get_user_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_user_response +import model_user + +# AnyOf type +type GetUserResponse1Kind* {.pure.} = enum + GetUserResponseVariant + APIErrorVariant + +type GetUserResponse1* = object + ## + case kind*: GetUserResponse1Kind + of GetUserResponse1Kind.GetUserResponseVariant: + GetUserResponseValue*: GetUserResponse + of GetUserResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUserResponse1]): GetUserResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUserResponse1(kind: GetUserResponse1Kind.GetUserResponseVariant, GetUserResponseValue: to(node, GetUserResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetUserResponse: ", e.msg + try: + return GetUserResponse1(kind: GetUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUserResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_users_info_response.nim b/client/fastcomments/models/model_get_users_info_response.nim new file mode 100644 index 0000000..6daeb72 --- /dev/null +++ b/client/fastcomments/models/model_get_users_info_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_page_user_entry +import model_page_users_info_response + +# AnyOf type +type GetUsersInfoResponseKind* {.pure.} = enum + PageUsersInfoResponseVariant + APIErrorVariant + +type GetUsersInfoResponse* = object + ## + case kind*: GetUsersInfoResponseKind + of GetUsersInfoResponseKind.PageUsersInfoResponseVariant: + PageUsersInfoResponseValue*: PageUsersInfoResponse + of GetUsersInfoResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetUsersInfoResponse]): GetUsersInfoResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetUsersInfoResponse(kind: GetUsersInfoResponseKind.PageUsersInfoResponseVariant, PageUsersInfoResponseValue: to(node, PageUsersInfoResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PageUsersInfoResponse: ", e.msg + try: + return GetUsersInfoResponse(kind: GetUsersInfoResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetUsersInfoResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_v1_page_likes_response.nim b/client/fastcomments/models/model_get_v1_page_likes_response.nim new file mode 100644 index 0000000..0338087 --- /dev/null +++ b/client/fastcomments/models/model_get_v1_page_likes_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_v1_page_likes + +# AnyOf type +type GetV1PageLikesResponseKind* {.pure.} = enum + GetV1PageLikesVariant + APIErrorVariant + +type GetV1PageLikesResponse* = object + ## + case kind*: GetV1PageLikesResponseKind + of GetV1PageLikesResponseKind.GetV1PageLikesVariant: + GetV1PageLikesValue*: GetV1PageLikes + of GetV1PageLikesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetV1PageLikesResponse]): GetV1PageLikesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetV1PageLikesResponse(kind: GetV1PageLikesResponseKind.GetV1PageLikesVariant, GetV1PageLikesValue: to(node, GetV1PageLikes)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetV1PageLikes: ", e.msg + try: + return GetV1PageLikesResponse(kind: GetV1PageLikesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetV1PageLikesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_v2_page_react_users_response1.nim b/client/fastcomments/models/model_get_v2_page_react_users_response1.nim new file mode 100644 index 0000000..4fec640 --- /dev/null +++ b/client/fastcomments/models/model_get_v2_page_react_users_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_v2_page_react_users_response + +# AnyOf type +type GetV2PageReactUsersResponse1Kind* {.pure.} = enum + GetV2PageReactUsersResponseVariant + APIErrorVariant + +type GetV2PageReactUsersResponse1* = object + ## + case kind*: GetV2PageReactUsersResponse1Kind + of GetV2PageReactUsersResponse1Kind.GetV2PageReactUsersResponseVariant: + GetV2PageReactUsersResponseValue*: GetV2PageReactUsersResponse + of GetV2PageReactUsersResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetV2PageReactUsersResponse1]): GetV2PageReactUsersResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetV2PageReactUsersResponse1(kind: GetV2PageReactUsersResponse1Kind.GetV2PageReactUsersResponseVariant, GetV2PageReactUsersResponseValue: to(node, GetV2PageReactUsersResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetV2PageReactUsersResponse: ", e.msg + try: + return GetV2PageReactUsersResponse1(kind: GetV2PageReactUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetV2PageReactUsersResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_v2_page_reacts_response.nim b/client/fastcomments/models/model_get_v2_page_reacts_response.nim new file mode 100644 index 0000000..27a0c97 --- /dev/null +++ b/client/fastcomments/models/model_get_v2_page_reacts_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_v2_page_reacts + +# AnyOf type +type GetV2PageReactsResponseKind* {.pure.} = enum + GetV2PageReactsVariant + APIErrorVariant + +type GetV2PageReactsResponse* = object + ## + case kind*: GetV2PageReactsResponseKind + of GetV2PageReactsResponseKind.GetV2PageReactsVariant: + GetV2PageReactsValue*: GetV2PageReacts + of GetV2PageReactsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetV2PageReactsResponse]): GetV2PageReactsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetV2PageReactsResponse(kind: GetV2PageReactsResponseKind.GetV2PageReactsVariant, GetV2PageReactsValue: to(node, GetV2PageReacts)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetV2PageReacts: ", e.msg + try: + return GetV2PageReactsResponse(kind: GetV2PageReactsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetV2PageReactsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_votes_for_user_response1.nim b/client/fastcomments/models/model_get_votes_for_user_response1.nim new file mode 100644 index 0000000..d6b001e --- /dev/null +++ b/client/fastcomments/models/model_get_votes_for_user_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_votes_for_user_response +import model_public_vote + +# AnyOf type +type GetVotesForUserResponse1Kind* {.pure.} = enum + GetVotesForUserResponseVariant + APIErrorVariant + +type GetVotesForUserResponse1* = object + ## + case kind*: GetVotesForUserResponse1Kind + of GetVotesForUserResponse1Kind.GetVotesForUserResponseVariant: + GetVotesForUserResponseValue*: GetVotesForUserResponse + of GetVotesForUserResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetVotesForUserResponse1]): GetVotesForUserResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetVotesForUserResponse1(kind: GetVotesForUserResponse1Kind.GetVotesForUserResponseVariant, GetVotesForUserResponseValue: to(node, GetVotesForUserResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetVotesForUserResponse: ", e.msg + try: + return GetVotesForUserResponse1(kind: GetVotesForUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetVotesForUserResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_get_votes_response1.nim b/client/fastcomments/models/model_get_votes_response1.nim new file mode 100644 index 0000000..cd735d8 --- /dev/null +++ b/client/fastcomments/models/model_get_votes_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_get_votes_response +import model_public_vote + +# AnyOf type +type GetVotesResponse1Kind* {.pure.} = enum + GetVotesResponseVariant + APIErrorVariant + +type GetVotesResponse1* = object + ## + case kind*: GetVotesResponse1Kind + of GetVotesResponse1Kind.GetVotesResponseVariant: + GetVotesResponseValue*: GetVotesResponse + of GetVotesResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[GetVotesResponse1]): GetVotesResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return GetVotesResponse1(kind: GetVotesResponse1Kind.GetVotesResponseVariant, GetVotesResponseValue: to(node, GetVotesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as GetVotesResponse: ", e.msg + try: + return GetVotesResponse1(kind: GetVotesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of GetVotesResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_lock_comment_response.nim b/client/fastcomments/models/model_lock_comment_response.nim new file mode 100644 index 0000000..e1118ee --- /dev/null +++ b/client/fastcomments/models/model_lock_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type LockCommentResponseKind* {.pure.} = enum + APIErrorVariant + APIEmptyResponseVariant + +type LockCommentResponse* = object + ## + case kind*: LockCommentResponseKind + of LockCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + of LockCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + +proc to*(node: JsonNode, T: typedesc[LockCommentResponse]): LockCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return LockCommentResponse(kind: LockCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + try: + return LockCommentResponse(kind: LockCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of LockCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_patch_hash_tag_response.nim b/client/fastcomments/models/model_patch_hash_tag_response.nim new file mode 100644 index 0000000..b8debf2 --- /dev/null +++ b/client/fastcomments/models/model_patch_hash_tag_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_tenant_hash_tag +import model_update_hash_tag_response + +# AnyOf type +type PatchHashTagResponseKind* {.pure.} = enum + UpdateHashTagResponseVariant + APIErrorVariant + +type PatchHashTagResponse* = object + ## + case kind*: PatchHashTagResponseKind + of PatchHashTagResponseKind.UpdateHashTagResponseVariant: + UpdateHashTagResponseValue*: UpdateHashTagResponse + of PatchHashTagResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PatchHashTagResponse]): PatchHashTagResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PatchHashTagResponse(kind: PatchHashTagResponseKind.UpdateHashTagResponseVariant, UpdateHashTagResponseValue: to(node, UpdateHashTagResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as UpdateHashTagResponse: ", e.msg + try: + return PatchHashTagResponse(kind: PatchHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PatchHashTagResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_pin_comment_response.nim b/client/fastcomments/models/model_pin_comment_response.nim new file mode 100644 index 0000000..6ca3154 --- /dev/null +++ b/client/fastcomments/models/model_pin_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_change_comment_pin_status_response +import model_custom_config_parameters +import model_record_string_before_string_or_null_after_string_or_null_value + +# AnyOf type +type PinCommentResponseKind* {.pure.} = enum + ChangeCommentPinStatusResponseVariant + APIErrorVariant + +type PinCommentResponse* = object + ## + case kind*: PinCommentResponseKind + of PinCommentResponseKind.ChangeCommentPinStatusResponseVariant: + ChangeCommentPinStatusResponseValue*: ChangeCommentPinStatusResponse + of PinCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PinCommentResponse]): PinCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PinCommentResponse(kind: PinCommentResponseKind.ChangeCommentPinStatusResponseVariant, ChangeCommentPinStatusResponseValue: to(node, ChangeCommentPinStatusResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ChangeCommentPinStatusResponse: ", e.msg + try: + return PinCommentResponse(kind: PinCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PinCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_adjust_comment_votes_response.nim b/client/fastcomments/models/model_post_adjust_comment_votes_response.nim new file mode 100644 index 0000000..3bdc618 --- /dev/null +++ b/client/fastcomments/models/model_post_adjust_comment_votes_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_adjust_votes_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostAdjustCommentVotesResponseKind* {.pure.} = enum + AdjustVotesResponseVariant + APIErrorVariant + +type PostAdjustCommentVotesResponse* = object + ## + case kind*: PostAdjustCommentVotesResponseKind + of PostAdjustCommentVotesResponseKind.AdjustVotesResponseVariant: + AdjustVotesResponseValue*: AdjustVotesResponse + of PostAdjustCommentVotesResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostAdjustCommentVotesResponse]): PostAdjustCommentVotesResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostAdjustCommentVotesResponse(kind: PostAdjustCommentVotesResponseKind.AdjustVotesResponseVariant, AdjustVotesResponseValue: to(node, AdjustVotesResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as AdjustVotesResponse: ", e.msg + try: + return PostAdjustCommentVotesResponse(kind: PostAdjustCommentVotesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostAdjustCommentVotesResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_api_export_response.nim b/client/fastcomments/models/model_post_api_export_response.nim new file mode 100644 index 0000000..959ac14 --- /dev/null +++ b/client/fastcomments/models/model_post_api_export_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_export_response + +# AnyOf type +type PostApiExportResponseKind* {.pure.} = enum + ModerationExportResponseVariant + APIErrorVariant + +type PostApiExportResponse* = object + ## + case kind*: PostApiExportResponseKind + of PostApiExportResponseKind.ModerationExportResponseVariant: + ModerationExportResponseValue*: ModerationExportResponse + of PostApiExportResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostApiExportResponse]): PostApiExportResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostApiExportResponse(kind: PostApiExportResponseKind.ModerationExportResponseVariant, ModerationExportResponseValue: to(node, ModerationExportResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationExportResponse: ", e.msg + try: + return PostApiExportResponse(kind: PostApiExportResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostApiExportResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_ban_user_from_comment_response.nim b/client/fastcomments/models/model_post_ban_user_from_comment_response.nim new file mode 100644 index 0000000..f2a6f74 --- /dev/null +++ b/client/fastcomments/models/model_post_ban_user_from_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_ban_user_change_log +import model_api_error +import model_api_status +import model_ban_user_from_comment_result +import model_custom_config_parameters + +# AnyOf type +type PostBanUserFromCommentResponseKind* {.pure.} = enum + BanUserFromCommentResultVariant + APIErrorVariant + +type PostBanUserFromCommentResponse* = object + ## + case kind*: PostBanUserFromCommentResponseKind + of PostBanUserFromCommentResponseKind.BanUserFromCommentResultVariant: + BanUserFromCommentResultValue*: BanUserFromCommentResult + of PostBanUserFromCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostBanUserFromCommentResponse]): PostBanUserFromCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostBanUserFromCommentResponse(kind: PostBanUserFromCommentResponseKind.BanUserFromCommentResultVariant, BanUserFromCommentResultValue: to(node, BanUserFromCommentResult)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BanUserFromCommentResult: ", e.msg + try: + return PostBanUserFromCommentResponse(kind: PostBanUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostBanUserFromCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_ban_user_undo_response.nim b/client/fastcomments/models/model_post_ban_user_undo_response.nim new file mode 100644 index 0000000..bb498d1 --- /dev/null +++ b/client/fastcomments/models/model_post_ban_user_undo_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostBanUserUndoResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostBanUserUndoResponse* = object + ## + case kind*: PostBanUserUndoResponseKind + of PostBanUserUndoResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostBanUserUndoResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostBanUserUndoResponse]): PostBanUserUndoResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostBanUserUndoResponse(kind: PostBanUserUndoResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostBanUserUndoResponse(kind: PostBanUserUndoResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostBanUserUndoResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim b/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim new file mode 100644 index 0000000..0e04ee5 --- /dev/null +++ b/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_bulk_pre_ban_summary +import model_custom_config_parameters + +# AnyOf type +type PostBulkPreBanSummaryResponseKind* {.pure.} = enum + BulkPreBanSummaryVariant + APIErrorVariant + +type PostBulkPreBanSummaryResponse* = object + ## + case kind*: PostBulkPreBanSummaryResponseKind + of PostBulkPreBanSummaryResponseKind.BulkPreBanSummaryVariant: + BulkPreBanSummaryValue*: BulkPreBanSummary + of PostBulkPreBanSummaryResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostBulkPreBanSummaryResponse]): PostBulkPreBanSummaryResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostBulkPreBanSummaryResponse(kind: PostBulkPreBanSummaryResponseKind.BulkPreBanSummaryVariant, BulkPreBanSummaryValue: to(node, BulkPreBanSummary)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as BulkPreBanSummary: ", e.msg + try: + return PostBulkPreBanSummaryResponse(kind: PostBulkPreBanSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostBulkPreBanSummaryResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_comments_by_ids_response.nim b/client/fastcomments/models/model_post_comments_by_ids_response.nim new file mode 100644 index 0000000..f67c0cb --- /dev/null +++ b/client/fastcomments/models/model_post_comments_by_ids_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_moderation_api_child_comments_response +import model_moderation_api_comment + +# AnyOf type +type PostCommentsByIdsResponseKind* {.pure.} = enum + ModerationAPIChildCommentsResponseVariant + APIErrorVariant + +type PostCommentsByIdsResponse* = object + ## + case kind*: PostCommentsByIdsResponseKind + of PostCommentsByIdsResponseKind.ModerationAPIChildCommentsResponseVariant: + ModerationAPIChildCommentsResponseValue*: ModerationAPIChildCommentsResponse + of PostCommentsByIdsResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostCommentsByIdsResponse]): PostCommentsByIdsResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostCommentsByIdsResponse(kind: PostCommentsByIdsResponseKind.ModerationAPIChildCommentsResponseVariant, ModerationAPIChildCommentsResponseValue: to(node, ModerationAPIChildCommentsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ModerationAPIChildCommentsResponse: ", e.msg + try: + return PostCommentsByIdsResponse(kind: PostCommentsByIdsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostCommentsByIdsResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_flag_comment_response.nim b/client/fastcomments/models/model_post_flag_comment_response.nim new file mode 100644 index 0000000..f20daf6 --- /dev/null +++ b/client/fastcomments/models/model_post_flag_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostFlagCommentResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostFlagCommentResponse* = object + ## + case kind*: PostFlagCommentResponseKind + of PostFlagCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostFlagCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostFlagCommentResponse]): PostFlagCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostFlagCommentResponse(kind: PostFlagCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostFlagCommentResponse(kind: PostFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostFlagCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_remove_comment_response.nim b/client/fastcomments/models/model_post_remove_comment_response.nim index 6726b3f..db5007d 100644 --- a/client/fastcomments/models/model_post_remove_comment_response.nim +++ b/client/fastcomments/models/model_post_remove_comment_response.nim @@ -12,6 +12,9 @@ import tables import marshal import options +import model_api_error +import model_api_status +import model_custom_config_parameters import model_delete_comment_result import model_remove_comment_action_response @@ -19,6 +22,7 @@ import model_remove_comment_action_response type PostRemoveCommentResponseKind* {.pure.} = enum DeleteCommentResultVariant RemoveCommentActionResponseVariant + APIErrorVariant type PostRemoveCommentResponse* = object ## @@ -27,6 +31,8 @@ type PostRemoveCommentResponse* = object DeleteCommentResultValue*: DeleteCommentResult of PostRemoveCommentResponseKind.RemoveCommentActionResponseVariant: RemoveCommentActionResponseValue*: RemoveCommentActionResponse + of PostRemoveCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[PostRemoveCommentResponse]): PostRemoveCommentResponse = ## Custom deserializer for anyOf type - tries each variant @@ -40,5 +46,10 @@ proc to*(node: JsonNode, T: typedesc[PostRemoveCommentResponse]): PostRemoveComm except Exception as e: when defined(debug): echo "Failed to deserialize as RemoveCommentActionResponse: ", e.msg + try: + return PostRemoveCommentResponse(kind: PostRemoveCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of PostRemoveCommentResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_post_restore_deleted_comment_response.nim b/client/fastcomments/models/model_post_restore_deleted_comment_response.nim new file mode 100644 index 0000000..61d8ea7 --- /dev/null +++ b/client/fastcomments/models/model_post_restore_deleted_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostRestoreDeletedCommentResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostRestoreDeletedCommentResponse* = object + ## + case kind*: PostRestoreDeletedCommentResponseKind + of PostRestoreDeletedCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostRestoreDeletedCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostRestoreDeletedCommentResponse]): PostRestoreDeletedCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostRestoreDeletedCommentResponse(kind: PostRestoreDeletedCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostRestoreDeletedCommentResponse(kind: PostRestoreDeletedCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostRestoreDeletedCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_set_comment_approval_status_response.nim b/client/fastcomments/models/model_post_set_comment_approval_status_response.nim new file mode 100644 index 0000000..959e173 --- /dev/null +++ b/client/fastcomments/models/model_post_set_comment_approval_status_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_set_comment_approved_response + +# AnyOf type +type PostSetCommentApprovalStatusResponseKind* {.pure.} = enum + SetCommentApprovedResponseVariant + APIErrorVariant + +type PostSetCommentApprovalStatusResponse* = object + ## + case kind*: PostSetCommentApprovalStatusResponseKind + of PostSetCommentApprovalStatusResponseKind.SetCommentApprovedResponseVariant: + SetCommentApprovedResponseValue*: SetCommentApprovedResponse + of PostSetCommentApprovalStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostSetCommentApprovalStatusResponse]): PostSetCommentApprovalStatusResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostSetCommentApprovalStatusResponse(kind: PostSetCommentApprovalStatusResponseKind.SetCommentApprovedResponseVariant, SetCommentApprovedResponseValue: to(node, SetCommentApprovedResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as SetCommentApprovedResponse: ", e.msg + try: + return PostSetCommentApprovalStatusResponse(kind: PostSetCommentApprovalStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentApprovalStatusResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_set_comment_review_status_response.nim b/client/fastcomments/models/model_post_set_comment_review_status_response.nim new file mode 100644 index 0000000..3be52ea --- /dev/null +++ b/client/fastcomments/models/model_post_set_comment_review_status_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostSetCommentReviewStatusResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostSetCommentReviewStatusResponse* = object + ## + case kind*: PostSetCommentReviewStatusResponseKind + of PostSetCommentReviewStatusResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostSetCommentReviewStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostSetCommentReviewStatusResponse]): PostSetCommentReviewStatusResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostSetCommentReviewStatusResponse(kind: PostSetCommentReviewStatusResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostSetCommentReviewStatusResponse(kind: PostSetCommentReviewStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentReviewStatusResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_set_comment_spam_status_response.nim b/client/fastcomments/models/model_post_set_comment_spam_status_response.nim new file mode 100644 index 0000000..fad39e1 --- /dev/null +++ b/client/fastcomments/models/model_post_set_comment_spam_status_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostSetCommentSpamStatusResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostSetCommentSpamStatusResponse* = object + ## + case kind*: PostSetCommentSpamStatusResponseKind + of PostSetCommentSpamStatusResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostSetCommentSpamStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostSetCommentSpamStatusResponse]): PostSetCommentSpamStatusResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostSetCommentSpamStatusResponse(kind: PostSetCommentSpamStatusResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostSetCommentSpamStatusResponse(kind: PostSetCommentSpamStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentSpamStatusResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_set_comment_text_response.nim b/client/fastcomments/models/model_post_set_comment_text_response.nim new file mode 100644 index 0000000..d832919 --- /dev/null +++ b/client/fastcomments/models/model_post_set_comment_text_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_set_comment_text_response + +# AnyOf type +type PostSetCommentTextResponseKind* {.pure.} = enum + SetCommentTextResponseVariant + APIErrorVariant + +type PostSetCommentTextResponse* = object + ## + case kind*: PostSetCommentTextResponseKind + of PostSetCommentTextResponseKind.SetCommentTextResponseVariant: + SetCommentTextResponseValue*: SetCommentTextResponse + of PostSetCommentTextResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostSetCommentTextResponse]): PostSetCommentTextResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostSetCommentTextResponse(kind: PostSetCommentTextResponseKind.SetCommentTextResponseVariant, SetCommentTextResponseValue: to(node, SetCommentTextResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as SetCommentTextResponse: ", e.msg + try: + return PostSetCommentTextResponse(kind: PostSetCommentTextResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentTextResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_un_flag_comment_response.nim b/client/fastcomments/models/model_post_un_flag_comment_response.nim new file mode 100644 index 0000000..84ecf84 --- /dev/null +++ b/client/fastcomments/models/model_post_un_flag_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PostUnFlagCommentResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PostUnFlagCommentResponse* = object + ## + case kind*: PostUnFlagCommentResponseKind + of PostUnFlagCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PostUnFlagCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostUnFlagCommentResponse]): PostUnFlagCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostUnFlagCommentResponse(kind: PostUnFlagCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PostUnFlagCommentResponse(kind: PostUnFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostUnFlagCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_post_vote_response.nim b/client/fastcomments/models/model_post_vote_response.nim new file mode 100644 index 0000000..271b534 --- /dev/null +++ b/client/fastcomments/models/model_post_vote_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_response +import model_vote_response_user + +# AnyOf type +type PostVoteResponseKind* {.pure.} = enum + VoteResponseVariant + APIErrorVariant + +type PostVoteResponse* = object + ## + case kind*: PostVoteResponseKind + of PostVoteResponseKind.VoteResponseVariant: + VoteResponseValue*: VoteResponse + of PostVoteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PostVoteResponse]): PostVoteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PostVoteResponse(kind: PostVoteResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteResponse: ", e.msg + try: + return PostVoteResponse(kind: PostVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PostVoteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_put_award_badge_response.nim b/client/fastcomments/models/model_put_award_badge_response.nim new file mode 100644 index 0000000..da83e9f --- /dev/null +++ b/client/fastcomments/models/model_put_award_badge_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_award_user_badge_response +import model_comment_user_badge_info +import model_custom_config_parameters + +# AnyOf type +type PutAwardBadgeResponseKind* {.pure.} = enum + AwardUserBadgeResponseVariant + APIErrorVariant + +type PutAwardBadgeResponse* = object + ## + case kind*: PutAwardBadgeResponseKind + of PutAwardBadgeResponseKind.AwardUserBadgeResponseVariant: + AwardUserBadgeResponseValue*: AwardUserBadgeResponse + of PutAwardBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PutAwardBadgeResponse]): PutAwardBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PutAwardBadgeResponse(kind: PutAwardBadgeResponseKind.AwardUserBadgeResponseVariant, AwardUserBadgeResponseValue: to(node, AwardUserBadgeResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as AwardUserBadgeResponse: ", e.msg + try: + return PutAwardBadgeResponse(kind: PutAwardBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PutAwardBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_put_close_thread_response.nim b/client/fastcomments/models/model_put_close_thread_response.nim new file mode 100644 index 0000000..e1e9ed0 --- /dev/null +++ b/client/fastcomments/models/model_put_close_thread_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PutCloseThreadResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PutCloseThreadResponse* = object + ## + case kind*: PutCloseThreadResponseKind + of PutCloseThreadResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PutCloseThreadResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PutCloseThreadResponse]): PutCloseThreadResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PutCloseThreadResponse(kind: PutCloseThreadResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PutCloseThreadResponse(kind: PutCloseThreadResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PutCloseThreadResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_put_remove_badge_response.nim b/client/fastcomments/models/model_put_remove_badge_response.nim new file mode 100644 index 0000000..8cdbb34 --- /dev/null +++ b/client/fastcomments/models/model_put_remove_badge_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_comment_user_badge_info +import model_custom_config_parameters +import model_remove_user_badge_response + +# AnyOf type +type PutRemoveBadgeResponseKind* {.pure.} = enum + RemoveUserBadgeResponseVariant + APIErrorVariant + +type PutRemoveBadgeResponse* = object + ## + case kind*: PutRemoveBadgeResponseKind + of PutRemoveBadgeResponseKind.RemoveUserBadgeResponseVariant: + RemoveUserBadgeResponseValue*: RemoveUserBadgeResponse + of PutRemoveBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PutRemoveBadgeResponse]): PutRemoveBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PutRemoveBadgeResponse(kind: PutRemoveBadgeResponseKind.RemoveUserBadgeResponseVariant, RemoveUserBadgeResponseValue: to(node, RemoveUserBadgeResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as RemoveUserBadgeResponse: ", e.msg + try: + return PutRemoveBadgeResponse(kind: PutRemoveBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PutRemoveBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_put_reopen_thread_response.nim b/client/fastcomments/models/model_put_reopen_thread_response.nim new file mode 100644 index 0000000..ab08637 --- /dev/null +++ b/client/fastcomments/models/model_put_reopen_thread_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type PutReopenThreadResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type PutReopenThreadResponse* = object + ## + case kind*: PutReopenThreadResponseKind + of PutReopenThreadResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of PutReopenThreadResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[PutReopenThreadResponse]): PutReopenThreadResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return PutReopenThreadResponse(kind: PutReopenThreadResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return PutReopenThreadResponse(kind: PutReopenThreadResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of PutReopenThreadResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_react_feed_post_public_response.nim b/client/fastcomments/models/model_react_feed_post_public_response.nim new file mode 100644 index 0000000..ef20213 --- /dev/null +++ b/client/fastcomments/models/model_react_feed_post_public_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_react_feed_post_response + +# AnyOf type +type ReactFeedPostPublicResponseKind* {.pure.} = enum + ReactFeedPostResponseVariant + APIErrorVariant + +type ReactFeedPostPublicResponse* = object + ## + case kind*: ReactFeedPostPublicResponseKind + of ReactFeedPostPublicResponseKind.ReactFeedPostResponseVariant: + ReactFeedPostResponseValue*: ReactFeedPostResponse + of ReactFeedPostPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ReactFeedPostPublicResponse]): ReactFeedPostPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return ReactFeedPostPublicResponse(kind: ReactFeedPostPublicResponseKind.ReactFeedPostResponseVariant, ReactFeedPostResponseValue: to(node, ReactFeedPostResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ReactFeedPostResponse: ", e.msg + try: + return ReactFeedPostPublicResponse(kind: ReactFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ReactFeedPostPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_render_email_template_response1.nim b/client/fastcomments/models/model_render_email_template_response1.nim new file mode 100644 index 0000000..b1b4786 --- /dev/null +++ b/client/fastcomments/models/model_render_email_template_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_render_email_template_response + +# AnyOf type +type RenderEmailTemplateResponse1Kind* {.pure.} = enum + RenderEmailTemplateResponseVariant + APIErrorVariant + +type RenderEmailTemplateResponse1* = object + ## + case kind*: RenderEmailTemplateResponse1Kind + of RenderEmailTemplateResponse1Kind.RenderEmailTemplateResponseVariant: + RenderEmailTemplateResponseValue*: RenderEmailTemplateResponse + of RenderEmailTemplateResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[RenderEmailTemplateResponse1]): RenderEmailTemplateResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return RenderEmailTemplateResponse1(kind: RenderEmailTemplateResponse1Kind.RenderEmailTemplateResponseVariant, RenderEmailTemplateResponseValue: to(node, RenderEmailTemplateResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as RenderEmailTemplateResponse: ", e.msg + try: + return RenderEmailTemplateResponse1(kind: RenderEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of RenderEmailTemplateResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_replace_tenant_package_response.nim b/client/fastcomments/models/model_replace_tenant_package_response.nim new file mode 100644 index 0000000..f29082f --- /dev/null +++ b/client/fastcomments/models/model_replace_tenant_package_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type ReplaceTenantPackageResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type ReplaceTenantPackageResponse* = object + ## + case kind*: ReplaceTenantPackageResponseKind + of ReplaceTenantPackageResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of ReplaceTenantPackageResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ReplaceTenantPackageResponse]): ReplaceTenantPackageResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return ReplaceTenantPackageResponse(kind: ReplaceTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return ReplaceTenantPackageResponse(kind: ReplaceTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ReplaceTenantPackageResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_replace_tenant_user_response.nim b/client/fastcomments/models/model_replace_tenant_user_response.nim new file mode 100644 index 0000000..2c1b565 --- /dev/null +++ b/client/fastcomments/models/model_replace_tenant_user_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type ReplaceTenantUserResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type ReplaceTenantUserResponse* = object + ## + case kind*: ReplaceTenantUserResponseKind + of ReplaceTenantUserResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of ReplaceTenantUserResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ReplaceTenantUserResponse]): ReplaceTenantUserResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return ReplaceTenantUserResponse(kind: ReplaceTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return ReplaceTenantUserResponse(kind: ReplaceTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ReplaceTenantUserResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_reset_user_notification_count_response.nim b/client/fastcomments/models/model_reset_user_notification_count_response.nim new file mode 100644 index 0000000..7b4f067 --- /dev/null +++ b/client/fastcomments/models/model_reset_user_notification_count_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_reset_user_notifications_response + +# AnyOf type +type ResetUserNotificationCountResponseKind* {.pure.} = enum + ResetUserNotificationsResponseVariant + APIErrorVariant + +type ResetUserNotificationCountResponse* = object + ## + case kind*: ResetUserNotificationCountResponseKind + of ResetUserNotificationCountResponseKind.ResetUserNotificationsResponseVariant: + ResetUserNotificationsResponseValue*: ResetUserNotificationsResponse + of ResetUserNotificationCountResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ResetUserNotificationCountResponse]): ResetUserNotificationCountResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return ResetUserNotificationCountResponse(kind: ResetUserNotificationCountResponseKind.ResetUserNotificationsResponseVariant, ResetUserNotificationsResponseValue: to(node, ResetUserNotificationsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ResetUserNotificationsResponse: ", e.msg + try: + return ResetUserNotificationCountResponse(kind: ResetUserNotificationCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ResetUserNotificationCountResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_reset_user_notifications_response1.nim b/client/fastcomments/models/model_reset_user_notifications_response1.nim new file mode 100644 index 0000000..bcb403c --- /dev/null +++ b/client/fastcomments/models/model_reset_user_notifications_response1.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_reset_user_notifications_response + +# AnyOf type +type ResetUserNotificationsResponse1Kind* {.pure.} = enum + ResetUserNotificationsResponseVariant + APIErrorVariant + +type ResetUserNotificationsResponse1* = object + ## + case kind*: ResetUserNotificationsResponse1Kind + of ResetUserNotificationsResponse1Kind.ResetUserNotificationsResponseVariant: + ResetUserNotificationsResponseValue*: ResetUserNotificationsResponse + of ResetUserNotificationsResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[ResetUserNotificationsResponse1]): ResetUserNotificationsResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return ResetUserNotificationsResponse1(kind: ResetUserNotificationsResponse1Kind.ResetUserNotificationsResponseVariant, ResetUserNotificationsResponseValue: to(node, ResetUserNotificationsResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ResetUserNotificationsResponse: ", e.msg + try: + return ResetUserNotificationsResponse1(kind: ResetUserNotificationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of ResetUserNotificationsResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_save_comment_response.nim b/client/fastcomments/models/model_save_comment_response.nim new file mode 100644 index 0000000..6e98cc7 --- /dev/null +++ b/client/fastcomments/models/model_save_comment_response.nim @@ -0,0 +1,49 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_comment +import model_api_error +import model_api_save_comment_response +import model_api_status +import model_custom_config_parameters +import model_object +import model_user_session_info + +# AnyOf type +type SaveCommentResponseKind* {.pure.} = enum + APISaveCommentResponseVariant + APIErrorVariant + +type SaveCommentResponse* = object + ## + case kind*: SaveCommentResponseKind + of SaveCommentResponseKind.APISaveCommentResponseVariant: + APISaveCommentResponseValue*: APISaveCommentResponse + of SaveCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SaveCommentResponse]): SaveCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return SaveCommentResponse(kind: SaveCommentResponseKind.APISaveCommentResponseVariant, APISaveCommentResponseValue: to(node, APISaveCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APISaveCommentResponse: ", e.msg + try: + return SaveCommentResponse(kind: SaveCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SaveCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_search_users_response1.nim b/client/fastcomments/models/model_search_users_response1.nim new file mode 100644 index 0000000..5d1d24a --- /dev/null +++ b/client/fastcomments/models/model_search_users_response1.nim @@ -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 +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_search_users_result +import model_user_search_result +import model_user_search_section_result + +# AnyOf type +type SearchUsersResponse1Kind* {.pure.} = enum + SearchUsersResultVariant + APIErrorVariant + +type SearchUsersResponse1* = object + ## + case kind*: SearchUsersResponse1Kind + of SearchUsersResponse1Kind.SearchUsersResultVariant: + SearchUsersResultValue*: SearchUsersResult + of SearchUsersResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SearchUsersResponse1]): SearchUsersResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return SearchUsersResponse1(kind: SearchUsersResponse1Kind.SearchUsersResultVariant, SearchUsersResultValue: to(node, SearchUsersResult)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as SearchUsersResult: ", e.msg + try: + return SearchUsersResponse1(kind: SearchUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SearchUsersResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_send_invite_response.nim b/client/fastcomments/models/model_send_invite_response.nim new file mode 100644 index 0000000..83a124c --- /dev/null +++ b/client/fastcomments/models/model_send_invite_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type SendInviteResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type SendInviteResponse* = object + ## + case kind*: SendInviteResponseKind + of SendInviteResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of SendInviteResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SendInviteResponse]): SendInviteResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return SendInviteResponse(kind: SendInviteResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return SendInviteResponse(kind: SendInviteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SendInviteResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_send_login_link_response.nim b/client/fastcomments/models/model_send_login_link_response.nim new file mode 100644 index 0000000..4c0c4e3 --- /dev/null +++ b/client/fastcomments/models/model_send_login_link_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type SendLoginLinkResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type SendLoginLinkResponse* = object + ## + case kind*: SendLoginLinkResponseKind + of SendLoginLinkResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of SendLoginLinkResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SendLoginLinkResponse]): SendLoginLinkResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return SendLoginLinkResponse(kind: SendLoginLinkResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return SendLoginLinkResponse(kind: SendLoginLinkResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SendLoginLinkResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_set_comment_text_response1.nim b/client/fastcomments/models/model_set_comment_text_response1.nim new file mode 100644 index 0000000..85db1b4 --- /dev/null +++ b/client/fastcomments/models/model_set_comment_text_response1.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_public_api_set_comment_text_response +import model_set_comment_text_result + +# AnyOf type +type SetCommentTextResponse1Kind* {.pure.} = enum + PublicAPISetCommentTextResponseVariant + APIErrorVariant + +type SetCommentTextResponse1* = object + ## + case kind*: SetCommentTextResponse1Kind + of SetCommentTextResponse1Kind.PublicAPISetCommentTextResponseVariant: + PublicAPISetCommentTextResponseValue*: PublicAPISetCommentTextResponse + of SetCommentTextResponse1Kind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SetCommentTextResponse1]): SetCommentTextResponse1 = + ## Custom deserializer for anyOf type - tries each variant + try: + return SetCommentTextResponse1(kind: SetCommentTextResponse1Kind.PublicAPISetCommentTextResponseVariant, PublicAPISetCommentTextResponseValue: to(node, PublicAPISetCommentTextResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as PublicAPISetCommentTextResponse: ", e.msg + try: + return SetCommentTextResponse1(kind: SetCommentTextResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SetCommentTextResponse1. JSON: " & $node) + diff --git a/client/fastcomments/models/model_set_trust_factor_response.nim b/client/fastcomments/models/model_set_trust_factor_response.nim new file mode 100644 index 0000000..b2955a6 --- /dev/null +++ b/client/fastcomments/models/model_set_trust_factor_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_set_user_trust_factor_response + +# AnyOf type +type SetTrustFactorResponseKind* {.pure.} = enum + SetUserTrustFactorResponseVariant + APIErrorVariant + +type SetTrustFactorResponse* = object + ## + case kind*: SetTrustFactorResponseKind + of SetTrustFactorResponseKind.SetUserTrustFactorResponseVariant: + SetUserTrustFactorResponseValue*: SetUserTrustFactorResponse + of SetTrustFactorResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[SetTrustFactorResponse]): SetTrustFactorResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return SetTrustFactorResponse(kind: SetTrustFactorResponseKind.SetUserTrustFactorResponseVariant, SetUserTrustFactorResponseValue: to(node, SetUserTrustFactorResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as SetUserTrustFactorResponse: ", e.msg + try: + return SetTrustFactorResponse(kind: SetTrustFactorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of SetTrustFactorResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_un_block_comment_public_response.nim b/client/fastcomments/models/model_un_block_comment_public_response.nim new file mode 100644 index 0000000..d6b45cd --- /dev/null +++ b/client/fastcomments/models/model_un_block_comment_public_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_unblock_success + +# AnyOf type +type UnBlockCommentPublicResponseKind* {.pure.} = enum + UnblockSuccessVariant + APIErrorVariant + +type UnBlockCommentPublicResponse* = object + ## + case kind*: UnBlockCommentPublicResponseKind + of UnBlockCommentPublicResponseKind.UnblockSuccessVariant: + UnblockSuccessValue*: UnblockSuccess + of UnBlockCommentPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UnBlockCommentPublicResponse]): UnBlockCommentPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UnBlockCommentPublicResponse(kind: UnBlockCommentPublicResponseKind.UnblockSuccessVariant, UnblockSuccessValue: to(node, UnblockSuccess)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as UnblockSuccess: ", e.msg + try: + return UnBlockCommentPublicResponse(kind: UnBlockCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UnBlockCommentPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_un_block_user_from_comment_response.nim b/client/fastcomments/models/model_un_block_user_from_comment_response.nim new file mode 100644 index 0000000..30155be --- /dev/null +++ b/client/fastcomments/models/model_un_block_user_from_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_unblock_success + +# AnyOf type +type UnBlockUserFromCommentResponseKind* {.pure.} = enum + UnblockSuccessVariant + APIErrorVariant + +type UnBlockUserFromCommentResponse* = object + ## + case kind*: UnBlockUserFromCommentResponseKind + of UnBlockUserFromCommentResponseKind.UnblockSuccessVariant: + UnblockSuccessValue*: UnblockSuccess + of UnBlockUserFromCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UnBlockUserFromCommentResponse]): UnBlockUserFromCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UnBlockUserFromCommentResponse(kind: UnBlockUserFromCommentResponseKind.UnblockSuccessVariant, UnblockSuccessValue: to(node, UnblockSuccess)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as UnblockSuccess: ", e.msg + try: + return UnBlockUserFromCommentResponse(kind: UnBlockUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UnBlockUserFromCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_un_flag_comment_response.nim b/client/fastcomments/models/model_un_flag_comment_response.nim new file mode 100644 index 0000000..cad796a --- /dev/null +++ b/client/fastcomments/models/model_un_flag_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_flag_comment_response + +# AnyOf type +type UnFlagCommentResponseKind* {.pure.} = enum + FlagCommentResponseVariant + APIErrorVariant + +type UnFlagCommentResponse* = object + ## + case kind*: UnFlagCommentResponseKind + of UnFlagCommentResponseKind.FlagCommentResponseVariant: + FlagCommentResponseValue*: FlagCommentResponse + of UnFlagCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UnFlagCommentResponse]): UnFlagCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UnFlagCommentResponse(kind: UnFlagCommentResponseKind.FlagCommentResponseVariant, FlagCommentResponseValue: to(node, FlagCommentResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as FlagCommentResponse: ", e.msg + try: + return UnFlagCommentResponse(kind: UnFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UnFlagCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_un_lock_comment_response.nim b/client/fastcomments/models/model_un_lock_comment_response.nim new file mode 100644 index 0000000..a738b67 --- /dev/null +++ b/client/fastcomments/models/model_un_lock_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UnLockCommentResponseKind* {.pure.} = enum + APIErrorVariant + APIEmptyResponseVariant + +type UnLockCommentResponse* = object + ## + case kind*: UnLockCommentResponseKind + of UnLockCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + of UnLockCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + +proc to*(node: JsonNode, T: typedesc[UnLockCommentResponse]): UnLockCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UnLockCommentResponse(kind: UnLockCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + try: + return UnLockCommentResponse(kind: UnLockCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UnLockCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_un_pin_comment_response.nim b/client/fastcomments/models/model_un_pin_comment_response.nim new file mode 100644 index 0000000..ce750d8 --- /dev/null +++ b/client/fastcomments/models/model_un_pin_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_change_comment_pin_status_response +import model_custom_config_parameters +import model_record_string_before_string_or_null_after_string_or_null_value + +# AnyOf type +type UnPinCommentResponseKind* {.pure.} = enum + ChangeCommentPinStatusResponseVariant + APIErrorVariant + +type UnPinCommentResponse* = object + ## + case kind*: UnPinCommentResponseKind + of UnPinCommentResponseKind.ChangeCommentPinStatusResponseVariant: + ChangeCommentPinStatusResponseValue*: ChangeCommentPinStatusResponse + of UnPinCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UnPinCommentResponse]): UnPinCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UnPinCommentResponse(kind: UnPinCommentResponseKind.ChangeCommentPinStatusResponseVariant, ChangeCommentPinStatusResponseValue: to(node, ChangeCommentPinStatusResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as ChangeCommentPinStatusResponse: ", e.msg + try: + return UnPinCommentResponse(kind: UnPinCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UnPinCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_comment_response.nim b/client/fastcomments/models/model_update_comment_response.nim new file mode 100644 index 0000000..ebc1421 --- /dev/null +++ b/client/fastcomments/models/model_update_comment_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateCommentResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateCommentResponse* = object + ## + case kind*: UpdateCommentResponseKind + of UpdateCommentResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateCommentResponse]): UpdateCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateCommentResponse(kind: UpdateCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateCommentResponse(kind: UpdateCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateCommentResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_email_template_response.nim b/client/fastcomments/models/model_update_email_template_response.nim new file mode 100644 index 0000000..ab9d882 --- /dev/null +++ b/client/fastcomments/models/model_update_email_template_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateEmailTemplateResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateEmailTemplateResponse* = object + ## + case kind*: UpdateEmailTemplateResponseKind + of UpdateEmailTemplateResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateEmailTemplateResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateEmailTemplateResponse]): UpdateEmailTemplateResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateEmailTemplateResponse(kind: UpdateEmailTemplateResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateEmailTemplateResponse(kind: UpdateEmailTemplateResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateEmailTemplateResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_feed_post_public_response.nim b/client/fastcomments/models/model_update_feed_post_public_response.nim new file mode 100644 index 0000000..4a3775a --- /dev/null +++ b/client/fastcomments/models/model_update_feed_post_public_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_create_feed_post_response +import model_custom_config_parameters +import model_feed_post + +# AnyOf type +type UpdateFeedPostPublicResponseKind* {.pure.} = enum + CreateFeedPostResponseVariant + APIErrorVariant + +type UpdateFeedPostPublicResponse* = object + ## + case kind*: UpdateFeedPostPublicResponseKind + of UpdateFeedPostPublicResponseKind.CreateFeedPostResponseVariant: + CreateFeedPostResponseValue*: CreateFeedPostResponse + of UpdateFeedPostPublicResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateFeedPostPublicResponse]): UpdateFeedPostPublicResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateFeedPostPublicResponse(kind: UpdateFeedPostPublicResponseKind.CreateFeedPostResponseVariant, CreateFeedPostResponseValue: to(node, CreateFeedPostResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as CreateFeedPostResponse: ", e.msg + try: + return UpdateFeedPostPublicResponse(kind: UpdateFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateFeedPostPublicResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_feed_post_response.nim b/client/fastcomments/models/model_update_feed_post_response.nim new file mode 100644 index 0000000..1329ae3 --- /dev/null +++ b/client/fastcomments/models/model_update_feed_post_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateFeedPostResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateFeedPostResponse* = object + ## + case kind*: UpdateFeedPostResponseKind + of UpdateFeedPostResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateFeedPostResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateFeedPostResponse]): UpdateFeedPostResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateFeedPostResponse(kind: UpdateFeedPostResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateFeedPostResponse(kind: UpdateFeedPostResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateFeedPostResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_moderator_response.nim b/client/fastcomments/models/model_update_moderator_response.nim new file mode 100644 index 0000000..c8f4193 --- /dev/null +++ b/client/fastcomments/models/model_update_moderator_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateModeratorResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateModeratorResponse* = object + ## + case kind*: UpdateModeratorResponseKind + of UpdateModeratorResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateModeratorResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateModeratorResponse]): UpdateModeratorResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateModeratorResponse(kind: UpdateModeratorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateModeratorResponse(kind: UpdateModeratorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateModeratorResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_notification_response.nim b/client/fastcomments/models/model_update_notification_response.nim new file mode 100644 index 0000000..0b972e0 --- /dev/null +++ b/client/fastcomments/models/model_update_notification_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateNotificationResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateNotificationResponse* = object + ## + case kind*: UpdateNotificationResponseKind + of UpdateNotificationResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateNotificationResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateNotificationResponse]): UpdateNotificationResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateNotificationResponse(kind: UpdateNotificationResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateNotificationResponse(kind: UpdateNotificationResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateNotificationResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_question_config_response.nim b/client/fastcomments/models/model_update_question_config_response.nim new file mode 100644 index 0000000..f583c12 --- /dev/null +++ b/client/fastcomments/models/model_update_question_config_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateQuestionConfigResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateQuestionConfigResponse* = object + ## + case kind*: UpdateQuestionConfigResponseKind + of UpdateQuestionConfigResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateQuestionConfigResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateQuestionConfigResponse]): UpdateQuestionConfigResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateQuestionConfigResponse(kind: UpdateQuestionConfigResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateQuestionConfigResponse(kind: UpdateQuestionConfigResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateQuestionConfigResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_question_result_response.nim b/client/fastcomments/models/model_update_question_result_response.nim new file mode 100644 index 0000000..a90c562 --- /dev/null +++ b/client/fastcomments/models/model_update_question_result_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateQuestionResultResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateQuestionResultResponse* = object + ## + case kind*: UpdateQuestionResultResponseKind + of UpdateQuestionResultResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateQuestionResultResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateQuestionResultResponse]): UpdateQuestionResultResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateQuestionResultResponse(kind: UpdateQuestionResultResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateQuestionResultResponse(kind: UpdateQuestionResultResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateQuestionResultResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_tenant_package_response.nim b/client/fastcomments/models/model_update_tenant_package_response.nim new file mode 100644 index 0000000..4ab121e --- /dev/null +++ b/client/fastcomments/models/model_update_tenant_package_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateTenantPackageResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateTenantPackageResponse* = object + ## + case kind*: UpdateTenantPackageResponseKind + of UpdateTenantPackageResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateTenantPackageResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateTenantPackageResponse]): UpdateTenantPackageResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateTenantPackageResponse(kind: UpdateTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateTenantPackageResponse(kind: UpdateTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantPackageResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_tenant_response.nim b/client/fastcomments/models/model_update_tenant_response.nim new file mode 100644 index 0000000..e6ddca7 --- /dev/null +++ b/client/fastcomments/models/model_update_tenant_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateTenantResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateTenantResponse* = object + ## + case kind*: UpdateTenantResponseKind + of UpdateTenantResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateTenantResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateTenantResponse]): UpdateTenantResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateTenantResponse(kind: UpdateTenantResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateTenantResponse(kind: UpdateTenantResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_tenant_user_response.nim b/client/fastcomments/models/model_update_tenant_user_response.nim new file mode 100644 index 0000000..bc4bbf6 --- /dev/null +++ b/client/fastcomments/models/model_update_tenant_user_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateTenantUserResponseKind* {.pure.} = enum + APIEmptyResponseVariant + APIErrorVariant + +type UpdateTenantUserResponse* = object + ## + case kind*: UpdateTenantUserResponseKind + of UpdateTenantUserResponseKind.APIEmptyResponseVariant: + APIEmptyResponseValue*: APIEmptyResponse + of UpdateTenantUserResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateTenantUserResponse]): UpdateTenantUserResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateTenantUserResponse(kind: UpdateTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptyResponse: ", e.msg + try: + return UpdateTenantUserResponse(kind: UpdateTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantUserResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_user_badge_response.nim b/client/fastcomments/models/model_update_user_badge_response.nim new file mode 100644 index 0000000..1cf02e1 --- /dev/null +++ b/client/fastcomments/models/model_update_user_badge_response.nim @@ -0,0 +1,46 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_empty_success_response +import model_api_error +import model_api_status +import model_custom_config_parameters + +# AnyOf type +type UpdateUserBadgeResponseKind* {.pure.} = enum + APIEmptySuccessResponseVariant + APIErrorVariant + +type UpdateUserBadgeResponse* = object + ## + case kind*: UpdateUserBadgeResponseKind + of UpdateUserBadgeResponseKind.APIEmptySuccessResponseVariant: + APIEmptySuccessResponseValue*: APIEmptySuccessResponse + of UpdateUserBadgeResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[UpdateUserBadgeResponse]): UpdateUserBadgeResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return UpdateUserBadgeResponse(kind: UpdateUserBadgeResponseKind.APIEmptySuccessResponseVariant, APIEmptySuccessResponseValue: to(node, APIEmptySuccessResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIEmptySuccessResponse: ", e.msg + try: + return UpdateUserBadgeResponse(kind: UpdateUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserBadgeResponse. JSON: " & $node) + diff --git a/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim b/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim index aaff22a..9a46491 100644 --- a/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim @@ -12,7 +12,9 @@ import tables import marshal import options +import model_api_error import model_api_status +import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -20,6 +22,7 @@ import model_user_notification_write_response type UpdateUserNotificationCommentSubscriptionStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant + APIErrorVariant type UpdateUserNotificationCommentSubscriptionStatusResponse* = object ## @@ -28,6 +31,8 @@ type UpdateUserNotificationCommentSubscriptionStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationCommentSubscriptionStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse + of UpdateUserNotificationCommentSubscriptionStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationCommentSubscriptionStatusResponse]): UpdateUserNotificationCommentSubscriptionStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -41,5 +46,10 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationCommentSubscriptionSt except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg + try: + return UpdateUserNotificationCommentSubscriptionStatusResponse(kind: UpdateUserNotificationCommentSubscriptionStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationCommentSubscriptionStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim b/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim index b3c8418..e9fa5f6 100644 --- a/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim @@ -12,7 +12,9 @@ import tables import marshal import options +import model_api_error import model_api_status +import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -20,6 +22,7 @@ import model_user_notification_write_response type UpdateUserNotificationPageSubscriptionStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant + APIErrorVariant type UpdateUserNotificationPageSubscriptionStatusResponse* = object ## @@ -28,6 +31,8 @@ type UpdateUserNotificationPageSubscriptionStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationPageSubscriptionStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse + of UpdateUserNotificationPageSubscriptionStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationPageSubscriptionStatusResponse]): UpdateUserNotificationPageSubscriptionStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -41,5 +46,10 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationPageSubscriptionStatu except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg + try: + return UpdateUserNotificationPageSubscriptionStatusResponse(kind: UpdateUserNotificationPageSubscriptionStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationPageSubscriptionStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_update_user_notification_status_response.nim b/client/fastcomments/models/model_update_user_notification_status_response.nim index c1b4a89..c60f039 100644 --- a/client/fastcomments/models/model_update_user_notification_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_status_response.nim @@ -12,7 +12,9 @@ import tables import marshal import options +import model_api_error import model_api_status +import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -20,6 +22,7 @@ import model_user_notification_write_response type UpdateUserNotificationStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant + APIErrorVariant type UpdateUserNotificationStatusResponse* = object ## @@ -28,6 +31,8 @@ type UpdateUserNotificationStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse + of UpdateUserNotificationStatusResponseKind.APIErrorVariant: + APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationStatusResponse]): UpdateUserNotificationStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -41,5 +46,10 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationStatusResponse]): Upd except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg + try: + return UpdateUserNotificationStatusResponse(kind: UpdateUserNotificationStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_vote_comment_response.nim b/client/fastcomments/models/model_vote_comment_response.nim new file mode 100644 index 0000000..a3a9a16 --- /dev/null +++ b/client/fastcomments/models/model_vote_comment_response.nim @@ -0,0 +1,47 @@ +# +# fastcomments +# +# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +# The version of the OpenAPI document: 0.0.0 +# +# Generated by: https://openapi-generator.tech +# + +import json +import tables +import marshal +import options + +import model_api_error +import model_api_status +import model_custom_config_parameters +import model_vote_response +import model_vote_response_user + +# AnyOf type +type VoteCommentResponseKind* {.pure.} = enum + VoteResponseVariant + APIErrorVariant + +type VoteCommentResponse* = object + ## + case kind*: VoteCommentResponseKind + of VoteCommentResponseKind.VoteResponseVariant: + VoteResponseValue*: VoteResponse + of VoteCommentResponseKind.APIErrorVariant: + APIErrorValue*: APIError + +proc to*(node: JsonNode, T: typedesc[VoteCommentResponse]): VoteCommentResponse = + ## Custom deserializer for anyOf type - tries each variant + try: + return VoteCommentResponse(kind: VoteCommentResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as VoteResponse: ", e.msg + try: + return VoteCommentResponse(kind: VoteCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) + except Exception as e: + when defined(debug): + echo "Failed to deserialize as APIError: ", e.msg + raise newException(ValueError, "Unable to deserialize into any variant of VoteCommentResponse. JSON: " & $node) + diff --git a/docs/Apis/DefaultApi.md b/docs/Apis/DefaultApi.md index 899940e..979cb76 100644 --- a/docs/Apis/DefaultApi.md +++ b/docs/Apis/DefaultApi.md @@ -148,7 +148,7 @@ All URIs are relative to *https://fastcomments.com* # **addHashTag** -> CreateHashTagResponse addHashTag(tenantId, CreateHashTagBody) +> AddHashTagResponse addHashTag(tenantId, CreateHashTagBody) @@ -161,7 +161,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateHashTagResponse**](../Models/CreateHashTagResponse.md) +[**AddHashTagResponse**](../Models/AddHashTagResponse.md) ### Authorization @@ -174,7 +174,7 @@ All URIs are relative to *https://fastcomments.com* # **addHashTagsBulk** -> BulkCreateHashTagsResponse addHashTagsBulk(tenantId, BulkCreateHashTagsBody) +> AddHashTagsBulkResponse addHashTagsBulk(tenantId, BulkCreateHashTagsBody) @@ -187,7 +187,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BulkCreateHashTagsResponse**](../Models/BulkCreateHashTagsResponse.md) +[**AddHashTagsBulkResponse**](../Models/AddHashTagsBulkResponse.md) ### Authorization @@ -282,7 +282,7 @@ All URIs are relative to *https://fastcomments.com* # **aggregateQuestionResults** -> AggregateQuestionResultsResponse aggregateQuestionResults(tenantId, questionId, questionIds, urlId, timeBucket, startDate, forceRecalculate) +> AggregateQuestionResultsResponse_1 aggregateQuestionResults(tenantId, questionId, questionIds, urlId, timeBucket, startDate, forceRecalculate) @@ -300,7 +300,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**AggregateQuestionResultsResponse**](../Models/AggregateQuestionResultsResponse.md) +[**AggregateQuestionResultsResponse_1**](../Models/AggregateQuestionResultsResponse_1.md) ### Authorization @@ -313,7 +313,7 @@ All URIs are relative to *https://fastcomments.com* # **blockUserFromComment** -> BlockSuccess blockUserFromComment(tenantId, id, BlockFromCommentParams, userId, anonUserId) +> BlockUserFromCommentResponse blockUserFromComment(tenantId, id, BlockFromCommentParams, userId, anonUserId) @@ -329,7 +329,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BlockSuccess**](../Models/BlockSuccess.md) +[**BlockUserFromCommentResponse**](../Models/BlockUserFromCommentResponse.md) ### Authorization @@ -342,7 +342,7 @@ All URIs are relative to *https://fastcomments.com* # **bulkAggregateQuestionResults** -> BulkAggregateQuestionResultsResponse bulkAggregateQuestionResults(tenantId, BulkAggregateQuestionResultsRequest, forceRecalculate) +> BulkAggregateQuestionResultsResponse_1 bulkAggregateQuestionResults(tenantId, BulkAggregateQuestionResultsRequest, forceRecalculate) @@ -356,7 +356,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BulkAggregateQuestionResultsResponse**](../Models/BulkAggregateQuestionResultsResponse.md) +[**BulkAggregateQuestionResultsResponse_1**](../Models/BulkAggregateQuestionResultsResponse_1.md) ### Authorization @@ -369,7 +369,7 @@ All URIs are relative to *https://fastcomments.com* # **changeTicketState** -> ChangeTicketStateResponse changeTicketState(tenantId, userId, id, ChangeTicketStateBody) +> ChangeTicketStateResponse_1 changeTicketState(tenantId, userId, id, ChangeTicketStateBody) @@ -384,7 +384,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**ChangeTicketStateResponse**](../Models/ChangeTicketStateResponse.md) +[**ChangeTicketStateResponse_1**](../Models/ChangeTicketStateResponse_1.md) ### Authorization @@ -397,7 +397,7 @@ All URIs are relative to *https://fastcomments.com* # **combineCommentsWithQuestionResults** -> CombineQuestionResultsWithCommentsResponse combineCommentsWithQuestionResults(tenantId, questionId, questionIds, urlId, startDate, forceRecalculate, minValue, maxValue, limit) +> CombineCommentsWithQuestionResultsResponse combineCommentsWithQuestionResults(tenantId, questionId, questionIds, urlId, startDate, forceRecalculate, minValue, maxValue, limit) @@ -417,7 +417,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CombineQuestionResultsWithCommentsResponse**](../Models/CombineQuestionResultsWithCommentsResponse.md) +[**CombineCommentsWithQuestionResultsResponse**](../Models/CombineCommentsWithQuestionResultsResponse.md) ### Authorization @@ -430,7 +430,7 @@ All URIs are relative to *https://fastcomments.com* # **createEmailTemplate** -> CreateEmailTemplateResponse createEmailTemplate(tenantId, CreateEmailTemplateBody) +> CreateEmailTemplateResponse_1 createEmailTemplate(tenantId, CreateEmailTemplateBody) @@ -443,7 +443,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateEmailTemplateResponse**](../Models/CreateEmailTemplateResponse.md) +[**CreateEmailTemplateResponse_1**](../Models/CreateEmailTemplateResponse_1.md) ### Authorization @@ -456,7 +456,7 @@ All URIs are relative to *https://fastcomments.com* # **createFeedPost** -> CreateFeedPostsResponse createFeedPost(tenantId, CreateFeedPostParams, broadcastId, isLive, doSpamCheck, skipDupCheck) +> CreateFeedPostResponse_1 createFeedPost(tenantId, CreateFeedPostParams, broadcastId, isLive, doSpamCheck, skipDupCheck) @@ -473,7 +473,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateFeedPostsResponse**](../Models/CreateFeedPostsResponse.md) +[**CreateFeedPostResponse_1**](../Models/CreateFeedPostResponse_1.md) ### Authorization @@ -486,7 +486,7 @@ All URIs are relative to *https://fastcomments.com* # **createModerator** -> CreateModeratorResponse createModerator(tenantId, CreateModeratorBody) +> CreateModeratorResponse_1 createModerator(tenantId, CreateModeratorBody) @@ -499,7 +499,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateModeratorResponse**](../Models/CreateModeratorResponse.md) +[**CreateModeratorResponse_1**](../Models/CreateModeratorResponse_1.md) ### Authorization @@ -512,7 +512,7 @@ All URIs are relative to *https://fastcomments.com* # **createQuestionConfig** -> CreateQuestionConfigResponse createQuestionConfig(tenantId, CreateQuestionConfigBody) +> CreateQuestionConfigResponse_1 createQuestionConfig(tenantId, CreateQuestionConfigBody) @@ -525,7 +525,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateQuestionConfigResponse**](../Models/CreateQuestionConfigResponse.md) +[**CreateQuestionConfigResponse_1**](../Models/CreateQuestionConfigResponse_1.md) ### Authorization @@ -538,7 +538,7 @@ All URIs are relative to *https://fastcomments.com* # **createQuestionResult** -> CreateQuestionResultResponse createQuestionResult(tenantId, CreateQuestionResultBody) +> CreateQuestionResultResponse_1 createQuestionResult(tenantId, CreateQuestionResultBody) @@ -551,7 +551,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateQuestionResultResponse**](../Models/CreateQuestionResultResponse.md) +[**CreateQuestionResultResponse_1**](../Models/CreateQuestionResultResponse_1.md) ### Authorization @@ -590,7 +590,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenant** -> CreateTenantResponse createTenant(tenantId, CreateTenantBody) +> CreateTenantResponse_1 createTenant(tenantId, CreateTenantBody) @@ -603,7 +603,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantResponse**](../Models/CreateTenantResponse.md) +[**CreateTenantResponse_1**](../Models/CreateTenantResponse_1.md) ### Authorization @@ -616,7 +616,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenantPackage** -> CreateTenantPackageResponse createTenantPackage(tenantId, CreateTenantPackageBody) +> CreateTenantPackageResponse_1 createTenantPackage(tenantId, CreateTenantPackageBody) @@ -629,7 +629,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantPackageResponse**](../Models/CreateTenantPackageResponse.md) +[**CreateTenantPackageResponse_1**](../Models/CreateTenantPackageResponse_1.md) ### Authorization @@ -642,7 +642,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenantUser** -> CreateTenantUserResponse createTenantUser(tenantId, CreateTenantUserBody) +> CreateTenantUserResponse_1 createTenantUser(tenantId, CreateTenantUserBody) @@ -655,7 +655,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantUserResponse**](../Models/CreateTenantUserResponse.md) +[**CreateTenantUserResponse_1**](../Models/CreateTenantUserResponse_1.md) ### Authorization @@ -668,7 +668,7 @@ All URIs are relative to *https://fastcomments.com* # **createTicket** -> CreateTicketResponse createTicket(tenantId, userId, CreateTicketBody) +> CreateTicketResponse_1 createTicket(tenantId, userId, CreateTicketBody) @@ -682,7 +682,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTicketResponse**](../Models/CreateTicketResponse.md) +[**CreateTicketResponse_1**](../Models/CreateTicketResponse_1.md) ### Authorization @@ -695,7 +695,7 @@ All URIs are relative to *https://fastcomments.com* # **createUserBadge** -> APICreateUserBadgeResponse createUserBadge(tenantId, CreateUserBadgeParams) +> CreateUserBadgeResponse createUserBadge(tenantId, CreateUserBadgeParams) @@ -708,7 +708,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APICreateUserBadgeResponse**](../Models/APICreateUserBadgeResponse.md) +[**CreateUserBadgeResponse**](../Models/CreateUserBadgeResponse.md) ### Authorization @@ -721,7 +721,7 @@ All URIs are relative to *https://fastcomments.com* # **createVote** -> VoteResponse createVote(tenantId, commentId, direction, userId, anonUserId) +> CreateVoteResponse createVote(tenantId, commentId, direction, userId, anonUserId) @@ -737,7 +737,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**VoteResponse**](../Models/VoteResponse.md) +[**CreateVoteResponse**](../Models/CreateVoteResponse.md) ### Authorization @@ -750,7 +750,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteComment** -> DeleteCommentResult deleteComment(tenantId, id, contextUserId, isLive) +> DeleteCommentResponse deleteComment(tenantId, id, contextUserId, isLive) @@ -765,7 +765,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteCommentResult**](../Models/DeleteCommentResult.md) +[**DeleteCommentResponse**](../Models/DeleteCommentResponse.md) ### Authorization @@ -804,7 +804,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteEmailTemplate** -> APIEmptyResponse deleteEmailTemplate(tenantId, id) +> DeleteEmailTemplateResponse deleteEmailTemplate(tenantId, id) @@ -817,7 +817,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteEmailTemplateResponse**](../Models/DeleteEmailTemplateResponse.md) ### Authorization @@ -830,7 +830,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteEmailTemplateRenderError** -> APIEmptyResponse deleteEmailTemplateRenderError(tenantId, id, errorId) +> DeleteEmailTemplateRenderErrorResponse deleteEmailTemplateRenderError(tenantId, id, errorId) @@ -844,7 +844,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteEmailTemplateRenderErrorResponse**](../Models/DeleteEmailTemplateRenderErrorResponse.md) ### Authorization @@ -857,7 +857,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteHashTag** -> APIEmptyResponse deleteHashTag(tag, tenantId, DeleteHashTagRequestBody) +> DeleteHashTagResponse deleteHashTag(tag, tenantId, DeleteHashTagRequestBody) @@ -871,7 +871,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteHashTagResponse**](../Models/DeleteHashTagResponse.md) ### Authorization @@ -884,7 +884,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteModerator** -> APIEmptyResponse deleteModerator(tenantId, id, sendEmail) +> DeleteModeratorResponse deleteModerator(tenantId, id, sendEmail) @@ -898,7 +898,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteModeratorResponse**](../Models/DeleteModeratorResponse.md) ### Authorization @@ -911,7 +911,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteNotificationCount** -> APIEmptyResponse deleteNotificationCount(tenantId, id) +> DeleteNotificationCountResponse deleteNotificationCount(tenantId, id) @@ -924,7 +924,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteNotificationCountResponse**](../Models/DeleteNotificationCountResponse.md) ### Authorization @@ -963,7 +963,7 @@ All URIs are relative to *https://fastcomments.com* # **deletePendingWebhookEvent** -> APIEmptyResponse deletePendingWebhookEvent(tenantId, id) +> DeletePendingWebhookEventResponse deletePendingWebhookEvent(tenantId, id) @@ -976,7 +976,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeletePendingWebhookEventResponse**](../Models/DeletePendingWebhookEventResponse.md) ### Authorization @@ -989,7 +989,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteQuestionConfig** -> APIEmptyResponse deleteQuestionConfig(tenantId, id) +> DeleteQuestionConfigResponse deleteQuestionConfig(tenantId, id) @@ -1002,7 +1002,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteQuestionConfigResponse**](../Models/DeleteQuestionConfigResponse.md) ### Authorization @@ -1015,7 +1015,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteQuestionResult** -> APIEmptyResponse deleteQuestionResult(tenantId, id) +> DeleteQuestionResultResponse deleteQuestionResult(tenantId, id) @@ -1028,7 +1028,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteQuestionResultResponse**](../Models/DeleteQuestionResultResponse.md) ### Authorization @@ -1096,7 +1096,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenant** -> APIEmptyResponse deleteTenant(tenantId, id, sure) +> DeleteTenantResponse deleteTenant(tenantId, id, sure) @@ -1110,7 +1110,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteTenantResponse**](../Models/DeleteTenantResponse.md) ### Authorization @@ -1123,7 +1123,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenantPackage** -> APIEmptyResponse deleteTenantPackage(tenantId, id) +> DeleteTenantPackageResponse deleteTenantPackage(tenantId, id) @@ -1136,7 +1136,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteTenantPackageResponse**](../Models/DeleteTenantPackageResponse.md) ### Authorization @@ -1149,7 +1149,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenantUser** -> APIEmptyResponse deleteTenantUser(tenantId, id, deleteComments, commentDeleteMode) +> DeleteTenantUserResponse deleteTenantUser(tenantId, id, deleteComments, commentDeleteMode) @@ -1164,7 +1164,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**DeleteTenantUserResponse**](../Models/DeleteTenantUserResponse.md) ### Authorization @@ -1177,7 +1177,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteUserBadge** -> APIEmptySuccessResponse deleteUserBadge(tenantId, id) +> DeleteUserBadgeResponse deleteUserBadge(tenantId, id) @@ -1190,7 +1190,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptySuccessResponse**](../Models/APIEmptySuccessResponse.md) +[**DeleteUserBadgeResponse**](../Models/DeleteUserBadgeResponse.md) ### Authorization @@ -1203,7 +1203,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteVote** -> VoteDeleteResponse deleteVote(tenantId, id, editKey) +> DeleteVoteResponse deleteVote(tenantId, id, editKey) @@ -1217,7 +1217,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) +[**DeleteVoteResponse**](../Models/DeleteVoteResponse.md) ### Authorization @@ -1230,7 +1230,7 @@ All URIs are relative to *https://fastcomments.com* # **flagComment** -> FlagCommentResponse flagComment(tenantId, id, userId, anonUserId) +> FlagCommentResponse_1 flagComment(tenantId, id, userId, anonUserId) @@ -1245,7 +1245,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**FlagCommentResponse**](../Models/FlagCommentResponse.md) +[**FlagCommentResponse_1**](../Models/FlagCommentResponse_1.md) ### Authorization @@ -1258,7 +1258,7 @@ All URIs are relative to *https://fastcomments.com* # **getAuditLogs** -> GetAuditLogsResponse getAuditLogs(tenantId, limit, skip, order, after, before) +> GetAuditLogsResponse_1 getAuditLogs(tenantId, limit, skip, order, after, before) @@ -1275,7 +1275,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetAuditLogsResponse**](../Models/GetAuditLogsResponse.md) +[**GetAuditLogsResponse_1**](../Models/GetAuditLogsResponse_1.md) ### Authorization @@ -1288,7 +1288,7 @@ All URIs are relative to *https://fastcomments.com* # **getCachedNotificationCount** -> GetCachedNotificationCountResponse getCachedNotificationCount(tenantId, id) +> GetCachedNotificationCountResponse_1 getCachedNotificationCount(tenantId, id) @@ -1301,7 +1301,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetCachedNotificationCountResponse**](../Models/GetCachedNotificationCountResponse.md) +[**GetCachedNotificationCountResponse_1**](../Models/GetCachedNotificationCountResponse_1.md) ### Authorization @@ -1314,7 +1314,7 @@ All URIs are relative to *https://fastcomments.com* # **getComment** -> APIGetCommentResponse getComment(tenantId, id) +> GetCommentResponse getComment(tenantId, id) @@ -1327,7 +1327,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetCommentResponse**](../Models/APIGetCommentResponse.md) +[**GetCommentResponse**](../Models/GetCommentResponse.md) ### Authorization @@ -1340,7 +1340,7 @@ All URIs are relative to *https://fastcomments.com* # **getComments** -> APIGetCommentsResponse getComments(tenantId, page, limit, skip, asTree, skipChildren, limitChildren, maxTreeDepth, urlId, userId, anonUserId, contextUserId, hashTag, parentId, direction, fromDate, toDate) +> GetCommentsResponse getComments(tenantId, page, limit, skip, asTree, skipChildren, limitChildren, maxTreeDepth, urlId, userId, anonUserId, contextUserId, hashTag, parentId, direction, fromDate, toDate) @@ -1368,7 +1368,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetCommentsResponse**](../Models/APIGetCommentsResponse.md) +[**GetCommentsResponse**](../Models/GetCommentsResponse.md) ### Authorization @@ -1432,7 +1432,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplate** -> GetEmailTemplateResponse getEmailTemplate(tenantId, id) +> GetEmailTemplateResponse_1 getEmailTemplate(tenantId, id) @@ -1445,7 +1445,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateResponse**](../Models/GetEmailTemplateResponse.md) +[**GetEmailTemplateResponse_1**](../Models/GetEmailTemplateResponse_1.md) ### Authorization @@ -1458,7 +1458,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplateDefinitions** -> GetEmailTemplateDefinitionsResponse getEmailTemplateDefinitions(tenantId) +> GetEmailTemplateDefinitionsResponse_1 getEmailTemplateDefinitions(tenantId) @@ -1470,7 +1470,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateDefinitionsResponse**](../Models/GetEmailTemplateDefinitionsResponse.md) +[**GetEmailTemplateDefinitionsResponse_1**](../Models/GetEmailTemplateDefinitionsResponse_1.md) ### Authorization @@ -1483,7 +1483,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplateRenderErrors** -> GetEmailTemplateRenderErrorsResponse getEmailTemplateRenderErrors(tenantId, id, skip) +> GetEmailTemplateRenderErrorsResponse_1 getEmailTemplateRenderErrors(tenantId, id, skip) @@ -1497,7 +1497,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateRenderErrorsResponse**](../Models/GetEmailTemplateRenderErrorsResponse.md) +[**GetEmailTemplateRenderErrorsResponse_1**](../Models/GetEmailTemplateRenderErrorsResponse_1.md) ### Authorization @@ -1510,7 +1510,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplates** -> GetEmailTemplatesResponse getEmailTemplates(tenantId, skip) +> GetEmailTemplatesResponse_1 getEmailTemplates(tenantId, skip) @@ -1523,7 +1523,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplatesResponse**](../Models/GetEmailTemplatesResponse.md) +[**GetEmailTemplatesResponse_1**](../Models/GetEmailTemplatesResponse_1.md) ### Authorization @@ -1536,7 +1536,7 @@ All URIs are relative to *https://fastcomments.com* # **getFeedPosts** -> GetFeedPostsResponse getFeedPosts(tenantId, afterId, limit, tags) +> GetFeedPostsResponse_1 getFeedPosts(tenantId, afterId, limit, tags) @@ -1553,7 +1553,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetFeedPostsResponse**](../Models/GetFeedPostsResponse.md) +[**GetFeedPostsResponse_1**](../Models/GetFeedPostsResponse_1.md) ### Authorization @@ -1566,7 +1566,7 @@ All URIs are relative to *https://fastcomments.com* # **getHashTags** -> GetHashTagsResponse getHashTags(tenantId, page) +> GetHashTagsResponse_1 getHashTags(tenantId, page) @@ -1579,7 +1579,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetHashTagsResponse**](../Models/GetHashTagsResponse.md) +[**GetHashTagsResponse_1**](../Models/GetHashTagsResponse_1.md) ### Authorization @@ -1592,7 +1592,7 @@ All URIs are relative to *https://fastcomments.com* # **getModerator** -> GetModeratorResponse getModerator(tenantId, id) +> GetModeratorResponse_1 getModerator(tenantId, id) @@ -1605,7 +1605,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetModeratorResponse**](../Models/GetModeratorResponse.md) +[**GetModeratorResponse_1**](../Models/GetModeratorResponse_1.md) ### Authorization @@ -1618,7 +1618,7 @@ All URIs are relative to *https://fastcomments.com* # **getModerators** -> GetModeratorsResponse getModerators(tenantId, skip) +> GetModeratorsResponse_1 getModerators(tenantId, skip) @@ -1631,7 +1631,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetModeratorsResponse**](../Models/GetModeratorsResponse.md) +[**GetModeratorsResponse_1**](../Models/GetModeratorsResponse_1.md) ### Authorization @@ -1644,7 +1644,7 @@ All URIs are relative to *https://fastcomments.com* # **getNotificationCount** -> GetNotificationCountResponse getNotificationCount(tenantId, userId, urlId, fromCommentId, viewed, type) +> GetNotificationCountResponse_1 getNotificationCount(tenantId, userId, urlId, fromCommentId, viewed, type) @@ -1661,7 +1661,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetNotificationCountResponse**](../Models/GetNotificationCountResponse.md) +[**GetNotificationCountResponse_1**](../Models/GetNotificationCountResponse_1.md) ### Authorization @@ -1674,7 +1674,7 @@ All URIs are relative to *https://fastcomments.com* # **getNotifications** -> GetNotificationsResponse getNotifications(tenantId, userId, urlId, fromCommentId, viewed, type, skip) +> GetNotificationsResponse_1 getNotifications(tenantId, userId, urlId, fromCommentId, viewed, type, skip) @@ -1692,7 +1692,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetNotificationsResponse**](../Models/GetNotificationsResponse.md) +[**GetNotificationsResponse_1**](../Models/GetNotificationsResponse_1.md) ### Authorization @@ -1756,7 +1756,7 @@ All URIs are relative to *https://fastcomments.com* # **getPendingWebhookEventCount** -> GetPendingWebhookEventCountResponse getPendingWebhookEventCount(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT) +> GetPendingWebhookEventCountResponse_1 getPendingWebhookEventCount(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT) @@ -1774,7 +1774,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetPendingWebhookEventCountResponse**](../Models/GetPendingWebhookEventCountResponse.md) +[**GetPendingWebhookEventCountResponse_1**](../Models/GetPendingWebhookEventCountResponse_1.md) ### Authorization @@ -1787,7 +1787,7 @@ All URIs are relative to *https://fastcomments.com* # **getPendingWebhookEvents** -> GetPendingWebhookEventsResponse getPendingWebhookEvents(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT, skip) +> GetPendingWebhookEventsResponse_1 getPendingWebhookEvents(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT, skip) @@ -1806,7 +1806,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetPendingWebhookEventsResponse**](../Models/GetPendingWebhookEventsResponse.md) +[**GetPendingWebhookEventsResponse_1**](../Models/GetPendingWebhookEventsResponse_1.md) ### Authorization @@ -1819,7 +1819,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionConfig** -> GetQuestionConfigResponse getQuestionConfig(tenantId, id) +> GetQuestionConfigResponse_1 getQuestionConfig(tenantId, id) @@ -1832,7 +1832,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionConfigResponse**](../Models/GetQuestionConfigResponse.md) +[**GetQuestionConfigResponse_1**](../Models/GetQuestionConfigResponse_1.md) ### Authorization @@ -1845,7 +1845,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionConfigs** -> GetQuestionConfigsResponse getQuestionConfigs(tenantId, skip) +> GetQuestionConfigsResponse_1 getQuestionConfigs(tenantId, skip) @@ -1858,7 +1858,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionConfigsResponse**](../Models/GetQuestionConfigsResponse.md) +[**GetQuestionConfigsResponse_1**](../Models/GetQuestionConfigsResponse_1.md) ### Authorization @@ -1871,7 +1871,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionResult** -> GetQuestionResultResponse getQuestionResult(tenantId, id) +> GetQuestionResultResponse_1 getQuestionResult(tenantId, id) @@ -1884,7 +1884,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionResultResponse**](../Models/GetQuestionResultResponse.md) +[**GetQuestionResultResponse_1**](../Models/GetQuestionResultResponse_1.md) ### Authorization @@ -1897,7 +1897,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionResults** -> GetQuestionResultsResponse getQuestionResults(tenantId, urlId, userId, startDate, questionId, questionIds, skip) +> GetQuestionResultsResponse_1 getQuestionResults(tenantId, urlId, userId, startDate, questionId, questionIds, skip) @@ -1915,7 +1915,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionResultsResponse**](../Models/GetQuestionResultsResponse.md) +[**GetQuestionResultsResponse_1**](../Models/GetQuestionResultsResponse_1.md) ### Authorization @@ -2032,7 +2032,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenant** -> GetTenantResponse getTenant(tenantId, id) +> GetTenantResponse_1 getTenant(tenantId, id) @@ -2045,7 +2045,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantResponse**](../Models/GetTenantResponse.md) +[**GetTenantResponse_1**](../Models/GetTenantResponse_1.md) ### Authorization @@ -2058,7 +2058,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantDailyUsages** -> GetTenantDailyUsagesResponse getTenantDailyUsages(tenantId, yearNumber, monthNumber, dayNumber, skip) +> GetTenantDailyUsagesResponse_1 getTenantDailyUsages(tenantId, yearNumber, monthNumber, dayNumber, skip) @@ -2074,7 +2074,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantDailyUsagesResponse**](../Models/GetTenantDailyUsagesResponse.md) +[**GetTenantDailyUsagesResponse_1**](../Models/GetTenantDailyUsagesResponse_1.md) ### Authorization @@ -2087,7 +2087,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantPackage** -> GetTenantPackageResponse getTenantPackage(tenantId, id) +> GetTenantPackageResponse_1 getTenantPackage(tenantId, id) @@ -2100,7 +2100,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantPackageResponse**](../Models/GetTenantPackageResponse.md) +[**GetTenantPackageResponse_1**](../Models/GetTenantPackageResponse_1.md) ### Authorization @@ -2113,7 +2113,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantPackages** -> GetTenantPackagesResponse getTenantPackages(tenantId, skip) +> GetTenantPackagesResponse_1 getTenantPackages(tenantId, skip) @@ -2126,7 +2126,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantPackagesResponse**](../Models/GetTenantPackagesResponse.md) +[**GetTenantPackagesResponse_1**](../Models/GetTenantPackagesResponse_1.md) ### Authorization @@ -2139,7 +2139,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantUser** -> GetTenantUserResponse getTenantUser(tenantId, id) +> GetTenantUserResponse_1 getTenantUser(tenantId, id) @@ -2152,7 +2152,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantUserResponse**](../Models/GetTenantUserResponse.md) +[**GetTenantUserResponse_1**](../Models/GetTenantUserResponse_1.md) ### Authorization @@ -2165,7 +2165,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantUsers** -> GetTenantUsersResponse getTenantUsers(tenantId, skip) +> GetTenantUsersResponse_1 getTenantUsers(tenantId, skip) @@ -2178,7 +2178,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantUsersResponse**](../Models/GetTenantUsersResponse.md) +[**GetTenantUsersResponse_1**](../Models/GetTenantUsersResponse_1.md) ### Authorization @@ -2191,7 +2191,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenants** -> GetTenantsResponse getTenants(tenantId, meta, skip) +> GetTenantsResponse_1 getTenants(tenantId, meta, skip) @@ -2205,7 +2205,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantsResponse**](../Models/GetTenantsResponse.md) +[**GetTenantsResponse_1**](../Models/GetTenantsResponse_1.md) ### Authorization @@ -2218,7 +2218,7 @@ All URIs are relative to *https://fastcomments.com* # **getTicket** -> GetTicketResponse getTicket(tenantId, id, userId) +> GetTicketResponse_1 getTicket(tenantId, id, userId) @@ -2232,7 +2232,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTicketResponse**](../Models/GetTicketResponse.md) +[**GetTicketResponse_1**](../Models/GetTicketResponse_1.md) ### Authorization @@ -2245,7 +2245,7 @@ All URIs are relative to *https://fastcomments.com* # **getTickets** -> GetTicketsResponse getTickets(tenantId, userId, state, skip, limit) +> GetTicketsResponse_1 getTickets(tenantId, userId, state, skip, limit) @@ -2261,7 +2261,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTicketsResponse**](../Models/GetTicketsResponse.md) +[**GetTicketsResponse_1**](../Models/GetTicketsResponse_1.md) ### Authorization @@ -2274,7 +2274,7 @@ All URIs are relative to *https://fastcomments.com* # **getUser** -> GetUserResponse getUser(tenantId, id) +> GetUserResponse_1 getUser(tenantId, id) @@ -2287,7 +2287,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserResponse**](../Models/GetUserResponse.md) +[**GetUserResponse_1**](../Models/GetUserResponse_1.md) ### Authorization @@ -2300,7 +2300,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadge** -> APIGetUserBadgeResponse getUserBadge(tenantId, id) +> GetUserBadgeResponse getUserBadge(tenantId, id) @@ -2313,7 +2313,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetUserBadgeResponse**](../Models/APIGetUserBadgeResponse.md) +[**GetUserBadgeResponse**](../Models/GetUserBadgeResponse.md) ### Authorization @@ -2326,7 +2326,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressById** -> APIGetUserBadgeProgressResponse getUserBadgeProgressById(tenantId, id) +> GetUserBadgeProgressByIdResponse getUserBadgeProgressById(tenantId, id) @@ -2339,7 +2339,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetUserBadgeProgressResponse**](../Models/APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByIdResponse**](../Models/GetUserBadgeProgressByIdResponse.md) ### Authorization @@ -2352,7 +2352,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressByUserId** -> APIGetUserBadgeProgressResponse getUserBadgeProgressByUserId(tenantId, userId) +> GetUserBadgeProgressByUserIdResponse getUserBadgeProgressByUserId(tenantId, userId) @@ -2365,7 +2365,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetUserBadgeProgressResponse**](../Models/APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByUserIdResponse**](../Models/GetUserBadgeProgressByUserIdResponse.md) ### Authorization @@ -2378,7 +2378,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressList** -> APIGetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId, userId, limit, skip) +> GetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId, userId, limit, skip) @@ -2393,7 +2393,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetUserBadgeProgressListResponse**](../Models/APIGetUserBadgeProgressListResponse.md) +[**GetUserBadgeProgressListResponse**](../Models/GetUserBadgeProgressListResponse.md) ### Authorization @@ -2406,7 +2406,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadges** -> APIGetUserBadgesResponse getUserBadges(tenantId, userId, badgeId, type, displayedOnComments, limit, skip) +> GetUserBadgesResponse getUserBadges(tenantId, userId, badgeId, type, displayedOnComments, limit, skip) @@ -2424,7 +2424,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIGetUserBadgesResponse**](../Models/APIGetUserBadgesResponse.md) +[**GetUserBadgesResponse**](../Models/GetUserBadgesResponse.md) ### Authorization @@ -2437,7 +2437,7 @@ All URIs are relative to *https://fastcomments.com* # **getVotes** -> GetVotesResponse getVotes(tenantId, urlId) +> GetVotesResponse_1 getVotes(tenantId, urlId) @@ -2450,7 +2450,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetVotesResponse**](../Models/GetVotesResponse.md) +[**GetVotesResponse_1**](../Models/GetVotesResponse_1.md) ### Authorization @@ -2463,7 +2463,7 @@ All URIs are relative to *https://fastcomments.com* # **getVotesForUser** -> GetVotesForUserResponse getVotesForUser(tenantId, urlId, userId, anonUserId) +> GetVotesForUserResponse_1 getVotesForUser(tenantId, urlId, userId, anonUserId) @@ -2478,7 +2478,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetVotesForUserResponse**](../Models/GetVotesForUserResponse.md) +[**GetVotesForUserResponse_1**](../Models/GetVotesForUserResponse_1.md) ### Authorization @@ -2518,7 +2518,7 @@ All URIs are relative to *https://fastcomments.com* # **patchHashTag** -> UpdateHashTagResponse patchHashTag(tag, tenantId, UpdateHashTagBody) +> PatchHashTagResponse patchHashTag(tag, tenantId, UpdateHashTagBody) @@ -2532,7 +2532,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateHashTagResponse**](../Models/UpdateHashTagResponse.md) +[**PatchHashTagResponse**](../Models/PatchHashTagResponse.md) ### Authorization @@ -2655,7 +2655,7 @@ All URIs are relative to *https://fastcomments.com* # **renderEmailTemplate** -> RenderEmailTemplateResponse renderEmailTemplate(tenantId, RenderEmailTemplateBody, locale) +> RenderEmailTemplateResponse_1 renderEmailTemplate(tenantId, RenderEmailTemplateBody, locale) @@ -2669,7 +2669,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**RenderEmailTemplateResponse**](../Models/RenderEmailTemplateResponse.md) +[**RenderEmailTemplateResponse_1**](../Models/RenderEmailTemplateResponse_1.md) ### Authorization @@ -2682,7 +2682,7 @@ All URIs are relative to *https://fastcomments.com* # **replaceTenantPackage** -> APIEmptyResponse replaceTenantPackage(tenantId, id, ReplaceTenantPackageBody) +> ReplaceTenantPackageResponse replaceTenantPackage(tenantId, id, ReplaceTenantPackageBody) @@ -2696,7 +2696,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**ReplaceTenantPackageResponse**](../Models/ReplaceTenantPackageResponse.md) ### Authorization @@ -2709,7 +2709,7 @@ All URIs are relative to *https://fastcomments.com* # **replaceTenantUser** -> APIEmptyResponse replaceTenantUser(tenantId, id, ReplaceTenantUserBody, updateComments) +> ReplaceTenantUserResponse replaceTenantUser(tenantId, id, ReplaceTenantUserBody, updateComments) @@ -2724,7 +2724,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**ReplaceTenantUserResponse**](../Models/ReplaceTenantUserResponse.md) ### Authorization @@ -2737,7 +2737,7 @@ All URIs are relative to *https://fastcomments.com* # **saveComment** -> APISaveCommentResponse saveComment(tenantId, CreateCommentParams, isLive, doSpamCheck, sendEmails, populateNotifications) +> SaveCommentResponse saveComment(tenantId, CreateCommentParams, isLive, doSpamCheck, sendEmails, populateNotifications) @@ -2754,7 +2754,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APISaveCommentResponse**](../Models/APISaveCommentResponse.md) +[**SaveCommentResponse**](../Models/SaveCommentResponse.md) ### Authorization @@ -2797,7 +2797,7 @@ All URIs are relative to *https://fastcomments.com* # **sendInvite** -> APIEmptyResponse sendInvite(tenantId, id, fromName) +> SendInviteResponse sendInvite(tenantId, id, fromName) @@ -2811,7 +2811,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**SendInviteResponse**](../Models/SendInviteResponse.md) ### Authorization @@ -2824,7 +2824,7 @@ All URIs are relative to *https://fastcomments.com* # **sendLoginLink** -> APIEmptyResponse sendLoginLink(tenantId, id, redirectURL) +> SendLoginLinkResponse sendLoginLink(tenantId, id, redirectURL) @@ -2838,7 +2838,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**SendLoginLinkResponse**](../Models/SendLoginLinkResponse.md) ### Authorization @@ -2851,7 +2851,7 @@ All URIs are relative to *https://fastcomments.com* # **unBlockUserFromComment** -> UnblockSuccess unBlockUserFromComment(tenantId, id, UnBlockFromCommentParams, userId, anonUserId) +> UnBlockUserFromCommentResponse unBlockUserFromComment(tenantId, id, UnBlockFromCommentParams, userId, anonUserId) @@ -2867,7 +2867,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UnblockSuccess**](../Models/UnblockSuccess.md) +[**UnBlockUserFromCommentResponse**](../Models/UnBlockUserFromCommentResponse.md) ### Authorization @@ -2880,7 +2880,7 @@ All URIs are relative to *https://fastcomments.com* # **unFlagComment** -> FlagCommentResponse unFlagComment(tenantId, id, userId, anonUserId) +> UnFlagCommentResponse unFlagComment(tenantId, id, userId, anonUserId) @@ -2895,7 +2895,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**FlagCommentResponse**](../Models/FlagCommentResponse.md) +[**UnFlagCommentResponse**](../Models/UnFlagCommentResponse.md) ### Authorization @@ -2908,7 +2908,7 @@ All URIs are relative to *https://fastcomments.com* # **updateComment** -> APIEmptyResponse updateComment(tenantId, id, UpdatableCommentParams, contextUserId, doSpamCheck, isLive) +> UpdateCommentResponse updateComment(tenantId, id, UpdatableCommentParams, contextUserId, doSpamCheck, isLive) @@ -2925,7 +2925,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateCommentResponse**](../Models/UpdateCommentResponse.md) ### Authorization @@ -2938,7 +2938,7 @@ All URIs are relative to *https://fastcomments.com* # **updateEmailTemplate** -> APIEmptyResponse updateEmailTemplate(tenantId, id, UpdateEmailTemplateBody) +> UpdateEmailTemplateResponse updateEmailTemplate(tenantId, id, UpdateEmailTemplateBody) @@ -2952,7 +2952,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateEmailTemplateResponse**](../Models/UpdateEmailTemplateResponse.md) ### Authorization @@ -2965,7 +2965,7 @@ All URIs are relative to *https://fastcomments.com* # **updateFeedPost** -> APIEmptyResponse updateFeedPost(tenantId, id, FeedPost) +> UpdateFeedPostResponse updateFeedPost(tenantId, id, FeedPost) @@ -2979,7 +2979,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateFeedPostResponse**](../Models/UpdateFeedPostResponse.md) ### Authorization @@ -2992,7 +2992,7 @@ All URIs are relative to *https://fastcomments.com* # **updateModerator** -> APIEmptyResponse updateModerator(tenantId, id, UpdateModeratorBody) +> UpdateModeratorResponse updateModerator(tenantId, id, UpdateModeratorBody) @@ -3006,7 +3006,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateModeratorResponse**](../Models/UpdateModeratorResponse.md) ### Authorization @@ -3019,7 +3019,7 @@ All URIs are relative to *https://fastcomments.com* # **updateNotification** -> APIEmptyResponse updateNotification(tenantId, id, UpdateNotificationBody, userId) +> UpdateNotificationResponse updateNotification(tenantId, id, UpdateNotificationBody, userId) @@ -3034,7 +3034,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateNotificationResponse**](../Models/UpdateNotificationResponse.md) ### Authorization @@ -3047,7 +3047,7 @@ All URIs are relative to *https://fastcomments.com* # **updateQuestionConfig** -> APIEmptyResponse updateQuestionConfig(tenantId, id, UpdateQuestionConfigBody) +> UpdateQuestionConfigResponse updateQuestionConfig(tenantId, id, UpdateQuestionConfigBody) @@ -3061,7 +3061,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateQuestionConfigResponse**](../Models/UpdateQuestionConfigResponse.md) ### Authorization @@ -3074,7 +3074,7 @@ All URIs are relative to *https://fastcomments.com* # **updateQuestionResult** -> APIEmptyResponse updateQuestionResult(tenantId, id, UpdateQuestionResultBody) +> UpdateQuestionResultResponse updateQuestionResult(tenantId, id, UpdateQuestionResultBody) @@ -3088,7 +3088,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateQuestionResultResponse**](../Models/UpdateQuestionResultResponse.md) ### Authorization @@ -3129,7 +3129,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenant** -> APIEmptyResponse updateTenant(tenantId, id, UpdateTenantBody) +> UpdateTenantResponse updateTenant(tenantId, id, UpdateTenantBody) @@ -3143,7 +3143,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateTenantResponse**](../Models/UpdateTenantResponse.md) ### Authorization @@ -3156,7 +3156,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenantPackage** -> APIEmptyResponse updateTenantPackage(tenantId, id, UpdateTenantPackageBody) +> UpdateTenantPackageResponse updateTenantPackage(tenantId, id, UpdateTenantPackageBody) @@ -3170,7 +3170,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateTenantPackageResponse**](../Models/UpdateTenantPackageResponse.md) ### Authorization @@ -3183,7 +3183,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenantUser** -> APIEmptyResponse updateTenantUser(tenantId, id, UpdateTenantUserBody, updateComments) +> UpdateTenantUserResponse updateTenantUser(tenantId, id, UpdateTenantUserBody, updateComments) @@ -3198,7 +3198,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UpdateTenantUserResponse**](../Models/UpdateTenantUserResponse.md) ### Authorization @@ -3211,7 +3211,7 @@ All URIs are relative to *https://fastcomments.com* # **updateUserBadge** -> APIEmptySuccessResponse updateUserBadge(tenantId, id, UpdateUserBadgeParams) +> UpdateUserBadgeResponse updateUserBadge(tenantId, id, UpdateUserBadgeParams) @@ -3225,7 +3225,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**APIEmptySuccessResponse**](../Models/APIEmptySuccessResponse.md) +[**UpdateUserBadgeResponse**](../Models/UpdateUserBadgeResponse.md) ### Authorization diff --git a/docs/Apis/ModerationApi.md b/docs/Apis/ModerationApi.md index 8ecaec1..7e7dbf8 100644 --- a/docs/Apis/ModerationApi.md +++ b/docs/Apis/ModerationApi.md @@ -51,7 +51,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteModerationVote** -> VoteDeleteResponse deleteModerationVote(commentId, voteId, sso) +> DeleteModerationVoteResponse deleteModerationVote(commentId, voteId, broadcastId, tenantId, sso) @@ -61,11 +61,13 @@ All URIs are relative to *https://fastcomments.com* |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **voteId** | **String**| | [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) +[**DeleteModerationVoteResponse**](../Models/DeleteModerationVoteResponse.md) ### Authorization @@ -78,7 +80,7 @@ No authorization required # **getApiComments** -> ModerationAPIGetCommentsResponse getApiComments(page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, sso) +> GetApiCommentsResponse getApiComments(page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, tenantId, sso) @@ -94,11 +96,12 @@ No authorization required | **searchFilters** | **String**| | [optional] [default to null] | | **sorts** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPIGetCommentsResponse**](../Models/ModerationAPIGetCommentsResponse.md) +[**GetApiCommentsResponse**](../Models/GetApiCommentsResponse.md) ### Authorization @@ -111,7 +114,7 @@ No authorization required # **getApiExportStatus** -> ModerationExportStatusResponse getApiExportStatus(batchJobId, sso) +> GetApiExportStatusResponse getApiExportStatus(batchJobId, tenantId, sso) @@ -120,11 +123,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **batchJobId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationExportStatusResponse**](../Models/ModerationExportStatusResponse.md) +[**GetApiExportStatusResponse**](../Models/GetApiExportStatusResponse.md) ### Authorization @@ -137,7 +141,7 @@ No authorization required # **getApiIds** -> ModerationAPIGetCommentIdsResponse getApiIds(text-search, byIPFromComment, filters, searchFilters, afterId, demo, sso) +> GetApiIdsResponse getApiIds(text-search, byIPFromComment, filters, searchFilters, afterId, demo, tenantId, sso) @@ -151,11 +155,12 @@ No authorization required | **searchFilters** | **String**| | [optional] [default to null] | | **afterId** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPIGetCommentIdsResponse**](../Models/ModerationAPIGetCommentIdsResponse.md) +[**GetApiIdsResponse**](../Models/GetApiIdsResponse.md) ### Authorization @@ -168,7 +173,7 @@ No authorization required # **getBanUsersFromComment** -> GetBannedUsersFromCommentResponse getBanUsersFromComment(commentId, sso) +> GetBanUsersFromCommentResponse getBanUsersFromComment(commentId, tenantId, sso) @@ -177,11 +182,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetBannedUsersFromCommentResponse**](../Models/GetBannedUsersFromCommentResponse.md) +[**GetBanUsersFromCommentResponse**](../Models/GetBanUsersFromCommentResponse.md) ### Authorization @@ -194,7 +200,7 @@ No authorization required # **getCommentBanStatus** -> GetCommentBanStatusResponse getCommentBanStatus(commentId, sso) +> GetCommentBanStatusResponse_1 getCommentBanStatus(commentId, tenantId, sso) @@ -203,11 +209,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetCommentBanStatusResponse**](../Models/GetCommentBanStatusResponse.md) +[**GetCommentBanStatusResponse_1**](../Models/GetCommentBanStatusResponse_1.md) ### Authorization @@ -220,7 +227,7 @@ No authorization required # **getCommentChildren** -> ModerationAPIChildCommentsResponse getCommentChildren(commentId, sso) +> GetCommentChildrenResponse getCommentChildren(commentId, tenantId, sso) @@ -229,11 +236,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPIChildCommentsResponse**](../Models/ModerationAPIChildCommentsResponse.md) +[**GetCommentChildrenResponse**](../Models/GetCommentChildrenResponse.md) ### Authorization @@ -246,7 +254,7 @@ No authorization required # **getCount** -> ModerationAPICountCommentsResponse getCount(text-search, byIPFromComment, filter, searchFilters, demo, sso) +> GetCountResponse getCount(text-search, byIPFromComment, filter, searchFilters, demo, tenantId, sso) @@ -259,11 +267,12 @@ No authorization required | **filter** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPICountCommentsResponse**](../Models/ModerationAPICountCommentsResponse.md) +[**GetCountResponse**](../Models/GetCountResponse.md) ### Authorization @@ -276,7 +285,7 @@ No authorization required # **getCounts** -> GetBannedUsersCountResponse getCounts(sso) +> GetCountsResponse getCounts(tenantId, sso) @@ -284,11 +293,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetBannedUsersCountResponse**](../Models/GetBannedUsersCountResponse.md) +[**GetCountsResponse**](../Models/GetCountsResponse.md) ### Authorization @@ -301,7 +311,7 @@ No authorization required # **getLogs** -> ModerationAPIGetLogsResponse getLogs(commentId, sso) +> GetLogsResponse getLogs(commentId, tenantId, sso) @@ -310,11 +320,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPIGetLogsResponse**](../Models/ModerationAPIGetLogsResponse.md) +[**GetLogsResponse**](../Models/GetLogsResponse.md) ### Authorization @@ -327,7 +338,7 @@ No authorization required # **getManualBadges** -> GetTenantManualBadgesResponse getManualBadges(sso) +> GetManualBadgesResponse getManualBadges(tenantId, sso) @@ -335,11 +346,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetTenantManualBadgesResponse**](../Models/GetTenantManualBadgesResponse.md) +[**GetManualBadgesResponse**](../Models/GetManualBadgesResponse.md) ### Authorization @@ -352,7 +364,7 @@ No authorization required # **getManualBadgesForUser** -> GetUserManualBadgesResponse getManualBadgesForUser(badgesUserId, commentId, sso) +> GetManualBadgesForUserResponse getManualBadgesForUser(badgesUserId, commentId, tenantId, sso) @@ -362,11 +374,12 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **badgesUserId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetUserManualBadgesResponse**](../Models/GetUserManualBadgesResponse.md) +[**GetManualBadgesForUserResponse**](../Models/GetManualBadgesForUserResponse.md) ### Authorization @@ -379,7 +392,7 @@ No authorization required # **getModerationComment** -> ModerationAPICommentResponse getModerationComment(commentId, includeEmail, includeIP, sso) +> GetModerationCommentResponse getModerationComment(commentId, includeEmail, includeIP, tenantId, sso) @@ -390,11 +403,12 @@ No authorization required | **commentId** | **String**| | [default to null] | | **includeEmail** | **Boolean**| | [optional] [default to null] | | **includeIP** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPICommentResponse**](../Models/ModerationAPICommentResponse.md) +[**GetModerationCommentResponse**](../Models/GetModerationCommentResponse.md) ### Authorization @@ -407,7 +421,7 @@ No authorization required # **getModerationCommentText** -> GetCommentTextResponse getModerationCommentText(commentId, sso) +> GetModerationCommentTextResponse getModerationCommentText(commentId, tenantId, sso) @@ -416,11 +430,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetCommentTextResponse**](../Models/GetCommentTextResponse.md) +[**GetModerationCommentTextResponse**](../Models/GetModerationCommentTextResponse.md) ### Authorization @@ -433,7 +448,7 @@ No authorization required # **getPreBanSummary** -> PreBanSummary getPreBanSummary(commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, sso) +> GetPreBanSummaryResponse getPreBanSummary(commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) @@ -445,11 +460,12 @@ No authorization required | **includeByUserIdAndEmail** | **Boolean**| | [optional] [default to null] | | **includeByIP** | **Boolean**| | [optional] [default to null] | | **includeByEmailDomain** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**PreBanSummary**](../Models/PreBanSummary.md) +[**GetPreBanSummaryResponse**](../Models/GetPreBanSummaryResponse.md) ### Authorization @@ -462,7 +478,7 @@ No authorization required # **getSearchCommentsSummary** -> ModerationCommentSearchResponse getSearchCommentsSummary(value, filters, searchFilters, sso) +> GetSearchCommentsSummaryResponse getSearchCommentsSummary(value, filters, searchFilters, tenantId, sso) @@ -473,11 +489,12 @@ No authorization required | **value** | **String**| | [optional] [default to null] | | **filters** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationCommentSearchResponse**](../Models/ModerationCommentSearchResponse.md) +[**GetSearchCommentsSummaryResponse**](../Models/GetSearchCommentsSummaryResponse.md) ### Authorization @@ -490,7 +507,7 @@ No authorization required # **getSearchPages** -> ModerationPageSearchResponse getSearchPages(value, sso) +> GetSearchPagesResponse getSearchPages(value, tenantId, sso) @@ -499,11 +516,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **value** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationPageSearchResponse**](../Models/ModerationPageSearchResponse.md) +[**GetSearchPagesResponse**](../Models/GetSearchPagesResponse.md) ### Authorization @@ -516,7 +534,7 @@ No authorization required # **getSearchSites** -> ModerationSiteSearchResponse getSearchSites(value, sso) +> GetSearchSitesResponse getSearchSites(value, tenantId, sso) @@ -525,11 +543,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **value** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationSiteSearchResponse**](../Models/ModerationSiteSearchResponse.md) +[**GetSearchSitesResponse**](../Models/GetSearchSitesResponse.md) ### Authorization @@ -542,7 +561,7 @@ No authorization required # **getSearchSuggest** -> ModerationSuggestResponse getSearchSuggest(text-search, sso) +> GetSearchSuggestResponse getSearchSuggest(text-search, tenantId, sso) @@ -551,11 +570,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **text-search** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationSuggestResponse**](../Models/ModerationSuggestResponse.md) +[**GetSearchSuggestResponse**](../Models/GetSearchSuggestResponse.md) ### Authorization @@ -568,7 +588,7 @@ No authorization required # **getSearchUsers** -> ModerationUserSearchResponse getSearchUsers(value, sso) +> GetSearchUsersResponse getSearchUsers(value, tenantId, sso) @@ -577,11 +597,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **value** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationUserSearchResponse**](../Models/ModerationUserSearchResponse.md) +[**GetSearchUsersResponse**](../Models/GetSearchUsersResponse.md) ### Authorization @@ -594,7 +615,7 @@ No authorization required # **getTrustFactor** -> GetUserTrustFactorResponse getTrustFactor(userId, sso) +> GetTrustFactorResponse getTrustFactor(userId, tenantId, sso) @@ -603,11 +624,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **userId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetUserTrustFactorResponse**](../Models/GetUserTrustFactorResponse.md) +[**GetTrustFactorResponse**](../Models/GetTrustFactorResponse.md) ### Authorization @@ -620,7 +642,7 @@ No authorization required # **getUserBanPreference** -> APIModerateGetUserBanPreferencesResponse getUserBanPreference(sso) +> GetUserBanPreferenceResponse getUserBanPreference(tenantId, sso) @@ -628,11 +650,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIModerateGetUserBanPreferencesResponse**](../Models/APIModerateGetUserBanPreferencesResponse.md) +[**GetUserBanPreferenceResponse**](../Models/GetUserBanPreferenceResponse.md) ### Authorization @@ -645,7 +668,7 @@ No authorization required # **getUserInternalProfile** -> GetUserInternalProfileResponse getUserInternalProfile(commentId, sso) +> GetUserInternalProfileResponse_1 getUserInternalProfile(commentId, tenantId, sso) @@ -654,11 +677,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**GetUserInternalProfileResponse**](../Models/GetUserInternalProfileResponse.md) +[**GetUserInternalProfileResponse_1**](../Models/GetUserInternalProfileResponse_1.md) ### Authorization @@ -671,7 +695,7 @@ No authorization required # **postAdjustCommentVotes** -> AdjustVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, sso) +> PostAdjustCommentVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, broadcastId, tenantId, sso) @@ -681,11 +705,13 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **AdjustCommentVotesParams** | [**AdjustCommentVotesParams**](../Models/AdjustCommentVotesParams.md)| | | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**AdjustVotesResponse**](../Models/AdjustVotesResponse.md) +[**PostAdjustCommentVotesResponse**](../Models/PostAdjustCommentVotesResponse.md) ### Authorization @@ -698,7 +724,7 @@ No authorization required # **postApiExport** -> ModerationExportResponse postApiExport(text-search, byIPFromComment, filters, searchFilters, sorts, sso) +> PostApiExportResponse postApiExport(text-search, byIPFromComment, filters, searchFilters, sorts, tenantId, sso) @@ -711,11 +737,12 @@ No authorization required | **filters** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | | **sorts** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationExportResponse**](../Models/ModerationExportResponse.md) +[**PostApiExportResponse**](../Models/PostApiExportResponse.md) ### Authorization @@ -728,7 +755,7 @@ No authorization required # **postBanUserFromComment** -> BanUserFromCommentResult postBanUserFromComment(commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, sso) +> PostBanUserFromCommentResponse postBanUserFromComment(commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, tenantId, sso) @@ -745,11 +772,12 @@ No authorization required | **isShadowBan** | **Boolean**| | [optional] [default to null] | | **updateId** | **String**| | [optional] [default to null] | | **banReason** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**BanUserFromCommentResult**](../Models/BanUserFromCommentResult.md) +[**PostBanUserFromCommentResponse**](../Models/PostBanUserFromCommentResponse.md) ### Authorization @@ -762,7 +790,7 @@ No authorization required # **postBanUserUndo** -> APIEmptyResponse postBanUserUndo(BanUserUndoParams, sso) +> PostBanUserUndoResponse postBanUserUndo(BanUserUndoParams, tenantId, sso) @@ -771,11 +799,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **BanUserUndoParams** | [**BanUserUndoParams**](../Models/BanUserUndoParams.md)| | | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostBanUserUndoResponse**](../Models/PostBanUserUndoResponse.md) ### Authorization @@ -788,7 +817,7 @@ No authorization required # **postBulkPreBanSummary** -> BulkPreBanSummary postBulkPreBanSummary(BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, sso) +> PostBulkPreBanSummaryResponse postBulkPreBanSummary(BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) @@ -800,11 +829,12 @@ No authorization required | **includeByUserIdAndEmail** | **Boolean**| | [optional] [default to null] | | **includeByIP** | **Boolean**| | [optional] [default to null] | | **includeByEmailDomain** | **Boolean**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**BulkPreBanSummary**](../Models/BulkPreBanSummary.md) +[**PostBulkPreBanSummaryResponse**](../Models/PostBulkPreBanSummaryResponse.md) ### Authorization @@ -817,7 +847,7 @@ No authorization required # **postCommentsByIds** -> ModerationAPIChildCommentsResponse postCommentsByIds(CommentsByIdsParams, sso) +> PostCommentsByIdsResponse postCommentsByIds(CommentsByIdsParams, tenantId, sso) @@ -826,11 +856,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **CommentsByIdsParams** | [**CommentsByIdsParams**](../Models/CommentsByIdsParams.md)| | | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**ModerationAPIChildCommentsResponse**](../Models/ModerationAPIChildCommentsResponse.md) +[**PostCommentsByIdsResponse**](../Models/PostCommentsByIdsResponse.md) ### Authorization @@ -843,7 +874,7 @@ No authorization required # **postFlagComment** -> APIEmptyResponse postFlagComment(commentId, sso) +> PostFlagCommentResponse postFlagComment(commentId, broadcastId, tenantId, sso) @@ -852,11 +883,13 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostFlagCommentResponse**](../Models/PostFlagCommentResponse.md) ### Authorization @@ -869,7 +902,7 @@ No authorization required # **postRemoveComment** -> PostRemoveCommentResponse postRemoveComment(commentId, sso) +> PostRemoveCommentResponse postRemoveComment(commentId, broadcastId, tenantId, sso) @@ -878,6 +911,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -895,7 +930,7 @@ No authorization required # **postRestoreDeletedComment** -> APIEmptyResponse postRestoreDeletedComment(commentId, sso) +> PostRestoreDeletedCommentResponse postRestoreDeletedComment(commentId, broadcastId, tenantId, sso) @@ -904,11 +939,13 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostRestoreDeletedCommentResponse**](../Models/PostRestoreDeletedCommentResponse.md) ### Authorization @@ -921,7 +958,7 @@ No authorization required # **postSetCommentApprovalStatus** -> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId, approved, sso) +> PostSetCommentApprovalStatusResponse postSetCommentApprovalStatus(commentId, approved, broadcastId, tenantId, sso) @@ -931,11 +968,13 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **approved** | **Boolean**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**SetCommentApprovedResponse**](../Models/SetCommentApprovedResponse.md) +[**PostSetCommentApprovalStatusResponse**](../Models/PostSetCommentApprovalStatusResponse.md) ### Authorization @@ -948,7 +987,7 @@ No authorization required # **postSetCommentReviewStatus** -> APIEmptyResponse postSetCommentReviewStatus(commentId, reviewed, sso) +> PostSetCommentReviewStatusResponse postSetCommentReviewStatus(commentId, reviewed, broadcastId, tenantId, sso) @@ -958,11 +997,13 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **reviewed** | **Boolean**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostSetCommentReviewStatusResponse**](../Models/PostSetCommentReviewStatusResponse.md) ### Authorization @@ -975,7 +1016,7 @@ No authorization required # **postSetCommentSpamStatus** -> APIEmptyResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, sso) +> PostSetCommentSpamStatusResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, broadcastId, tenantId, sso) @@ -986,11 +1027,13 @@ No authorization required | **commentId** | **String**| | [default to null] | | **spam** | **Boolean**| | [optional] [default to null] | | **permNotSpam** | **Boolean**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostSetCommentSpamStatusResponse**](../Models/PostSetCommentSpamStatusResponse.md) ### Authorization @@ -1003,7 +1046,7 @@ No authorization required # **postSetCommentText** -> SetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, sso) +> PostSetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, broadcastId, tenantId, sso) @@ -1013,11 +1056,13 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **SetCommentTextParams** | [**SetCommentTextParams**](../Models/SetCommentTextParams.md)| | | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**SetCommentTextResponse**](../Models/SetCommentTextResponse.md) +[**PostSetCommentTextResponse**](../Models/PostSetCommentTextResponse.md) ### Authorization @@ -1030,7 +1075,7 @@ No authorization required # **postUnFlagComment** -> APIEmptyResponse postUnFlagComment(commentId, sso) +> PostUnFlagCommentResponse postUnFlagComment(commentId, broadcastId, tenantId, sso) @@ -1039,11 +1084,13 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PostUnFlagCommentResponse**](../Models/PostUnFlagCommentResponse.md) ### Authorization @@ -1056,7 +1103,7 @@ No authorization required # **postVote** -> VoteResponse postVote(commentId, direction, sso) +> PostVoteResponse postVote(commentId, direction, broadcastId, tenantId, sso) @@ -1066,11 +1113,13 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **direction** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**VoteResponse**](../Models/VoteResponse.md) +[**PostVoteResponse**](../Models/PostVoteResponse.md) ### Authorization @@ -1083,7 +1132,7 @@ No authorization required # **putAwardBadge** -> AwardUserBadgeResponse putAwardBadge(badgeId, userId, commentId, broadcastId, sso) +> PutAwardBadgeResponse putAwardBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) @@ -1095,11 +1144,12 @@ No authorization required | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**AwardUserBadgeResponse**](../Models/AwardUserBadgeResponse.md) +[**PutAwardBadgeResponse**](../Models/PutAwardBadgeResponse.md) ### Authorization @@ -1112,7 +1162,7 @@ No authorization required # **putCloseThread** -> APIEmptyResponse putCloseThread(urlId, sso) +> PutCloseThreadResponse putCloseThread(urlId, tenantId, sso) @@ -1121,11 +1171,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **urlId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PutCloseThreadResponse**](../Models/PutCloseThreadResponse.md) ### Authorization @@ -1138,7 +1189,7 @@ No authorization required # **putRemoveBadge** -> RemoveUserBadgeResponse putRemoveBadge(badgeId, userId, commentId, broadcastId, sso) +> PutRemoveBadgeResponse putRemoveBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) @@ -1150,11 +1201,12 @@ No authorization required | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**RemoveUserBadgeResponse**](../Models/RemoveUserBadgeResponse.md) +[**PutRemoveBadgeResponse**](../Models/PutRemoveBadgeResponse.md) ### Authorization @@ -1167,7 +1219,7 @@ No authorization required # **putReopenThread** -> APIEmptyResponse putReopenThread(urlId, sso) +> PutReopenThreadResponse putReopenThread(urlId, tenantId, sso) @@ -1176,11 +1228,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **urlId** | **String**| | [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**PutReopenThreadResponse**](../Models/PutReopenThreadResponse.md) ### Authorization @@ -1193,7 +1246,7 @@ No authorization required # **setTrustFactor** -> SetUserTrustFactorResponse setTrustFactor(userId, trustFactor, sso) +> SetTrustFactorResponse setTrustFactor(userId, trustFactor, tenantId, sso) @@ -1203,11 +1256,12 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **userId** | **String**| | [optional] [default to null] | | **trustFactor** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**SetUserTrustFactorResponse**](../Models/SetUserTrustFactorResponse.md) +[**SetTrustFactorResponse**](../Models/SetTrustFactorResponse.md) ### Authorization diff --git a/docs/Apis/PublicApi.md b/docs/Apis/PublicApi.md index 9b2dc5e..aa46b50 100644 --- a/docs/Apis/PublicApi.md +++ b/docs/Apis/PublicApi.md @@ -60,7 +60,7 @@ All URIs are relative to *https://fastcomments.com* # **blockFromCommentPublic** -> BlockSuccess blockFromCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) +> BlockFromCommentPublicResponse blockFromCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) @@ -75,7 +75,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BlockSuccess**](../Models/BlockSuccess.md) +[**BlockFromCommentPublicResponse**](../Models/BlockFromCommentPublicResponse.md) ### Authorization @@ -88,7 +88,7 @@ No authorization required # **checkedCommentsForBlocked** -> CheckBlockedCommentsResponse checkedCommentsForBlocked(tenantId, commentIds, sso) +> CheckedCommentsForBlockedResponse checkedCommentsForBlocked(tenantId, commentIds, sso) @@ -102,7 +102,7 @@ No authorization required ### Return type -[**CheckBlockedCommentsResponse**](../Models/CheckBlockedCommentsResponse.md) +[**CheckedCommentsForBlockedResponse**](../Models/CheckedCommentsForBlockedResponse.md) ### Authorization @@ -115,7 +115,7 @@ No authorization required # **createCommentPublic** -> SaveCommentsResponseWithPresence createCommentPublic(tenantId, urlId, broadcastId, CommentData, sessionId, sso) +> CreateCommentPublicResponse createCommentPublic(tenantId, urlId, broadcastId, CommentData, sessionId, sso) @@ -132,7 +132,7 @@ No authorization required ### Return type -[**SaveCommentsResponseWithPresence**](../Models/SaveCommentsResponseWithPresence.md) +[**CreateCommentPublicResponse**](../Models/CreateCommentPublicResponse.md) ### Authorization @@ -145,7 +145,7 @@ No authorization required # **createFeedPostPublic** -> CreateFeedPostResponse createFeedPostPublic(tenantId, CreateFeedPostParams, broadcastId, sso) +> CreateFeedPostPublicResponse createFeedPostPublic(tenantId, CreateFeedPostParams, broadcastId, sso) @@ -160,7 +160,7 @@ No authorization required ### Return type -[**CreateFeedPostResponse**](../Models/CreateFeedPostResponse.md) +[**CreateFeedPostPublicResponse**](../Models/CreateFeedPostPublicResponse.md) ### Authorization @@ -173,7 +173,7 @@ No authorization required # **createV1PageReact** -> CreateV1PageReact createV1PageReact(tenantId, urlId, title) +> CreateV1PageReactResponse createV1PageReact(tenantId, urlId, title) @@ -187,7 +187,7 @@ No authorization required ### Return type -[**CreateV1PageReact**](../Models/CreateV1PageReact.md) +[**CreateV1PageReactResponse**](../Models/CreateV1PageReactResponse.md) ### Authorization @@ -200,7 +200,7 @@ No authorization required # **createV2PageReact** -> CreateV1PageReact createV2PageReact(tenantId, urlId, id, title) +> CreateV2PageReactResponse createV2PageReact(tenantId, urlId, id, title) @@ -215,7 +215,7 @@ No authorization required ### Return type -[**CreateV1PageReact**](../Models/CreateV1PageReact.md) +[**CreateV2PageReactResponse**](../Models/CreateV2PageReactResponse.md) ### Authorization @@ -228,7 +228,7 @@ No authorization required # **deleteCommentPublic** -> PublicAPIDeleteCommentResponse deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso) +> DeleteCommentPublicResponse deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso) @@ -244,7 +244,7 @@ No authorization required ### Return type -[**PublicAPIDeleteCommentResponse**](../Models/PublicAPIDeleteCommentResponse.md) +[**DeleteCommentPublicResponse**](../Models/DeleteCommentPublicResponse.md) ### Authorization @@ -257,7 +257,7 @@ No authorization required # **deleteCommentVote** -> VoteDeleteResponse deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso) +> DeleteCommentVoteResponse deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso) @@ -275,7 +275,7 @@ No authorization required ### Return type -[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) +[**DeleteCommentVoteResponse**](../Models/DeleteCommentVoteResponse.md) ### Authorization @@ -316,7 +316,7 @@ No authorization required # **deleteV1PageReact** -> CreateV1PageReact deleteV1PageReact(tenantId, urlId) +> DeleteV1PageReactResponse deleteV1PageReact(tenantId, urlId) @@ -329,7 +329,7 @@ No authorization required ### Return type -[**CreateV1PageReact**](../Models/CreateV1PageReact.md) +[**DeleteV1PageReactResponse**](../Models/DeleteV1PageReactResponse.md) ### Authorization @@ -342,7 +342,7 @@ No authorization required # **deleteV2PageReact** -> CreateV1PageReact deleteV2PageReact(tenantId, urlId, id) +> DeleteV2PageReactResponse deleteV2PageReact(tenantId, urlId, id) @@ -356,7 +356,7 @@ No authorization required ### Return type -[**CreateV1PageReact**](../Models/CreateV1PageReact.md) +[**DeleteV2PageReactResponse**](../Models/DeleteV2PageReactResponse.md) ### Authorization @@ -369,7 +369,7 @@ No authorization required # **flagCommentPublic** -> APIEmptyResponse flagCommentPublic(tenantId, commentId, isFlagged, sso) +> FlagCommentPublicResponse flagCommentPublic(tenantId, commentId, isFlagged, sso) @@ -384,7 +384,7 @@ No authorization required ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**FlagCommentPublicResponse**](../Models/FlagCommentPublicResponse.md) ### Authorization @@ -397,7 +397,7 @@ No authorization required # **getCommentText** -> PublicAPIGetCommentTextResponse getCommentText(tenantId, commentId, editKey, sso) +> GetCommentTextResponse_1 getCommentText(tenantId, commentId, editKey, sso) @@ -412,7 +412,7 @@ No authorization required ### Return type -[**PublicAPIGetCommentTextResponse**](../Models/PublicAPIGetCommentTextResponse.md) +[**GetCommentTextResponse_1**](../Models/GetCommentTextResponse_1.md) ### Authorization @@ -425,7 +425,7 @@ No authorization required # **getCommentVoteUserNames** -> GetCommentVoteUserNamesSuccessResponse getCommentVoteUserNames(tenantId, commentId, dir, sso) +> GetCommentVoteUserNamesResponse getCommentVoteUserNames(tenantId, commentId, dir, sso) @@ -440,7 +440,7 @@ No authorization required ### Return type -[**GetCommentVoteUserNamesSuccessResponse**](../Models/GetCommentVoteUserNamesSuccessResponse.md) +[**GetCommentVoteUserNamesResponse**](../Models/GetCommentVoteUserNamesResponse.md) ### Authorization @@ -453,7 +453,7 @@ No authorization required # **getCommentsForUser** -> GetCommentsForUserResponse getCommentsForUser(userId, direction, repliesToUserId, page, includei10n, locale, isCrawler) +> GetCommentsForUserResponse_1 getCommentsForUser(userId, direction, repliesToUserId, page, includei10n, locale, isCrawler) @@ -471,7 +471,7 @@ No authorization required ### Return type -[**GetCommentsForUserResponse**](../Models/GetCommentsForUserResponse.md) +[**GetCommentsForUserResponse_1**](../Models/GetCommentsForUserResponse_1.md) ### Authorization @@ -484,7 +484,7 @@ No authorization required # **getCommentsPublic** -> GetCommentsResponseWithPresence_PublicComment_ getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId) +> GetCommentsPublicResponse getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId) @@ -525,7 +525,7 @@ No authorization required ### Return type -[**GetCommentsResponseWithPresence_PublicComment_**](../Models/GetCommentsResponseWithPresence_PublicComment_.md) +[**GetCommentsPublicResponse**](../Models/GetCommentsPublicResponse.md) ### Authorization @@ -538,7 +538,7 @@ No authorization required # **getEventLog** -> GetEventLogResponse getEventLog(tenantId, urlId, userIdWS, startTime, endTime) +> GetEventLogResponse_1 getEventLog(tenantId, urlId, userIdWS, startTime, endTime) @@ -556,7 +556,7 @@ No authorization required ### Return type -[**GetEventLogResponse**](../Models/GetEventLogResponse.md) +[**GetEventLogResponse_1**](../Models/GetEventLogResponse_1.md) ### Authorization @@ -569,7 +569,7 @@ No authorization required # **getFeedPostsPublic** -> PublicFeedPostsResponse getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo) +> GetFeedPostsPublicResponse getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo) @@ -589,7 +589,7 @@ No authorization required ### Return type -[**PublicFeedPostsResponse**](../Models/PublicFeedPostsResponse.md) +[**GetFeedPostsPublicResponse**](../Models/GetFeedPostsPublicResponse.md) ### Authorization @@ -602,7 +602,7 @@ No authorization required # **getFeedPostsStats** -> FeedPostsStatsResponse getFeedPostsStats(tenantId, postIds, sso) +> GetFeedPostsStatsResponse getFeedPostsStats(tenantId, postIds, sso) @@ -616,7 +616,7 @@ No authorization required ### Return type -[**FeedPostsStatsResponse**](../Models/FeedPostsStatsResponse.md) +[**GetFeedPostsStatsResponse**](../Models/GetFeedPostsStatsResponse.md) ### Authorization @@ -629,7 +629,7 @@ No authorization required # **getGifLarge** -> GifGetLargeResponse getGifLarge(tenantId, largeInternalURLSanitized) +> GetGifLargeResponse getGifLarge(tenantId, largeInternalURLSanitized) @@ -642,7 +642,7 @@ No authorization required ### Return type -[**GifGetLargeResponse**](../Models/GifGetLargeResponse.md) +[**GetGifLargeResponse**](../Models/GetGifLargeResponse.md) ### Authorization @@ -712,7 +712,7 @@ No authorization required # **getGlobalEventLog** -> GetEventLogResponse getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime) +> GetGlobalEventLogResponse getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime) @@ -730,7 +730,7 @@ No authorization required ### Return type -[**GetEventLogResponse**](../Models/GetEventLogResponse.md) +[**GetGlobalEventLogResponse**](../Models/GetGlobalEventLogResponse.md) ### Authorization @@ -743,7 +743,7 @@ No authorization required # **getOfflineUsers** -> PageUsersOfflineResponse getOfflineUsers(tenantId, urlId, afterName, afterUserId) +> GetOfflineUsersResponse getOfflineUsers(tenantId, urlId, afterName, afterUserId) @@ -760,7 +760,7 @@ No authorization required ### Return type -[**PageUsersOfflineResponse**](../Models/PageUsersOfflineResponse.md) +[**GetOfflineUsersResponse**](../Models/GetOfflineUsersResponse.md) ### Authorization @@ -773,7 +773,7 @@ No authorization required # **getOnlineUsers** -> PageUsersOnlineResponse getOnlineUsers(tenantId, urlId, afterName, afterUserId) +> GetOnlineUsersResponse getOnlineUsers(tenantId, urlId, afterName, afterUserId) @@ -790,7 +790,7 @@ No authorization required ### Return type -[**PageUsersOnlineResponse**](../Models/PageUsersOnlineResponse.md) +[**GetOnlineUsersResponse**](../Models/GetOnlineUsersResponse.md) ### Authorization @@ -803,7 +803,7 @@ No authorization required # **getPagesPublic** -> GetPublicPagesResponse getPagesPublic(tenantId, cursor, limit, q, sortBy, hasComments) +> GetPagesPublicResponse getPagesPublic(tenantId, cursor, limit, q, sortBy, hasComments) @@ -822,7 +822,7 @@ No authorization required ### Return type -[**GetPublicPagesResponse**](../Models/GetPublicPagesResponse.md) +[**GetPagesPublicResponse**](../Models/GetPagesPublicResponse.md) ### Authorization @@ -835,7 +835,7 @@ No authorization required # **getTranslations** -> GetTranslationsResponse getTranslations(namespace, component, locale, useFullTranslationIds) +> GetTranslationsResponse_1 getTranslations(namespace, component, locale, useFullTranslationIds) @@ -850,7 +850,7 @@ No authorization required ### Return type -[**GetTranslationsResponse**](../Models/GetTranslationsResponse.md) +[**GetTranslationsResponse_1**](../Models/GetTranslationsResponse_1.md) ### Authorization @@ -863,7 +863,7 @@ No authorization required # **getUserNotificationCount** -> GetUserNotificationCountResponse getUserNotificationCount(tenantId, sso) +> GetUserNotificationCountResponse_1 getUserNotificationCount(tenantId, sso) @@ -876,7 +876,7 @@ No authorization required ### Return type -[**GetUserNotificationCountResponse**](../Models/GetUserNotificationCountResponse.md) +[**GetUserNotificationCountResponse_1**](../Models/GetUserNotificationCountResponse_1.md) ### Authorization @@ -889,7 +889,7 @@ No authorization required # **getUserNotifications** -> GetMyNotificationsResponse getUserNotifications(tenantId, urlId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, includeTenantNotifications, sso) +> GetUserNotificationsResponse getUserNotifications(tenantId, urlId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, includeTenantNotifications, sso) @@ -912,7 +912,7 @@ No authorization required ### Return type -[**GetMyNotificationsResponse**](../Models/GetMyNotificationsResponse.md) +[**GetUserNotificationsResponse**](../Models/GetUserNotificationsResponse.md) ### Authorization @@ -925,7 +925,7 @@ No authorization required # **getUserPresenceStatuses** -> GetUserPresenceStatusesResponse getUserPresenceStatuses(tenantId, urlIdWS, userIds) +> GetUserPresenceStatusesResponse_1 getUserPresenceStatuses(tenantId, urlIdWS, userIds) @@ -939,7 +939,7 @@ No authorization required ### Return type -[**GetUserPresenceStatusesResponse**](../Models/GetUserPresenceStatusesResponse.md) +[**GetUserPresenceStatusesResponse_1**](../Models/GetUserPresenceStatusesResponse_1.md) ### Authorization @@ -952,7 +952,7 @@ No authorization required # **getUserReactsPublic** -> UserReactsResponse getUserReactsPublic(tenantId, postIds, sso) +> GetUserReactsPublicResponse getUserReactsPublic(tenantId, postIds, sso) @@ -966,7 +966,7 @@ No authorization required ### Return type -[**UserReactsResponse**](../Models/UserReactsResponse.md) +[**GetUserReactsPublicResponse**](../Models/GetUserReactsPublicResponse.md) ### Authorization @@ -979,7 +979,7 @@ No authorization required # **getUsersInfo** -> PageUsersInfoResponse getUsersInfo(tenantId, ids) +> GetUsersInfoResponse getUsersInfo(tenantId, ids) @@ -994,7 +994,7 @@ No authorization required ### Return type -[**PageUsersInfoResponse**](../Models/PageUsersInfoResponse.md) +[**GetUsersInfoResponse**](../Models/GetUsersInfoResponse.md) ### Authorization @@ -1007,7 +1007,7 @@ No authorization required # **getV1PageLikes** -> GetV1PageLikes getV1PageLikes(tenantId, urlId) +> GetV1PageLikesResponse getV1PageLikes(tenantId, urlId) @@ -1020,7 +1020,7 @@ No authorization required ### Return type -[**GetV1PageLikes**](../Models/GetV1PageLikes.md) +[**GetV1PageLikesResponse**](../Models/GetV1PageLikesResponse.md) ### Authorization @@ -1033,7 +1033,7 @@ No authorization required # **getV2PageReactUsers** -> GetV2PageReactUsersResponse getV2PageReactUsers(tenantId, urlId, id) +> GetV2PageReactUsersResponse_1 getV2PageReactUsers(tenantId, urlId, id) @@ -1047,7 +1047,7 @@ No authorization required ### Return type -[**GetV2PageReactUsersResponse**](../Models/GetV2PageReactUsersResponse.md) +[**GetV2PageReactUsersResponse_1**](../Models/GetV2PageReactUsersResponse_1.md) ### Authorization @@ -1060,7 +1060,7 @@ No authorization required # **getV2PageReacts** -> GetV2PageReacts getV2PageReacts(tenantId, urlId) +> GetV2PageReactsResponse getV2PageReacts(tenantId, urlId) @@ -1073,7 +1073,7 @@ No authorization required ### Return type -[**GetV2PageReacts**](../Models/GetV2PageReacts.md) +[**GetV2PageReactsResponse**](../Models/GetV2PageReactsResponse.md) ### Authorization @@ -1086,7 +1086,7 @@ No authorization required # **lockComment** -> APIEmptyResponse lockComment(tenantId, commentId, broadcastId, sso) +> LockCommentResponse lockComment(tenantId, commentId, broadcastId, sso) @@ -1101,7 +1101,7 @@ No authorization required ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**LockCommentResponse**](../Models/LockCommentResponse.md) ### Authorization @@ -1136,7 +1136,7 @@ No authorization required # **pinComment** -> ChangeCommentPinStatusResponse pinComment(tenantId, commentId, broadcastId, sso) +> PinCommentResponse pinComment(tenantId, commentId, broadcastId, sso) @@ -1151,7 +1151,7 @@ No authorization required ### Return type -[**ChangeCommentPinStatusResponse**](../Models/ChangeCommentPinStatusResponse.md) +[**PinCommentResponse**](../Models/PinCommentResponse.md) ### Authorization @@ -1164,7 +1164,7 @@ No authorization required # **reactFeedPostPublic** -> ReactFeedPostResponse reactFeedPostPublic(tenantId, postId, ReactBodyParams, isUndo, broadcastId, sso) +> ReactFeedPostPublicResponse reactFeedPostPublic(tenantId, postId, ReactBodyParams, isUndo, broadcastId, sso) @@ -1181,7 +1181,7 @@ No authorization required ### Return type -[**ReactFeedPostResponse**](../Models/ReactFeedPostResponse.md) +[**ReactFeedPostPublicResponse**](../Models/ReactFeedPostPublicResponse.md) ### Authorization @@ -1194,7 +1194,7 @@ No authorization required # **resetUserNotificationCount** -> ResetUserNotificationsResponse resetUserNotificationCount(tenantId, sso) +> ResetUserNotificationCountResponse resetUserNotificationCount(tenantId, sso) @@ -1207,7 +1207,7 @@ No authorization required ### Return type -[**ResetUserNotificationsResponse**](../Models/ResetUserNotificationsResponse.md) +[**ResetUserNotificationCountResponse**](../Models/ResetUserNotificationCountResponse.md) ### Authorization @@ -1220,7 +1220,7 @@ No authorization required # **resetUserNotifications** -> ResetUserNotificationsResponse resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso) +> ResetUserNotificationsResponse_1 resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso) @@ -1238,7 +1238,7 @@ No authorization required ### Return type -[**ResetUserNotificationsResponse**](../Models/ResetUserNotificationsResponse.md) +[**ResetUserNotificationsResponse_1**](../Models/ResetUserNotificationsResponse_1.md) ### Authorization @@ -1251,7 +1251,7 @@ No authorization required # **searchUsers** -> SearchUsersResult searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, searchSection) +> SearchUsersResponse_1 searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, searchSection) @@ -1268,7 +1268,7 @@ No authorization required ### Return type -[**SearchUsersResult**](../Models/SearchUsersResult.md) +[**SearchUsersResponse_1**](../Models/SearchUsersResponse_1.md) ### Authorization @@ -1281,7 +1281,7 @@ No authorization required # **setCommentText** -> PublicAPISetCommentTextResponse setCommentText(tenantId, commentId, broadcastId, CommentTextUpdateRequest, editKey, sso) +> SetCommentTextResponse_1 setCommentText(tenantId, commentId, broadcastId, CommentTextUpdateRequest, editKey, sso) @@ -1298,7 +1298,7 @@ No authorization required ### Return type -[**PublicAPISetCommentTextResponse**](../Models/PublicAPISetCommentTextResponse.md) +[**SetCommentTextResponse_1**](../Models/SetCommentTextResponse_1.md) ### Authorization @@ -1311,7 +1311,7 @@ No authorization required # **unBlockCommentPublic** -> UnblockSuccess unBlockCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) +> UnBlockCommentPublicResponse unBlockCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) @@ -1326,7 +1326,7 @@ No authorization required ### Return type -[**UnblockSuccess**](../Models/UnblockSuccess.md) +[**UnBlockCommentPublicResponse**](../Models/UnBlockCommentPublicResponse.md) ### Authorization @@ -1339,7 +1339,7 @@ No authorization required # **unLockComment** -> APIEmptyResponse unLockComment(tenantId, commentId, broadcastId, sso) +> UnLockCommentResponse unLockComment(tenantId, commentId, broadcastId, sso) @@ -1354,7 +1354,7 @@ No authorization required ### Return type -[**APIEmptyResponse**](../Models/APIEmptyResponse.md) +[**UnLockCommentResponse**](../Models/UnLockCommentResponse.md) ### Authorization @@ -1367,7 +1367,7 @@ No authorization required # **unPinComment** -> ChangeCommentPinStatusResponse unPinComment(tenantId, commentId, broadcastId, sso) +> UnPinCommentResponse unPinComment(tenantId, commentId, broadcastId, sso) @@ -1382,7 +1382,7 @@ No authorization required ### Return type -[**ChangeCommentPinStatusResponse**](../Models/ChangeCommentPinStatusResponse.md) +[**UnPinCommentResponse**](../Models/UnPinCommentResponse.md) ### Authorization @@ -1395,7 +1395,7 @@ No authorization required # **updateFeedPostPublic** -> CreateFeedPostResponse updateFeedPostPublic(tenantId, postId, UpdateFeedPostParams, broadcastId, sso) +> UpdateFeedPostPublicResponse updateFeedPostPublic(tenantId, postId, UpdateFeedPostParams, broadcastId, sso) @@ -1411,7 +1411,7 @@ No authorization required ### Return type -[**CreateFeedPostResponse**](../Models/CreateFeedPostResponse.md) +[**UpdateFeedPostPublicResponse**](../Models/UpdateFeedPostPublicResponse.md) ### Authorization @@ -1545,7 +1545,7 @@ No authorization required # **voteComment** -> VoteResponse voteComment(tenantId, commentId, urlId, broadcastId, VoteBodyParams, sessionId, sso) +> VoteCommentResponse voteComment(tenantId, commentId, urlId, broadcastId, VoteBodyParams, sessionId, sso) @@ -1563,7 +1563,7 @@ No authorization required ### Return type -[**VoteResponse**](../Models/VoteResponse.md) +[**VoteCommentResponse**](../Models/VoteCommentResponse.md) ### Authorization diff --git a/docs/Models/AddHashTagResponse.md b/docs/Models/AddHashTagResponse.md new file mode 100644 index 0000000..91c7dd6 --- /dev/null +++ b/docs/Models/AddHashTagResponse.md @@ -0,0 +1,17 @@ +# AddHashTagResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/AddHashTagsBulkResponse.md b/docs/Models/AddHashTagsBulkResponse.md new file mode 100644 index 0000000..8709628 --- /dev/null +++ b/docs/Models/AddHashTagsBulkResponse.md @@ -0,0 +1,17 @@ +# AddHashTagsBulkResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **results** | [**List**](BulkCreateHashTagsResponse_results_inner.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/AggregateQuestionResultsResponse_1.md b/docs/Models/AggregateQuestionResultsResponse_1.md new file mode 100644 index 0000000..16ff86d --- /dev/null +++ b/docs/Models/AggregateQuestionResultsResponse_1.md @@ -0,0 +1,17 @@ +# AggregateQuestionResultsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/BlockFromCommentPublicResponse.md b/docs/Models/BlockFromCommentPublicResponse.md new file mode 100644 index 0000000..bfa4edd --- /dev/null +++ b/docs/Models/BlockFromCommentPublicResponse.md @@ -0,0 +1,17 @@ +# BlockFromCommentPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/BlockUserFromCommentResponse.md b/docs/Models/BlockUserFromCommentResponse.md new file mode 100644 index 0000000..f8ee63e --- /dev/null +++ b/docs/Models/BlockUserFromCommentResponse.md @@ -0,0 +1,17 @@ +# BlockUserFromCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/BulkAggregateQuestionResultsResponse_1.md b/docs/Models/BulkAggregateQuestionResultsResponse_1.md new file mode 100644 index 0000000..7355c3e --- /dev/null +++ b/docs/Models/BulkAggregateQuestionResultsResponse_1.md @@ -0,0 +1,17 @@ +# BulkAggregateQuestionResultsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **data** | [**Map**](QuestionResultAggregationOverall.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ChangeTicketStateResponse_1.md b/docs/Models/ChangeTicketStateResponse_1.md new file mode 100644 index 0000000..7c7bc73 --- /dev/null +++ b/docs/Models/ChangeTicketStateResponse_1.md @@ -0,0 +1,17 @@ +# ChangeTicketStateResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **ticket** | [**APITicket**](APITicket.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CheckedCommentsForBlockedResponse.md b/docs/Models/CheckedCommentsForBlockedResponse.md new file mode 100644 index 0000000..2533e0a --- /dev/null +++ b/docs/Models/CheckedCommentsForBlockedResponse.md @@ -0,0 +1,17 @@ +# CheckedCommentsForBlockedResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CombineCommentsWithQuestionResultsResponse.md b/docs/Models/CombineCommentsWithQuestionResultsResponse.md new file mode 100644 index 0000000..59d075e --- /dev/null +++ b/docs/Models/CombineCommentsWithQuestionResultsResponse.md @@ -0,0 +1,17 @@ +# CombineCommentsWithQuestionResultsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateCommentPublicResponse.md b/docs/Models/CreateCommentPublicResponse.md new file mode 100644 index 0000000..e10b1ab --- /dev/null +++ b/docs/Models/CreateCommentPublicResponse.md @@ -0,0 +1,20 @@ +# CreateCommentPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **comment** | [**PublicComment**](PublicComment.md) | | [optional] [default to null] | +| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | +| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **userIdWS** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateEmailTemplateResponse_1.md b/docs/Models/CreateEmailTemplateResponse_1.md new file mode 100644 index 0000000..09d42d4 --- /dev/null +++ b/docs/Models/CreateEmailTemplateResponse_1.md @@ -0,0 +1,17 @@ +# CreateEmailTemplateResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateFeedPostPublicResponse.md b/docs/Models/CreateFeedPostPublicResponse.md new file mode 100644 index 0000000..1706924 --- /dev/null +++ b/docs/Models/CreateFeedPostPublicResponse.md @@ -0,0 +1,17 @@ +# CreateFeedPostPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateFeedPostResponse_1.md b/docs/Models/CreateFeedPostResponse_1.md new file mode 100644 index 0000000..b804af3 --- /dev/null +++ b/docs/Models/CreateFeedPostResponse_1.md @@ -0,0 +1,17 @@ +# CreateFeedPostResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateModeratorResponse_1.md b/docs/Models/CreateModeratorResponse_1.md new file mode 100644 index 0000000..c1f2204 --- /dev/null +++ b/docs/Models/CreateModeratorResponse_1.md @@ -0,0 +1,17 @@ +# CreateModeratorResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **moderator** | [**Moderator**](Moderator.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateQuestionConfigResponse_1.md b/docs/Models/CreateQuestionConfigResponse_1.md new file mode 100644 index 0000000..9e289f4 --- /dev/null +++ b/docs/Models/CreateQuestionConfigResponse_1.md @@ -0,0 +1,17 @@ +# CreateQuestionConfigResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateQuestionResultResponse_1.md b/docs/Models/CreateQuestionResultResponse_1.md new file mode 100644 index 0000000..52031c1 --- /dev/null +++ b/docs/Models/CreateQuestionResultResponse_1.md @@ -0,0 +1,17 @@ +# CreateQuestionResultResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateTenantPackageResponse_1.md b/docs/Models/CreateTenantPackageResponse_1.md new file mode 100644 index 0000000..47a0ff8 --- /dev/null +++ b/docs/Models/CreateTenantPackageResponse_1.md @@ -0,0 +1,17 @@ +# CreateTenantPackageResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateTenantResponse_1.md b/docs/Models/CreateTenantResponse_1.md new file mode 100644 index 0000000..e4b8e3f --- /dev/null +++ b/docs/Models/CreateTenantResponse_1.md @@ -0,0 +1,17 @@ +# CreateTenantResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenant** | [**APITenant**](APITenant.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateTenantUserResponse_1.md b/docs/Models/CreateTenantUserResponse_1.md new file mode 100644 index 0000000..4832a33 --- /dev/null +++ b/docs/Models/CreateTenantUserResponse_1.md @@ -0,0 +1,17 @@ +# CreateTenantUserResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantUser** | [**User**](User.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateTicketResponse_1.md b/docs/Models/CreateTicketResponse_1.md new file mode 100644 index 0000000..6e675d1 --- /dev/null +++ b/docs/Models/CreateTicketResponse_1.md @@ -0,0 +1,17 @@ +# CreateTicketResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **ticket** | [**APITicket**](APITicket.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateUserBadgeResponse.md b/docs/Models/CreateUserBadgeResponse.md new file mode 100644 index 0000000..0dc70e2 --- /dev/null +++ b/docs/Models/CreateUserBadgeResponse.md @@ -0,0 +1,18 @@ +# CreateUserBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadge** | [**UserBadge**](UserBadge.md) | | [optional] [default to null] | +| **notes** | **List** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateV1PageReactResponse.md b/docs/Models/CreateV1PageReactResponse.md new file mode 100644 index 0000000..6d4dfec --- /dev/null +++ b/docs/Models/CreateV1PageReactResponse.md @@ -0,0 +1,16 @@ +# CreateV1PageReactResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **code** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateV2PageReactResponse.md b/docs/Models/CreateV2PageReactResponse.md new file mode 100644 index 0000000..04a932d --- /dev/null +++ b/docs/Models/CreateV2PageReactResponse.md @@ -0,0 +1,16 @@ +# CreateV2PageReactResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **code** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/CreateVoteResponse.md b/docs/Models/CreateVoteResponse.md new file mode 100644 index 0000000..fc9b879 --- /dev/null +++ b/docs/Models/CreateVoteResponse.md @@ -0,0 +1,20 @@ +# CreateVoteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **voteId** | **String** | | [optional] [default to null] | +| **isVerified** | **Boolean** | | [optional] [default to null] | +| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | +| **editKey** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteCommentPublicResponse.md b/docs/Models/DeleteCommentPublicResponse.md new file mode 100644 index 0000000..9b6d35e --- /dev/null +++ b/docs/Models/DeleteCommentPublicResponse.md @@ -0,0 +1,18 @@ +# DeleteCommentPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comment** | [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] [default to null] | +| **hardRemoved** | **Boolean** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteCommentResponse.md b/docs/Models/DeleteCommentResponse.md new file mode 100644 index 0000000..4ae51bc --- /dev/null +++ b/docs/Models/DeleteCommentResponse.md @@ -0,0 +1,17 @@ +# DeleteCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteCommentVoteResponse.md b/docs/Models/DeleteCommentVoteResponse.md new file mode 100644 index 0000000..a29e46b --- /dev/null +++ b/docs/Models/DeleteCommentVoteResponse.md @@ -0,0 +1,17 @@ +# DeleteCommentVoteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **wasPendingVote** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteEmailTemplateRenderErrorResponse.md b/docs/Models/DeleteEmailTemplateRenderErrorResponse.md new file mode 100644 index 0000000..13019d2 --- /dev/null +++ b/docs/Models/DeleteEmailTemplateRenderErrorResponse.md @@ -0,0 +1,16 @@ +# DeleteEmailTemplateRenderErrorResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteEmailTemplateResponse.md b/docs/Models/DeleteEmailTemplateResponse.md new file mode 100644 index 0000000..d227014 --- /dev/null +++ b/docs/Models/DeleteEmailTemplateResponse.md @@ -0,0 +1,16 @@ +# DeleteEmailTemplateResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteFeedPostPublicResponse.md b/docs/Models/DeleteFeedPostPublicResponse.md index 1d9a593..813bd6e 100644 --- a/docs/Models/DeleteFeedPostPublicResponse.md +++ b/docs/Models/DeleteFeedPostPublicResponse.md @@ -4,6 +4,13 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| | **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/DeleteFeedPostPublicResponse_anyOf.md b/docs/Models/DeleteFeedPostPublicResponse_anyOf.md new file mode 100644 index 0000000..644ccd9 --- /dev/null +++ b/docs/Models/DeleteFeedPostPublicResponse_anyOf.md @@ -0,0 +1,9 @@ +# DeleteFeedPostPublicResponse_anyOf +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteHashTagResponse.md b/docs/Models/DeleteHashTagResponse.md new file mode 100644 index 0000000..02d3a75 --- /dev/null +++ b/docs/Models/DeleteHashTagResponse.md @@ -0,0 +1,16 @@ +# DeleteHashTagResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteModerationVoteResponse.md b/docs/Models/DeleteModerationVoteResponse.md new file mode 100644 index 0000000..c25e834 --- /dev/null +++ b/docs/Models/DeleteModerationVoteResponse.md @@ -0,0 +1,17 @@ +# DeleteModerationVoteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **wasPendingVote** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteModeratorResponse.md b/docs/Models/DeleteModeratorResponse.md new file mode 100644 index 0000000..178ebb8 --- /dev/null +++ b/docs/Models/DeleteModeratorResponse.md @@ -0,0 +1,16 @@ +# DeleteModeratorResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteNotificationCountResponse.md b/docs/Models/DeleteNotificationCountResponse.md new file mode 100644 index 0000000..f4ea430 --- /dev/null +++ b/docs/Models/DeleteNotificationCountResponse.md @@ -0,0 +1,16 @@ +# DeleteNotificationCountResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeletePendingWebhookEventResponse.md b/docs/Models/DeletePendingWebhookEventResponse.md new file mode 100644 index 0000000..f7553a3 --- /dev/null +++ b/docs/Models/DeletePendingWebhookEventResponse.md @@ -0,0 +1,16 @@ +# DeletePendingWebhookEventResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteQuestionConfigResponse.md b/docs/Models/DeleteQuestionConfigResponse.md new file mode 100644 index 0000000..8e29695 --- /dev/null +++ b/docs/Models/DeleteQuestionConfigResponse.md @@ -0,0 +1,16 @@ +# DeleteQuestionConfigResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteQuestionResultResponse.md b/docs/Models/DeleteQuestionResultResponse.md new file mode 100644 index 0000000..57d60bd --- /dev/null +++ b/docs/Models/DeleteQuestionResultResponse.md @@ -0,0 +1,16 @@ +# DeleteQuestionResultResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteTenantPackageResponse.md b/docs/Models/DeleteTenantPackageResponse.md new file mode 100644 index 0000000..91b4b88 --- /dev/null +++ b/docs/Models/DeleteTenantPackageResponse.md @@ -0,0 +1,16 @@ +# DeleteTenantPackageResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteTenantResponse.md b/docs/Models/DeleteTenantResponse.md new file mode 100644 index 0000000..a1be257 --- /dev/null +++ b/docs/Models/DeleteTenantResponse.md @@ -0,0 +1,16 @@ +# DeleteTenantResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteTenantUserResponse.md b/docs/Models/DeleteTenantUserResponse.md new file mode 100644 index 0000000..b666540 --- /dev/null +++ b/docs/Models/DeleteTenantUserResponse.md @@ -0,0 +1,16 @@ +# DeleteTenantUserResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteUserBadgeResponse.md b/docs/Models/DeleteUserBadgeResponse.md new file mode 100644 index 0000000..f6c0720 --- /dev/null +++ b/docs/Models/DeleteUserBadgeResponse.md @@ -0,0 +1,16 @@ +# DeleteUserBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteV1PageReactResponse.md b/docs/Models/DeleteV1PageReactResponse.md new file mode 100644 index 0000000..79e208e --- /dev/null +++ b/docs/Models/DeleteV1PageReactResponse.md @@ -0,0 +1,16 @@ +# DeleteV1PageReactResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **code** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteV2PageReactResponse.md b/docs/Models/DeleteV2PageReactResponse.md new file mode 100644 index 0000000..ab33dbe --- /dev/null +++ b/docs/Models/DeleteV2PageReactResponse.md @@ -0,0 +1,16 @@ +# DeleteV2PageReactResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **code** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/DeleteVoteResponse.md b/docs/Models/DeleteVoteResponse.md new file mode 100644 index 0000000..bc8193b --- /dev/null +++ b/docs/Models/DeleteVoteResponse.md @@ -0,0 +1,17 @@ +# DeleteVoteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **wasPendingVote** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/FlagCommentPublicResponse.md b/docs/Models/FlagCommentPublicResponse.md new file mode 100644 index 0000000..731a192 --- /dev/null +++ b/docs/Models/FlagCommentPublicResponse.md @@ -0,0 +1,16 @@ +# FlagCommentPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/FlagCommentResponse_1.md b/docs/Models/FlagCommentResponse_1.md new file mode 100644 index 0000000..3fa18c5 --- /dev/null +++ b/docs/Models/FlagCommentResponse_1.md @@ -0,0 +1,18 @@ +# FlagCommentResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **statusCode** | **Integer** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **wasUnapproved** | **Boolean** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetApiCommentsResponse.md b/docs/Models/GetApiCommentsResponse.md new file mode 100644 index 0000000..d6cff4a --- /dev/null +++ b/docs/Models/GetApiCommentsResponse.md @@ -0,0 +1,19 @@ +# GetApiCommentsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **translations** | [**Object**](.md) | | [optional] [default to null] | +| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | +| **moderationFilter** | [**ModerationFilter**](ModerationFilter.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetApiExportStatusResponse.md b/docs/Models/GetApiExportStatusResponse.md new file mode 100644 index 0000000..4d4dcc3 --- /dev/null +++ b/docs/Models/GetApiExportStatusResponse.md @@ -0,0 +1,19 @@ +# GetApiExportStatusResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **jobStatus** | **String** | | [optional] [default to null] | +| **recordCount** | **Integer** | | [optional] [default to null] | +| **downloadUrl** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetApiIdsResponse.md b/docs/Models/GetApiIdsResponse.md new file mode 100644 index 0000000..64ae23d --- /dev/null +++ b/docs/Models/GetApiIdsResponse.md @@ -0,0 +1,18 @@ +# GetApiIdsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **ids** | **List** | | [optional] [default to null] | +| **hasMore** | **Boolean** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetAuditLogsResponse_1.md b/docs/Models/GetAuditLogsResponse_1.md new file mode 100644 index 0000000..005a44f --- /dev/null +++ b/docs/Models/GetAuditLogsResponse_1.md @@ -0,0 +1,17 @@ +# GetAuditLogsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **auditLogs** | [**List**](APIAuditLog.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetBanUsersFromCommentResponse.md b/docs/Models/GetBanUsersFromCommentResponse.md new file mode 100644 index 0000000..1c4428c --- /dev/null +++ b/docs/Models/GetBanUsersFromCommentResponse.md @@ -0,0 +1,17 @@ +# GetBanUsersFromCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **bannedUsers** | [**List**](APIBannedUserWithMultiMatchInfo.md) | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCachedNotificationCountResponse_1.md b/docs/Models/GetCachedNotificationCountResponse_1.md new file mode 100644 index 0000000..3ebe782 --- /dev/null +++ b/docs/Models/GetCachedNotificationCountResponse_1.md @@ -0,0 +1,17 @@ +# GetCachedNotificationCountResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **data** | [**UserNotificationCount**](UserNotificationCount.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentBanStatusResponse_1.md b/docs/Models/GetCommentBanStatusResponse_1.md new file mode 100644 index 0000000..1936e90 --- /dev/null +++ b/docs/Models/GetCommentBanStatusResponse_1.md @@ -0,0 +1,18 @@ +# GetCommentBanStatusResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **emailDomain** | **String** | | [optional] [default to null] | +| **canIPBan** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentChildrenResponse.md b/docs/Models/GetCommentChildrenResponse.md new file mode 100644 index 0000000..470c8e6 --- /dev/null +++ b/docs/Models/GetCommentChildrenResponse.md @@ -0,0 +1,17 @@ +# GetCommentChildrenResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentResponse.md b/docs/Models/GetCommentResponse.md new file mode 100644 index 0000000..3fd2b51 --- /dev/null +++ b/docs/Models/GetCommentResponse.md @@ -0,0 +1,17 @@ +# GetCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **comment** | [**APIComment**](APIComment.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentTextResponse_1.md b/docs/Models/GetCommentTextResponse_1.md new file mode 100644 index 0000000..6cf5b1e --- /dev/null +++ b/docs/Models/GetCommentTextResponse_1.md @@ -0,0 +1,18 @@ +# GetCommentTextResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **commentText** | **String** | | [optional] [default to null] | +| **sanitizedCommentText** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentVoteUserNamesResponse.md b/docs/Models/GetCommentVoteUserNamesResponse.md new file mode 100644 index 0000000..7902b42 --- /dev/null +++ b/docs/Models/GetCommentVoteUserNamesResponse.md @@ -0,0 +1,18 @@ +# GetCommentVoteUserNamesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **voteUserNames** | **List** | | [optional] [default to null] | +| **hasMore** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentsForUserResponse_1.md b/docs/Models/GetCommentsForUserResponse_1.md new file mode 100644 index 0000000..879a091 --- /dev/null +++ b/docs/Models/GetCommentsForUserResponse_1.md @@ -0,0 +1,17 @@ +# GetCommentsForUserResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **moderatingTenantIds** | **List** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentsPublicResponse.md b/docs/Models/GetCommentsPublicResponse.md new file mode 100644 index 0000000..0657042 --- /dev/null +++ b/docs/Models/GetCommentsPublicResponse.md @@ -0,0 +1,39 @@ +# GetCommentsPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **statusCode** | **Integer** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **translatedWarning** | **String** | | [optional] [default to null] | +| **comments** | [**List**](PublicComment.md) | | [optional] [default to null] | +| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | +| **urlIdClean** | **String** | | [optional] [default to null] | +| **lastGenDate** | **Long** | | [optional] [default to null] | +| **includesPastPages** | **Boolean** | | [optional] [default to null] | +| **isDemo** | **Boolean** | | [optional] [default to null] | +| **commentCount** | **Integer** | | [optional] [default to null] | +| **isSiteAdmin** | **Boolean** | | [optional] [default to null] | +| **hasBillingIssue** | **Boolean** | | [optional] [default to null] | +| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **pageNumber** | **Integer** | | [optional] [default to null] | +| **isWhiteLabeled** | **Boolean** | | [optional] [default to null] | +| **isProd** | **Boolean** | | [optional] [default to null] | +| **isCrawler** | **Boolean** | | [optional] [default to null] | +| **notificationCount** | **Integer** | | [optional] [default to null] | +| **hasMore** | **Boolean** | | [optional] [default to null] | +| **isClosed** | **Boolean** | | [optional] [default to null] | +| **presencePollState** | **Integer** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | +| **urlIdWS** | **String** | | [optional] [default to null] | +| **userIdWS** | **String** | | [optional] [default to null] | +| **tenantIdWS** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCommentsResponse.md b/docs/Models/GetCommentsResponse.md new file mode 100644 index 0000000..262b9fb --- /dev/null +++ b/docs/Models/GetCommentsResponse.md @@ -0,0 +1,17 @@ +# GetCommentsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **comments** | [**List**](APIComment.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCountResponse.md b/docs/Models/GetCountResponse.md new file mode 100644 index 0000000..db13f77 --- /dev/null +++ b/docs/Models/GetCountResponse.md @@ -0,0 +1,17 @@ +# GetCountResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **count** | **Double** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetCountsResponse.md b/docs/Models/GetCountsResponse.md new file mode 100644 index 0000000..e3ec750 --- /dev/null +++ b/docs/Models/GetCountsResponse.md @@ -0,0 +1,17 @@ +# GetCountsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **totalCount** | **Double** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetEmailTemplateDefinitionsResponse_1.md b/docs/Models/GetEmailTemplateDefinitionsResponse_1.md new file mode 100644 index 0000000..24ea893 --- /dev/null +++ b/docs/Models/GetEmailTemplateDefinitionsResponse_1.md @@ -0,0 +1,17 @@ +# GetEmailTemplateDefinitionsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **definitions** | [**List**](EmailTemplateDefinition.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md b/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md new file mode 100644 index 0000000..d2c122c --- /dev/null +++ b/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md @@ -0,0 +1,17 @@ +# GetEmailTemplateRenderErrorsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **renderErrors** | [**List**](EmailTemplateRenderErrorResponse.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetEmailTemplateResponse_1.md b/docs/Models/GetEmailTemplateResponse_1.md new file mode 100644 index 0000000..e23df48 --- /dev/null +++ b/docs/Models/GetEmailTemplateResponse_1.md @@ -0,0 +1,17 @@ +# GetEmailTemplateResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetEmailTemplatesResponse_1.md b/docs/Models/GetEmailTemplatesResponse_1.md new file mode 100644 index 0000000..961d2f9 --- /dev/null +++ b/docs/Models/GetEmailTemplatesResponse_1.md @@ -0,0 +1,17 @@ +# GetEmailTemplatesResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **emailTemplates** | [**List**](CustomEmailTemplate.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetEventLogResponse_1.md b/docs/Models/GetEventLogResponse_1.md new file mode 100644 index 0000000..7411d08 --- /dev/null +++ b/docs/Models/GetEventLogResponse_1.md @@ -0,0 +1,17 @@ +# GetEventLogResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **events** | [**List**](EventLogEntry.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetFeedPostsPublicResponse.md b/docs/Models/GetFeedPostsPublicResponse.md new file mode 100644 index 0000000..4cf549f --- /dev/null +++ b/docs/Models/GetFeedPostsPublicResponse.md @@ -0,0 +1,22 @@ +# GetFeedPostsPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **myReacts** | [**Map**](map.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **feedPosts** | [**List**](FeedPost.md) | | [optional] [default to null] | +| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | +| **urlIdWS** | **String** | | [optional] [default to null] | +| **userIdWS** | **String** | | [optional] [default to null] | +| **tenantIdWS** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetFeedPostsResponse_1.md b/docs/Models/GetFeedPostsResponse_1.md new file mode 100644 index 0000000..f0f7bc2 --- /dev/null +++ b/docs/Models/GetFeedPostsResponse_1.md @@ -0,0 +1,17 @@ +# GetFeedPostsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **feedPosts** | [**List**](FeedPost.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetFeedPostsStatsResponse.md b/docs/Models/GetFeedPostsStatsResponse.md new file mode 100644 index 0000000..8ceddc2 --- /dev/null +++ b/docs/Models/GetFeedPostsStatsResponse.md @@ -0,0 +1,17 @@ +# GetFeedPostsStatsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **stats** | [**Map**](FeedPostStats.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetGifLargeResponse.md b/docs/Models/GetGifLargeResponse.md new file mode 100644 index 0000000..676f506 --- /dev/null +++ b/docs/Models/GetGifLargeResponse.md @@ -0,0 +1,17 @@ +# GetGifLargeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **src** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetGifsSearchResponse.md b/docs/Models/GetGifsSearchResponse.md index 45eb9c8..56ca9bb 100644 --- a/docs/Models/GetGifsSearchResponse.md +++ b/docs/Models/GetGifsSearchResponse.md @@ -6,6 +6,12 @@ | **images** | [**List**](array.md) | | [optional] [default to null] | | **status** | [**APIStatus**](APIStatus.md) | | [default to null] | | **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/GetGlobalEventLogResponse.md b/docs/Models/GetGlobalEventLogResponse.md new file mode 100644 index 0000000..bcc8fb6 --- /dev/null +++ b/docs/Models/GetGlobalEventLogResponse.md @@ -0,0 +1,17 @@ +# GetGlobalEventLogResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **events** | [**List**](EventLogEntry.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetHashTagsResponse_1.md b/docs/Models/GetHashTagsResponse_1.md new file mode 100644 index 0000000..10e6433 --- /dev/null +++ b/docs/Models/GetHashTagsResponse_1.md @@ -0,0 +1,17 @@ +# GetHashTagsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **hashTags** | [**List**](TenantHashTag.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetLogsResponse.md b/docs/Models/GetLogsResponse.md new file mode 100644 index 0000000..b346474 --- /dev/null +++ b/docs/Models/GetLogsResponse.md @@ -0,0 +1,17 @@ +# GetLogsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **logs** | [**List**](ModerationAPICommentLog.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetManualBadgesForUserResponse.md b/docs/Models/GetManualBadgesForUserResponse.md new file mode 100644 index 0000000..418db09 --- /dev/null +++ b/docs/Models/GetManualBadgesForUserResponse.md @@ -0,0 +1,17 @@ +# GetManualBadgesForUserResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **badges** | [**List**](UserBadge.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetManualBadgesResponse.md b/docs/Models/GetManualBadgesResponse.md new file mode 100644 index 0000000..f18199b --- /dev/null +++ b/docs/Models/GetManualBadgesResponse.md @@ -0,0 +1,17 @@ +# GetManualBadgesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **badges** | [**List**](TenantBadge.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetModerationCommentResponse.md b/docs/Models/GetModerationCommentResponse.md new file mode 100644 index 0000000..0b3f498 --- /dev/null +++ b/docs/Models/GetModerationCommentResponse.md @@ -0,0 +1,17 @@ +# GetModerationCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetModerationCommentTextResponse.md b/docs/Models/GetModerationCommentTextResponse.md new file mode 100644 index 0000000..08806e8 --- /dev/null +++ b/docs/Models/GetModerationCommentTextResponse.md @@ -0,0 +1,17 @@ +# GetModerationCommentTextResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comment** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetModeratorResponse_1.md b/docs/Models/GetModeratorResponse_1.md new file mode 100644 index 0000000..8045b77 --- /dev/null +++ b/docs/Models/GetModeratorResponse_1.md @@ -0,0 +1,17 @@ +# GetModeratorResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **moderator** | [**Moderator**](Moderator.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetModeratorsResponse_1.md b/docs/Models/GetModeratorsResponse_1.md new file mode 100644 index 0000000..159a4df --- /dev/null +++ b/docs/Models/GetModeratorsResponse_1.md @@ -0,0 +1,17 @@ +# GetModeratorsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **moderators** | [**List**](Moderator.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetNotificationCountResponse_1.md b/docs/Models/GetNotificationCountResponse_1.md new file mode 100644 index 0000000..45f5d87 --- /dev/null +++ b/docs/Models/GetNotificationCountResponse_1.md @@ -0,0 +1,17 @@ +# GetNotificationCountResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **count** | **Double** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetNotificationsResponse_1.md b/docs/Models/GetNotificationsResponse_1.md new file mode 100644 index 0000000..6535fa1 --- /dev/null +++ b/docs/Models/GetNotificationsResponse_1.md @@ -0,0 +1,17 @@ +# GetNotificationsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **notifications** | [**List**](UserNotification.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetOfflineUsersResponse.md b/docs/Models/GetOfflineUsersResponse.md new file mode 100644 index 0000000..24ba65a --- /dev/null +++ b/docs/Models/GetOfflineUsersResponse.md @@ -0,0 +1,19 @@ +# GetOfflineUsersResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **nextAfterUserId** | **String** | | [optional] [default to null] | +| **nextAfterName** | **String** | | [optional] [default to null] | +| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetOnlineUsersResponse.md b/docs/Models/GetOnlineUsersResponse.md new file mode 100644 index 0000000..ad01243 --- /dev/null +++ b/docs/Models/GetOnlineUsersResponse.md @@ -0,0 +1,21 @@ +# GetOnlineUsersResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **nextAfterUserId** | **String** | | [optional] [default to null] | +| **nextAfterName** | **String** | | [optional] [default to null] | +| **totalCount** | **Double** | | [optional] [default to null] | +| **anonCount** | **Double** | | [optional] [default to null] | +| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetPagesPublicResponse.md b/docs/Models/GetPagesPublicResponse.md new file mode 100644 index 0000000..0d97d06 --- /dev/null +++ b/docs/Models/GetPagesPublicResponse.md @@ -0,0 +1,18 @@ +# GetPagesPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **nextCursor** | **String** | | [optional] [default to null] | +| **pages** | [**List**](PublicPage.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetPendingWebhookEventCountResponse_1.md b/docs/Models/GetPendingWebhookEventCountResponse_1.md new file mode 100644 index 0000000..a1e6504 --- /dev/null +++ b/docs/Models/GetPendingWebhookEventCountResponse_1.md @@ -0,0 +1,17 @@ +# GetPendingWebhookEventCountResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **count** | **Double** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetPendingWebhookEventsResponse_1.md b/docs/Models/GetPendingWebhookEventsResponse_1.md new file mode 100644 index 0000000..eaf8072 --- /dev/null +++ b/docs/Models/GetPendingWebhookEventsResponse_1.md @@ -0,0 +1,17 @@ +# GetPendingWebhookEventsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **pendingWebhookEvents** | [**List**](PendingCommentToSyncOutbound.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetPreBanSummaryResponse.md b/docs/Models/GetPreBanSummaryResponse.md new file mode 100644 index 0000000..c460256 --- /dev/null +++ b/docs/Models/GetPreBanSummaryResponse.md @@ -0,0 +1,18 @@ +# GetPreBanSummaryResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **usernames** | **List** | | [optional] [default to null] | +| **count** | **Double** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetQuestionConfigResponse_1.md b/docs/Models/GetQuestionConfigResponse_1.md new file mode 100644 index 0000000..6b2d654 --- /dev/null +++ b/docs/Models/GetQuestionConfigResponse_1.md @@ -0,0 +1,17 @@ +# GetQuestionConfigResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetQuestionConfigsResponse_1.md b/docs/Models/GetQuestionConfigsResponse_1.md new file mode 100644 index 0000000..f2a9112 --- /dev/null +++ b/docs/Models/GetQuestionConfigsResponse_1.md @@ -0,0 +1,17 @@ +# GetQuestionConfigsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionConfigs** | [**List**](QuestionConfig.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetQuestionResultResponse_1.md b/docs/Models/GetQuestionResultResponse_1.md new file mode 100644 index 0000000..c0da0b8 --- /dev/null +++ b/docs/Models/GetQuestionResultResponse_1.md @@ -0,0 +1,17 @@ +# GetQuestionResultResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetQuestionResultsResponse_1.md b/docs/Models/GetQuestionResultsResponse_1.md new file mode 100644 index 0000000..837bade --- /dev/null +++ b/docs/Models/GetQuestionResultsResponse_1.md @@ -0,0 +1,17 @@ +# GetQuestionResultsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **questionResults** | [**List**](QuestionResult.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetSearchCommentsSummaryResponse.md b/docs/Models/GetSearchCommentsSummaryResponse.md new file mode 100644 index 0000000..7ffe955 --- /dev/null +++ b/docs/Models/GetSearchCommentsSummaryResponse.md @@ -0,0 +1,17 @@ +# GetSearchCommentsSummaryResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commentCount** | **Integer** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetSearchPagesResponse.md b/docs/Models/GetSearchPagesResponse.md new file mode 100644 index 0000000..1ebc58b --- /dev/null +++ b/docs/Models/GetSearchPagesResponse.md @@ -0,0 +1,17 @@ +# GetSearchPagesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **pages** | [**List**](ModerationPageSearchProjected.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetSearchSitesResponse.md b/docs/Models/GetSearchSitesResponse.md new file mode 100644 index 0000000..c5e8a42 --- /dev/null +++ b/docs/Models/GetSearchSitesResponse.md @@ -0,0 +1,17 @@ +# GetSearchSitesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **sites** | [**List**](ModerationSiteSearchProjected.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetSearchSuggestResponse.md b/docs/Models/GetSearchSuggestResponse.md new file mode 100644 index 0000000..9edca73 --- /dev/null +++ b/docs/Models/GetSearchSuggestResponse.md @@ -0,0 +1,18 @@ +# GetSearchSuggestResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **pages** | [**List**](ModerationPageSearchProjected.md) | | [optional] [default to null] | +| **users** | [**List**](ModerationUserSearchProjected.md) | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetSearchUsersResponse.md b/docs/Models/GetSearchUsersResponse.md new file mode 100644 index 0000000..7b3ce71 --- /dev/null +++ b/docs/Models/GetSearchUsersResponse.md @@ -0,0 +1,17 @@ +# GetSearchUsersResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **users** | [**List**](ModerationUserSearchProjected.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantDailyUsagesResponse_1.md b/docs/Models/GetTenantDailyUsagesResponse_1.md new file mode 100644 index 0000000..d9b2fbe --- /dev/null +++ b/docs/Models/GetTenantDailyUsagesResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantDailyUsagesResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantDailyUsages** | [**List**](APITenantDailyUsage.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantPackageResponse_1.md b/docs/Models/GetTenantPackageResponse_1.md new file mode 100644 index 0000000..49f0540 --- /dev/null +++ b/docs/Models/GetTenantPackageResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantPackageResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantPackagesResponse_1.md b/docs/Models/GetTenantPackagesResponse_1.md new file mode 100644 index 0000000..7ea2809 --- /dev/null +++ b/docs/Models/GetTenantPackagesResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantPackagesResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantPackages** | [**List**](TenantPackage.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantResponse_1.md b/docs/Models/GetTenantResponse_1.md new file mode 100644 index 0000000..802eb10 --- /dev/null +++ b/docs/Models/GetTenantResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenant** | [**APITenant**](APITenant.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantUserResponse_1.md b/docs/Models/GetTenantUserResponse_1.md new file mode 100644 index 0000000..93365c1 --- /dev/null +++ b/docs/Models/GetTenantUserResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantUserResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantUser** | [**User**](User.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantUsersResponse_1.md b/docs/Models/GetTenantUsersResponse_1.md new file mode 100644 index 0000000..163c4ab --- /dev/null +++ b/docs/Models/GetTenantUsersResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantUsersResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenantUsers** | [**List**](User.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTenantsResponse_1.md b/docs/Models/GetTenantsResponse_1.md new file mode 100644 index 0000000..dc29c90 --- /dev/null +++ b/docs/Models/GetTenantsResponse_1.md @@ -0,0 +1,17 @@ +# GetTenantsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tenants** | [**List**](APITenant.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTicketResponse_1.md b/docs/Models/GetTicketResponse_1.md new file mode 100644 index 0000000..2ebb945 --- /dev/null +++ b/docs/Models/GetTicketResponse_1.md @@ -0,0 +1,18 @@ +# GetTicketResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **ticket** | [**APITicketDetail**](APITicketDetail.md) | | [optional] [default to null] | +| **availableStates** | **List** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTicketsResponse_1.md b/docs/Models/GetTicketsResponse_1.md new file mode 100644 index 0000000..370dfaf --- /dev/null +++ b/docs/Models/GetTicketsResponse_1.md @@ -0,0 +1,17 @@ +# GetTicketsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **tickets** | [**List**](APITicket.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTranslationsResponse_1.md b/docs/Models/GetTranslationsResponse_1.md new file mode 100644 index 0000000..298ccf2 --- /dev/null +++ b/docs/Models/GetTranslationsResponse_1.md @@ -0,0 +1,17 @@ +# GetTranslationsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **translations** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetTrustFactorResponse.md b/docs/Models/GetTrustFactorResponse.md new file mode 100644 index 0000000..a719cec --- /dev/null +++ b/docs/Models/GetTrustFactorResponse.md @@ -0,0 +1,18 @@ +# GetTrustFactorResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **manualTrustFactor** | **Double** | | [optional] [default to null] | +| **autoTrustFactor** | **Double** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBadgeProgressByIdResponse.md b/docs/Models/GetUserBadgeProgressByIdResponse.md new file mode 100644 index 0000000..d921640 --- /dev/null +++ b/docs/Models/GetUserBadgeProgressByIdResponse.md @@ -0,0 +1,17 @@ +# GetUserBadgeProgressByIdResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBadgeProgressByUserIdResponse.md b/docs/Models/GetUserBadgeProgressByUserIdResponse.md new file mode 100644 index 0000000..71b7569 --- /dev/null +++ b/docs/Models/GetUserBadgeProgressByUserIdResponse.md @@ -0,0 +1,17 @@ +# GetUserBadgeProgressByUserIdResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBadgeProgressListResponse.md b/docs/Models/GetUserBadgeProgressListResponse.md new file mode 100644 index 0000000..7c52f15 --- /dev/null +++ b/docs/Models/GetUserBadgeProgressListResponse.md @@ -0,0 +1,17 @@ +# GetUserBadgeProgressListResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadgeProgresses** | [**List**](UserBadgeProgress.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBadgeResponse.md b/docs/Models/GetUserBadgeResponse.md new file mode 100644 index 0000000..3bb6016 --- /dev/null +++ b/docs/Models/GetUserBadgeResponse.md @@ -0,0 +1,17 @@ +# GetUserBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadge** | [**UserBadge**](UserBadge.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBadgesResponse.md b/docs/Models/GetUserBadgesResponse.md new file mode 100644 index 0000000..9c38f0e --- /dev/null +++ b/docs/Models/GetUserBadgesResponse.md @@ -0,0 +1,17 @@ +# GetUserBadgesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userBadges** | [**List**](UserBadge.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserBanPreferenceResponse.md b/docs/Models/GetUserBanPreferenceResponse.md new file mode 100644 index 0000000..981d6a8 --- /dev/null +++ b/docs/Models/GetUserBanPreferenceResponse.md @@ -0,0 +1,17 @@ +# GetUserBanPreferenceResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **preferences** | [**APIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserInternalProfileResponse_1.md b/docs/Models/GetUserInternalProfileResponse_1.md new file mode 100644 index 0000000..736ba8d --- /dev/null +++ b/docs/Models/GetUserInternalProfileResponse_1.md @@ -0,0 +1,17 @@ +# GetUserInternalProfileResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **profile** | [**GetUserInternalProfileResponse_profile**](GetUserInternalProfileResponse_profile.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserNotificationCountResponse_1.md b/docs/Models/GetUserNotificationCountResponse_1.md new file mode 100644 index 0000000..bf70f6f --- /dev/null +++ b/docs/Models/GetUserNotificationCountResponse_1.md @@ -0,0 +1,17 @@ +# GetUserNotificationCountResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **count** | **Long** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserNotificationsResponse.md b/docs/Models/GetUserNotificationsResponse.md new file mode 100644 index 0000000..230f3ad --- /dev/null +++ b/docs/Models/GetUserNotificationsResponse.md @@ -0,0 +1,20 @@ +# GetUserNotificationsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **translations** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **isSubscribed** | **Boolean** | | [optional] [default to null] | +| **hasMore** | **Boolean** | | [optional] [default to null] | +| **notifications** | [**List**](RenderableUserNotification.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserPresenceStatusesResponse_1.md b/docs/Models/GetUserPresenceStatusesResponse_1.md new file mode 100644 index 0000000..cfe5120 --- /dev/null +++ b/docs/Models/GetUserPresenceStatusesResponse_1.md @@ -0,0 +1,17 @@ +# GetUserPresenceStatusesResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **userIdsOnline** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserReactsPublicResponse.md b/docs/Models/GetUserReactsPublicResponse.md new file mode 100644 index 0000000..5f8ebaa --- /dev/null +++ b/docs/Models/GetUserReactsPublicResponse.md @@ -0,0 +1,17 @@ +# GetUserReactsPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reacts** | [**Map**](map.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUserResponse_1.md b/docs/Models/GetUserResponse_1.md new file mode 100644 index 0000000..da84983 --- /dev/null +++ b/docs/Models/GetUserResponse_1.md @@ -0,0 +1,17 @@ +# GetUserResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetUsersInfoResponse.md b/docs/Models/GetUsersInfoResponse.md new file mode 100644 index 0000000..70e7594 --- /dev/null +++ b/docs/Models/GetUsersInfoResponse.md @@ -0,0 +1,17 @@ +# GetUsersInfoResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetV1PageLikesResponse.md b/docs/Models/GetV1PageLikesResponse.md new file mode 100644 index 0000000..360d7df --- /dev/null +++ b/docs/Models/GetV1PageLikesResponse.md @@ -0,0 +1,20 @@ +# GetV1PageLikesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **urlIdWS** | **String** | | [optional] [default to null] | +| **didLike** | **Boolean** | | [optional] [default to null] | +| **commentCount** | **Integer** | | [optional] [default to null] | +| **likeCount** | **Integer** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetV2PageReactUsersResponse_1.md b/docs/Models/GetV2PageReactUsersResponse_1.md new file mode 100644 index 0000000..cca0e86 --- /dev/null +++ b/docs/Models/GetV2PageReactUsersResponse_1.md @@ -0,0 +1,17 @@ +# GetV2PageReactUsersResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **userNames** | **List** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetV2PageReactsResponse.md b/docs/Models/GetV2PageReactsResponse.md new file mode 100644 index 0000000..32f603e --- /dev/null +++ b/docs/Models/GetV2PageReactsResponse.md @@ -0,0 +1,18 @@ +# GetV2PageReactsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **reactedIds** | **List** | | [optional] [default to null] | +| **counts** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetVotesForUserResponse_1.md b/docs/Models/GetVotesForUserResponse_1.md new file mode 100644 index 0000000..081cd68 --- /dev/null +++ b/docs/Models/GetVotesForUserResponse_1.md @@ -0,0 +1,19 @@ +# GetVotesForUserResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **appliedAuthorizedVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **appliedAnonymousVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **pendingVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/GetVotesResponse_1.md b/docs/Models/GetVotesResponse_1.md new file mode 100644 index 0000000..28a9bfd --- /dev/null +++ b/docs/Models/GetVotesResponse_1.md @@ -0,0 +1,19 @@ +# GetVotesResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **appliedAuthorizedVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **appliedAnonymousVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **pendingVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/LockCommentResponse.md b/docs/Models/LockCommentResponse.md new file mode 100644 index 0000000..1a53f3a --- /dev/null +++ b/docs/Models/LockCommentResponse.md @@ -0,0 +1,16 @@ +# LockCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PatchHashTagResponse.md b/docs/Models/PatchHashTagResponse.md new file mode 100644 index 0000000..47d1947 --- /dev/null +++ b/docs/Models/PatchHashTagResponse.md @@ -0,0 +1,17 @@ +# PatchHashTagResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PinCommentResponse.md b/docs/Models/PinCommentResponse.md new file mode 100644 index 0000000..146969b --- /dev/null +++ b/docs/Models/PinCommentResponse.md @@ -0,0 +1,17 @@ +# PinCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commentPositions** | [**Map**](Record_string__before_string_or_null__after_string_or_null___value.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostAdjustCommentVotesResponse.md b/docs/Models/PostAdjustCommentVotesResponse.md new file mode 100644 index 0000000..5c1c94e --- /dev/null +++ b/docs/Models/PostAdjustCommentVotesResponse.md @@ -0,0 +1,17 @@ +# PostAdjustCommentVotesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **newCommentVotes** | **Integer** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostApiExportResponse.md b/docs/Models/PostApiExportResponse.md new file mode 100644 index 0000000..bdf0e91 --- /dev/null +++ b/docs/Models/PostApiExportResponse.md @@ -0,0 +1,17 @@ +# PostApiExportResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **batchJobId** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostBanUserFromCommentResponse.md b/docs/Models/PostBanUserFromCommentResponse.md new file mode 100644 index 0000000..b01822f --- /dev/null +++ b/docs/Models/PostBanUserFromCommentResponse.md @@ -0,0 +1,17 @@ +# PostBanUserFromCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **changelog** | [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostBanUserUndoResponse.md b/docs/Models/PostBanUserUndoResponse.md new file mode 100644 index 0000000..79c32d5 --- /dev/null +++ b/docs/Models/PostBanUserUndoResponse.md @@ -0,0 +1,16 @@ +# PostBanUserUndoResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostBulkPreBanSummaryResponse.md b/docs/Models/PostBulkPreBanSummaryResponse.md new file mode 100644 index 0000000..0c00f08 --- /dev/null +++ b/docs/Models/PostBulkPreBanSummaryResponse.md @@ -0,0 +1,21 @@ +# PostBulkPreBanSummaryResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **totalRelatedCommentCount** | **Integer** | | [optional] [default to null] | +| **emailDomains** | **List** | | [optional] [default to null] | +| **emails** | **List** | | [optional] [default to null] | +| **userIds** | **List** | | [optional] [default to null] | +| **ipHashes** | **List** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostCommentsByIdsResponse.md b/docs/Models/PostCommentsByIdsResponse.md new file mode 100644 index 0000000..fb83524 --- /dev/null +++ b/docs/Models/PostCommentsByIdsResponse.md @@ -0,0 +1,17 @@ +# PostCommentsByIdsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostFlagCommentResponse.md b/docs/Models/PostFlagCommentResponse.md new file mode 100644 index 0000000..ff5b350 --- /dev/null +++ b/docs/Models/PostFlagCommentResponse.md @@ -0,0 +1,16 @@ +# PostFlagCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostRemoveCommentResponse.md b/docs/Models/PostRemoveCommentResponse.md index 057e54b..379a12b 100644 --- a/docs/Models/PostRemoveCommentResponse.md +++ b/docs/Models/PostRemoveCommentResponse.md @@ -3,8 +3,15 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -| **action** | **String** | | [default to null] | -| **status** | **String** | | [default to null] | +| **action** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/PostRestoreDeletedCommentResponse.md b/docs/Models/PostRestoreDeletedCommentResponse.md new file mode 100644 index 0000000..d73a7d9 --- /dev/null +++ b/docs/Models/PostRestoreDeletedCommentResponse.md @@ -0,0 +1,16 @@ +# PostRestoreDeletedCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostSetCommentApprovalStatusResponse.md b/docs/Models/PostSetCommentApprovalStatusResponse.md new file mode 100644 index 0000000..5481ee0 --- /dev/null +++ b/docs/Models/PostSetCommentApprovalStatusResponse.md @@ -0,0 +1,17 @@ +# PostSetCommentApprovalStatusResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **didResetFlaggedCount** | **Boolean** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostSetCommentReviewStatusResponse.md b/docs/Models/PostSetCommentReviewStatusResponse.md new file mode 100644 index 0000000..38d0a3d --- /dev/null +++ b/docs/Models/PostSetCommentReviewStatusResponse.md @@ -0,0 +1,16 @@ +# PostSetCommentReviewStatusResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostSetCommentSpamStatusResponse.md b/docs/Models/PostSetCommentSpamStatusResponse.md new file mode 100644 index 0000000..1bba478 --- /dev/null +++ b/docs/Models/PostSetCommentSpamStatusResponse.md @@ -0,0 +1,16 @@ +# PostSetCommentSpamStatusResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostSetCommentTextResponse.md b/docs/Models/PostSetCommentTextResponse.md new file mode 100644 index 0000000..fece5a2 --- /dev/null +++ b/docs/Models/PostSetCommentTextResponse.md @@ -0,0 +1,17 @@ +# PostSetCommentTextResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **newCommentTextHTML** | **String** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostUnFlagCommentResponse.md b/docs/Models/PostUnFlagCommentResponse.md new file mode 100644 index 0000000..ad3ca80 --- /dev/null +++ b/docs/Models/PostUnFlagCommentResponse.md @@ -0,0 +1,16 @@ +# PostUnFlagCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PostVoteResponse.md b/docs/Models/PostVoteResponse.md new file mode 100644 index 0000000..58d945e --- /dev/null +++ b/docs/Models/PostVoteResponse.md @@ -0,0 +1,20 @@ +# PostVoteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **voteId** | **String** | | [optional] [default to null] | +| **isVerified** | **Boolean** | | [optional] [default to null] | +| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | +| **editKey** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PutAwardBadgeResponse.md b/docs/Models/PutAwardBadgeResponse.md new file mode 100644 index 0000000..8e8f77d --- /dev/null +++ b/docs/Models/PutAwardBadgeResponse.md @@ -0,0 +1,18 @@ +# PutAwardBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **notes** | **List** | | [optional] [default to null] | +| **badges** | [**List**](CommentUserBadgeInfo.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PutCloseThreadResponse.md b/docs/Models/PutCloseThreadResponse.md new file mode 100644 index 0000000..970c311 --- /dev/null +++ b/docs/Models/PutCloseThreadResponse.md @@ -0,0 +1,16 @@ +# PutCloseThreadResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PutRemoveBadgeResponse.md b/docs/Models/PutRemoveBadgeResponse.md new file mode 100644 index 0000000..2b87a74 --- /dev/null +++ b/docs/Models/PutRemoveBadgeResponse.md @@ -0,0 +1,17 @@ +# PutRemoveBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **badges** | [**List**](CommentUserBadgeInfo.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/PutReopenThreadResponse.md b/docs/Models/PutReopenThreadResponse.md new file mode 100644 index 0000000..2279b4c --- /dev/null +++ b/docs/Models/PutReopenThreadResponse.md @@ -0,0 +1,16 @@ +# PutReopenThreadResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ReactFeedPostPublicResponse.md b/docs/Models/ReactFeedPostPublicResponse.md new file mode 100644 index 0000000..1f4ecb7 --- /dev/null +++ b/docs/Models/ReactFeedPostPublicResponse.md @@ -0,0 +1,18 @@ +# ReactFeedPostPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reactType** | **String** | | [optional] [default to null] | +| **isUndo** | **Boolean** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/RenderEmailTemplateResponse_1.md b/docs/Models/RenderEmailTemplateResponse_1.md new file mode 100644 index 0000000..10f4875 --- /dev/null +++ b/docs/Models/RenderEmailTemplateResponse_1.md @@ -0,0 +1,17 @@ +# RenderEmailTemplateResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **html** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ReplaceTenantPackageResponse.md b/docs/Models/ReplaceTenantPackageResponse.md new file mode 100644 index 0000000..ba244df --- /dev/null +++ b/docs/Models/ReplaceTenantPackageResponse.md @@ -0,0 +1,16 @@ +# ReplaceTenantPackageResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ReplaceTenantUserResponse.md b/docs/Models/ReplaceTenantUserResponse.md new file mode 100644 index 0000000..7558de7 --- /dev/null +++ b/docs/Models/ReplaceTenantUserResponse.md @@ -0,0 +1,16 @@ +# ReplaceTenantUserResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ResetUserNotificationCountResponse.md b/docs/Models/ResetUserNotificationCountResponse.md new file mode 100644 index 0000000..78145d1 --- /dev/null +++ b/docs/Models/ResetUserNotificationCountResponse.md @@ -0,0 +1,16 @@ +# ResetUserNotificationCountResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/ResetUserNotificationsResponse_1.md b/docs/Models/ResetUserNotificationsResponse_1.md new file mode 100644 index 0000000..705c306 --- /dev/null +++ b/docs/Models/ResetUserNotificationsResponse_1.md @@ -0,0 +1,16 @@ +# ResetUserNotificationsResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SaveCommentResponse.md b/docs/Models/SaveCommentResponse.md new file mode 100644 index 0000000..91b75c5 --- /dev/null +++ b/docs/Models/SaveCommentResponse.md @@ -0,0 +1,19 @@ +# SaveCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **comment** | [**APIComment**](APIComment.md) | | [optional] [default to null] | +| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | +| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SearchUsersResponse_1.md b/docs/Models/SearchUsersResponse_1.md new file mode 100644 index 0000000..536c764 --- /dev/null +++ b/docs/Models/SearchUsersResponse_1.md @@ -0,0 +1,18 @@ +# SearchUsersResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **sections** | [**List**](UserSearchSectionResult.md) | | [optional] [default to null] | +| **users** | [**List**](UserSearchResult.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SendInviteResponse.md b/docs/Models/SendInviteResponse.md new file mode 100644 index 0000000..8535b4a --- /dev/null +++ b/docs/Models/SendInviteResponse.md @@ -0,0 +1,16 @@ +# SendInviteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SendLoginLinkResponse.md b/docs/Models/SendLoginLinkResponse.md new file mode 100644 index 0000000..49126dc --- /dev/null +++ b/docs/Models/SendLoginLinkResponse.md @@ -0,0 +1,16 @@ +# SendLoginLinkResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SetCommentTextResponse_1.md b/docs/Models/SetCommentTextResponse_1.md new file mode 100644 index 0000000..bf34783 --- /dev/null +++ b/docs/Models/SetCommentTextResponse_1.md @@ -0,0 +1,17 @@ +# SetCommentTextResponse_1 +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/SetTrustFactorResponse.md b/docs/Models/SetTrustFactorResponse.md new file mode 100644 index 0000000..08127f5 --- /dev/null +++ b/docs/Models/SetTrustFactorResponse.md @@ -0,0 +1,17 @@ +# SetTrustFactorResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **previousManualTrustFactor** | **Double** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UnBlockCommentPublicResponse.md b/docs/Models/UnBlockCommentPublicResponse.md new file mode 100644 index 0000000..731e1ab --- /dev/null +++ b/docs/Models/UnBlockCommentPublicResponse.md @@ -0,0 +1,17 @@ +# UnBlockCommentPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UnBlockUserFromCommentResponse.md b/docs/Models/UnBlockUserFromCommentResponse.md new file mode 100644 index 0000000..a6b8f10 --- /dev/null +++ b/docs/Models/UnBlockUserFromCommentResponse.md @@ -0,0 +1,17 @@ +# UnBlockUserFromCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UnFlagCommentResponse.md b/docs/Models/UnFlagCommentResponse.md new file mode 100644 index 0000000..da9825c --- /dev/null +++ b/docs/Models/UnFlagCommentResponse.md @@ -0,0 +1,18 @@ +# UnFlagCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **statusCode** | **Integer** | | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **wasUnapproved** | **Boolean** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UnLockCommentResponse.md b/docs/Models/UnLockCommentResponse.md new file mode 100644 index 0000000..e79927c --- /dev/null +++ b/docs/Models/UnLockCommentResponse.md @@ -0,0 +1,16 @@ +# UnLockCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UnPinCommentResponse.md b/docs/Models/UnPinCommentResponse.md new file mode 100644 index 0000000..1cf32b8 --- /dev/null +++ b/docs/Models/UnPinCommentResponse.md @@ -0,0 +1,17 @@ +# UnPinCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commentPositions** | [**Map**](Record_string__before_string_or_null__after_string_or_null___value.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateCommentResponse.md b/docs/Models/UpdateCommentResponse.md new file mode 100644 index 0000000..37172d9 --- /dev/null +++ b/docs/Models/UpdateCommentResponse.md @@ -0,0 +1,16 @@ +# UpdateCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateEmailTemplateResponse.md b/docs/Models/UpdateEmailTemplateResponse.md new file mode 100644 index 0000000..2f591df --- /dev/null +++ b/docs/Models/UpdateEmailTemplateResponse.md @@ -0,0 +1,16 @@ +# UpdateEmailTemplateResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateFeedPostPublicResponse.md b/docs/Models/UpdateFeedPostPublicResponse.md new file mode 100644 index 0000000..5b3184b --- /dev/null +++ b/docs/Models/UpdateFeedPostPublicResponse.md @@ -0,0 +1,17 @@ +# UpdateFeedPostPublicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateFeedPostResponse.md b/docs/Models/UpdateFeedPostResponse.md new file mode 100644 index 0000000..a78db73 --- /dev/null +++ b/docs/Models/UpdateFeedPostResponse.md @@ -0,0 +1,16 @@ +# UpdateFeedPostResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateModeratorResponse.md b/docs/Models/UpdateModeratorResponse.md new file mode 100644 index 0000000..64e742d --- /dev/null +++ b/docs/Models/UpdateModeratorResponse.md @@ -0,0 +1,16 @@ +# UpdateModeratorResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateNotificationResponse.md b/docs/Models/UpdateNotificationResponse.md new file mode 100644 index 0000000..bcc2b3e --- /dev/null +++ b/docs/Models/UpdateNotificationResponse.md @@ -0,0 +1,16 @@ +# UpdateNotificationResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateQuestionConfigResponse.md b/docs/Models/UpdateQuestionConfigResponse.md new file mode 100644 index 0000000..650d5f6 --- /dev/null +++ b/docs/Models/UpdateQuestionConfigResponse.md @@ -0,0 +1,16 @@ +# UpdateQuestionConfigResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateQuestionResultResponse.md b/docs/Models/UpdateQuestionResultResponse.md new file mode 100644 index 0000000..623f64c --- /dev/null +++ b/docs/Models/UpdateQuestionResultResponse.md @@ -0,0 +1,16 @@ +# UpdateQuestionResultResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateTenantPackageResponse.md b/docs/Models/UpdateTenantPackageResponse.md new file mode 100644 index 0000000..3f3b380 --- /dev/null +++ b/docs/Models/UpdateTenantPackageResponse.md @@ -0,0 +1,16 @@ +# UpdateTenantPackageResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateTenantResponse.md b/docs/Models/UpdateTenantResponse.md new file mode 100644 index 0000000..5663363 --- /dev/null +++ b/docs/Models/UpdateTenantResponse.md @@ -0,0 +1,16 @@ +# UpdateTenantResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateTenantUserResponse.md b/docs/Models/UpdateTenantUserResponse.md new file mode 100644 index 0000000..92d8dbc --- /dev/null +++ b/docs/Models/UpdateTenantUserResponse.md @@ -0,0 +1,16 @@ +# UpdateTenantUserResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateUserBadgeResponse.md b/docs/Models/UpdateUserBadgeResponse.md new file mode 100644 index 0000000..4b41be3 --- /dev/null +++ b/docs/Models/UpdateUserBadgeResponse.md @@ -0,0 +1,16 @@ +# UpdateUserBadgeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 43874ef..0a2df28 100644 --- a/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -7,6 +7,13 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md b/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md index 3e93cbd..01d4ed4 100644 --- a/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -7,6 +7,13 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/UpdateUserNotificationStatusResponse.md b/docs/Models/UpdateUserNotificationStatusResponse.md index 8f1a2ce..b0a9e98 100644 --- a/docs/Models/UpdateUserNotificationStatusResponse.md +++ b/docs/Models/UpdateUserNotificationStatusResponse.md @@ -7,6 +7,13 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/VoteCommentResponse.md b/docs/Models/VoteCommentResponse.md new file mode 100644 index 0000000..1933d59 --- /dev/null +++ b/docs/Models/VoteCommentResponse.md @@ -0,0 +1,20 @@ +# VoteCommentResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | +| **voteId** | **String** | | [optional] [default to null] | +| **isVerified** | **Boolean** | | [optional] [default to null] | +| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | +| **editKey** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **code** | **String** | | [optional] [default to null] | +| **secondaryCode** | **String** | | [optional] [default to null] | +| **bannedUntil** | **Long** | | [optional] [default to null] | +| **maxCharacterLength** | **Integer** | | [optional] [default to null] | +| **translatedError** | **String** | | [optional] [default to null] | +| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/README.md b/docs/README.md index c923b37..30eadcf 100644 --- a/docs/README.md +++ b/docs/README.md @@ -256,11 +256,14 @@ All URIs are relative to *https://fastcomments.com* - [AddDomainConfigParams](./Models/AddDomainConfigParams.md) - [AddDomainConfigResponse](./Models/AddDomainConfigResponse.md) - [AddDomainConfigResponse_anyOf](./Models/AddDomainConfigResponse_anyOf.md) + - [AddHashTagResponse](./Models/AddHashTagResponse.md) + - [AddHashTagsBulkResponse](./Models/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](./Models/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](./Models/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](./Models/AdjustCommentVotesParams.md) - [AdjustVotesResponse](./Models/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](./Models/AggregateQuestionResultsResponse.md) + - [AggregateQuestionResultsResponse_1](./Models/AggregateQuestionResultsResponse_1.md) - [AggregateResponse](./Models/AggregateResponse.md) - [AggregateTimeBucket](./Models/AggregateTimeBucket.md) - [AggregationAPIError](./Models/AggregationAPIError.md) @@ -280,12 +283,15 @@ All URIs are relative to *https://fastcomments.com* - [BannedUserMatch_matchedOnValue](./Models/BannedUserMatch_matchedOnValue.md) - [BillingInfo](./Models/BillingInfo.md) - [BlockFromCommentParams](./Models/BlockFromCommentParams.md) + - [BlockFromCommentPublicResponse](./Models/BlockFromCommentPublicResponse.md) - [BlockSuccess](./Models/BlockSuccess.md) + - [BlockUserFromCommentResponse](./Models/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](./Models/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](./Models/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](./Models/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](./Models/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](./Models/BulkAggregateQuestionResultsResponse.md) + - [BulkAggregateQuestionResultsResponse_1](./Models/BulkAggregateQuestionResultsResponse_1.md) - [BulkCreateHashTagsBody](./Models/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBody_tags_inner](./Models/BulkCreateHashTagsBody_tags_inner.md) - [BulkCreateHashTagsResponse](./Models/BulkCreateHashTagsResponse.md) @@ -295,7 +301,10 @@ All URIs are relative to *https://fastcomments.com* - [ChangeCommentPinStatusResponse](./Models/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](./Models/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](./Models/ChangeTicketStateResponse.md) + - [ChangeTicketStateResponse_1](./Models/ChangeTicketStateResponse_1.md) - [CheckBlockedCommentsResponse](./Models/CheckBlockedCommentsResponse.md) + - [CheckedCommentsForBlockedResponse](./Models/CheckedCommentsForBlockedResponse.md) + - [CombineCommentsWithQuestionResultsResponse](./Models/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](./Models/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](./Models/CommentData.md) - [CommentHTMLRenderingMode](./Models/CommentHTMLRenderingMode.md) @@ -315,40 +324,75 @@ All URIs are relative to *https://fastcomments.com* - [CreateAPISSOUserData](./Models/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](./Models/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](./Models/CreateCommentParams.md) + - [CreateCommentPublicResponse](./Models/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](./Models/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](./Models/CreateEmailTemplateResponse.md) + - [CreateEmailTemplateResponse_1](./Models/CreateEmailTemplateResponse_1.md) - [CreateFeedPostParams](./Models/CreateFeedPostParams.md) + - [CreateFeedPostPublicResponse](./Models/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](./Models/CreateFeedPostResponse.md) + - [CreateFeedPostResponse_1](./Models/CreateFeedPostResponse_1.md) - [CreateFeedPostsResponse](./Models/CreateFeedPostsResponse.md) - [CreateHashTagBody](./Models/CreateHashTagBody.md) - [CreateHashTagResponse](./Models/CreateHashTagResponse.md) - [CreateModeratorBody](./Models/CreateModeratorBody.md) - [CreateModeratorResponse](./Models/CreateModeratorResponse.md) + - [CreateModeratorResponse_1](./Models/CreateModeratorResponse_1.md) - [CreateQuestionConfigBody](./Models/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](./Models/CreateQuestionConfigResponse.md) + - [CreateQuestionConfigResponse_1](./Models/CreateQuestionConfigResponse_1.md) - [CreateQuestionResultBody](./Models/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](./Models/CreateQuestionResultResponse.md) + - [CreateQuestionResultResponse_1](./Models/CreateQuestionResultResponse_1.md) - [CreateSubscriptionAPIResponse](./Models/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](./Models/CreateTenantBody.md) - [CreateTenantPackageBody](./Models/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](./Models/CreateTenantPackageResponse.md) + - [CreateTenantPackageResponse_1](./Models/CreateTenantPackageResponse_1.md) - [CreateTenantResponse](./Models/CreateTenantResponse.md) + - [CreateTenantResponse_1](./Models/CreateTenantResponse_1.md) - [CreateTenantUserBody](./Models/CreateTenantUserBody.md) - [CreateTenantUserResponse](./Models/CreateTenantUserResponse.md) + - [CreateTenantUserResponse_1](./Models/CreateTenantUserResponse_1.md) - [CreateTicketBody](./Models/CreateTicketBody.md) - [CreateTicketResponse](./Models/CreateTicketResponse.md) + - [CreateTicketResponse_1](./Models/CreateTicketResponse_1.md) - [CreateUserBadgeParams](./Models/CreateUserBadgeParams.md) + - [CreateUserBadgeResponse](./Models/CreateUserBadgeResponse.md) - [CreateV1PageReact](./Models/CreateV1PageReact.md) + - [CreateV1PageReactResponse](./Models/CreateV1PageReactResponse.md) + - [CreateV2PageReactResponse](./Models/CreateV2PageReactResponse.md) + - [CreateVoteResponse](./Models/CreateVoteResponse.md) - [CustomConfigParameters](./Models/CustomConfigParameters.md) - [CustomEmailTemplate](./Models/CustomEmailTemplate.md) - [DeleteCommentAction](./Models/DeleteCommentAction.md) + - [DeleteCommentPublicResponse](./Models/DeleteCommentPublicResponse.md) + - [DeleteCommentResponse](./Models/DeleteCommentResponse.md) - [DeleteCommentResult](./Models/DeleteCommentResult.md) + - [DeleteCommentVoteResponse](./Models/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](./Models/DeleteDomainConfigResponse.md) + - [DeleteEmailTemplateRenderErrorResponse](./Models/DeleteEmailTemplateRenderErrorResponse.md) + - [DeleteEmailTemplateResponse](./Models/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](./Models/DeleteFeedPostPublicResponse.md) + - [DeleteFeedPostPublicResponse_anyOf](./Models/DeleteFeedPostPublicResponse_anyOf.md) - [DeleteHashTagRequestBody](./Models/DeleteHashTagRequestBody.md) + - [DeleteHashTagResponse](./Models/DeleteHashTagResponse.md) + - [DeleteModerationVoteResponse](./Models/DeleteModerationVoteResponse.md) + - [DeleteModeratorResponse](./Models/DeleteModeratorResponse.md) + - [DeleteNotificationCountResponse](./Models/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](./Models/DeletePageAPIResponse.md) + - [DeletePendingWebhookEventResponse](./Models/DeletePendingWebhookEventResponse.md) + - [DeleteQuestionConfigResponse](./Models/DeleteQuestionConfigResponse.md) + - [DeleteQuestionResultResponse](./Models/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](./Models/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](./Models/DeleteSubscriptionAPIResponse.md) + - [DeleteTenantPackageResponse](./Models/DeleteTenantPackageResponse.md) + - [DeleteTenantResponse](./Models/DeleteTenantResponse.md) + - [DeleteTenantUserResponse](./Models/DeleteTenantUserResponse.md) + - [DeleteUserBadgeResponse](./Models/DeleteUserBadgeResponse.md) + - [DeleteV1PageReactResponse](./Models/DeleteV1PageReactResponse.md) + - [DeleteV2PageReactResponse](./Models/DeleteV2PageReactResponse.md) + - [DeleteVoteResponse](./Models/DeleteVoteResponse.md) - [DeletedCommentResultComment](./Models/DeletedCommentResultComment.md) - [DigestEmailFrequency](./Models/DigestEmailFrequency.md) - [EmailTemplateDefinition](./Models/EmailTemplateDefinition.md) @@ -364,72 +408,154 @@ All URIs are relative to *https://fastcomments.com* - [FeedPostsStatsResponse](./Models/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](./Models/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](./Models/FindCommentsByRangeResponse.md) + - [FlagCommentPublicResponse](./Models/FlagCommentPublicResponse.md) - [FlagCommentResponse](./Models/FlagCommentResponse.md) + - [FlagCommentResponse_1](./Models/FlagCommentResponse_1.md) + - [GetApiCommentsResponse](./Models/GetApiCommentsResponse.md) + - [GetApiExportStatusResponse](./Models/GetApiExportStatusResponse.md) + - [GetApiIdsResponse](./Models/GetApiIdsResponse.md) - [GetAuditLogsResponse](./Models/GetAuditLogsResponse.md) + - [GetAuditLogsResponse_1](./Models/GetAuditLogsResponse_1.md) + - [GetBanUsersFromCommentResponse](./Models/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](./Models/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](./Models/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](./Models/GetCachedNotificationCountResponse.md) + - [GetCachedNotificationCountResponse_1](./Models/GetCachedNotificationCountResponse_1.md) - [GetCommentBanStatusResponse](./Models/GetCommentBanStatusResponse.md) + - [GetCommentBanStatusResponse_1](./Models/GetCommentBanStatusResponse_1.md) + - [GetCommentChildrenResponse](./Models/GetCommentChildrenResponse.md) + - [GetCommentResponse](./Models/GetCommentResponse.md) - [GetCommentTextResponse](./Models/GetCommentTextResponse.md) + - [GetCommentTextResponse_1](./Models/GetCommentTextResponse_1.md) + - [GetCommentVoteUserNamesResponse](./Models/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](./Models/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](./Models/GetCommentsForUserResponse.md) + - [GetCommentsForUserResponse_1](./Models/GetCommentsForUserResponse_1.md) + - [GetCommentsPublicResponse](./Models/GetCommentsPublicResponse.md) + - [GetCommentsResponse](./Models/GetCommentsResponse.md) - [GetCommentsResponseWithPresence_PublicComment_](./Models/GetCommentsResponseWithPresence_PublicComment_.md) - [GetCommentsResponse_PublicComment_](./Models/GetCommentsResponse_PublicComment_.md) + - [GetCountResponse](./Models/GetCountResponse.md) + - [GetCountsResponse](./Models/GetCountsResponse.md) - [GetDomainConfigResponse](./Models/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](./Models/GetDomainConfigsResponse.md) - [GetDomainConfigsResponse_anyOf](./Models/GetDomainConfigsResponse_anyOf.md) - [GetDomainConfigsResponse_anyOf_1](./Models/GetDomainConfigsResponse_anyOf_1.md) - [GetEmailTemplateDefinitionsResponse](./Models/GetEmailTemplateDefinitionsResponse.md) + - [GetEmailTemplateDefinitionsResponse_1](./Models/GetEmailTemplateDefinitionsResponse_1.md) - [GetEmailTemplateRenderErrorsResponse](./Models/GetEmailTemplateRenderErrorsResponse.md) + - [GetEmailTemplateRenderErrorsResponse_1](./Models/GetEmailTemplateRenderErrorsResponse_1.md) - [GetEmailTemplateResponse](./Models/GetEmailTemplateResponse.md) + - [GetEmailTemplateResponse_1](./Models/GetEmailTemplateResponse_1.md) - [GetEmailTemplatesResponse](./Models/GetEmailTemplatesResponse.md) + - [GetEmailTemplatesResponse_1](./Models/GetEmailTemplatesResponse_1.md) - [GetEventLogResponse](./Models/GetEventLogResponse.md) + - [GetEventLogResponse_1](./Models/GetEventLogResponse_1.md) + - [GetFeedPostsPublicResponse](./Models/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](./Models/GetFeedPostsResponse.md) + - [GetFeedPostsResponse_1](./Models/GetFeedPostsResponse_1.md) + - [GetFeedPostsStatsResponse](./Models/GetFeedPostsStatsResponse.md) + - [GetGifLargeResponse](./Models/GetGifLargeResponse.md) - [GetGifsSearchResponse](./Models/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](./Models/GetGifsTrendingResponse.md) + - [GetGlobalEventLogResponse](./Models/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](./Models/GetHashTagsResponse.md) + - [GetHashTagsResponse_1](./Models/GetHashTagsResponse_1.md) + - [GetLogsResponse](./Models/GetLogsResponse.md) + - [GetManualBadgesForUserResponse](./Models/GetManualBadgesForUserResponse.md) + - [GetManualBadgesResponse](./Models/GetManualBadgesResponse.md) + - [GetModerationCommentResponse](./Models/GetModerationCommentResponse.md) + - [GetModerationCommentTextResponse](./Models/GetModerationCommentTextResponse.md) - [GetModeratorResponse](./Models/GetModeratorResponse.md) + - [GetModeratorResponse_1](./Models/GetModeratorResponse_1.md) - [GetModeratorsResponse](./Models/GetModeratorsResponse.md) + - [GetModeratorsResponse_1](./Models/GetModeratorsResponse_1.md) - [GetMyNotificationsResponse](./Models/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](./Models/GetNotificationCountResponse.md) + - [GetNotificationCountResponse_1](./Models/GetNotificationCountResponse_1.md) - [GetNotificationsResponse](./Models/GetNotificationsResponse.md) + - [GetNotificationsResponse_1](./Models/GetNotificationsResponse_1.md) + - [GetOfflineUsersResponse](./Models/GetOfflineUsersResponse.md) + - [GetOnlineUsersResponse](./Models/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](./Models/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](./Models/GetPagesAPIResponse.md) + - [GetPagesPublicResponse](./Models/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](./Models/GetPendingWebhookEventCountResponse.md) + - [GetPendingWebhookEventCountResponse_1](./Models/GetPendingWebhookEventCountResponse_1.md) - [GetPendingWebhookEventsResponse](./Models/GetPendingWebhookEventsResponse.md) + - [GetPendingWebhookEventsResponse_1](./Models/GetPendingWebhookEventsResponse_1.md) + - [GetPreBanSummaryResponse](./Models/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](./Models/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](./Models/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](./Models/GetQuestionConfigResponse.md) + - [GetQuestionConfigResponse_1](./Models/GetQuestionConfigResponse_1.md) - [GetQuestionConfigsResponse](./Models/GetQuestionConfigsResponse.md) + - [GetQuestionConfigsResponse_1](./Models/GetQuestionConfigsResponse_1.md) - [GetQuestionResultResponse](./Models/GetQuestionResultResponse.md) + - [GetQuestionResultResponse_1](./Models/GetQuestionResultResponse_1.md) - [GetQuestionResultsResponse](./Models/GetQuestionResultsResponse.md) + - [GetQuestionResultsResponse_1](./Models/GetQuestionResultsResponse_1.md) - [GetSSOUserByEmailAPIResponse](./Models/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](./Models/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](./Models/GetSSOUsersResponse.md) + - [GetSearchCommentsSummaryResponse](./Models/GetSearchCommentsSummaryResponse.md) + - [GetSearchPagesResponse](./Models/GetSearchPagesResponse.md) + - [GetSearchSitesResponse](./Models/GetSearchSitesResponse.md) + - [GetSearchSuggestResponse](./Models/GetSearchSuggestResponse.md) + - [GetSearchUsersResponse](./Models/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](./Models/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](./Models/GetTenantDailyUsagesResponse.md) + - [GetTenantDailyUsagesResponse_1](./Models/GetTenantDailyUsagesResponse_1.md) - [GetTenantManualBadgesResponse](./Models/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](./Models/GetTenantPackageResponse.md) + - [GetTenantPackageResponse_1](./Models/GetTenantPackageResponse_1.md) - [GetTenantPackagesResponse](./Models/GetTenantPackagesResponse.md) + - [GetTenantPackagesResponse_1](./Models/GetTenantPackagesResponse_1.md) - [GetTenantResponse](./Models/GetTenantResponse.md) + - [GetTenantResponse_1](./Models/GetTenantResponse_1.md) - [GetTenantUserResponse](./Models/GetTenantUserResponse.md) + - [GetTenantUserResponse_1](./Models/GetTenantUserResponse_1.md) - [GetTenantUsersResponse](./Models/GetTenantUsersResponse.md) + - [GetTenantUsersResponse_1](./Models/GetTenantUsersResponse_1.md) - [GetTenantsResponse](./Models/GetTenantsResponse.md) + - [GetTenantsResponse_1](./Models/GetTenantsResponse_1.md) - [GetTicketResponse](./Models/GetTicketResponse.md) + - [GetTicketResponse_1](./Models/GetTicketResponse_1.md) - [GetTicketsResponse](./Models/GetTicketsResponse.md) + - [GetTicketsResponse_1](./Models/GetTicketsResponse_1.md) - [GetTranslationsResponse](./Models/GetTranslationsResponse.md) + - [GetTranslationsResponse_1](./Models/GetTranslationsResponse_1.md) + - [GetTrustFactorResponse](./Models/GetTrustFactorResponse.md) + - [GetUserBadgeProgressByIdResponse](./Models/GetUserBadgeProgressByIdResponse.md) + - [GetUserBadgeProgressByUserIdResponse](./Models/GetUserBadgeProgressByUserIdResponse.md) + - [GetUserBadgeProgressListResponse](./Models/GetUserBadgeProgressListResponse.md) + - [GetUserBadgeResponse](./Models/GetUserBadgeResponse.md) + - [GetUserBadgesResponse](./Models/GetUserBadgesResponse.md) + - [GetUserBanPreferenceResponse](./Models/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](./Models/GetUserInternalProfileResponse.md) + - [GetUserInternalProfileResponse_1](./Models/GetUserInternalProfileResponse_1.md) - [GetUserInternalProfileResponse_profile](./Models/GetUserInternalProfileResponse_profile.md) - [GetUserManualBadgesResponse](./Models/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](./Models/GetUserNotificationCountResponse.md) + - [GetUserNotificationCountResponse_1](./Models/GetUserNotificationCountResponse_1.md) + - [GetUserNotificationsResponse](./Models/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](./Models/GetUserPresenceStatusesResponse.md) + - [GetUserPresenceStatusesResponse_1](./Models/GetUserPresenceStatusesResponse_1.md) + - [GetUserReactsPublicResponse](./Models/GetUserReactsPublicResponse.md) - [GetUserResponse](./Models/GetUserResponse.md) + - [GetUserResponse_1](./Models/GetUserResponse_1.md) - [GetUserTrustFactorResponse](./Models/GetUserTrustFactorResponse.md) + - [GetUsersInfoResponse](./Models/GetUsersInfoResponse.md) - [GetV1PageLikes](./Models/GetV1PageLikes.md) + - [GetV1PageLikesResponse](./Models/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](./Models/GetV2PageReactUsersResponse.md) + - [GetV2PageReactUsersResponse_1](./Models/GetV2PageReactUsersResponse_1.md) - [GetV2PageReacts](./Models/GetV2PageReacts.md) + - [GetV2PageReactsResponse](./Models/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](./Models/GetVotesForUserResponse.md) + - [GetVotesForUserResponse_1](./Models/GetVotesForUserResponse_1.md) - [GetVotesResponse](./Models/GetVotesResponse.md) + - [GetVotesResponse_1](./Models/GetVotesResponse_1.md) - [GifGetLargeResponse](./Models/GifGetLargeResponse.md) - [GifRating](./Models/GifRating.md) - [GifSearchInternalError](./Models/GifSearchInternalError.md) @@ -444,6 +570,7 @@ All URIs are relative to *https://fastcomments.com* - [LiveEvent](./Models/LiveEvent.md) - [LiveEventType](./Models/LiveEventType.md) - [LiveEvent_extraInfo](./Models/LiveEvent_extraInfo.md) + - [LockCommentResponse](./Models/LockCommentResponse.md) - [MediaAsset](./Models/MediaAsset.md) - [MentionAutoCompleteMode](./Models/MentionAutoCompleteMode.md) - [MetaItem](./Models/MetaItem.md) @@ -477,10 +604,26 @@ All URIs are relative to *https://fastcomments.com* - [PagesSortBy](./Models/PagesSortBy.md) - [PatchDomainConfigParams](./Models/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](./Models/PatchDomainConfigResponse.md) + - [PatchHashTagResponse](./Models/PatchHashTagResponse.md) - [PatchPageAPIResponse](./Models/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](./Models/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](./Models/PendingCommentToSyncOutbound.md) + - [PinCommentResponse](./Models/PinCommentResponse.md) + - [PostAdjustCommentVotesResponse](./Models/PostAdjustCommentVotesResponse.md) + - [PostApiExportResponse](./Models/PostApiExportResponse.md) + - [PostBanUserFromCommentResponse](./Models/PostBanUserFromCommentResponse.md) + - [PostBanUserUndoResponse](./Models/PostBanUserUndoResponse.md) + - [PostBulkPreBanSummaryResponse](./Models/PostBulkPreBanSummaryResponse.md) + - [PostCommentsByIdsResponse](./Models/PostCommentsByIdsResponse.md) + - [PostFlagCommentResponse](./Models/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](./Models/PostRemoveCommentResponse.md) + - [PostRestoreDeletedCommentResponse](./Models/PostRestoreDeletedCommentResponse.md) + - [PostSetCommentApprovalStatusResponse](./Models/PostSetCommentApprovalStatusResponse.md) + - [PostSetCommentReviewStatusResponse](./Models/PostSetCommentReviewStatusResponse.md) + - [PostSetCommentSpamStatusResponse](./Models/PostSetCommentSpamStatusResponse.md) + - [PostSetCommentTextResponse](./Models/PostSetCommentTextResponse.md) + - [PostUnFlagCommentResponse](./Models/PostUnFlagCommentResponse.md) + - [PostVoteResponse](./Models/PostVoteResponse.md) - [PreBanSummary](./Models/PreBanSummary.md) - [PubSubComment](./Models/PubSubComment.md) - [PubSubCommentBase](./Models/PubSubCommentBase.md) @@ -494,7 +637,11 @@ All URIs are relative to *https://fastcomments.com* - [PublicFeedPostsResponse](./Models/PublicFeedPostsResponse.md) - [PublicPage](./Models/PublicPage.md) - [PublicVote](./Models/PublicVote.md) + - [PutAwardBadgeResponse](./Models/PutAwardBadgeResponse.md) + - [PutCloseThreadResponse](./Models/PutCloseThreadResponse.md) - [PutDomainConfigResponse](./Models/PutDomainConfigResponse.md) + - [PutRemoveBadgeResponse](./Models/PutRemoveBadgeResponse.md) + - [PutReopenThreadResponse](./Models/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](./Models/PutSSOUserAPIResponse.md) - [QueryPredicate](./Models/QueryPredicate.md) - [QueryPredicate_value](./Models/QueryPredicate_value.md) @@ -507,30 +654,42 @@ All URIs are relative to *https://fastcomments.com* - [QuestionSubQuestionVisibility](./Models/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](./Models/QuestionWhenSave.md) - [ReactBodyParams](./Models/ReactBodyParams.md) + - [ReactFeedPostPublicResponse](./Models/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](./Models/ReactFeedPostResponse.md) - [Record_string__before_string_or_null__after_string_or_null___value](./Models/Record_string__before_string_or_null__after_string_or_null___value.md) - [RemoveCommentActionResponse](./Models/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](./Models/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](./Models/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](./Models/RenderEmailTemplateResponse.md) + - [RenderEmailTemplateResponse_1](./Models/RenderEmailTemplateResponse_1.md) - [RenderableUserNotification](./Models/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](./Models/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](./Models/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](./Models/ReplaceTenantPackageBody.md) + - [ReplaceTenantPackageResponse](./Models/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](./Models/ReplaceTenantUserBody.md) + - [ReplaceTenantUserResponse](./Models/ReplaceTenantUserResponse.md) + - [ResetUserNotificationCountResponse](./Models/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](./Models/ResetUserNotificationsResponse.md) + - [ResetUserNotificationsResponse_1](./Models/ResetUserNotificationsResponse_1.md) - [SORT_DIR](./Models/SORT_DIR.md) - [SSOSecurityLevel](./Models/SSOSecurityLevel.md) + - [SaveCommentResponse](./Models/SaveCommentResponse.md) - [SaveCommentResponseOptimized](./Models/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](./Models/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](./Models/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](./Models/SearchUsersResponse.md) + - [SearchUsersResponse_1](./Models/SearchUsersResponse_1.md) - [SearchUsersResult](./Models/SearchUsersResult.md) - [SearchUsersSectionedResponse](./Models/SearchUsersSectionedResponse.md) + - [SendInviteResponse](./Models/SendInviteResponse.md) + - [SendLoginLinkResponse](./Models/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](./Models/SetCommentApprovedResponse.md) - [SetCommentTextParams](./Models/SetCommentTextParams.md) - [SetCommentTextResponse](./Models/SetCommentTextResponse.md) + - [SetCommentTextResponse_1](./Models/SetCommentTextResponse_1.md) - [SetCommentTextResult](./Models/SetCommentTextResult.md) + - [SetTrustFactorResponse](./Models/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](./Models/SetUserTrustFactorResponse.md) - [SizePreset](./Models/SizePreset.md) - [SortDirections](./Models/SortDirections.md) @@ -539,26 +698,43 @@ All URIs are relative to *https://fastcomments.com* - [TenantBadge](./Models/TenantBadge.md) - [TenantHashTag](./Models/TenantHashTag.md) - [TenantPackage](./Models/TenantPackage.md) + - [UnBlockCommentPublicResponse](./Models/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](./Models/UnBlockFromCommentParams.md) + - [UnBlockUserFromCommentResponse](./Models/UnBlockUserFromCommentResponse.md) + - [UnFlagCommentResponse](./Models/UnFlagCommentResponse.md) + - [UnLockCommentResponse](./Models/UnLockCommentResponse.md) + - [UnPinCommentResponse](./Models/UnPinCommentResponse.md) - [UnblockSuccess](./Models/UnblockSuccess.md) - [UpdatableCommentParams](./Models/UpdatableCommentParams.md) - [UpdateAPIPageData](./Models/UpdateAPIPageData.md) - [UpdateAPISSOUserData](./Models/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](./Models/UpdateAPIUserSubscriptionData.md) + - [UpdateCommentResponse](./Models/UpdateCommentResponse.md) - [UpdateDomainConfigParams](./Models/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](./Models/UpdateEmailTemplateBody.md) + - [UpdateEmailTemplateResponse](./Models/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](./Models/UpdateFeedPostParams.md) + - [UpdateFeedPostPublicResponse](./Models/UpdateFeedPostPublicResponse.md) + - [UpdateFeedPostResponse](./Models/UpdateFeedPostResponse.md) - [UpdateHashTagBody](./Models/UpdateHashTagBody.md) - [UpdateHashTagResponse](./Models/UpdateHashTagResponse.md) - [UpdateModeratorBody](./Models/UpdateModeratorBody.md) + - [UpdateModeratorResponse](./Models/UpdateModeratorResponse.md) - [UpdateNotificationBody](./Models/UpdateNotificationBody.md) + - [UpdateNotificationResponse](./Models/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](./Models/UpdateQuestionConfigBody.md) + - [UpdateQuestionConfigResponse](./Models/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](./Models/UpdateQuestionResultBody.md) + - [UpdateQuestionResultResponse](./Models/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](./Models/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](./Models/UpdateTenantBody.md) - [UpdateTenantPackageBody](./Models/UpdateTenantPackageBody.md) + - [UpdateTenantPackageResponse](./Models/UpdateTenantPackageResponse.md) + - [UpdateTenantResponse](./Models/UpdateTenantResponse.md) - [UpdateTenantUserBody](./Models/UpdateTenantUserBody.md) + - [UpdateTenantUserResponse](./Models/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](./Models/UpdateUserBadgeParams.md) + - [UpdateUserBadgeResponse](./Models/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](./Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](./Models/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](./Models/UpdateUserNotificationStatusResponse.md) @@ -577,6 +753,7 @@ All URIs are relative to *https://fastcomments.com* - [UserSessionInfo](./Models/UserSessionInfo.md) - [UsersListLocation](./Models/UsersListLocation.md) - [VoteBodyParams](./Models/VoteBodyParams.md) + - [VoteCommentResponse](./Models/VoteCommentResponse.md) - [VoteDeleteResponse](./Models/VoteDeleteResponse.md) - [VoteResponse](./Models/VoteResponse.md) - [VoteResponseUser](./Models/VoteResponseUser.md) 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 1c15e565aa627fa33375d228a993b973d4fe54a4 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:41:07 -0700 Subject: [PATCH 2/9] Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions) --- client/fastcomments.nim | 354 -- client/fastcomments/apis/api_default.nim | 514 ++- client/fastcomments/apis/api_moderation.nim | 245 +- client/fastcomments/apis/api_public.nim | 254 +- .../models/model_add_hash_tag_response.nim | 47 - .../model_add_hash_tags_bulk_response.nim | 47 - ...l_aggregate_question_results_response1.nim | 47 - ...del_block_from_comment_public_response.nim | 46 - ...model_block_user_from_comment_response.nim | 46 - ...k_aggregate_question_results_response1.nim | 47 - .../model_change_ticket_state_response1.nim | 47 - ..._checked_comments_for_blocked_response.nim | 46 - ...omments_with_question_results_response.nim | 47 - .../model_create_comment_public_response.nim | 49 - .../model_create_email_template_response1.nim | 47 - ...model_create_feed_post_public_response.nim | 47 - .../model_create_feed_post_response1.nim | 47 - .../model_create_moderator_response1.nim | 47 - ...model_create_question_config_response1.nim | 47 - ...model_create_question_result_response1.nim | 47 - .../model_create_tenant_package_response1.nim | 47 - .../models/model_create_tenant_response1.nim | 47 - .../model_create_tenant_user_response1.nim | 47 - .../models/model_create_ticket_response1.nim | 47 - .../model_create_user_badge_response.nim | 47 - .../model_create_v1_page_react_response.nim | 46 - .../model_create_v2_page_react_response.nim | 46 - .../models/model_create_vote_response.nim | 47 - .../model_delete_comment_public_response.nim | 47 - .../models/model_delete_comment_response.nim | 47 - .../model_delete_comment_vote_response.nim | 46 - ...e_email_template_render_error_response.nim | 46 - .../model_delete_email_template_response.nim | 46 - ...model_delete_feed_post_public_response.nim | 37 +- ...elete_feed_post_public_response_any_of.nim | 33 - .../models/model_delete_hash_tag_response.nim | 46 - .../model_delete_moderation_vote_response.nim | 46 - .../model_delete_moderator_response.nim | 46 - ...del_delete_notification_count_response.nim | 46 - ..._delete_pending_webhook_event_response.nim | 46 - .../model_delete_question_config_response.nim | 46 - .../model_delete_question_result_response.nim | 46 - .../model_delete_tenant_package_response.nim | 46 - .../models/model_delete_tenant_response.nim | 46 - .../model_delete_tenant_user_response.nim | 46 - .../model_delete_user_badge_response.nim | 46 - .../model_delete_v1_page_react_response.nim | 46 - .../model_delete_v2_page_react_response.nim | 46 - .../models/model_delete_vote_response.nim | 46 - .../model_flag_comment_public_response.nim | 46 - .../models/model_flag_comment_response1.nim | 46 - .../model_get_api_comments_response.nim | 49 - .../model_get_api_export_status_response.nim | 46 - .../models/model_get_api_ids_response.nim | 46 - .../models/model_get_audit_logs_response1.nim | 47 - ...el_get_ban_users_from_comment_response.nim | 47 - ...et_cached_notification_count_response1.nim | 47 - ...model_get_comment_ban_status_response1.nim | 46 - .../model_get_comment_children_response.nim | 47 - .../models/model_get_comment_response.nim | 47 - .../model_get_comment_text_response1.nim | 46 - ...l_get_comment_vote_user_names_response.nim | 46 - .../model_get_comments_for_user_response1.nim | 46 - .../model_get_comments_public_response.nim | 49 - .../models/model_get_comments_response.nim | 47 - .../models/model_get_count_response.nim | 46 - .../models/model_get_counts_response.nim | 46 - ...t_email_template_definitions_response1.nim | 47 - ...email_template_render_errors_response1.nim | 47 - .../model_get_email_template_response1.nim | 47 - .../model_get_email_templates_response1.nim | 47 - .../models/model_get_event_log_response1.nim | 47 - .../model_get_feed_posts_public_response.nim | 48 - .../models/model_get_feed_posts_response1.nim | 47 - .../model_get_feed_posts_stats_response.nim | 47 - .../models/model_get_gif_large_response.nim | 46 - .../models/model_get_gifs_search_response.nim | 10 - .../model_get_global_event_log_response.nim | 47 - .../models/model_get_hash_tags_response1.nim | 47 - .../models/model_get_logs_response.nim | 47 - ...el_get_manual_badges_for_user_response.nim | 47 - .../model_get_manual_badges_response.nim | 47 - .../model_get_moderation_comment_response.nim | 47 - ...l_get_moderation_comment_text_response.nim | 46 - .../models/model_get_moderator_response1.nim | 47 - .../models/model_get_moderators_response1.nim | 47 - ...model_get_notification_count_response1.nim | 46 - .../model_get_notifications_response1.nim | 47 - .../model_get_offline_users_response.nim | 47 - .../model_get_online_users_response.nim | 47 - .../model_get_pages_public_response.nim | 47 - ..._pending_webhook_event_count_response1.nim | 46 - ...l_get_pending_webhook_events_response1.nim | 47 - .../model_get_pre_ban_summary_response.nim | 46 - .../model_get_question_config_response1.nim | 47 - .../model_get_question_configs_response1.nim | 47 - .../model_get_question_result_response1.nim | 47 - .../model_get_question_results_response1.nim | 47 - ...l_get_search_comments_summary_response.nim | 46 - .../model_get_search_pages_response.nim | 47 - .../model_get_search_sites_response.nim | 47 - .../model_get_search_suggest_response.nim | 48 - .../model_get_search_users_response.nim | 47 - ...odel_get_tenant_daily_usages_response1.nim | 47 - .../model_get_tenant_package_response1.nim | 47 - .../model_get_tenant_packages_response1.nim | 47 - .../models/model_get_tenant_response1.nim | 47 - .../model_get_tenant_user_response1.nim | 47 - .../model_get_tenant_users_response1.nim | 47 - .../models/model_get_tenants_response1.nim | 47 - .../models/model_get_ticket_response1.nim | 47 - .../models/model_get_tickets_response1.nim | 47 - .../model_get_translations_response1.nim | 46 - .../model_get_trust_factor_response.nim | 46 - ...get_user_badge_progress_by_id_response.nim | 47 - ...ser_badge_progress_by_user_id_response.nim | 47 - ..._get_user_badge_progress_list_response.nim | 47 - .../models/model_get_user_badge_response.nim | 47 - .../models/model_get_user_badges_response.nim | 47 - ...model_get_user_ban_preference_response.nim | 47 - ...el_get_user_internal_profile_response1.nim | 47 - ..._get_user_notification_count_response1.nim | 46 - .../model_get_user_notifications_response.nim | 47 - ...l_get_user_presence_statuses_response1.nim | 46 - .../model_get_user_reacts_public_response.nim | 46 - .../models/model_get_user_response1.nim | 47 - .../models/model_get_users_info_response.nim | 47 - .../model_get_v1_page_likes_response.nim | 46 - ...odel_get_v2_page_react_users_response1.nim | 46 - .../model_get_v2_page_reacts_response.nim | 46 - .../model_get_votes_for_user_response1.nim | 47 - .../models/model_get_votes_response1.nim | 47 - .../models/model_lock_comment_response.nim | 46 - .../models/model_patch_hash_tag_response.nim | 47 - .../models/model_pin_comment_response.nim | 47 - ...del_post_adjust_comment_votes_response.nim | 46 - .../models/model_post_api_export_response.nim | 46 - ...el_post_ban_user_from_comment_response.nim | 47 - .../model_post_ban_user_undo_response.nim | 46 - ...del_post_bulk_pre_ban_summary_response.nim | 46 - .../model_post_comments_by_ids_response.nim | 47 - .../model_post_flag_comment_response.nim | 46 - .../model_post_remove_comment_response.nim | 11 - ..._post_restore_deleted_comment_response.nim | 46 - ...t_set_comment_approval_status_response.nim | 46 - ...ost_set_comment_review_status_response.nim | 46 - ..._post_set_comment_spam_status_response.nim | 46 - .../model_post_set_comment_text_response.nim | 46 - .../model_post_un_flag_comment_response.nim | 46 - .../models/model_post_vote_response.nim | 47 - .../models/model_put_award_badge_response.nim | 47 - .../model_put_close_thread_response.nim | 46 - .../model_put_remove_badge_response.nim | 47 - .../model_put_reopen_thread_response.nim | 46 - .../model_react_feed_post_public_response.nim | 46 - .../model_render_email_template_response1.nim | 46 - .../model_replace_tenant_package_response.nim | 46 - .../model_replace_tenant_user_response.nim | 46 - ...reset_user_notification_count_response.nim | 46 - ...del_reset_user_notifications_response1.nim | 46 - .../models/model_save_comment_response.nim | 49 - .../models/model_search_users_response1.nim | 48 - .../models/model_send_invite_response.nim | 46 - .../models/model_send_login_link_response.nim | 46 - .../model_set_comment_text_response1.nim | 47 - .../model_set_trust_factor_response.nim | 46 - ...model_un_block_comment_public_response.nim | 46 - ...el_un_block_user_from_comment_response.nim | 46 - .../models/model_un_flag_comment_response.nim | 46 - .../models/model_un_lock_comment_response.nim | 46 - .../models/model_un_pin_comment_response.nim | 47 - .../models/model_update_comment_response.nim | 46 - .../model_update_email_template_response.nim | 46 - ...model_update_feed_post_public_response.nim | 47 - .../model_update_feed_post_response.nim | 46 - .../model_update_moderator_response.nim | 46 - .../model_update_notification_response.nim | 46 - .../model_update_question_config_response.nim | 46 - .../model_update_question_result_response.nim | 46 - .../model_update_tenant_package_response.nim | 46 - .../models/model_update_tenant_response.nim | 46 - .../model_update_tenant_user_response.nim | 46 - .../model_update_user_badge_response.nim | 46 - ...n_comment_subscription_status_response.nim | 10 - ...tion_page_subscription_status_response.nim | 10 - ...date_user_notification_status_response.nim | 10 - .../models/model_vote_comment_response.nim | 47 - docs/Apis/DefaultApi.md | 360 +- docs/Apis/ModerationApi.md | 168 +- docs/Apis/PublicApi.md | 176 +- docs/Models/AddHashTagResponse.md | 17 - docs/Models/AddHashTagsBulkResponse.md | 17 - .../AggregateQuestionResultsResponse_1.md | 17 - docs/Models/BlockFromCommentPublicResponse.md | 17 - docs/Models/BlockUserFromCommentResponse.md | 17 - .../BulkAggregateQuestionResultsResponse_1.md | 17 - docs/Models/ChangeTicketStateResponse_1.md | 17 - .../CheckedCommentsForBlockedResponse.md | 17 - ...bineCommentsWithQuestionResultsResponse.md | 17 - docs/Models/CreateCommentPublicResponse.md | 20 - docs/Models/CreateEmailTemplateResponse_1.md | 17 - docs/Models/CreateFeedPostPublicResponse.md | 17 - docs/Models/CreateFeedPostResponse_1.md | 17 - docs/Models/CreateModeratorResponse_1.md | 17 - docs/Models/CreateQuestionConfigResponse_1.md | 17 - docs/Models/CreateQuestionResultResponse_1.md | 17 - docs/Models/CreateTenantPackageResponse_1.md | 17 - docs/Models/CreateTenantResponse_1.md | 17 - docs/Models/CreateTenantUserResponse_1.md | 17 - docs/Models/CreateTicketResponse_1.md | 17 - docs/Models/CreateUserBadgeResponse.md | 18 - docs/Models/CreateV1PageReactResponse.md | 16 - docs/Models/CreateV2PageReactResponse.md | 16 - docs/Models/CreateVoteResponse.md | 20 - docs/Models/DeleteCommentPublicResponse.md | 18 - docs/Models/DeleteCommentResponse.md | 17 - docs/Models/DeleteCommentVoteResponse.md | 17 - .../DeleteEmailTemplateRenderErrorResponse.md | 16 - docs/Models/DeleteEmailTemplateResponse.md | 16 - docs/Models/DeleteFeedPostPublicResponse.md | 7 - .../DeleteFeedPostPublicResponse_anyOf.md | 9 - docs/Models/DeleteHashTagResponse.md | 16 - docs/Models/DeleteModerationVoteResponse.md | 17 - docs/Models/DeleteModeratorResponse.md | 16 - .../Models/DeleteNotificationCountResponse.md | 16 - .../DeletePendingWebhookEventResponse.md | 16 - docs/Models/DeleteQuestionConfigResponse.md | 16 - docs/Models/DeleteQuestionResultResponse.md | 16 - docs/Models/DeleteTenantPackageResponse.md | 16 - docs/Models/DeleteTenantResponse.md | 16 - docs/Models/DeleteTenantUserResponse.md | 16 - docs/Models/DeleteUserBadgeResponse.md | 16 - docs/Models/DeleteV1PageReactResponse.md | 16 - docs/Models/DeleteV2PageReactResponse.md | 16 - docs/Models/DeleteVoteResponse.md | 17 - docs/Models/FlagCommentPublicResponse.md | 16 - docs/Models/FlagCommentResponse_1.md | 18 - docs/Models/GetApiCommentsResponse.md | 19 - docs/Models/GetApiExportStatusResponse.md | 19 - docs/Models/GetApiIdsResponse.md | 18 - docs/Models/GetAuditLogsResponse_1.md | 17 - docs/Models/GetBanUsersFromCommentResponse.md | 17 - .../GetCachedNotificationCountResponse_1.md | 17 - docs/Models/GetCommentBanStatusResponse_1.md | 18 - docs/Models/GetCommentChildrenResponse.md | 17 - docs/Models/GetCommentResponse.md | 17 - docs/Models/GetCommentTextResponse_1.md | 18 - .../Models/GetCommentVoteUserNamesResponse.md | 18 - docs/Models/GetCommentsForUserResponse_1.md | 17 - docs/Models/GetCommentsPublicResponse.md | 39 - docs/Models/GetCommentsResponse.md | 17 - docs/Models/GetCountResponse.md | 17 - docs/Models/GetCountsResponse.md | 17 - .../GetEmailTemplateDefinitionsResponse_1.md | 17 - .../GetEmailTemplateRenderErrorsResponse_1.md | 17 - docs/Models/GetEmailTemplateResponse_1.md | 17 - docs/Models/GetEmailTemplatesResponse_1.md | 17 - docs/Models/GetEventLogResponse_1.md | 17 - docs/Models/GetFeedPostsPublicResponse.md | 22 - docs/Models/GetFeedPostsResponse_1.md | 17 - docs/Models/GetFeedPostsStatsResponse.md | 17 - docs/Models/GetGifLargeResponse.md | 17 - docs/Models/GetGifsSearchResponse.md | 6 - docs/Models/GetGlobalEventLogResponse.md | 17 - docs/Models/GetHashTagsResponse_1.md | 17 - docs/Models/GetLogsResponse.md | 17 - docs/Models/GetManualBadgesForUserResponse.md | 17 - docs/Models/GetManualBadgesResponse.md | 17 - docs/Models/GetModerationCommentResponse.md | 17 - .../GetModerationCommentTextResponse.md | 17 - docs/Models/GetModeratorResponse_1.md | 17 - docs/Models/GetModeratorsResponse_1.md | 17 - docs/Models/GetNotificationCountResponse_1.md | 17 - docs/Models/GetNotificationsResponse_1.md | 17 - docs/Models/GetOfflineUsersResponse.md | 19 - docs/Models/GetOnlineUsersResponse.md | 21 - docs/Models/GetPagesPublicResponse.md | 18 - .../GetPendingWebhookEventCountResponse_1.md | 17 - .../GetPendingWebhookEventsResponse_1.md | 17 - docs/Models/GetPreBanSummaryResponse.md | 18 - docs/Models/GetQuestionConfigResponse_1.md | 17 - docs/Models/GetQuestionConfigsResponse_1.md | 17 - docs/Models/GetQuestionResultResponse_1.md | 17 - docs/Models/GetQuestionResultsResponse_1.md | 17 - .../GetSearchCommentsSummaryResponse.md | 17 - docs/Models/GetSearchPagesResponse.md | 17 - docs/Models/GetSearchSitesResponse.md | 17 - docs/Models/GetSearchSuggestResponse.md | 18 - docs/Models/GetSearchUsersResponse.md | 17 - docs/Models/GetTenantDailyUsagesResponse_1.md | 17 - docs/Models/GetTenantPackageResponse_1.md | 17 - docs/Models/GetTenantPackagesResponse_1.md | 17 - docs/Models/GetTenantResponse_1.md | 17 - docs/Models/GetTenantUserResponse_1.md | 17 - docs/Models/GetTenantUsersResponse_1.md | 17 - docs/Models/GetTenantsResponse_1.md | 17 - docs/Models/GetTicketResponse_1.md | 18 - docs/Models/GetTicketsResponse_1.md | 17 - docs/Models/GetTranslationsResponse_1.md | 17 - docs/Models/GetTrustFactorResponse.md | 18 - .../GetUserBadgeProgressByIdResponse.md | 17 - .../GetUserBadgeProgressByUserIdResponse.md | 17 - .../GetUserBadgeProgressListResponse.md | 17 - docs/Models/GetUserBadgeResponse.md | 17 - docs/Models/GetUserBadgesResponse.md | 17 - docs/Models/GetUserBanPreferenceResponse.md | 17 - .../GetUserInternalProfileResponse_1.md | 17 - .../GetUserNotificationCountResponse_1.md | 17 - docs/Models/GetUserNotificationsResponse.md | 20 - .../GetUserPresenceStatusesResponse_1.md | 17 - docs/Models/GetUserReactsPublicResponse.md | 17 - docs/Models/GetUserResponse_1.md | 17 - docs/Models/GetUsersInfoResponse.md | 17 - docs/Models/GetV1PageLikesResponse.md | 20 - docs/Models/GetV2PageReactUsersResponse_1.md | 17 - docs/Models/GetV2PageReactsResponse.md | 18 - docs/Models/GetVotesForUserResponse_1.md | 19 - docs/Models/GetVotesResponse_1.md | 19 - docs/Models/LockCommentResponse.md | 16 - docs/Models/PatchHashTagResponse.md | 17 - docs/Models/PinCommentResponse.md | 17 - docs/Models/PostAdjustCommentVotesResponse.md | 17 - docs/Models/PostApiExportResponse.md | 17 - docs/Models/PostBanUserFromCommentResponse.md | 17 - docs/Models/PostBanUserUndoResponse.md | 16 - docs/Models/PostBulkPreBanSummaryResponse.md | 21 - docs/Models/PostCommentsByIdsResponse.md | 17 - docs/Models/PostFlagCommentResponse.md | 16 - docs/Models/PostRemoveCommentResponse.md | 11 +- .../PostRestoreDeletedCommentResponse.md | 16 - .../PostSetCommentApprovalStatusResponse.md | 17 - .../PostSetCommentReviewStatusResponse.md | 16 - .../PostSetCommentSpamStatusResponse.md | 16 - docs/Models/PostSetCommentTextResponse.md | 17 - docs/Models/PostUnFlagCommentResponse.md | 16 - docs/Models/PostVoteResponse.md | 20 - docs/Models/PutAwardBadgeResponse.md | 18 - docs/Models/PutCloseThreadResponse.md | 16 - docs/Models/PutRemoveBadgeResponse.md | 17 - docs/Models/PutReopenThreadResponse.md | 16 - docs/Models/ReactFeedPostPublicResponse.md | 18 - docs/Models/RenderEmailTemplateResponse_1.md | 17 - docs/Models/ReplaceTenantPackageResponse.md | 16 - docs/Models/ReplaceTenantUserResponse.md | 16 - .../ResetUserNotificationCountResponse.md | 16 - .../ResetUserNotificationsResponse_1.md | 16 - docs/Models/SaveCommentResponse.md | 19 - docs/Models/SearchUsersResponse_1.md | 18 - docs/Models/SendInviteResponse.md | 16 - docs/Models/SendLoginLinkResponse.md | 16 - docs/Models/SetCommentTextResponse_1.md | 17 - docs/Models/SetTrustFactorResponse.md | 17 - docs/Models/UnBlockCommentPublicResponse.md | 17 - docs/Models/UnBlockUserFromCommentResponse.md | 17 - docs/Models/UnFlagCommentResponse.md | 18 - docs/Models/UnLockCommentResponse.md | 16 - docs/Models/UnPinCommentResponse.md | 17 - docs/Models/UpdateCommentResponse.md | 16 - docs/Models/UpdateEmailTemplateResponse.md | 16 - docs/Models/UpdateFeedPostPublicResponse.md | 17 - docs/Models/UpdateFeedPostResponse.md | 16 - docs/Models/UpdateModeratorResponse.md | 16 - docs/Models/UpdateNotificationResponse.md | 16 - docs/Models/UpdateQuestionConfigResponse.md | 16 - docs/Models/UpdateQuestionResultResponse.md | 16 - docs/Models/UpdateTenantPackageResponse.md | 16 - docs/Models/UpdateTenantResponse.md | 16 - docs/Models/UpdateTenantUserResponse.md | 16 - docs/Models/UpdateUserBadgeResponse.md | 16 - ...cationCommentSubscriptionStatusResponse.md | 7 - ...ificationPageSubscriptionStatusResponse.md | 7 - .../UpdateUserNotificationStatusResponse.md | 7 - docs/Models/VoteCommentResponse.md | 20 - docs/README.md | 177 - openapi.json | 3634 +++++++++-------- 375 files changed, 2863 insertions(+), 14423 deletions(-) delete mode 100644 client/fastcomments/models/model_add_hash_tag_response.nim delete mode 100644 client/fastcomments/models/model_add_hash_tags_bulk_response.nim delete mode 100644 client/fastcomments/models/model_aggregate_question_results_response1.nim delete mode 100644 client/fastcomments/models/model_block_from_comment_public_response.nim delete mode 100644 client/fastcomments/models/model_block_user_from_comment_response.nim delete mode 100644 client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim delete mode 100644 client/fastcomments/models/model_change_ticket_state_response1.nim delete mode 100644 client/fastcomments/models/model_checked_comments_for_blocked_response.nim delete mode 100644 client/fastcomments/models/model_combine_comments_with_question_results_response.nim delete mode 100644 client/fastcomments/models/model_create_comment_public_response.nim delete mode 100644 client/fastcomments/models/model_create_email_template_response1.nim delete mode 100644 client/fastcomments/models/model_create_feed_post_public_response.nim delete mode 100644 client/fastcomments/models/model_create_feed_post_response1.nim delete mode 100644 client/fastcomments/models/model_create_moderator_response1.nim delete mode 100644 client/fastcomments/models/model_create_question_config_response1.nim delete mode 100644 client/fastcomments/models/model_create_question_result_response1.nim delete mode 100644 client/fastcomments/models/model_create_tenant_package_response1.nim delete mode 100644 client/fastcomments/models/model_create_tenant_response1.nim delete mode 100644 client/fastcomments/models/model_create_tenant_user_response1.nim delete mode 100644 client/fastcomments/models/model_create_ticket_response1.nim delete mode 100644 client/fastcomments/models/model_create_user_badge_response.nim delete mode 100644 client/fastcomments/models/model_create_v1_page_react_response.nim delete mode 100644 client/fastcomments/models/model_create_v2_page_react_response.nim delete mode 100644 client/fastcomments/models/model_create_vote_response.nim delete mode 100644 client/fastcomments/models/model_delete_comment_public_response.nim delete mode 100644 client/fastcomments/models/model_delete_comment_response.nim delete mode 100644 client/fastcomments/models/model_delete_comment_vote_response.nim delete mode 100644 client/fastcomments/models/model_delete_email_template_render_error_response.nim delete mode 100644 client/fastcomments/models/model_delete_email_template_response.nim delete mode 100644 client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim delete mode 100644 client/fastcomments/models/model_delete_hash_tag_response.nim delete mode 100644 client/fastcomments/models/model_delete_moderation_vote_response.nim delete mode 100644 client/fastcomments/models/model_delete_moderator_response.nim delete mode 100644 client/fastcomments/models/model_delete_notification_count_response.nim delete mode 100644 client/fastcomments/models/model_delete_pending_webhook_event_response.nim delete mode 100644 client/fastcomments/models/model_delete_question_config_response.nim delete mode 100644 client/fastcomments/models/model_delete_question_result_response.nim delete mode 100644 client/fastcomments/models/model_delete_tenant_package_response.nim delete mode 100644 client/fastcomments/models/model_delete_tenant_response.nim delete mode 100644 client/fastcomments/models/model_delete_tenant_user_response.nim delete mode 100644 client/fastcomments/models/model_delete_user_badge_response.nim delete mode 100644 client/fastcomments/models/model_delete_v1_page_react_response.nim delete mode 100644 client/fastcomments/models/model_delete_v2_page_react_response.nim delete mode 100644 client/fastcomments/models/model_delete_vote_response.nim delete mode 100644 client/fastcomments/models/model_flag_comment_public_response.nim delete mode 100644 client/fastcomments/models/model_flag_comment_response1.nim delete mode 100644 client/fastcomments/models/model_get_api_comments_response.nim delete mode 100644 client/fastcomments/models/model_get_api_export_status_response.nim delete mode 100644 client/fastcomments/models/model_get_api_ids_response.nim delete mode 100644 client/fastcomments/models/model_get_audit_logs_response1.nim delete mode 100644 client/fastcomments/models/model_get_ban_users_from_comment_response.nim delete mode 100644 client/fastcomments/models/model_get_cached_notification_count_response1.nim delete mode 100644 client/fastcomments/models/model_get_comment_ban_status_response1.nim delete mode 100644 client/fastcomments/models/model_get_comment_children_response.nim delete mode 100644 client/fastcomments/models/model_get_comment_response.nim delete mode 100644 client/fastcomments/models/model_get_comment_text_response1.nim delete mode 100644 client/fastcomments/models/model_get_comment_vote_user_names_response.nim delete mode 100644 client/fastcomments/models/model_get_comments_for_user_response1.nim delete mode 100644 client/fastcomments/models/model_get_comments_public_response.nim delete mode 100644 client/fastcomments/models/model_get_comments_response.nim delete mode 100644 client/fastcomments/models/model_get_count_response.nim delete mode 100644 client/fastcomments/models/model_get_counts_response.nim delete mode 100644 client/fastcomments/models/model_get_email_template_definitions_response1.nim delete mode 100644 client/fastcomments/models/model_get_email_template_render_errors_response1.nim delete mode 100644 client/fastcomments/models/model_get_email_template_response1.nim delete mode 100644 client/fastcomments/models/model_get_email_templates_response1.nim delete mode 100644 client/fastcomments/models/model_get_event_log_response1.nim delete mode 100644 client/fastcomments/models/model_get_feed_posts_public_response.nim delete mode 100644 client/fastcomments/models/model_get_feed_posts_response1.nim delete mode 100644 client/fastcomments/models/model_get_feed_posts_stats_response.nim delete mode 100644 client/fastcomments/models/model_get_gif_large_response.nim delete mode 100644 client/fastcomments/models/model_get_global_event_log_response.nim delete mode 100644 client/fastcomments/models/model_get_hash_tags_response1.nim delete mode 100644 client/fastcomments/models/model_get_logs_response.nim delete mode 100644 client/fastcomments/models/model_get_manual_badges_for_user_response.nim delete mode 100644 client/fastcomments/models/model_get_manual_badges_response.nim delete mode 100644 client/fastcomments/models/model_get_moderation_comment_response.nim delete mode 100644 client/fastcomments/models/model_get_moderation_comment_text_response.nim delete mode 100644 client/fastcomments/models/model_get_moderator_response1.nim delete mode 100644 client/fastcomments/models/model_get_moderators_response1.nim delete mode 100644 client/fastcomments/models/model_get_notification_count_response1.nim delete mode 100644 client/fastcomments/models/model_get_notifications_response1.nim delete mode 100644 client/fastcomments/models/model_get_offline_users_response.nim delete mode 100644 client/fastcomments/models/model_get_online_users_response.nim delete mode 100644 client/fastcomments/models/model_get_pages_public_response.nim delete mode 100644 client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim delete mode 100644 client/fastcomments/models/model_get_pending_webhook_events_response1.nim delete mode 100644 client/fastcomments/models/model_get_pre_ban_summary_response.nim delete mode 100644 client/fastcomments/models/model_get_question_config_response1.nim delete mode 100644 client/fastcomments/models/model_get_question_configs_response1.nim delete mode 100644 client/fastcomments/models/model_get_question_result_response1.nim delete mode 100644 client/fastcomments/models/model_get_question_results_response1.nim delete mode 100644 client/fastcomments/models/model_get_search_comments_summary_response.nim delete mode 100644 client/fastcomments/models/model_get_search_pages_response.nim delete mode 100644 client/fastcomments/models/model_get_search_sites_response.nim delete mode 100644 client/fastcomments/models/model_get_search_suggest_response.nim delete mode 100644 client/fastcomments/models/model_get_search_users_response.nim delete mode 100644 client/fastcomments/models/model_get_tenant_daily_usages_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenant_package_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenant_packages_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenant_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenant_user_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenant_users_response1.nim delete mode 100644 client/fastcomments/models/model_get_tenants_response1.nim delete mode 100644 client/fastcomments/models/model_get_ticket_response1.nim delete mode 100644 client/fastcomments/models/model_get_tickets_response1.nim delete mode 100644 client/fastcomments/models/model_get_translations_response1.nim delete mode 100644 client/fastcomments/models/model_get_trust_factor_response.nim delete mode 100644 client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim delete mode 100644 client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim delete mode 100644 client/fastcomments/models/model_get_user_badge_progress_list_response.nim delete mode 100644 client/fastcomments/models/model_get_user_badge_response.nim delete mode 100644 client/fastcomments/models/model_get_user_badges_response.nim delete mode 100644 client/fastcomments/models/model_get_user_ban_preference_response.nim delete mode 100644 client/fastcomments/models/model_get_user_internal_profile_response1.nim delete mode 100644 client/fastcomments/models/model_get_user_notification_count_response1.nim delete mode 100644 client/fastcomments/models/model_get_user_notifications_response.nim delete mode 100644 client/fastcomments/models/model_get_user_presence_statuses_response1.nim delete mode 100644 client/fastcomments/models/model_get_user_reacts_public_response.nim delete mode 100644 client/fastcomments/models/model_get_user_response1.nim delete mode 100644 client/fastcomments/models/model_get_users_info_response.nim delete mode 100644 client/fastcomments/models/model_get_v1_page_likes_response.nim delete mode 100644 client/fastcomments/models/model_get_v2_page_react_users_response1.nim delete mode 100644 client/fastcomments/models/model_get_v2_page_reacts_response.nim delete mode 100644 client/fastcomments/models/model_get_votes_for_user_response1.nim delete mode 100644 client/fastcomments/models/model_get_votes_response1.nim delete mode 100644 client/fastcomments/models/model_lock_comment_response.nim delete mode 100644 client/fastcomments/models/model_patch_hash_tag_response.nim delete mode 100644 client/fastcomments/models/model_pin_comment_response.nim delete mode 100644 client/fastcomments/models/model_post_adjust_comment_votes_response.nim delete mode 100644 client/fastcomments/models/model_post_api_export_response.nim delete mode 100644 client/fastcomments/models/model_post_ban_user_from_comment_response.nim delete mode 100644 client/fastcomments/models/model_post_ban_user_undo_response.nim delete mode 100644 client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim delete mode 100644 client/fastcomments/models/model_post_comments_by_ids_response.nim delete mode 100644 client/fastcomments/models/model_post_flag_comment_response.nim delete mode 100644 client/fastcomments/models/model_post_restore_deleted_comment_response.nim delete mode 100644 client/fastcomments/models/model_post_set_comment_approval_status_response.nim delete mode 100644 client/fastcomments/models/model_post_set_comment_review_status_response.nim delete mode 100644 client/fastcomments/models/model_post_set_comment_spam_status_response.nim delete mode 100644 client/fastcomments/models/model_post_set_comment_text_response.nim delete mode 100644 client/fastcomments/models/model_post_un_flag_comment_response.nim delete mode 100644 client/fastcomments/models/model_post_vote_response.nim delete mode 100644 client/fastcomments/models/model_put_award_badge_response.nim delete mode 100644 client/fastcomments/models/model_put_close_thread_response.nim delete mode 100644 client/fastcomments/models/model_put_remove_badge_response.nim delete mode 100644 client/fastcomments/models/model_put_reopen_thread_response.nim delete mode 100644 client/fastcomments/models/model_react_feed_post_public_response.nim delete mode 100644 client/fastcomments/models/model_render_email_template_response1.nim delete mode 100644 client/fastcomments/models/model_replace_tenant_package_response.nim delete mode 100644 client/fastcomments/models/model_replace_tenant_user_response.nim delete mode 100644 client/fastcomments/models/model_reset_user_notification_count_response.nim delete mode 100644 client/fastcomments/models/model_reset_user_notifications_response1.nim delete mode 100644 client/fastcomments/models/model_save_comment_response.nim delete mode 100644 client/fastcomments/models/model_search_users_response1.nim delete mode 100644 client/fastcomments/models/model_send_invite_response.nim delete mode 100644 client/fastcomments/models/model_send_login_link_response.nim delete mode 100644 client/fastcomments/models/model_set_comment_text_response1.nim delete mode 100644 client/fastcomments/models/model_set_trust_factor_response.nim delete mode 100644 client/fastcomments/models/model_un_block_comment_public_response.nim delete mode 100644 client/fastcomments/models/model_un_block_user_from_comment_response.nim delete mode 100644 client/fastcomments/models/model_un_flag_comment_response.nim delete mode 100644 client/fastcomments/models/model_un_lock_comment_response.nim delete mode 100644 client/fastcomments/models/model_un_pin_comment_response.nim delete mode 100644 client/fastcomments/models/model_update_comment_response.nim delete mode 100644 client/fastcomments/models/model_update_email_template_response.nim delete mode 100644 client/fastcomments/models/model_update_feed_post_public_response.nim delete mode 100644 client/fastcomments/models/model_update_feed_post_response.nim delete mode 100644 client/fastcomments/models/model_update_moderator_response.nim delete mode 100644 client/fastcomments/models/model_update_notification_response.nim delete mode 100644 client/fastcomments/models/model_update_question_config_response.nim delete mode 100644 client/fastcomments/models/model_update_question_result_response.nim delete mode 100644 client/fastcomments/models/model_update_tenant_package_response.nim delete mode 100644 client/fastcomments/models/model_update_tenant_response.nim delete mode 100644 client/fastcomments/models/model_update_tenant_user_response.nim delete mode 100644 client/fastcomments/models/model_update_user_badge_response.nim delete mode 100644 client/fastcomments/models/model_vote_comment_response.nim delete mode 100644 docs/Models/AddHashTagResponse.md delete mode 100644 docs/Models/AddHashTagsBulkResponse.md delete mode 100644 docs/Models/AggregateQuestionResultsResponse_1.md delete mode 100644 docs/Models/BlockFromCommentPublicResponse.md delete mode 100644 docs/Models/BlockUserFromCommentResponse.md delete mode 100644 docs/Models/BulkAggregateQuestionResultsResponse_1.md delete mode 100644 docs/Models/ChangeTicketStateResponse_1.md delete mode 100644 docs/Models/CheckedCommentsForBlockedResponse.md delete mode 100644 docs/Models/CombineCommentsWithQuestionResultsResponse.md delete mode 100644 docs/Models/CreateCommentPublicResponse.md delete mode 100644 docs/Models/CreateEmailTemplateResponse_1.md delete mode 100644 docs/Models/CreateFeedPostPublicResponse.md delete mode 100644 docs/Models/CreateFeedPostResponse_1.md delete mode 100644 docs/Models/CreateModeratorResponse_1.md delete mode 100644 docs/Models/CreateQuestionConfigResponse_1.md delete mode 100644 docs/Models/CreateQuestionResultResponse_1.md delete mode 100644 docs/Models/CreateTenantPackageResponse_1.md delete mode 100644 docs/Models/CreateTenantResponse_1.md delete mode 100644 docs/Models/CreateTenantUserResponse_1.md delete mode 100644 docs/Models/CreateTicketResponse_1.md delete mode 100644 docs/Models/CreateUserBadgeResponse.md delete mode 100644 docs/Models/CreateV1PageReactResponse.md delete mode 100644 docs/Models/CreateV2PageReactResponse.md delete mode 100644 docs/Models/CreateVoteResponse.md delete mode 100644 docs/Models/DeleteCommentPublicResponse.md delete mode 100644 docs/Models/DeleteCommentResponse.md delete mode 100644 docs/Models/DeleteCommentVoteResponse.md delete mode 100644 docs/Models/DeleteEmailTemplateRenderErrorResponse.md delete mode 100644 docs/Models/DeleteEmailTemplateResponse.md delete mode 100644 docs/Models/DeleteFeedPostPublicResponse_anyOf.md delete mode 100644 docs/Models/DeleteHashTagResponse.md delete mode 100644 docs/Models/DeleteModerationVoteResponse.md delete mode 100644 docs/Models/DeleteModeratorResponse.md delete mode 100644 docs/Models/DeleteNotificationCountResponse.md delete mode 100644 docs/Models/DeletePendingWebhookEventResponse.md delete mode 100644 docs/Models/DeleteQuestionConfigResponse.md delete mode 100644 docs/Models/DeleteQuestionResultResponse.md delete mode 100644 docs/Models/DeleteTenantPackageResponse.md delete mode 100644 docs/Models/DeleteTenantResponse.md delete mode 100644 docs/Models/DeleteTenantUserResponse.md delete mode 100644 docs/Models/DeleteUserBadgeResponse.md delete mode 100644 docs/Models/DeleteV1PageReactResponse.md delete mode 100644 docs/Models/DeleteV2PageReactResponse.md delete mode 100644 docs/Models/DeleteVoteResponse.md delete mode 100644 docs/Models/FlagCommentPublicResponse.md delete mode 100644 docs/Models/FlagCommentResponse_1.md delete mode 100644 docs/Models/GetApiCommentsResponse.md delete mode 100644 docs/Models/GetApiExportStatusResponse.md delete mode 100644 docs/Models/GetApiIdsResponse.md delete mode 100644 docs/Models/GetAuditLogsResponse_1.md delete mode 100644 docs/Models/GetBanUsersFromCommentResponse.md delete mode 100644 docs/Models/GetCachedNotificationCountResponse_1.md delete mode 100644 docs/Models/GetCommentBanStatusResponse_1.md delete mode 100644 docs/Models/GetCommentChildrenResponse.md delete mode 100644 docs/Models/GetCommentResponse.md delete mode 100644 docs/Models/GetCommentTextResponse_1.md delete mode 100644 docs/Models/GetCommentVoteUserNamesResponse.md delete mode 100644 docs/Models/GetCommentsForUserResponse_1.md delete mode 100644 docs/Models/GetCommentsPublicResponse.md delete mode 100644 docs/Models/GetCommentsResponse.md delete mode 100644 docs/Models/GetCountResponse.md delete mode 100644 docs/Models/GetCountsResponse.md delete mode 100644 docs/Models/GetEmailTemplateDefinitionsResponse_1.md delete mode 100644 docs/Models/GetEmailTemplateRenderErrorsResponse_1.md delete mode 100644 docs/Models/GetEmailTemplateResponse_1.md delete mode 100644 docs/Models/GetEmailTemplatesResponse_1.md delete mode 100644 docs/Models/GetEventLogResponse_1.md delete mode 100644 docs/Models/GetFeedPostsPublicResponse.md delete mode 100644 docs/Models/GetFeedPostsResponse_1.md delete mode 100644 docs/Models/GetFeedPostsStatsResponse.md delete mode 100644 docs/Models/GetGifLargeResponse.md delete mode 100644 docs/Models/GetGlobalEventLogResponse.md delete mode 100644 docs/Models/GetHashTagsResponse_1.md delete mode 100644 docs/Models/GetLogsResponse.md delete mode 100644 docs/Models/GetManualBadgesForUserResponse.md delete mode 100644 docs/Models/GetManualBadgesResponse.md delete mode 100644 docs/Models/GetModerationCommentResponse.md delete mode 100644 docs/Models/GetModerationCommentTextResponse.md delete mode 100644 docs/Models/GetModeratorResponse_1.md delete mode 100644 docs/Models/GetModeratorsResponse_1.md delete mode 100644 docs/Models/GetNotificationCountResponse_1.md delete mode 100644 docs/Models/GetNotificationsResponse_1.md delete mode 100644 docs/Models/GetOfflineUsersResponse.md delete mode 100644 docs/Models/GetOnlineUsersResponse.md delete mode 100644 docs/Models/GetPagesPublicResponse.md delete mode 100644 docs/Models/GetPendingWebhookEventCountResponse_1.md delete mode 100644 docs/Models/GetPendingWebhookEventsResponse_1.md delete mode 100644 docs/Models/GetPreBanSummaryResponse.md delete mode 100644 docs/Models/GetQuestionConfigResponse_1.md delete mode 100644 docs/Models/GetQuestionConfigsResponse_1.md delete mode 100644 docs/Models/GetQuestionResultResponse_1.md delete mode 100644 docs/Models/GetQuestionResultsResponse_1.md delete mode 100644 docs/Models/GetSearchCommentsSummaryResponse.md delete mode 100644 docs/Models/GetSearchPagesResponse.md delete mode 100644 docs/Models/GetSearchSitesResponse.md delete mode 100644 docs/Models/GetSearchSuggestResponse.md delete mode 100644 docs/Models/GetSearchUsersResponse.md delete mode 100644 docs/Models/GetTenantDailyUsagesResponse_1.md delete mode 100644 docs/Models/GetTenantPackageResponse_1.md delete mode 100644 docs/Models/GetTenantPackagesResponse_1.md delete mode 100644 docs/Models/GetTenantResponse_1.md delete mode 100644 docs/Models/GetTenantUserResponse_1.md delete mode 100644 docs/Models/GetTenantUsersResponse_1.md delete mode 100644 docs/Models/GetTenantsResponse_1.md delete mode 100644 docs/Models/GetTicketResponse_1.md delete mode 100644 docs/Models/GetTicketsResponse_1.md delete mode 100644 docs/Models/GetTranslationsResponse_1.md delete mode 100644 docs/Models/GetTrustFactorResponse.md delete mode 100644 docs/Models/GetUserBadgeProgressByIdResponse.md delete mode 100644 docs/Models/GetUserBadgeProgressByUserIdResponse.md delete mode 100644 docs/Models/GetUserBadgeProgressListResponse.md delete mode 100644 docs/Models/GetUserBadgeResponse.md delete mode 100644 docs/Models/GetUserBadgesResponse.md delete mode 100644 docs/Models/GetUserBanPreferenceResponse.md delete mode 100644 docs/Models/GetUserInternalProfileResponse_1.md delete mode 100644 docs/Models/GetUserNotificationCountResponse_1.md delete mode 100644 docs/Models/GetUserNotificationsResponse.md delete mode 100644 docs/Models/GetUserPresenceStatusesResponse_1.md delete mode 100644 docs/Models/GetUserReactsPublicResponse.md delete mode 100644 docs/Models/GetUserResponse_1.md delete mode 100644 docs/Models/GetUsersInfoResponse.md delete mode 100644 docs/Models/GetV1PageLikesResponse.md delete mode 100644 docs/Models/GetV2PageReactUsersResponse_1.md delete mode 100644 docs/Models/GetV2PageReactsResponse.md delete mode 100644 docs/Models/GetVotesForUserResponse_1.md delete mode 100644 docs/Models/GetVotesResponse_1.md delete mode 100644 docs/Models/LockCommentResponse.md delete mode 100644 docs/Models/PatchHashTagResponse.md delete mode 100644 docs/Models/PinCommentResponse.md delete mode 100644 docs/Models/PostAdjustCommentVotesResponse.md delete mode 100644 docs/Models/PostApiExportResponse.md delete mode 100644 docs/Models/PostBanUserFromCommentResponse.md delete mode 100644 docs/Models/PostBanUserUndoResponse.md delete mode 100644 docs/Models/PostBulkPreBanSummaryResponse.md delete mode 100644 docs/Models/PostCommentsByIdsResponse.md delete mode 100644 docs/Models/PostFlagCommentResponse.md delete mode 100644 docs/Models/PostRestoreDeletedCommentResponse.md delete mode 100644 docs/Models/PostSetCommentApprovalStatusResponse.md delete mode 100644 docs/Models/PostSetCommentReviewStatusResponse.md delete mode 100644 docs/Models/PostSetCommentSpamStatusResponse.md delete mode 100644 docs/Models/PostSetCommentTextResponse.md delete mode 100644 docs/Models/PostUnFlagCommentResponse.md delete mode 100644 docs/Models/PostVoteResponse.md delete mode 100644 docs/Models/PutAwardBadgeResponse.md delete mode 100644 docs/Models/PutCloseThreadResponse.md delete mode 100644 docs/Models/PutRemoveBadgeResponse.md delete mode 100644 docs/Models/PutReopenThreadResponse.md delete mode 100644 docs/Models/ReactFeedPostPublicResponse.md delete mode 100644 docs/Models/RenderEmailTemplateResponse_1.md delete mode 100644 docs/Models/ReplaceTenantPackageResponse.md delete mode 100644 docs/Models/ReplaceTenantUserResponse.md delete mode 100644 docs/Models/ResetUserNotificationCountResponse.md delete mode 100644 docs/Models/ResetUserNotificationsResponse_1.md delete mode 100644 docs/Models/SaveCommentResponse.md delete mode 100644 docs/Models/SearchUsersResponse_1.md delete mode 100644 docs/Models/SendInviteResponse.md delete mode 100644 docs/Models/SendLoginLinkResponse.md delete mode 100644 docs/Models/SetCommentTextResponse_1.md delete mode 100644 docs/Models/SetTrustFactorResponse.md delete mode 100644 docs/Models/UnBlockCommentPublicResponse.md delete mode 100644 docs/Models/UnBlockUserFromCommentResponse.md delete mode 100644 docs/Models/UnFlagCommentResponse.md delete mode 100644 docs/Models/UnLockCommentResponse.md delete mode 100644 docs/Models/UnPinCommentResponse.md delete mode 100644 docs/Models/UpdateCommentResponse.md delete mode 100644 docs/Models/UpdateEmailTemplateResponse.md delete mode 100644 docs/Models/UpdateFeedPostPublicResponse.md delete mode 100644 docs/Models/UpdateFeedPostResponse.md delete mode 100644 docs/Models/UpdateModeratorResponse.md delete mode 100644 docs/Models/UpdateNotificationResponse.md delete mode 100644 docs/Models/UpdateQuestionConfigResponse.md delete mode 100644 docs/Models/UpdateQuestionResultResponse.md delete mode 100644 docs/Models/UpdateTenantPackageResponse.md delete mode 100644 docs/Models/UpdateTenantResponse.md delete mode 100644 docs/Models/UpdateTenantUserResponse.md delete mode 100644 docs/Models/UpdateUserBadgeResponse.md delete mode 100644 docs/Models/VoteCommentResponse.md diff --git a/client/fastcomments.nim b/client/fastcomments.nim index ed0e35e..cb782f5 100644 --- a/client/fastcomments.nim +++ b/client/fastcomments.nim @@ -43,14 +43,11 @@ import fastcomments/models/model_api_user_subscription import fastcomments/models/model_add_domain_config_params import fastcomments/models/model_add_domain_config_response import fastcomments/models/model_add_domain_config_response_any_of -import fastcomments/models/model_add_hash_tag_response -import fastcomments/models/model_add_hash_tags_bulk_response import fastcomments/models/model_add_page_api_response import fastcomments/models/model_add_sso_user_api_response import fastcomments/models/model_adjust_comment_votes_params import fastcomments/models/model_adjust_votes_response import fastcomments/models/model_aggregate_question_results_response -import fastcomments/models/model_aggregate_question_results_response1 import fastcomments/models/model_aggregate_response import fastcomments/models/model_aggregate_time_bucket import fastcomments/models/model_aggregation_api_error @@ -70,15 +67,12 @@ import fastcomments/models/model_banned_user_match_matched_on_value import fastcomments/models/model_banned_user_match_type import fastcomments/models/model_billing_info import fastcomments/models/model_block_from_comment_params -import fastcomments/models/model_block_from_comment_public_response import fastcomments/models/model_block_success -import fastcomments/models/model_block_user_from_comment_response import fastcomments/models/model_build_moderation_filter_params import fastcomments/models/model_build_moderation_filter_response import fastcomments/models/model_bulk_aggregate_question_item import fastcomments/models/model_bulk_aggregate_question_results_request import fastcomments/models/model_bulk_aggregate_question_results_response -import fastcomments/models/model_bulk_aggregate_question_results_response1 import fastcomments/models/model_bulk_create_hash_tags_body import fastcomments/models/model_bulk_create_hash_tags_body_tags_inner import fastcomments/models/model_bulk_create_hash_tags_response @@ -88,10 +82,7 @@ import fastcomments/models/model_bulk_pre_ban_summary import fastcomments/models/model_change_comment_pin_status_response import fastcomments/models/model_change_ticket_state_body import fastcomments/models/model_change_ticket_state_response -import fastcomments/models/model_change_ticket_state_response1 import fastcomments/models/model_check_blocked_comments_response -import fastcomments/models/model_checked_comments_for_blocked_response -import fastcomments/models/model_combine_comments_with_question_results_response import fastcomments/models/model_combine_question_results_with_comments_response import fastcomments/models/model_comment_data import fastcomments/models/model_comment_html_rendering_mode @@ -111,75 +102,40 @@ import fastcomments/models/model_create_api_page_data import fastcomments/models/model_create_apisso_user_data import fastcomments/models/model_create_api_user_subscription_data import fastcomments/models/model_create_comment_params -import fastcomments/models/model_create_comment_public_response import fastcomments/models/model_create_email_template_body import fastcomments/models/model_create_email_template_response -import fastcomments/models/model_create_email_template_response1 import fastcomments/models/model_create_feed_post_params -import fastcomments/models/model_create_feed_post_public_response import fastcomments/models/model_create_feed_post_response -import fastcomments/models/model_create_feed_post_response1 import fastcomments/models/model_create_feed_posts_response import fastcomments/models/model_create_hash_tag_body import fastcomments/models/model_create_hash_tag_response import fastcomments/models/model_create_moderator_body import fastcomments/models/model_create_moderator_response -import fastcomments/models/model_create_moderator_response1 import fastcomments/models/model_create_question_config_body import fastcomments/models/model_create_question_config_response -import fastcomments/models/model_create_question_config_response1 import fastcomments/models/model_create_question_result_body import fastcomments/models/model_create_question_result_response -import fastcomments/models/model_create_question_result_response1 import fastcomments/models/model_create_subscription_api_response import fastcomments/models/model_create_tenant_body import fastcomments/models/model_create_tenant_package_body import fastcomments/models/model_create_tenant_package_response -import fastcomments/models/model_create_tenant_package_response1 import fastcomments/models/model_create_tenant_response -import fastcomments/models/model_create_tenant_response1 import fastcomments/models/model_create_tenant_user_body import fastcomments/models/model_create_tenant_user_response -import fastcomments/models/model_create_tenant_user_response1 import fastcomments/models/model_create_ticket_body import fastcomments/models/model_create_ticket_response -import fastcomments/models/model_create_ticket_response1 import fastcomments/models/model_create_user_badge_params -import fastcomments/models/model_create_user_badge_response import fastcomments/models/model_create_v1_page_react -import fastcomments/models/model_create_v1_page_react_response -import fastcomments/models/model_create_v2_page_react_response -import fastcomments/models/model_create_vote_response import fastcomments/models/model_custom_config_parameters import fastcomments/models/model_custom_email_template import fastcomments/models/model_delete_comment_action -import fastcomments/models/model_delete_comment_public_response -import fastcomments/models/model_delete_comment_response import fastcomments/models/model_delete_comment_result -import fastcomments/models/model_delete_comment_vote_response import fastcomments/models/model_delete_domain_config_response -import fastcomments/models/model_delete_email_template_render_error_response -import fastcomments/models/model_delete_email_template_response import fastcomments/models/model_delete_feed_post_public_response -import fastcomments/models/model_delete_feed_post_public_response_any_of import fastcomments/models/model_delete_hash_tag_request_body -import fastcomments/models/model_delete_hash_tag_response -import fastcomments/models/model_delete_moderation_vote_response -import fastcomments/models/model_delete_moderator_response -import fastcomments/models/model_delete_notification_count_response import fastcomments/models/model_delete_page_api_response -import fastcomments/models/model_delete_pending_webhook_event_response -import fastcomments/models/model_delete_question_config_response -import fastcomments/models/model_delete_question_result_response import fastcomments/models/model_delete_sso_user_api_response import fastcomments/models/model_delete_subscription_api_response -import fastcomments/models/model_delete_tenant_package_response -import fastcomments/models/model_delete_tenant_response -import fastcomments/models/model_delete_tenant_user_response -import fastcomments/models/model_delete_user_badge_response -import fastcomments/models/model_delete_v1_page_react_response -import fastcomments/models/model_delete_v2_page_react_response -import fastcomments/models/model_delete_vote_response import fastcomments/models/model_deleted_comment_result_comment import fastcomments/models/model_digest_email_frequency import fastcomments/models/model_email_template_definition @@ -195,154 +151,72 @@ import fastcomments/models/model_feed_post_stats import fastcomments/models/model_feed_posts_stats_response import fastcomments/models/model_find_comments_by_range_item import fastcomments/models/model_find_comments_by_range_response -import fastcomments/models/model_flag_comment_public_response import fastcomments/models/model_flag_comment_response -import fastcomments/models/model_flag_comment_response1 -import fastcomments/models/model_get_api_comments_response -import fastcomments/models/model_get_api_export_status_response -import fastcomments/models/model_get_api_ids_response import fastcomments/models/model_get_audit_logs_response -import fastcomments/models/model_get_audit_logs_response1 -import fastcomments/models/model_get_ban_users_from_comment_response import fastcomments/models/model_get_banned_users_count_response import fastcomments/models/model_get_banned_users_from_comment_response import fastcomments/models/model_get_cached_notification_count_response -import fastcomments/models/model_get_cached_notification_count_response1 import fastcomments/models/model_get_comment_ban_status_response -import fastcomments/models/model_get_comment_ban_status_response1 -import fastcomments/models/model_get_comment_children_response -import fastcomments/models/model_get_comment_response import fastcomments/models/model_get_comment_text_response -import fastcomments/models/model_get_comment_text_response1 -import fastcomments/models/model_get_comment_vote_user_names_response import fastcomments/models/model_get_comment_vote_user_names_success_response import fastcomments/models/model_get_comments_for_user_response -import fastcomments/models/model_get_comments_for_user_response1 -import fastcomments/models/model_get_comments_public_response -import fastcomments/models/model_get_comments_response import fastcomments/models/model_get_comments_response_public_comment import fastcomments/models/model_get_comments_response_with_presence_public_comment -import fastcomments/models/model_get_count_response -import fastcomments/models/model_get_counts_response import fastcomments/models/model_get_domain_config_response import fastcomments/models/model_get_domain_configs_response import fastcomments/models/model_get_domain_configs_response_any_of import fastcomments/models/model_get_domain_configs_response_any_of1 import fastcomments/models/model_get_email_template_definitions_response -import fastcomments/models/model_get_email_template_definitions_response1 import fastcomments/models/model_get_email_template_render_errors_response -import fastcomments/models/model_get_email_template_render_errors_response1 import fastcomments/models/model_get_email_template_response -import fastcomments/models/model_get_email_template_response1 import fastcomments/models/model_get_email_templates_response -import fastcomments/models/model_get_email_templates_response1 import fastcomments/models/model_get_event_log_response -import fastcomments/models/model_get_event_log_response1 -import fastcomments/models/model_get_feed_posts_public_response import fastcomments/models/model_get_feed_posts_response -import fastcomments/models/model_get_feed_posts_response1 -import fastcomments/models/model_get_feed_posts_stats_response -import fastcomments/models/model_get_gif_large_response import fastcomments/models/model_get_gifs_search_response import fastcomments/models/model_get_gifs_trending_response -import fastcomments/models/model_get_global_event_log_response import fastcomments/models/model_get_hash_tags_response -import fastcomments/models/model_get_hash_tags_response1 -import fastcomments/models/model_get_logs_response -import fastcomments/models/model_get_manual_badges_for_user_response -import fastcomments/models/model_get_manual_badges_response -import fastcomments/models/model_get_moderation_comment_response -import fastcomments/models/model_get_moderation_comment_text_response import fastcomments/models/model_get_moderator_response -import fastcomments/models/model_get_moderator_response1 import fastcomments/models/model_get_moderators_response -import fastcomments/models/model_get_moderators_response1 import fastcomments/models/model_get_my_notifications_response import fastcomments/models/model_get_notification_count_response -import fastcomments/models/model_get_notification_count_response1 import fastcomments/models/model_get_notifications_response -import fastcomments/models/model_get_notifications_response1 -import fastcomments/models/model_get_offline_users_response -import fastcomments/models/model_get_online_users_response import fastcomments/models/model_get_page_by_urlid_api_response import fastcomments/models/model_get_pages_api_response -import fastcomments/models/model_get_pages_public_response import fastcomments/models/model_get_pending_webhook_event_count_response -import fastcomments/models/model_get_pending_webhook_event_count_response1 import fastcomments/models/model_get_pending_webhook_events_response -import fastcomments/models/model_get_pending_webhook_events_response1 -import fastcomments/models/model_get_pre_ban_summary_response import fastcomments/models/model_get_public_feed_posts_response import fastcomments/models/model_get_public_pages_response import fastcomments/models/model_get_question_config_response -import fastcomments/models/model_get_question_config_response1 import fastcomments/models/model_get_question_configs_response -import fastcomments/models/model_get_question_configs_response1 import fastcomments/models/model_get_question_result_response -import fastcomments/models/model_get_question_result_response1 import fastcomments/models/model_get_question_results_response -import fastcomments/models/model_get_question_results_response1 import fastcomments/models/model_get_sso_user_by_email_api_response import fastcomments/models/model_get_sso_user_by_id_api_response import fastcomments/models/model_get_sso_users_response -import fastcomments/models/model_get_search_comments_summary_response -import fastcomments/models/model_get_search_pages_response -import fastcomments/models/model_get_search_sites_response -import fastcomments/models/model_get_search_suggest_response -import fastcomments/models/model_get_search_users_response import fastcomments/models/model_get_subscriptions_api_response import fastcomments/models/model_get_tenant_daily_usages_response -import fastcomments/models/model_get_tenant_daily_usages_response1 import fastcomments/models/model_get_tenant_manual_badges_response import fastcomments/models/model_get_tenant_package_response -import fastcomments/models/model_get_tenant_package_response1 import fastcomments/models/model_get_tenant_packages_response -import fastcomments/models/model_get_tenant_packages_response1 import fastcomments/models/model_get_tenant_response -import fastcomments/models/model_get_tenant_response1 import fastcomments/models/model_get_tenant_user_response -import fastcomments/models/model_get_tenant_user_response1 import fastcomments/models/model_get_tenant_users_response -import fastcomments/models/model_get_tenant_users_response1 import fastcomments/models/model_get_tenants_response -import fastcomments/models/model_get_tenants_response1 import fastcomments/models/model_get_ticket_response -import fastcomments/models/model_get_ticket_response1 import fastcomments/models/model_get_tickets_response -import fastcomments/models/model_get_tickets_response1 import fastcomments/models/model_get_translations_response -import fastcomments/models/model_get_translations_response1 -import fastcomments/models/model_get_trust_factor_response -import fastcomments/models/model_get_user_badge_progress_by_id_response -import fastcomments/models/model_get_user_badge_progress_by_user_id_response -import fastcomments/models/model_get_user_badge_progress_list_response -import fastcomments/models/model_get_user_badge_response -import fastcomments/models/model_get_user_badges_response -import fastcomments/models/model_get_user_ban_preference_response import fastcomments/models/model_get_user_internal_profile_response -import fastcomments/models/model_get_user_internal_profile_response1 import fastcomments/models/model_get_user_internal_profile_response_profile import fastcomments/models/model_get_user_manual_badges_response import fastcomments/models/model_get_user_notification_count_response -import fastcomments/models/model_get_user_notification_count_response1 -import fastcomments/models/model_get_user_notifications_response import fastcomments/models/model_get_user_presence_statuses_response -import fastcomments/models/model_get_user_presence_statuses_response1 -import fastcomments/models/model_get_user_reacts_public_response import fastcomments/models/model_get_user_response -import fastcomments/models/model_get_user_response1 import fastcomments/models/model_get_user_trust_factor_response -import fastcomments/models/model_get_users_info_response import fastcomments/models/model_get_v1_page_likes -import fastcomments/models/model_get_v1_page_likes_response import fastcomments/models/model_get_v2_page_react_users_response -import fastcomments/models/model_get_v2_page_react_users_response1 import fastcomments/models/model_get_v2_page_reacts -import fastcomments/models/model_get_v2_page_reacts_response import fastcomments/models/model_get_votes_for_user_response -import fastcomments/models/model_get_votes_for_user_response1 import fastcomments/models/model_get_votes_response -import fastcomments/models/model_get_votes_response1 import fastcomments/models/model_gif_get_large_response import fastcomments/models/model_gif_rating import fastcomments/models/model_gif_search_internal_error @@ -357,7 +231,6 @@ import fastcomments/models/model_imported_site_type import fastcomments/models/model_live_event import fastcomments/models/model_live_event_extra_info import fastcomments/models/model_live_event_type -import fastcomments/models/model_lock_comment_response import fastcomments/models/model_media_asset import fastcomments/models/model_mention_auto_complete_mode import fastcomments/models/model_meta_item @@ -391,26 +264,10 @@ import fastcomments/models/model_page_users_online_response import fastcomments/models/model_pages_sort_by import fastcomments/models/model_patch_domain_config_params import fastcomments/models/model_patch_domain_config_response -import fastcomments/models/model_patch_hash_tag_response import fastcomments/models/model_patch_page_api_response import fastcomments/models/model_patch_sso_user_api_response import fastcomments/models/model_pending_comment_to_sync_outbound -import fastcomments/models/model_pin_comment_response -import fastcomments/models/model_post_adjust_comment_votes_response -import fastcomments/models/model_post_api_export_response -import fastcomments/models/model_post_ban_user_from_comment_response -import fastcomments/models/model_post_ban_user_undo_response -import fastcomments/models/model_post_bulk_pre_ban_summary_response -import fastcomments/models/model_post_comments_by_ids_response -import fastcomments/models/model_post_flag_comment_response import fastcomments/models/model_post_remove_comment_response -import fastcomments/models/model_post_restore_deleted_comment_response -import fastcomments/models/model_post_set_comment_approval_status_response -import fastcomments/models/model_post_set_comment_review_status_response -import fastcomments/models/model_post_set_comment_spam_status_response -import fastcomments/models/model_post_set_comment_text_response -import fastcomments/models/model_post_un_flag_comment_response -import fastcomments/models/model_post_vote_response import fastcomments/models/model_pre_ban_summary import fastcomments/models/model_pub_sub_comment import fastcomments/models/model_pub_sub_comment_base @@ -424,11 +281,7 @@ import fastcomments/models/model_public_comment_base import fastcomments/models/model_public_feed_posts_response import fastcomments/models/model_public_page import fastcomments/models/model_public_vote -import fastcomments/models/model_put_award_badge_response -import fastcomments/models/model_put_close_thread_response import fastcomments/models/model_put_domain_config_response -import fastcomments/models/model_put_remove_badge_response -import fastcomments/models/model_put_reopen_thread_response import fastcomments/models/model_put_sso_user_api_response import fastcomments/models/model_query_predicate import fastcomments/models/model_query_predicate_value @@ -441,42 +294,30 @@ import fastcomments/models/model_question_result_aggregation_overall import fastcomments/models/model_question_sub_question_visibility import fastcomments/models/model_question_when_save import fastcomments/models/model_react_body_params -import fastcomments/models/model_react_feed_post_public_response import fastcomments/models/model_react_feed_post_response import fastcomments/models/model_record_string_before_string_or_null_after_string_or_null_value import fastcomments/models/model_remove_comment_action_response import fastcomments/models/model_remove_user_badge_response import fastcomments/models/model_render_email_template_body import fastcomments/models/model_render_email_template_response -import fastcomments/models/model_render_email_template_response1 import fastcomments/models/model_renderable_user_notification import fastcomments/models/model_repeat_comment_check_ignored_reason import fastcomments/models/model_repeat_comment_handling_action import fastcomments/models/model_replace_tenant_package_body -import fastcomments/models/model_replace_tenant_package_response import fastcomments/models/model_replace_tenant_user_body -import fastcomments/models/model_replace_tenant_user_response -import fastcomments/models/model_reset_user_notification_count_response import fastcomments/models/model_reset_user_notifications_response -import fastcomments/models/model_reset_user_notifications_response1 import fastcomments/models/model_sort_dir import fastcomments/models/model_sso_security_level -import fastcomments/models/model_save_comment_response import fastcomments/models/model_save_comment_response_optimized import fastcomments/models/model_save_comments_bulk_response import fastcomments/models/model_save_comments_response_with_presence import fastcomments/models/model_search_users_response -import fastcomments/models/model_search_users_response1 import fastcomments/models/model_search_users_result import fastcomments/models/model_search_users_sectioned_response -import fastcomments/models/model_send_invite_response -import fastcomments/models/model_send_login_link_response import fastcomments/models/model_set_comment_approved_response import fastcomments/models/model_set_comment_text_params import fastcomments/models/model_set_comment_text_response -import fastcomments/models/model_set_comment_text_response1 import fastcomments/models/model_set_comment_text_result -import fastcomments/models/model_set_trust_factor_response import fastcomments/models/model_set_user_trust_factor_response import fastcomments/models/model_size_preset import fastcomments/models/model_sort_directions @@ -485,43 +326,26 @@ import fastcomments/models/model_tos_config import fastcomments/models/model_tenant_badge import fastcomments/models/model_tenant_hash_tag import fastcomments/models/model_tenant_package -import fastcomments/models/model_un_block_comment_public_response import fastcomments/models/model_un_block_from_comment_params -import fastcomments/models/model_un_block_user_from_comment_response -import fastcomments/models/model_un_flag_comment_response -import fastcomments/models/model_un_lock_comment_response -import fastcomments/models/model_un_pin_comment_response import fastcomments/models/model_unblock_success import fastcomments/models/model_updatable_comment_params import fastcomments/models/model_update_api_page_data import fastcomments/models/model_update_apisso_user_data import fastcomments/models/model_update_api_user_subscription_data -import fastcomments/models/model_update_comment_response import fastcomments/models/model_update_domain_config_params import fastcomments/models/model_update_email_template_body -import fastcomments/models/model_update_email_template_response import fastcomments/models/model_update_feed_post_params -import fastcomments/models/model_update_feed_post_public_response -import fastcomments/models/model_update_feed_post_response import fastcomments/models/model_update_hash_tag_body import fastcomments/models/model_update_hash_tag_response import fastcomments/models/model_update_moderator_body -import fastcomments/models/model_update_moderator_response import fastcomments/models/model_update_notification_body -import fastcomments/models/model_update_notification_response import fastcomments/models/model_update_question_config_body -import fastcomments/models/model_update_question_config_response import fastcomments/models/model_update_question_result_body -import fastcomments/models/model_update_question_result_response import fastcomments/models/model_update_subscription_api_response import fastcomments/models/model_update_tenant_body import fastcomments/models/model_update_tenant_package_body -import fastcomments/models/model_update_tenant_package_response -import fastcomments/models/model_update_tenant_response import fastcomments/models/model_update_tenant_user_body -import fastcomments/models/model_update_tenant_user_response import fastcomments/models/model_update_user_badge_params -import fastcomments/models/model_update_user_badge_response import fastcomments/models/model_update_user_notification_comment_subscription_status_response import fastcomments/models/model_update_user_notification_page_subscription_status_response import fastcomments/models/model_update_user_notification_status_response @@ -540,7 +364,6 @@ import fastcomments/models/model_user_search_section_result import fastcomments/models/model_user_session_info import fastcomments/models/model_users_list_location import fastcomments/models/model_vote_body_params -import fastcomments/models/model_vote_comment_response import fastcomments/models/model_vote_delete_response import fastcomments/models/model_vote_response import fastcomments/models/model_vote_response_user @@ -581,14 +404,11 @@ export model_api_user_subscription export model_add_domain_config_params export model_add_domain_config_response export model_add_domain_config_response_any_of -export model_add_hash_tag_response -export model_add_hash_tags_bulk_response export model_add_page_api_response export model_add_sso_user_api_response export model_adjust_comment_votes_params export model_adjust_votes_response export model_aggregate_question_results_response -export model_aggregate_question_results_response1 export model_aggregate_response export model_aggregate_time_bucket export model_aggregation_api_error @@ -608,15 +428,12 @@ export model_banned_user_match_matched_on_value export model_banned_user_match_type export model_billing_info export model_block_from_comment_params -export model_block_from_comment_public_response export model_block_success -export model_block_user_from_comment_response export model_build_moderation_filter_params export model_build_moderation_filter_response export model_bulk_aggregate_question_item export model_bulk_aggregate_question_results_request export model_bulk_aggregate_question_results_response -export model_bulk_aggregate_question_results_response1 export model_bulk_create_hash_tags_body export model_bulk_create_hash_tags_body_tags_inner export model_bulk_create_hash_tags_response @@ -626,10 +443,7 @@ export model_bulk_pre_ban_summary export model_change_comment_pin_status_response export model_change_ticket_state_body export model_change_ticket_state_response -export model_change_ticket_state_response1 export model_check_blocked_comments_response -export model_checked_comments_for_blocked_response -export model_combine_comments_with_question_results_response export model_combine_question_results_with_comments_response export model_comment_data export model_comment_html_rendering_mode @@ -649,75 +463,40 @@ export model_create_api_page_data export model_create_apisso_user_data export model_create_api_user_subscription_data export model_create_comment_params -export model_create_comment_public_response export model_create_email_template_body export model_create_email_template_response -export model_create_email_template_response1 export model_create_feed_post_params -export model_create_feed_post_public_response export model_create_feed_post_response -export model_create_feed_post_response1 export model_create_feed_posts_response export model_create_hash_tag_body export model_create_hash_tag_response export model_create_moderator_body export model_create_moderator_response -export model_create_moderator_response1 export model_create_question_config_body export model_create_question_config_response -export model_create_question_config_response1 export model_create_question_result_body export model_create_question_result_response -export model_create_question_result_response1 export model_create_subscription_api_response export model_create_tenant_body export model_create_tenant_package_body export model_create_tenant_package_response -export model_create_tenant_package_response1 export model_create_tenant_response -export model_create_tenant_response1 export model_create_tenant_user_body export model_create_tenant_user_response -export model_create_tenant_user_response1 export model_create_ticket_body export model_create_ticket_response -export model_create_ticket_response1 export model_create_user_badge_params -export model_create_user_badge_response export model_create_v1_page_react -export model_create_v1_page_react_response -export model_create_v2_page_react_response -export model_create_vote_response export model_custom_config_parameters export model_custom_email_template export model_delete_comment_action -export model_delete_comment_public_response -export model_delete_comment_response export model_delete_comment_result -export model_delete_comment_vote_response export model_delete_domain_config_response -export model_delete_email_template_render_error_response -export model_delete_email_template_response export model_delete_feed_post_public_response -export model_delete_feed_post_public_response_any_of export model_delete_hash_tag_request_body -export model_delete_hash_tag_response -export model_delete_moderation_vote_response -export model_delete_moderator_response -export model_delete_notification_count_response export model_delete_page_api_response -export model_delete_pending_webhook_event_response -export model_delete_question_config_response -export model_delete_question_result_response export model_delete_sso_user_api_response export model_delete_subscription_api_response -export model_delete_tenant_package_response -export model_delete_tenant_response -export model_delete_tenant_user_response -export model_delete_user_badge_response -export model_delete_v1_page_react_response -export model_delete_v2_page_react_response -export model_delete_vote_response export model_deleted_comment_result_comment export model_digest_email_frequency export model_email_template_definition @@ -733,154 +512,72 @@ export model_feed_post_stats export model_feed_posts_stats_response export model_find_comments_by_range_item export model_find_comments_by_range_response -export model_flag_comment_public_response export model_flag_comment_response -export model_flag_comment_response1 -export model_get_api_comments_response -export model_get_api_export_status_response -export model_get_api_ids_response export model_get_audit_logs_response -export model_get_audit_logs_response1 -export model_get_ban_users_from_comment_response export model_get_banned_users_count_response export model_get_banned_users_from_comment_response export model_get_cached_notification_count_response -export model_get_cached_notification_count_response1 export model_get_comment_ban_status_response -export model_get_comment_ban_status_response1 -export model_get_comment_children_response -export model_get_comment_response export model_get_comment_text_response -export model_get_comment_text_response1 -export model_get_comment_vote_user_names_response export model_get_comment_vote_user_names_success_response export model_get_comments_for_user_response -export model_get_comments_for_user_response1 -export model_get_comments_public_response -export model_get_comments_response export model_get_comments_response_public_comment export model_get_comments_response_with_presence_public_comment -export model_get_count_response -export model_get_counts_response export model_get_domain_config_response export model_get_domain_configs_response export model_get_domain_configs_response_any_of export model_get_domain_configs_response_any_of1 export model_get_email_template_definitions_response -export model_get_email_template_definitions_response1 export model_get_email_template_render_errors_response -export model_get_email_template_render_errors_response1 export model_get_email_template_response -export model_get_email_template_response1 export model_get_email_templates_response -export model_get_email_templates_response1 export model_get_event_log_response -export model_get_event_log_response1 -export model_get_feed_posts_public_response export model_get_feed_posts_response -export model_get_feed_posts_response1 -export model_get_feed_posts_stats_response -export model_get_gif_large_response export model_get_gifs_search_response export model_get_gifs_trending_response -export model_get_global_event_log_response export model_get_hash_tags_response -export model_get_hash_tags_response1 -export model_get_logs_response -export model_get_manual_badges_for_user_response -export model_get_manual_badges_response -export model_get_moderation_comment_response -export model_get_moderation_comment_text_response export model_get_moderator_response -export model_get_moderator_response1 export model_get_moderators_response -export model_get_moderators_response1 export model_get_my_notifications_response export model_get_notification_count_response -export model_get_notification_count_response1 export model_get_notifications_response -export model_get_notifications_response1 -export model_get_offline_users_response -export model_get_online_users_response export model_get_page_by_urlid_api_response export model_get_pages_api_response -export model_get_pages_public_response export model_get_pending_webhook_event_count_response -export model_get_pending_webhook_event_count_response1 export model_get_pending_webhook_events_response -export model_get_pending_webhook_events_response1 -export model_get_pre_ban_summary_response export model_get_public_feed_posts_response export model_get_public_pages_response export model_get_question_config_response -export model_get_question_config_response1 export model_get_question_configs_response -export model_get_question_configs_response1 export model_get_question_result_response -export model_get_question_result_response1 export model_get_question_results_response -export model_get_question_results_response1 export model_get_sso_user_by_email_api_response export model_get_sso_user_by_id_api_response export model_get_sso_users_response -export model_get_search_comments_summary_response -export model_get_search_pages_response -export model_get_search_sites_response -export model_get_search_suggest_response -export model_get_search_users_response export model_get_subscriptions_api_response export model_get_tenant_daily_usages_response -export model_get_tenant_daily_usages_response1 export model_get_tenant_manual_badges_response export model_get_tenant_package_response -export model_get_tenant_package_response1 export model_get_tenant_packages_response -export model_get_tenant_packages_response1 export model_get_tenant_response -export model_get_tenant_response1 export model_get_tenant_user_response -export model_get_tenant_user_response1 export model_get_tenant_users_response -export model_get_tenant_users_response1 export model_get_tenants_response -export model_get_tenants_response1 export model_get_ticket_response -export model_get_ticket_response1 export model_get_tickets_response -export model_get_tickets_response1 export model_get_translations_response -export model_get_translations_response1 -export model_get_trust_factor_response -export model_get_user_badge_progress_by_id_response -export model_get_user_badge_progress_by_user_id_response -export model_get_user_badge_progress_list_response -export model_get_user_badge_response -export model_get_user_badges_response -export model_get_user_ban_preference_response export model_get_user_internal_profile_response -export model_get_user_internal_profile_response1 export model_get_user_internal_profile_response_profile export model_get_user_manual_badges_response export model_get_user_notification_count_response -export model_get_user_notification_count_response1 -export model_get_user_notifications_response export model_get_user_presence_statuses_response -export model_get_user_presence_statuses_response1 -export model_get_user_reacts_public_response export model_get_user_response -export model_get_user_response1 export model_get_user_trust_factor_response -export model_get_users_info_response export model_get_v1_page_likes -export model_get_v1_page_likes_response export model_get_v2_page_react_users_response -export model_get_v2_page_react_users_response1 export model_get_v2_page_reacts -export model_get_v2_page_reacts_response export model_get_votes_for_user_response -export model_get_votes_for_user_response1 export model_get_votes_response -export model_get_votes_response1 export model_gif_get_large_response export model_gif_rating export model_gif_search_internal_error @@ -895,7 +592,6 @@ export model_imported_site_type export model_live_event export model_live_event_extra_info export model_live_event_type -export model_lock_comment_response export model_media_asset export model_mention_auto_complete_mode export model_meta_item @@ -929,26 +625,10 @@ export model_page_users_online_response export model_pages_sort_by export model_patch_domain_config_params export model_patch_domain_config_response -export model_patch_hash_tag_response export model_patch_page_api_response export model_patch_sso_user_api_response export model_pending_comment_to_sync_outbound -export model_pin_comment_response -export model_post_adjust_comment_votes_response -export model_post_api_export_response -export model_post_ban_user_from_comment_response -export model_post_ban_user_undo_response -export model_post_bulk_pre_ban_summary_response -export model_post_comments_by_ids_response -export model_post_flag_comment_response export model_post_remove_comment_response -export model_post_restore_deleted_comment_response -export model_post_set_comment_approval_status_response -export model_post_set_comment_review_status_response -export model_post_set_comment_spam_status_response -export model_post_set_comment_text_response -export model_post_un_flag_comment_response -export model_post_vote_response export model_pre_ban_summary export model_pub_sub_comment export model_pub_sub_comment_base @@ -962,11 +642,7 @@ export model_public_comment_base export model_public_feed_posts_response export model_public_page export model_public_vote -export model_put_award_badge_response -export model_put_close_thread_response export model_put_domain_config_response -export model_put_remove_badge_response -export model_put_reopen_thread_response export model_put_sso_user_api_response export model_query_predicate export model_query_predicate_value @@ -979,42 +655,30 @@ export model_question_result_aggregation_overall export model_question_sub_question_visibility export model_question_when_save export model_react_body_params -export model_react_feed_post_public_response export model_react_feed_post_response export model_record_string_before_string_or_null_after_string_or_null_value export model_remove_comment_action_response export model_remove_user_badge_response export model_render_email_template_body export model_render_email_template_response -export model_render_email_template_response1 export model_renderable_user_notification export model_repeat_comment_check_ignored_reason export model_repeat_comment_handling_action export model_replace_tenant_package_body -export model_replace_tenant_package_response export model_replace_tenant_user_body -export model_replace_tenant_user_response -export model_reset_user_notification_count_response export model_reset_user_notifications_response -export model_reset_user_notifications_response1 export model_sort_dir export model_sso_security_level -export model_save_comment_response export model_save_comment_response_optimized export model_save_comments_bulk_response export model_save_comments_response_with_presence export model_search_users_response -export model_search_users_response1 export model_search_users_result export model_search_users_sectioned_response -export model_send_invite_response -export model_send_login_link_response export model_set_comment_approved_response export model_set_comment_text_params export model_set_comment_text_response -export model_set_comment_text_response1 export model_set_comment_text_result -export model_set_trust_factor_response export model_set_user_trust_factor_response export model_size_preset export model_sort_directions @@ -1023,43 +687,26 @@ export model_tos_config export model_tenant_badge export model_tenant_hash_tag export model_tenant_package -export model_un_block_comment_public_response export model_un_block_from_comment_params -export model_un_block_user_from_comment_response -export model_un_flag_comment_response -export model_un_lock_comment_response -export model_un_pin_comment_response export model_unblock_success export model_updatable_comment_params export model_update_api_page_data export model_update_apisso_user_data export model_update_api_user_subscription_data -export model_update_comment_response export model_update_domain_config_params export model_update_email_template_body -export model_update_email_template_response export model_update_feed_post_params -export model_update_feed_post_public_response -export model_update_feed_post_response export model_update_hash_tag_body export model_update_hash_tag_response export model_update_moderator_body -export model_update_moderator_response export model_update_notification_body -export model_update_notification_response export model_update_question_config_body -export model_update_question_config_response export model_update_question_result_body -export model_update_question_result_response export model_update_subscription_api_response export model_update_tenant_body export model_update_tenant_package_body -export model_update_tenant_package_response -export model_update_tenant_response export model_update_tenant_user_body -export model_update_tenant_user_response export model_update_user_badge_params -export model_update_user_badge_response export model_update_user_notification_comment_subscription_status_response export model_update_user_notification_page_subscription_status_response export model_update_user_notification_status_response @@ -1078,7 +725,6 @@ export model_user_search_section_result export model_user_session_info export model_users_list_location export model_vote_body_params -export model_vote_comment_response export model_vote_delete_response export model_vote_response export model_vote_response_user diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index 50d09a0..cf35ffc 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -18,166 +18,140 @@ import tables import typetraits import uri +import ../models/model_api_create_user_badge_response +import ../models/model_api_empty_response +import ../models/model_api_empty_success_response +import ../models/model_api_error +import ../models/model_api_get_comment_response +import ../models/model_api_get_comments_response +import ../models/model_api_get_user_badge_progress_list_response +import ../models/model_api_get_user_badge_progress_response +import ../models/model_api_get_user_badge_response +import ../models/model_api_get_user_badges_response +import ../models/model_api_save_comment_response import ../models/model_add_domain_config_params import ../models/model_add_domain_config_response -import ../models/model_add_hash_tag_response -import ../models/model_add_hash_tags_bulk_response import ../models/model_add_page_api_response import ../models/model_add_sso_user_api_response -import ../models/model_aggregate_question_results_response1 +import ../models/model_aggregate_question_results_response import ../models/model_aggregate_response import ../models/model_aggregate_time_bucket import ../models/model_aggregation_request import ../models/model_block_from_comment_params -import ../models/model_block_user_from_comment_response +import ../models/model_block_success import ../models/model_bulk_aggregate_question_results_request -import ../models/model_bulk_aggregate_question_results_response1 +import ../models/model_bulk_aggregate_question_results_response import ../models/model_bulk_create_hash_tags_body +import ../models/model_bulk_create_hash_tags_response import ../models/model_change_ticket_state_body -import ../models/model_change_ticket_state_response1 -import ../models/model_combine_comments_with_question_results_response +import ../models/model_change_ticket_state_response +import ../models/model_combine_question_results_with_comments_response import ../models/model_create_api_page_data import ../models/model_create_apisso_user_data import ../models/model_create_api_user_subscription_data import ../models/model_create_comment_params import ../models/model_create_email_template_body -import ../models/model_create_email_template_response1 +import ../models/model_create_email_template_response import ../models/model_create_feed_post_params -import ../models/model_create_feed_post_response1 +import ../models/model_create_feed_posts_response import ../models/model_create_hash_tag_body +import ../models/model_create_hash_tag_response import ../models/model_create_moderator_body -import ../models/model_create_moderator_response1 +import ../models/model_create_moderator_response import ../models/model_create_question_config_body -import ../models/model_create_question_config_response1 +import ../models/model_create_question_config_response import ../models/model_create_question_result_body -import ../models/model_create_question_result_response1 +import ../models/model_create_question_result_response import ../models/model_create_subscription_api_response import ../models/model_create_tenant_body import ../models/model_create_tenant_package_body -import ../models/model_create_tenant_package_response1 -import ../models/model_create_tenant_response1 +import ../models/model_create_tenant_package_response +import ../models/model_create_tenant_response import ../models/model_create_tenant_user_body -import ../models/model_create_tenant_user_response1 +import ../models/model_create_tenant_user_response import ../models/model_create_ticket_body -import ../models/model_create_ticket_response1 +import ../models/model_create_ticket_response import ../models/model_create_user_badge_params -import ../models/model_create_user_badge_response -import ../models/model_create_vote_response -import ../models/model_delete_comment_response +import ../models/model_delete_comment_result import ../models/model_delete_domain_config_response -import ../models/model_delete_email_template_render_error_response -import ../models/model_delete_email_template_response import ../models/model_delete_hash_tag_request_body -import ../models/model_delete_hash_tag_response -import ../models/model_delete_moderator_response -import ../models/model_delete_notification_count_response import ../models/model_delete_page_api_response -import ../models/model_delete_pending_webhook_event_response -import ../models/model_delete_question_config_response -import ../models/model_delete_question_result_response import ../models/model_delete_sso_user_api_response import ../models/model_delete_subscription_api_response -import ../models/model_delete_tenant_package_response -import ../models/model_delete_tenant_response -import ../models/model_delete_tenant_user_response -import ../models/model_delete_user_badge_response -import ../models/model_delete_vote_response import ../models/model_feed_post -import ../models/model_flag_comment_response1 -import ../models/model_get_audit_logs_response1 -import ../models/model_get_cached_notification_count_response1 -import ../models/model_get_comment_response -import ../models/model_get_comments_response +import ../models/model_flag_comment_response +import ../models/model_get_audit_logs_response +import ../models/model_get_cached_notification_count_response import ../models/model_get_domain_config_response import ../models/model_get_domain_configs_response -import ../models/model_get_email_template_definitions_response1 -import ../models/model_get_email_template_render_errors_response1 -import ../models/model_get_email_template_response1 -import ../models/model_get_email_templates_response1 -import ../models/model_get_feed_posts_response1 -import ../models/model_get_hash_tags_response1 -import ../models/model_get_moderator_response1 -import ../models/model_get_moderators_response1 -import ../models/model_get_notification_count_response1 -import ../models/model_get_notifications_response1 +import ../models/model_get_email_template_definitions_response +import ../models/model_get_email_template_render_errors_response +import ../models/model_get_email_template_response +import ../models/model_get_email_templates_response +import ../models/model_get_feed_posts_response +import ../models/model_get_hash_tags_response +import ../models/model_get_moderator_response +import ../models/model_get_moderators_response +import ../models/model_get_notification_count_response +import ../models/model_get_notifications_response import ../models/model_get_page_by_urlid_api_response import ../models/model_get_pages_api_response -import ../models/model_get_pending_webhook_event_count_response1 -import ../models/model_get_pending_webhook_events_response1 -import ../models/model_get_question_config_response1 -import ../models/model_get_question_configs_response1 -import ../models/model_get_question_result_response1 -import ../models/model_get_question_results_response1 +import ../models/model_get_pending_webhook_event_count_response +import ../models/model_get_pending_webhook_events_response +import ../models/model_get_question_config_response +import ../models/model_get_question_configs_response +import ../models/model_get_question_result_response +import ../models/model_get_question_results_response import ../models/model_get_sso_user_by_email_api_response import ../models/model_get_sso_user_by_id_api_response import ../models/model_get_sso_users_response import ../models/model_get_subscriptions_api_response -import ../models/model_get_tenant_daily_usages_response1 -import ../models/model_get_tenant_package_response1 -import ../models/model_get_tenant_packages_response1 -import ../models/model_get_tenant_response1 -import ../models/model_get_tenant_user_response1 -import ../models/model_get_tenant_users_response1 -import ../models/model_get_tenants_response1 -import ../models/model_get_ticket_response1 -import ../models/model_get_tickets_response1 -import ../models/model_get_user_badge_progress_by_id_response -import ../models/model_get_user_badge_progress_by_user_id_response -import ../models/model_get_user_badge_progress_list_response -import ../models/model_get_user_badge_response -import ../models/model_get_user_badges_response -import ../models/model_get_user_response1 -import ../models/model_get_votes_for_user_response1 -import ../models/model_get_votes_response1 +import ../models/model_get_tenant_daily_usages_response +import ../models/model_get_tenant_package_response +import ../models/model_get_tenant_packages_response +import ../models/model_get_tenant_response +import ../models/model_get_tenant_user_response +import ../models/model_get_tenant_users_response +import ../models/model_get_tenants_response +import ../models/model_get_ticket_response +import ../models/model_get_tickets_response +import ../models/model_get_user_response +import ../models/model_get_votes_for_user_response +import ../models/model_get_votes_response import ../models/model_patch_domain_config_params import ../models/model_patch_domain_config_response -import ../models/model_patch_hash_tag_response import ../models/model_patch_page_api_response import ../models/model_patch_sso_user_api_response import ../models/model_put_domain_config_response import ../models/model_put_sso_user_api_response import ../models/model_render_email_template_body -import ../models/model_render_email_template_response1 +import ../models/model_render_email_template_response import ../models/model_replace_tenant_package_body -import ../models/model_replace_tenant_package_response import ../models/model_replace_tenant_user_body -import ../models/model_replace_tenant_user_response import ../models/model_sort_dir -import ../models/model_save_comment_response import ../models/model_save_comments_bulk_response -import ../models/model_send_invite_response -import ../models/model_send_login_link_response import ../models/model_sort_directions import ../models/model_un_block_from_comment_params -import ../models/model_un_block_user_from_comment_response -import ../models/model_un_flag_comment_response +import ../models/model_unblock_success import ../models/model_updatable_comment_params import ../models/model_update_api_page_data import ../models/model_update_apisso_user_data import ../models/model_update_api_user_subscription_data -import ../models/model_update_comment_response import ../models/model_update_domain_config_params import ../models/model_update_email_template_body -import ../models/model_update_email_template_response -import ../models/model_update_feed_post_response import ../models/model_update_hash_tag_body +import ../models/model_update_hash_tag_response import ../models/model_update_moderator_body -import ../models/model_update_moderator_response import ../models/model_update_notification_body -import ../models/model_update_notification_response import ../models/model_update_question_config_body -import ../models/model_update_question_config_response import ../models/model_update_question_result_body -import ../models/model_update_question_result_response import ../models/model_update_subscription_api_response import ../models/model_update_tenant_body import ../models/model_update_tenant_package_body -import ../models/model_update_tenant_package_response -import ../models/model_update_tenant_response import ../models/model_update_tenant_user_body -import ../models/model_update_tenant_user_response import ../models/model_update_user_badge_params -import ../models/model_update_user_badge_response +import ../models/model_vote_delete_response +import ../models/model_vote_response const basepath = "https://fastcomments.com" @@ -205,7 +179,7 @@ proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigP constructResult[AddDomainConfigResponse](response) -proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[AddHashTagResponse], Response) = +proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[CreateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -214,10 +188,10 @@ proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: Cr let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags" & "?" & url_encoded_query_params, $(%createHashTagBody)) - constructResult[AddHashTagResponse](response) + constructResult[CreateHashTagResponse](response) -proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[AddHashTagsBulkResponse], Response) = +proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[BulkCreateHashTagsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -226,7 +200,7 @@ proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTa let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags/bulk" & "?" & url_encoded_query_params, $(%bulkCreateHashTagsBody)) - constructResult[AddHashTagsBulkResponse](response) + constructResult[BulkCreateHashTagsResponse](response) proc addPage*(httpClient: HttpClient, tenantId: string, createAPIPageData: CreateAPIPageData): (Option[AddPageAPIResponse], Response) = @@ -266,7 +240,7 @@ proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: Ag constructResult[AggregateResponse](response) -proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, timeBucket: AggregateTimeBucket, startDate: string, forceRecalculate: bool): (Option[AggregateQuestionResultsResponse1], Response) = +proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, timeBucket: AggregateTimeBucket, startDate: string, forceRecalculate: bool): (Option[AggregateQuestionResultsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -285,10 +259,10 @@ proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questio let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results-aggregation" & "?" & url_encoded_query_params) - constructResult[AggregateQuestionResultsResponse1](response) + constructResult[AggregateQuestionResultsResponse](response) -proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId: string, anonUserId: string): (Option[BlockUserFromCommentResponse], Response) = +proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId: string, anonUserId: string): (Option[BlockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -300,10 +274,10 @@ proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/block" & "?" & url_encoded_query_params, $(%blockFromCommentParams)) - constructResult[BlockUserFromCommentResponse](response) + constructResult[BlockSuccess](response) -proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse1], Response) = +proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -313,10 +287,10 @@ proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bul let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-results-aggregation/bulk" & "?" & url_encoded_query_params, $(%bulkAggregateQuestionResultsRequest)) - constructResult[BulkAggregateQuestionResultsResponse1](response) + constructResult[BulkAggregateQuestionResultsResponse](response) -proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse1], Response) = +proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -325,10 +299,10 @@ proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tickets/{id}/state" & "?" & url_encoded_query_params, $(%changeTicketStateBody)) - constructResult[ChangeTicketStateResponse1](response) + constructResult[ChangeTicketStateResponse](response) -proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, startDate: string, forceRecalculate: bool, minValue: float64, maxValue: float64, limit: float64): (Option[CombineCommentsWithQuestionResultsResponse], Response) = +proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, startDate: string, forceRecalculate: bool, minValue: float64, maxValue: float64, limit: float64): (Option[CombineQuestionResultsWithCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -351,10 +325,10 @@ proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results-aggregation/combine/comments" & "?" & url_encoded_query_params) - constructResult[CombineCommentsWithQuestionResultsResponse](response) + constructResult[CombineQuestionResultsWithCommentsResponse](response) -proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse1], Response) = +proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -362,10 +336,10 @@ proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/email-templates" & "?" & url_encoded_query_params, $(%createEmailTemplateBody)) - constructResult[CreateEmailTemplateResponse1](response) + constructResult[CreateEmailTemplateResponse](response) -proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, isLive: bool, doSpamCheck: bool, skipDupCheck: bool): (Option[CreateFeedPostResponse1], Response) = +proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, isLive: bool, doSpamCheck: bool, skipDupCheck: bool): (Option[CreateFeedPostsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -381,10 +355,10 @@ proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostPar let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/feed-posts" & "?" & url_encoded_query_params, $(%createFeedPostParams)) - constructResult[CreateFeedPostResponse1](response) + constructResult[CreateFeedPostsResponse](response) -proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse1], Response) = +proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -392,10 +366,10 @@ proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorB let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/moderators" & "?" & url_encoded_query_params, $(%createModeratorBody)) - constructResult[CreateModeratorResponse1](response) + constructResult[CreateModeratorResponse](response) -proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse1], Response) = +proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -403,10 +377,10 @@ proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuest let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-configs" & "?" & url_encoded_query_params, $(%createQuestionConfigBody)) - constructResult[CreateQuestionConfigResponse1](response) + constructResult[CreateQuestionConfigResponse](response) -proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse1], Response) = +proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -414,7 +388,7 @@ proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuest let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/question-results" & "?" & url_encoded_query_params, $(%createQuestionResultBody)) - constructResult[CreateQuestionResultResponse1](response) + constructResult[CreateQuestionResultResponse](response) proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData): (Option[CreateSubscriptionAPIResponse], Response) = @@ -428,7 +402,7 @@ proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUser constructResult[CreateSubscriptionAPIResponse](response) -proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse1], Response) = +proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -436,10 +410,10 @@ proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: C let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenants" & "?" & url_encoded_query_params, $(%createTenantBody)) - constructResult[CreateTenantResponse1](response) + constructResult[CreateTenantResponse](response) -proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse1], Response) = +proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -447,10 +421,10 @@ proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenant let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenant-packages" & "?" & url_encoded_query_params, $(%createTenantPackageBody)) - constructResult[CreateTenantPackageResponse1](response) + constructResult[CreateTenantPackageResponse](response) -proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse1], Response) = +proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -458,10 +432,10 @@ proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUse let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tenant-users" & "?" & url_encoded_query_params, $(%createTenantUserBody)) - constructResult[CreateTenantUserResponse1](response) + constructResult[CreateTenantUserResponse](response) -proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse1], Response) = +proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -470,10 +444,10 @@ proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, cre let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/tickets" & "?" & url_encoded_query_params, $(%createTicketBody)) - constructResult[CreateTicketResponse1](response) + constructResult[CreateTicketResponse](response) -proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[CreateUserBadgeResponse], Response) = +proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[APICreateUserBadgeResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -481,10 +455,10 @@ proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/user-badges" & "?" & url_encoded_query_params, $(%createUserBadgeParams)) - constructResult[CreateUserBadgeResponse](response) + constructResult[APICreateUserBadgeResponse](response) -proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, userId: string, anonUserId: string): (Option[CreateVoteResponse], Response) = +proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, userId: string, anonUserId: string): (Option[VoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -497,10 +471,10 @@ proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, di let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/votes" & "?" & url_encoded_query_params) - constructResult[CreateVoteResponse](response) + constructResult[VoteResponse](response) -proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contextUserId: string, isLive: bool): (Option[DeleteCommentResponse], Response) = +proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contextUserId: string, isLive: bool): (Option[DeleteCommentResult], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -511,7 +485,7 @@ proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contex let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteCommentResponse](response) + constructResult[DeleteCommentResult](response) proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[DeleteDomainConfigResponse], Response) = @@ -524,27 +498,27 @@ proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: strin constructResult[DeleteDomainConfigResponse](response) -proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteEmailTemplateResponse], Response) = +proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteEmailTemplateResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[DeleteEmailTemplateRenderErrorResponse], Response) = +proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/email-templates/{id}/render-errors/{errorId}" & "?" & url_encoded_query_params) - constructResult[DeleteEmailTemplateRenderErrorResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[DeleteHashTagResponse], Response) = +proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -552,10 +526,10 @@ proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, delet query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.request(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, httpMethod = HttpDelete, body = $(%deleteHashTagRequestBody)) - constructResult[DeleteHashTagResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string): (Option[DeleteModeratorResponse], Response) = +proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -564,17 +538,17 @@ proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, send let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteModeratorResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteNotificationCountResponse], Response) = +proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/notification-count/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteNotificationCountResponse](response) + constructResult[APIEmptyResponse](response) proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePageAPIResponse], Response) = @@ -587,34 +561,34 @@ proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[ constructResult[DeletePageAPIResponse](response) -proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePendingWebhookEventResponse], Response) = +proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/pending-webhook-events/{id}" & "?" & url_encoded_query_params) - constructResult[DeletePendingWebhookEventResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteQuestionConfigResponse], Response) = +proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteQuestionConfigResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteQuestionResultResponse], Response) = +proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteQuestionResultResponse](response) + constructResult[APIEmptyResponse](response) proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: bool, commentDeleteMode: string): (Option[DeleteSSOUserAPIResponse], Response) = @@ -643,7 +617,7 @@ proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[DeleteSubscriptionAPIResponse](response) -proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string): (Option[DeleteTenantResponse], Response) = +proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -652,20 +626,20 @@ proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteTenantResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteTenantPackageResponse], Response) = +proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteTenantPackageResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: string, commentDeleteMode: string): (Option[DeleteTenantUserResponse], Response) = +proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: string, commentDeleteMode: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -676,20 +650,20 @@ proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, del let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteTenantUserResponse](response) + constructResult[APIEmptyResponse](response) -proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeleteUserBadgeResponse], Response) = +proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptySuccessResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteUserBadgeResponse](response) + constructResult[APIEmptySuccessResponse](response) -proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string): (Option[DeleteVoteResponse], Response) = +proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string): (Option[VoteDeleteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -698,10 +672,10 @@ proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/api/v1/votes/{id}" & "?" & url_encoded_query_params) - constructResult[DeleteVoteResponse](response) + constructResult[VoteDeleteResponse](response) -proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse1], Response) = +proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -712,10 +686,10 @@ proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/flag" & "?" & url_encoded_query_params) - constructResult[FlagCommentResponse1](response) + constructResult[FlagCommentResponse](response) -proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, skip: float64, order: SORTDIR, after: float64, before: float64): (Option[GetAuditLogsResponse1], Response) = +proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, skip: float64, order: SORTDIR, after: float64, before: float64): (Option[GetAuditLogsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -732,30 +706,30 @@ proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, ski let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/audit-logs" & "?" & url_encoded_query_params) - constructResult[GetAuditLogsResponse1](response) + constructResult[GetAuditLogsResponse](response) -proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse1], Response) = +proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/notification-count/{id}" & "?" & url_encoded_query_params) - constructResult[GetCachedNotificationCountResponse1](response) + constructResult[GetCachedNotificationCountResponse](response) -proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCommentResponse], Response) = +proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params) - constructResult[GetCommentResponse](response) + constructResult[APIGetCommentResponse](response) -proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: int, skip: int, asTree: bool, skipChildren: int, limitChildren: int, maxTreeDepth: int, urlId: string, userId: string, anonUserId: string, contextUserId: string, hashTag: string, parentId: string, direction: SortDirections, fromDate: int64, toDate: int64): (Option[GetCommentsResponse], Response) = +proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: int, skip: int, asTree: bool, skipChildren: int, limitChildren: int, maxTreeDepth: int, urlId: string, userId: string, anonUserId: string, contextUserId: string, hashTag: string, parentId: string, direction: SortDirections, fromDate: int64, toDate: int64): (Option[APIGetCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -794,7 +768,7 @@ proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: in let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/comments" & "?" & url_encoded_query_params) - constructResult[GetCommentsResponse](response) + constructResult[APIGetCommentsResponse](response) proc getDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[GetDomainConfigResponse], Response) = @@ -817,27 +791,27 @@ proc getDomainConfigs*(httpClient: HttpClient, tenantId: string): (Option[GetDom constructResult[GetDomainConfigsResponse](response) -proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse1], Response) = +proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateResponse1](response) + constructResult[GetEmailTemplateResponse](response) -proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse1], Response) = +proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/email-templates/definitions" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateDefinitionsResponse1](response) + constructResult[GetEmailTemplateDefinitionsResponse](response) -proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse1], Response) = +proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -846,10 +820,10 @@ proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/email-templates/{id}/render-errors" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplateRenderErrorsResponse1](response) + constructResult[GetEmailTemplateRenderErrorsResponse](response) -proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse1], Response) = +proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -858,10 +832,10 @@ proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/email-templates" & "?" & url_encoded_query_params) - constructResult[GetEmailTemplatesResponse1](response) + constructResult[GetEmailTemplatesResponse](response) -proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string]): (Option[GetFeedPostsResponse1], Response) = +proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string]): (Option[GetFeedPostsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -874,10 +848,10 @@ proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, li let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/feed-posts" & "?" & url_encoded_query_params) - constructResult[GetFeedPostsResponse1](response) + constructResult[GetFeedPostsResponse](response) -proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse1], Response) = +proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -886,20 +860,20 @@ proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Opt let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/hash-tags" & "?" & url_encoded_query_params) - constructResult[GetHashTagsResponse1](response) + constructResult[GetHashTagsResponse](response) -proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse1], Response) = +proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params) - constructResult[GetModeratorResponse1](response) + constructResult[GetModeratorResponse](response) -proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse1], Response) = +proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -908,10 +882,10 @@ proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (O let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/moderators" & "?" & url_encoded_query_params) - constructResult[GetModeratorsResponse1](response) + constructResult[GetModeratorsResponse](response) -proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string): (Option[GetNotificationCountResponse1], Response) = +proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string): (Option[GetNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -928,10 +902,10 @@ proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/notifications/count" & "?" & url_encoded_query_params) - constructResult[GetNotificationCountResponse1](response) + constructResult[GetNotificationCountResponse](response) -proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string, skip: float64): (Option[GetNotificationsResponse1], Response) = +proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string, skip: float64): (Option[GetNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -950,7 +924,7 @@ proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/notifications" & "?" & url_encoded_query_params) - constructResult[GetNotificationsResponse1](response) + constructResult[GetNotificationsResponse](response) proc getPageByURLId*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetPageByURLIdAPIResponse], Response) = @@ -974,7 +948,7 @@ proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIRes constructResult[GetPagesAPIResponse](response) -proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64): (Option[GetPendingWebhookEventCountResponse1], Response) = +proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64): (Option[GetPendingWebhookEventCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -993,10 +967,10 @@ proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, comm let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/pending-webhook-events/count" & "?" & url_encoded_query_params) - constructResult[GetPendingWebhookEventCountResponse1](response) + constructResult[GetPendingWebhookEventCountResponse](response) -proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64, skip: float64): (Option[GetPendingWebhookEventsResponse1], Response) = +proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64, skip: float64): (Option[GetPendingWebhookEventsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1017,20 +991,20 @@ proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/pending-webhook-events" & "?" & url_encoded_query_params) - constructResult[GetPendingWebhookEventsResponse1](response) + constructResult[GetPendingWebhookEventsResponse](response) -proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse1], Response) = +proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params) - constructResult[GetQuestionConfigResponse1](response) + constructResult[GetQuestionConfigResponse](response) -proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse1], Response) = +proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1039,20 +1013,20 @@ proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64 let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-configs" & "?" & url_encoded_query_params) - constructResult[GetQuestionConfigsResponse1](response) + constructResult[GetQuestionConfigsResponse](response) -proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse1], Response) = +proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params) - constructResult[GetQuestionResultResponse1](response) + constructResult[GetQuestionResultResponse](response) -proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, startDate: string, questionId: string, questionIds: string, skip: float64): (Option[GetQuestionResultsResponse1], Response) = +proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, startDate: string, questionId: string, questionIds: string, skip: float64): (Option[GetQuestionResultsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1071,7 +1045,7 @@ proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/question-results" & "?" & url_encoded_query_params) - constructResult[GetQuestionResultsResponse1](response) + constructResult[GetQuestionResultsResponse](response) proc getSSOUserByEmail*(httpClient: HttpClient, tenantId: string, email: string): (Option[GetSSOUserByEmailAPIResponse], Response) = @@ -1118,17 +1092,17 @@ proc getSubscriptions*(httpClient: HttpClient, tenantId: string, userId: string) constructResult[GetSubscriptionsAPIResponse](response) -proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse1], Response) = +proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantResponse1](response) + constructResult[GetTenantResponse](response) -proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: float64, monthNumber: float64, dayNumber: float64, skip: float64): (Option[GetTenantDailyUsagesResponse1], Response) = +proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: float64, monthNumber: float64, dayNumber: float64, skip: float64): (Option[GetTenantDailyUsagesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1143,20 +1117,20 @@ proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-daily-usage" & "?" & url_encoded_query_params) - constructResult[GetTenantDailyUsagesResponse1](response) + constructResult[GetTenantDailyUsagesResponse](response) -proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse1], Response) = +proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantPackageResponse1](response) + constructResult[GetTenantPackageResponse](response) -proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse1], Response) = +proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1165,20 +1139,20 @@ proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-packages" & "?" & url_encoded_query_params) - constructResult[GetTenantPackagesResponse1](response) + constructResult[GetTenantPackagesResponse](response) -proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse1], Response) = +proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params) - constructResult[GetTenantUserResponse1](response) + constructResult[GetTenantUserResponse](response) -proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse1], Response) = +proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1187,10 +1161,10 @@ proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): ( let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenant-users" & "?" & url_encoded_query_params) - constructResult[GetTenantUsersResponse1](response) + constructResult[GetTenantUsersResponse](response) -proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: float64): (Option[GetTenantsResponse1], Response) = +proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: float64): (Option[GetTenantsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1201,10 +1175,10 @@ proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: f let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tenants" & "?" & url_encoded_query_params) - constructResult[GetTenantsResponse1](response) + constructResult[GetTenantsResponse](response) -proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[GetTicketResponse1], Response) = +proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[GetTicketResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1213,10 +1187,10 @@ proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/tickets/{id}" & "?" & url_encoded_query_params) - constructResult[GetTicketResponse1](response) + constructResult[GetTicketResponse](response) -proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state: float64, skip: float64, limit: float64): (Option[GetTicketsResponse1], Response) = +proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state: float64, skip: float64, limit: float64): (Option[GetTicketsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1231,50 +1205,50 @@ proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/tickets" & "?" & url_encoded_query_params) - constructResult[GetTicketsResponse1](response) + constructResult[GetTicketsResponse](response) -proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse1], Response) = +proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/users/{id}" & "?" & url_encoded_query_params) - constructResult[GetUserResponse1](response) + constructResult[GetUserResponse](response) -proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserBadgeResponse], Response) = +proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params) - constructResult[GetUserBadgeResponse](response) + constructResult[APIGetUserBadgeResponse](response) -proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserBadgeProgressByIdResponse], Response) = +proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeProgressResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badge-progress/{id}" & "?" & url_encoded_query_params) - constructResult[GetUserBadgeProgressByIdResponse](response) + constructResult[APIGetUserBadgeProgressResponse](response) -proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[GetUserBadgeProgressByUserIdResponse], Response) = +proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[APIGetUserBadgeProgressResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/api/v1/user-badge-progress/user/{userId}" & "?" & url_encoded_query_params) - constructResult[GetUserBadgeProgressByUserIdResponse](response) + constructResult[APIGetUserBadgeProgressResponse](response) -proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: string, limit: float64, skip: float64): (Option[GetUserBadgeProgressListResponse], Response) = +proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: string, limit: float64, skip: float64): (Option[APIGetUserBadgeProgressListResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1287,10 +1261,10 @@ proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/user-badge-progress" & "?" & url_encoded_query_params) - constructResult[GetUserBadgeProgressListResponse](response) + constructResult[APIGetUserBadgeProgressListResponse](response) -proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, badgeId: string, `type`: float64, displayedOnComments: bool, limit: float64, skip: float64): (Option[GetUserBadgesResponse], Response) = +proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, badgeId: string, `type`: float64, displayedOnComments: bool, limit: float64, skip: float64): (Option[APIGetUserBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1309,10 +1283,10 @@ proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, ba let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/user-badges" & "?" & url_encoded_query_params) - constructResult[GetUserBadgesResponse](response) + constructResult[APIGetUserBadgesResponse](response) -proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse1], Response) = +proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1320,10 +1294,10 @@ proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/votes" & "?" & url_encoded_query_params) - constructResult[GetVotesResponse1](response) + constructResult[GetVotesResponse](response) -proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, anonUserId: string): (Option[GetVotesForUserResponse1], Response) = +proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, anonUserId: string): (Option[GetVotesForUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1335,7 +1309,7 @@ proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/api/v1/votes/for-user" & "?" & url_encoded_query_params) - constructResult[GetVotesForUserResponse1](response) + constructResult[GetVotesForUserResponse](response) proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams): (Option[PatchDomainConfigResponse], Response) = @@ -1349,7 +1323,7 @@ proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate constructResult[PatchDomainConfigResponse](response) -proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, updateHashTagBody: UpdateHashTagBody): (Option[PatchHashTagResponse], Response) = +proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, updateHashTagBody: UpdateHashTagBody): (Option[UpdateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1358,7 +1332,7 @@ proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, update let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, $(%updateHashTagBody)) - constructResult[PatchHashTagResponse](response) + constructResult[UpdateHashTagResponse](response) proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIPageData: UpdateAPIPageData): (Option[PatchPageAPIResponse], Response) = @@ -1409,7 +1383,7 @@ proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPI constructResult[PutSSOUserAPIResponse](response) -proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string): (Option[RenderEmailTemplateResponse1], Response) = +proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string): (Option[RenderEmailTemplateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1419,10 +1393,10 @@ proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/email-templates/render" & "?" & url_encoded_query_params, $(%renderEmailTemplateBody)) - constructResult[RenderEmailTemplateResponse1](response) + constructResult[RenderEmailTemplateResponse](response) -proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[ReplaceTenantPackageResponse], Response) = +proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1430,10 +1404,10 @@ proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params, $(%replaceTenantPackageBody)) - constructResult[ReplaceTenantPackageResponse](response) + constructResult[APIEmptyResponse](response) -proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string): (Option[ReplaceTenantUserResponse], Response) = +proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1443,10 +1417,10 @@ proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, re let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params, $(%replaceTenantUserBody)) - constructResult[ReplaceTenantUserResponse](response) + constructResult[APIEmptyResponse](response) -proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[SaveCommentResponse], Response) = +proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[APISaveCommentResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1462,7 +1436,7 @@ proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/comments" & "?" & url_encoded_query_params, $(%createCommentParams)) - constructResult[SaveCommentResponse](response) + constructResult[APISaveCommentResponse](response) proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[seq[SaveCommentsBulkResponse]], Response) = @@ -1484,7 +1458,7 @@ proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentPa constructResult[seq[SaveCommentsBulkResponse]](response) -proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[SendInviteResponse], Response) = +proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1492,10 +1466,10 @@ proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/moderators/{id}/send-invite" & "?" & url_encoded_query_params) - constructResult[SendInviteResponse](response) + constructResult[APIEmptyResponse](response) -proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string): (Option[SendLoginLinkResponse], Response) = +proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1504,10 +1478,10 @@ proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redire let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/tenant-users/{id}/send-login-link" & "?" & url_encoded_query_params) - constructResult[SendLoginLinkResponse](response) + constructResult[APIEmptyResponse](response) -proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId: string, anonUserId: string): (Option[UnBlockUserFromCommentResponse], Response) = +proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId: string, anonUserId: string): (Option[UnblockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1519,10 +1493,10 @@ proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/un-block" & "?" & url_encoded_query_params, $(%unBlockFromCommentParams)) - constructResult[UnBlockUserFromCommentResponse](response) + constructResult[UnblockSuccess](response) -proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[UnFlagCommentResponse], Response) = +proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1533,10 +1507,10 @@ proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/api/v1/comments/{id}/un-flag" & "?" & url_encoded_query_params) - constructResult[UnFlagCommentResponse](response) + constructResult[FlagCommentResponse](response) -proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, contextUserId: string, doSpamCheck: bool, isLive: bool): (Option[UpdateCommentResponse], Response) = +proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, contextUserId: string, doSpamCheck: bool, isLive: bool): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1550,10 +1524,10 @@ proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updata let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/comments/{id}" & "?" & url_encoded_query_params, $(%updatableCommentParams)) - constructResult[UpdateCommentResponse](response) + constructResult[APIEmptyResponse](response) -proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[UpdateEmailTemplateResponse], Response) = +proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1561,10 +1535,10 @@ proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/email-templates/{id}" & "?" & url_encoded_query_params, $(%updateEmailTemplateBody)) - constructResult[UpdateEmailTemplateResponse](response) + constructResult[APIEmptyResponse](response) -proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[UpdateFeedPostResponse], Response) = +proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1572,10 +1546,10 @@ proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/feed-posts/{id}" & "?" & url_encoded_query_params, $(%feedPost)) - constructResult[UpdateFeedPostResponse](response) + constructResult[APIEmptyResponse](response) -proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[UpdateModeratorResponse], Response) = +proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1583,10 +1557,10 @@ proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, upda let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/moderators/{id}" & "?" & url_encoded_query_params, $(%updateModeratorBody)) - constructResult[UpdateModeratorResponse](response) + constructResult[APIEmptyResponse](response) -proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string): (Option[UpdateNotificationResponse], Response) = +proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1596,10 +1570,10 @@ proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/notifications/{id}" & "?" & url_encoded_query_params, $(%updateNotificationBody)) - constructResult[UpdateNotificationResponse](response) + constructResult[APIEmptyResponse](response) -proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[UpdateQuestionConfigResponse], Response) = +proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1607,10 +1581,10 @@ proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/question-configs/{id}" & "?" & url_encoded_query_params, $(%updateQuestionConfigBody)) - constructResult[UpdateQuestionConfigResponse](response) + constructResult[APIEmptyResponse](response) -proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[UpdateQuestionResultResponse], Response) = +proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1618,7 +1592,7 @@ proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/question-results/{id}" & "?" & url_encoded_query_params, $(%updateQuestionResultBody)) - constructResult[UpdateQuestionResultResponse](response) + constructResult[APIEmptyResponse](response) proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: string): (Option[UpdateSubscriptionAPIResponse], Response) = @@ -1634,7 +1608,7 @@ proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[UpdateSubscriptionAPIResponse](response) -proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[UpdateTenantResponse], Response) = +proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1642,10 +1616,10 @@ proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateT let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenants/{id}" & "?" & url_encoded_query_params, $(%updateTenantBody)) - constructResult[UpdateTenantResponse](response) + constructResult[APIEmptyResponse](response) -proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[UpdateTenantPackageResponse], Response) = +proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1653,10 +1627,10 @@ proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenant-packages/{id}" & "?" & url_encoded_query_params, $(%updateTenantPackageBody)) - constructResult[UpdateTenantPackageResponse](response) + constructResult[APIEmptyResponse](response) -proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string): (Option[UpdateTenantUserResponse], Response) = +proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1666,10 +1640,10 @@ proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, upd let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/tenant-users/{id}" & "?" & url_encoded_query_params, $(%updateTenantUserBody)) - constructResult[UpdateTenantUserResponse](response) + constructResult[APIEmptyResponse](response) -proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[UpdateUserBadgeResponse], Response) = +proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[APIEmptySuccessResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1677,5 +1651,5 @@ proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, upda let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/api/v1/user-badges/{id}" & "?" & url_encoded_query_params, $(%updateUserBadgeParams)) - constructResult[UpdateUserBadgeResponse](response) + constructResult[APIEmptySuccessResponse](response) diff --git a/client/fastcomments/apis/api_moderation.nim b/client/fastcomments/apis/api_moderation.nim index 70ab7ff..6f96ff7 100644 --- a/client/fastcomments/apis/api_moderation.nim +++ b/client/fastcomments/apis/api_moderation.nim @@ -18,54 +18,47 @@ import tables import typetraits import uri +import ../models/model_api_empty_response +import ../models/model_api_error +import ../models/model_api_moderate_get_user_ban_preferences_response import ../models/model_adjust_comment_votes_params +import ../models/model_adjust_votes_response +import ../models/model_award_user_badge_response +import ../models/model_ban_user_from_comment_result import ../models/model_ban_user_undo_params import ../models/model_bulk_pre_ban_params +import ../models/model_bulk_pre_ban_summary import ../models/model_comments_by_ids_params -import ../models/model_delete_moderation_vote_response -import ../models/model_get_api_comments_response -import ../models/model_get_api_export_status_response -import ../models/model_get_api_ids_response -import ../models/model_get_ban_users_from_comment_response -import ../models/model_get_comment_ban_status_response1 -import ../models/model_get_comment_children_response -import ../models/model_get_count_response -import ../models/model_get_counts_response -import ../models/model_get_logs_response -import ../models/model_get_manual_badges_for_user_response -import ../models/model_get_manual_badges_response -import ../models/model_get_moderation_comment_response -import ../models/model_get_moderation_comment_text_response -import ../models/model_get_pre_ban_summary_response -import ../models/model_get_search_comments_summary_response -import ../models/model_get_search_pages_response -import ../models/model_get_search_sites_response -import ../models/model_get_search_suggest_response -import ../models/model_get_search_users_response -import ../models/model_get_trust_factor_response -import ../models/model_get_user_ban_preference_response -import ../models/model_get_user_internal_profile_response1 -import ../models/model_post_adjust_comment_votes_response -import ../models/model_post_api_export_response -import ../models/model_post_ban_user_from_comment_response -import ../models/model_post_ban_user_undo_response -import ../models/model_post_bulk_pre_ban_summary_response -import ../models/model_post_comments_by_ids_response -import ../models/model_post_flag_comment_response +import ../models/model_get_banned_users_count_response +import ../models/model_get_banned_users_from_comment_response +import ../models/model_get_comment_ban_status_response +import ../models/model_get_comment_text_response +import ../models/model_get_tenant_manual_badges_response +import ../models/model_get_user_internal_profile_response +import ../models/model_get_user_manual_badges_response +import ../models/model_get_user_trust_factor_response +import ../models/model_moderation_api_child_comments_response +import ../models/model_moderation_api_comment_response +import ../models/model_moderation_api_count_comments_response +import ../models/model_moderation_api_get_comment_ids_response +import ../models/model_moderation_api_get_comments_response +import ../models/model_moderation_api_get_logs_response +import ../models/model_moderation_comment_search_response +import ../models/model_moderation_export_response +import ../models/model_moderation_export_status_response +import ../models/model_moderation_page_search_response +import ../models/model_moderation_site_search_response +import ../models/model_moderation_suggest_response +import ../models/model_moderation_user_search_response import ../models/model_post_remove_comment_response -import ../models/model_post_restore_deleted_comment_response -import ../models/model_post_set_comment_approval_status_response -import ../models/model_post_set_comment_review_status_response -import ../models/model_post_set_comment_spam_status_response -import ../models/model_post_set_comment_text_response -import ../models/model_post_un_flag_comment_response -import ../models/model_post_vote_response -import ../models/model_put_award_badge_response -import ../models/model_put_close_thread_response -import ../models/model_put_remove_badge_response -import ../models/model_put_reopen_thread_response +import ../models/model_pre_ban_summary +import ../models/model_remove_user_badge_response +import ../models/model_set_comment_approved_response import ../models/model_set_comment_text_params -import ../models/model_set_trust_factor_response +import ../models/model_set_comment_text_response +import ../models/model_set_user_trust_factor_response +import ../models/model_vote_delete_response +import ../models/model_vote_response const basepath = "https://fastcomments.com" @@ -82,7 +75,7 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, broadcastId: string, tenantId: string, sso: string): (Option[DeleteModerationVoteResponse], Response) = +proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, broadcastId: string, tenantId: string, sso: string): (Option[VoteDeleteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -94,10 +87,10 @@ proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" & "?" & url_encoded_query_params) - constructResult[DeleteModerationVoteResponse](response) + constructResult[VoteDeleteResponse](response) -proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, demo: bool, tenantId: string, sso: string): (Option[GetApiCommentsResponse], Response) = +proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPIGetCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $page != "": @@ -123,10 +116,10 @@ proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, text let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/comments" & "?" & url_encoded_query_params) - constructResult[GetApiCommentsResponse](response) + constructResult[ModerationAPIGetCommentsResponse](response) -proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: string, sso: string): (Option[GetApiExportStatusResponse], Response) = +proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: string, sso: string): (Option[ModerationExportStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $batchJobId != "": @@ -138,10 +131,10 @@ proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/export/status" & "?" & url_encoded_query_params) - constructResult[GetApiExportStatusResponse](response) + constructResult[ModerationExportStatusResponse](response) -proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, afterId: string, demo: bool, tenantId: string, sso: string): (Option[GetApiIdsResponse], Response) = +proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, afterId: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPIGetCommentIdsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -163,10 +156,10 @@ proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/ids" & "?" & url_encoded_query_params) - constructResult[GetApiIdsResponse](response) + constructResult[ModerationAPIGetCommentIdsResponse](response) -proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetBanUsersFromCommentResponse], Response) = +proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetBannedUsersFromCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -176,10 +169,10 @@ proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetBanUsersFromCommentResponse](response) + constructResult[GetBannedUsersFromCommentResponse](response) -proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentBanStatusResponse1], Response) = +proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentBanStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -189,10 +182,10 @@ proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetCommentBanStatusResponse1](response) + constructResult[GetCommentBanStatusResponse](response) -proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentChildrenResponse], Response) = +proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -202,10 +195,10 @@ proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment-children/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetCommentChildrenResponse](response) + constructResult[ModerationAPIChildCommentsResponse](response) -proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filter: string, searchFilters: string, demo: bool, tenantId: string, sso: string): (Option[GetCountResponse], Response) = +proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filter: string, searchFilters: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPICountCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -225,10 +218,10 @@ proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/count" & "?" & url_encoded_query_params) - constructResult[GetCountResponse](response) + constructResult[ModerationAPICountCommentsResponse](response) -proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetCountsResponse], Response) = +proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetBannedUsersCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -238,10 +231,10 @@ proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/banned-users/counts" & "?" & url_encoded_query_params) - constructResult[GetCountsResponse](response) + constructResult[GetBannedUsersCountResponse](response) -proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetLogsResponse], Response) = +proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[ModerationAPIGetLogsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -251,10 +244,10 @@ proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/logs/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetLogsResponse](response) + constructResult[ModerationAPIGetLogsResponse](response) -proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetManualBadgesResponse], Response) = +proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetTenantManualBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -264,10 +257,10 @@ proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (O let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges" & "?" & url_encoded_query_params) - constructResult[GetManualBadgesResponse](response) + constructResult[GetTenantManualBadgesResponse](response) -proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, commentId: string, tenantId: string, sso: string): (Option[GetManualBadgesForUserResponse], Response) = +proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, commentId: string, tenantId: string, sso: string): (Option[GetUserManualBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $badgesUserId != "": @@ -281,10 +274,10 @@ proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, comme let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges-for-user" & "?" & url_encoded_query_params) - constructResult[GetManualBadgesForUserResponse](response) + constructResult[GetUserManualBadgesResponse](response) -proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEmail: bool, includeIP: bool, tenantId: string, sso: string): (Option[GetModerationCommentResponse], Response) = +proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEmail: bool, includeIP: bool, tenantId: string, sso: string): (Option[ModerationAPICommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $includeEmail != "": @@ -298,10 +291,10 @@ proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEma let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetModerationCommentResponse](response) + constructResult[ModerationAPICommentResponse](response) -proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetModerationCommentTextResponse], Response) = +proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentTextResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -311,10 +304,10 @@ proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenant let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-text/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetModerationCommentTextResponse](response) + constructResult[GetCommentTextResponse](response) -proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[GetPreBanSummaryResponse], Response) = +proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[PreBanSummary], Response) = ## var query_params_list: seq[(string, string)] = @[] if $includeByUserIdAndEmail != "": @@ -330,10 +323,10 @@ proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" & "?" & url_encoded_query_params) - constructResult[GetPreBanSummaryResponse](response) + constructResult[PreBanSummary](response) -proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: string, searchFilters: string, tenantId: string, sso: string): (Option[GetSearchCommentsSummaryResponse], Response) = +proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: string, searchFilters: string, tenantId: string, sso: string): (Option[ModerationCommentSearchResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -349,10 +342,10 @@ proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/comments/summary" & "?" & url_encoded_query_params) - constructResult[GetSearchCommentsSummaryResponse](response) + constructResult[ModerationCommentSearchResponse](response) -proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchPagesResponse], Response) = +proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationPageSearchResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -364,10 +357,10 @@ proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, ss let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/pages" & "?" & url_encoded_query_params) - constructResult[GetSearchPagesResponse](response) + constructResult[ModerationPageSearchResponse](response) -proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchSitesResponse], Response) = +proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationSiteSearchResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -379,10 +372,10 @@ proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, ss let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/sites" & "?" & url_encoded_query_params) - constructResult[GetSearchSitesResponse](response) + constructResult[ModerationSiteSearchResponse](response) -proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: string, sso: string): (Option[GetSearchSuggestResponse], Response) = +proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: string, sso: string): (Option[ModerationSuggestResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -394,10 +387,10 @@ proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/suggest" & "?" & url_encoded_query_params) - constructResult[GetSearchSuggestResponse](response) + constructResult[ModerationSuggestResponse](response) -proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[GetSearchUsersResponse], Response) = +proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationUserSearchResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -409,10 +402,10 @@ proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, ss let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/users" & "?" & url_encoded_query_params) - constructResult[GetSearchUsersResponse](response) + constructResult[ModerationUserSearchResponse](response) -proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, sso: string): (Option[GetTrustFactorResponse], Response) = +proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, sso: string): (Option[GetUserTrustFactorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -424,10 +417,10 @@ proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-trust-factor" & "?" & url_encoded_query_params) - constructResult[GetTrustFactorResponse](response) + constructResult[GetUserTrustFactorResponse](response) -proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserBanPreferenceResponse], Response) = +proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string): (Option[APIModerateGetUserBanPreferencesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -437,10 +430,10 @@ proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/user-ban-preference" & "?" & url_encoded_query_params) - constructResult[GetUserBanPreferenceResponse](response) + constructResult[APIModerateGetUserBanPreferencesResponse](response) -proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetUserInternalProfileResponse1], Response) = +proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetUserInternalProfileResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $commentId != "": @@ -452,10 +445,10 @@ proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-user-internal-profile" & "?" & url_encoded_query_params) - constructResult[GetUserInternalProfileResponse1](response) + constructResult[GetUserInternalProfileResponse](response) -proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: string, tenantId: string, sso: string): (Option[PostAdjustCommentVotesResponse], Response) = +proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: string, tenantId: string, sso: string): (Option[AdjustVotesResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -468,10 +461,10 @@ proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCo let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" & "?" & url_encoded_query_params, $(%adjustCommentVotesParams)) - constructResult[PostAdjustCommentVotesResponse](response) + constructResult[AdjustVotesResponse](response) -proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, tenantId: string, sso: string): (Option[PostApiExportResponse], Response) = +proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, tenantId: string, sso: string): (Option[ModerationExportResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -491,10 +484,10 @@ proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/api/export" & "?" & url_encoded_query_params) - constructResult[PostApiExportResponse](response) + constructResult[ModerationExportResponse](response) -proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail: bool, banEmailDomain: bool, banIP: bool, deleteAllUsersComments: bool, bannedUntil: string, isShadowBan: bool, updateId: string, banReason: string, tenantId: string, sso: string): (Option[PostBanUserFromCommentResponse], Response) = +proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail: bool, banEmailDomain: bool, banIP: bool, deleteAllUsersComments: bool, bannedUntil: string, isShadowBan: bool, updateId: string, banReason: string, tenantId: string, sso: string): (Option[BanUserFromCommentResult], Response) = ## var query_params_list: seq[(string, string)] = @[] if $banEmail != "": @@ -520,10 +513,10 @@ proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostBanUserFromCommentResponse](response) + constructResult[BanUserFromCommentResult](response) -proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, tenantId: string, sso: string): (Option[PostBanUserUndoResponse], Response) = +proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -534,10 +527,10 @@ proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoPara let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/ban-user/undo" & "?" & url_encoded_query_params, $(%banUserUndoParams)) - constructResult[PostBanUserUndoResponse](response) + constructResult[APIEmptyResponse](response) -proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[PostBulkPreBanSummaryResponse], Response) = +proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[BulkPreBanSummary], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -554,10 +547,10 @@ proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBan let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/bulk-pre-ban-summary" & "?" & url_encoded_query_params, $(%bulkPreBanParams)) - constructResult[PostBulkPreBanSummaryResponse](response) + constructResult[BulkPreBanSummary](response) -proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, tenantId: string, sso: string): (Option[PostCommentsByIdsResponse], Response) = +proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, tenantId: string, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -568,10 +561,10 @@ proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/comments-by-ids" & "?" & url_encoded_query_params, $(%commentsByIdsParams)) - constructResult[PostCommentsByIdsResponse](response) + constructResult[ModerationAPIChildCommentsResponse](response) -proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostFlagCommentResponse], Response) = +proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -583,7 +576,7 @@ proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostFlagCommentResponse](response) + constructResult[APIEmptyResponse](response) proc postRemoveComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostRemoveCommentResponse], Response) = @@ -601,7 +594,7 @@ proc postRemoveComment*(httpClient: HttpClient, commentId: string, broadcastId: constructResult[PostRemoveCommentResponse](response) -proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostRestoreDeletedCommentResponse], Response) = +proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -613,10 +606,10 @@ proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broad let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostRestoreDeletedCommentResponse](response) + constructResult[APIEmptyResponse](response) -proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, approved: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentApprovalStatusResponse], Response) = +proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, approved: bool, broadcastId: string, tenantId: string, sso: string): (Option[SetCommentApprovedResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $approved != "": @@ -630,10 +623,10 @@ proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, ap let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostSetCommentApprovalStatusResponse](response) + constructResult[SetCommentApprovedResponse](response) -proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, reviewed: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentReviewStatusResponse], Response) = +proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, reviewed: bool, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $reviewed != "": @@ -647,10 +640,10 @@ proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, revi let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostSetCommentReviewStatusResponse](response) + constructResult[APIEmptyResponse](response) -proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: bool, permNotSpam: bool, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentSpamStatusResponse], Response) = +proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: bool, permNotSpam: bool, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $spam != "": @@ -666,10 +659,10 @@ proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostSetCommentSpamStatusResponse](response) + constructResult[APIEmptyResponse](response) -proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, broadcastId: string, tenantId: string, sso: string): (Option[PostSetCommentTextResponse], Response) = +proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, broadcastId: string, tenantId: string, sso: string): (Option[SetCommentTextResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -682,10 +675,10 @@ proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTe let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-text/{commentId}" & "?" & url_encoded_query_params, $(%setCommentTextParams)) - constructResult[PostSetCommentTextResponse](response) + constructResult[SetCommentTextResponse](response) -proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostUnFlagCommentResponse], Response) = +proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -697,10 +690,10 @@ proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/un-flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostUnFlagCommentResponse](response) + constructResult[APIEmptyResponse](response) -proc postVote*(httpClient: HttpClient, commentId: string, direction: string, broadcastId: string, tenantId: string, sso: string): (Option[PostVoteResponse], Response) = +proc postVote*(httpClient: HttpClient, commentId: string, direction: string, broadcastId: string, tenantId: string, sso: string): (Option[VoteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $direction != "": @@ -714,10 +707,10 @@ proc postVote*(httpClient: HttpClient, commentId: string, direction: string, bro let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostVoteResponse](response) + constructResult[VoteResponse](response) -proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PutAwardBadgeResponse], Response) = +proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[AwardUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -734,10 +727,10 @@ proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, com let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/award-badge" & "?" & url_encoded_query_params) - constructResult[PutAwardBadgeResponse](response) + constructResult[AwardUserBadgeResponse](response) -proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[PutCloseThreadResponse], Response) = +proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -748,10 +741,10 @@ proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, ss let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/close-thread" & "?" & url_encoded_query_params) - constructResult[PutCloseThreadResponse](response) + constructResult[APIEmptyResponse](response) -proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PutRemoveBadgeResponse], Response) = +proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[RemoveUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -768,10 +761,10 @@ proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, co let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/remove-badge" & "?" & url_encoded_query_params) - constructResult[PutRemoveBadgeResponse](response) + constructResult[RemoveUserBadgeResponse](response) -proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[PutReopenThreadResponse], Response) = +proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -782,10 +775,10 @@ proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/reopen-thread" & "?" & url_encoded_query_params) - constructResult[PutReopenThreadResponse](response) + constructResult[APIEmptyResponse](response) -proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string, tenantId: string, sso: string): (Option[SetTrustFactorResponse], Response) = +proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string, tenantId: string, sso: string): (Option[SetUserTrustFactorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -799,5 +792,5 @@ proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/set-trust-factor" & "?" & url_encoded_query_params) - constructResult[SetTrustFactorResponse](response) + constructResult[SetUserTrustFactorResponse](response) diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index d3e174b..76bd07d 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -20,67 +20,57 @@ import uri import ../models/model_api_empty_response import ../models/model_api_error -import ../models/model_block_from_comment_public_response -import ../models/model_checked_comments_for_blocked_response +import ../models/model_block_success +import ../models/model_change_comment_pin_status_response +import ../models/model_check_blocked_comments_response import ../models/model_comment_data import ../models/model_comment_text_update_request -import ../models/model_create_comment_public_response import ../models/model_create_feed_post_params -import ../models/model_create_feed_post_public_response -import ../models/model_create_v1_page_react_response -import ../models/model_create_v2_page_react_response -import ../models/model_delete_comment_public_response -import ../models/model_delete_comment_vote_response +import ../models/model_create_feed_post_response +import ../models/model_create_v1_page_react import ../models/model_delete_feed_post_public_response -import ../models/model_delete_v1_page_react_response -import ../models/model_delete_v2_page_react_response -import ../models/model_flag_comment_public_response -import ../models/model_get_comment_text_response1 -import ../models/model_get_comment_vote_user_names_response -import ../models/model_get_comments_for_user_response1 -import ../models/model_get_comments_public_response -import ../models/model_get_event_log_response1 -import ../models/model_get_feed_posts_public_response -import ../models/model_get_feed_posts_stats_response -import ../models/model_get_gif_large_response +import ../models/model_feed_posts_stats_response +import ../models/model_get_comment_vote_user_names_success_response +import ../models/model_get_comments_for_user_response +import ../models/model_get_comments_response_with_presence_public_comment +import ../models/model_get_event_log_response import ../models/model_get_gifs_search_response import ../models/model_get_gifs_trending_response -import ../models/model_get_global_event_log_response -import ../models/model_get_offline_users_response -import ../models/model_get_online_users_response -import ../models/model_get_pages_public_response -import ../models/model_get_translations_response1 -import ../models/model_get_user_notification_count_response1 -import ../models/model_get_user_notifications_response -import ../models/model_get_user_presence_statuses_response1 -import ../models/model_get_user_reacts_public_response -import ../models/model_get_users_info_response -import ../models/model_get_v1_page_likes_response -import ../models/model_get_v2_page_react_users_response1 -import ../models/model_get_v2_page_reacts_response -import ../models/model_lock_comment_response +import ../models/model_get_my_notifications_response +import ../models/model_get_public_pages_response +import ../models/model_get_translations_response +import ../models/model_get_user_notification_count_response +import ../models/model_get_user_presence_statuses_response +import ../models/model_get_v1_page_likes +import ../models/model_get_v2_page_react_users_response +import ../models/model_get_v2_page_reacts +import ../models/model_gif_get_large_response +import ../models/model_page_users_info_response +import ../models/model_page_users_offline_response +import ../models/model_page_users_online_response import ../models/model_pages_sort_by -import ../models/model_pin_comment_response +import ../models/model_public_api_delete_comment_response +import ../models/model_public_api_get_comment_text_response +import ../models/model_public_api_set_comment_text_response import ../models/model_public_block_from_comment_params +import ../models/model_public_feed_posts_response import ../models/model_react_body_params -import ../models/model_react_feed_post_public_response -import ../models/model_reset_user_notification_count_response -import ../models/model_reset_user_notifications_response1 -import ../models/model_search_users_response1 -import ../models/model_set_comment_text_response1 +import ../models/model_react_feed_post_response +import ../models/model_reset_user_notifications_response +import ../models/model_save_comments_response_with_presence +import ../models/model_search_users_result import ../models/model_size_preset import ../models/model_sort_directions -import ../models/model_un_block_comment_public_response -import ../models/model_un_lock_comment_response -import ../models/model_un_pin_comment_response +import ../models/model_unblock_success import ../models/model_update_feed_post_params -import ../models/model_update_feed_post_public_response import ../models/model_update_user_notification_comment_subscription_status_response import ../models/model_update_user_notification_page_subscription_status_response import ../models/model_update_user_notification_status_response import ../models/model_upload_image_response +import ../models/model_user_reacts_response import ../models/model_vote_body_params -import ../models/model_vote_comment_response +import ../models/model_vote_delete_response +import ../models/model_vote_response const basepath = "https://fastcomments.com" @@ -97,7 +87,7 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[BlockFromCommentPublicResponse], Response) = +proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[BlockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -107,10 +97,10 @@ proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/block-from-comment/{commentId}" & "?" & url_encoded_query_params, $(%publicBlockFromCommentParams)) - constructResult[BlockFromCommentPublicResponse](response) + constructResult[BlockSuccess](response) -proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string): (Option[CheckedCommentsForBlockedResponse], Response) = +proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string): (Option[CheckBlockedCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -120,10 +110,10 @@ proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commen let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/check-blocked-comments" & "?" & url_encoded_query_params) - constructResult[CheckedCommentsForBlockedResponse](response) + constructResult[CheckBlockedCommentsResponse](response) -proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId: string, sso: string): (Option[CreateCommentPublicResponse], Response) = +proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId: string, sso: string): (Option[SaveCommentsResponseWithPresence], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -136,10 +126,10 @@ proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}" & "?" & url_encoded_query_params, $(%commentData)) - constructResult[CreateCommentPublicResponse](response) + constructResult[SaveCommentsResponseWithPresence](response) -proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostPublicResponse], Response) = +proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -150,10 +140,10 @@ proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedP let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/feed-posts/{tenantId}" & "?" & url_encoded_query_params, $(%createFeedPostParams)) - constructResult[CreateFeedPostPublicResponse](response) + constructResult[CreateFeedPostResponse](response) -proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string): (Option[CreateV1PageReactResponse], Response) = +proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -162,10 +152,10 @@ proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV1PageReactResponse](response) + constructResult[CreateV1PageReact](response) -proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string): (Option[CreateV2PageReactResponse], Response) = +proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -175,10 +165,10 @@ proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[CreateV2PageReactResponse](response) + constructResult[CreateV1PageReact](response) -proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, editKey: string, sso: string): (Option[DeleteCommentPublicResponse], Response) = +proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, editKey: string, sso: string): (Option[PublicAPIDeleteCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -189,10 +179,10 @@ proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/comments/{tenantId}/{commentId}" & "?" & url_encoded_query_params) - constructResult[DeleteCommentPublicResponse](response) + constructResult[PublicAPIDeleteCommentResponse](response) -proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey: string, sso: string): (Option[DeleteCommentVoteResponse], Response) = +proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey: string, sso: string): (Option[VoteDeleteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -204,7 +194,7 @@ proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/comments/{tenantId}/{commentId}/vote/{voteId}" & "?" & url_encoded_query_params) - constructResult[DeleteCommentVoteResponse](response) + constructResult[VoteDeleteResponse](response) proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, broadcastId: string, sso: string): (Option[DeleteFeedPostPublicResponse], Response) = @@ -220,17 +210,17 @@ proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str constructResult[DeleteFeedPostPublicResponse](response) -proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[DeleteV1PageReactResponse], Response) = +proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[DeleteV1PageReactResponse](response) + constructResult[CreateV1PageReact](response) -proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[DeleteV2PageReactResponse], Response) = +proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -238,10 +228,10 @@ proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.delete(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[DeleteV2PageReactResponse](response) + constructResult[CreateV1PageReact](response) -proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string): (Option[FlagCommentPublicResponse], Response) = +proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -251,10 +241,10 @@ proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/flag-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[FlagCommentPublicResponse](response) + constructResult[APIEmptyResponse](response) -proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, editKey: string, sso: string): (Option[GetCommentTextResponse1], Response) = +proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, editKey: string, sso: string): (Option[PublicAPIGetCommentTextResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $editKey != "": @@ -264,10 +254,10 @@ proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}/{commentId}/text" & "?" & url_encoded_query_params) - constructResult[GetCommentTextResponse1](response) + constructResult[PublicAPIGetCommentTextResponse](response) -proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string): (Option[GetCommentVoteUserNamesResponse], Response) = +proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("dir", $dir)) @@ -276,10 +266,10 @@ proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}/{commentId}/votes" & "?" & url_encoded_query_params) - constructResult[GetCommentVoteUserNamesResponse](response) + constructResult[GetCommentVoteUserNamesSuccessResponse](response) -proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: SortDirections, repliesToUserId: string, page: float64, includei10n: bool, locale: string, isCrawler: bool): (Option[GetCommentsForUserResponse1], Response) = +proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: SortDirections, repliesToUserId: string, page: float64, includei10n: bool, locale: string, isCrawler: bool): (Option[GetCommentsForUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -299,10 +289,10 @@ proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: Sort let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/comments-for-user" & "?" & url_encoded_query_params) - constructResult[GetCommentsForUserResponse1](response) + constructResult[GetCommentsForUserResponse](response) -proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, page: int, direction: SortDirections, sso: string, skip: int, skipChildren: int, limit: int, limitChildren: int, countChildren: bool, fetchPageForCommentId: string, includeConfig: bool, countAll: bool, includei10n: bool, locale: string, modules: string, isCrawler: bool, includeNotificationCount: bool, asTree: bool, maxTreeDepth: int, useFullTranslationIds: bool, parentId: string, searchText: string, hashTags: seq[string], userId: string, customConfigStr: string, afterCommentId: string, beforeCommentId: string): (Option[GetCommentsPublicResponse], Response) = +proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, page: int, direction: SortDirections, sso: string, skip: int, skipChildren: int, limit: int, limitChildren: int, countChildren: bool, fetchPageForCommentId: string, includeConfig: bool, countAll: bool, includei10n: bool, locale: string, modules: string, isCrawler: bool, includeNotificationCount: bool, asTree: bool, maxTreeDepth: int, useFullTranslationIds: bool, parentId: string, searchText: string, hashTags: seq[string], userId: string, customConfigStr: string, afterCommentId: string, beforeCommentId: string): (Option[GetCommentsResponseWithPresencePublicComment], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -361,10 +351,10 @@ proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/comments/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetCommentsPublicResponse](response) + constructResult[GetCommentsResponseWithPresencePublicComment](response) -proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse1], Response) = +proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -375,10 +365,10 @@ proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userI let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/event-log/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetEventLogResponse1](response) + constructResult[GetEventLogResponse](response) -proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string], sso: string, isCrawler: bool, includeUserInfo: bool): (Option[GetFeedPostsPublicResponse], Response) = +proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string], sso: string, isCrawler: bool, includeUserInfo: bool): (Option[PublicFeedPostsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $afterId != "": @@ -396,10 +386,10 @@ proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetFeedPostsPublicResponse](response) + constructResult[PublicFeedPostsResponse](response) -proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[GetFeedPostsStatsResponse], Response) = +proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[FeedPostsStatsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("postIds", $postIds.join(","))) @@ -408,17 +398,17 @@ proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[s let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}/stats" & "?" & url_encoded_query_params) - constructResult[GetFeedPostsStatsResponse](response) + constructResult[FeedPostsStatsResponse](response) -proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GetGifLargeResponse], Response) = +proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GifGetLargeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("largeInternalURLSanitized", $largeInternalURLSanitized)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/gifs/get-large/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetGifLargeResponse](response) + constructResult[GifGetLargeResponse](response) proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, locale: string, rating: string, page: float64): (Option[GetGifsSearchResponse], Response) = @@ -452,7 +442,7 @@ proc getGifsTrending*(httpClient: HttpClient, tenantId: string, locale: string, constructResult[GetGifsTrendingResponse](response) -proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetGlobalEventLogResponse], Response) = +proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -463,10 +453,10 @@ proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/event-log/global/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetGlobalEventLogResponse](response) + constructResult[GetEventLogResponse](response) -proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[GetOfflineUsersResponse], Response) = +proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOfflineResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -477,10 +467,10 @@ proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, a let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/offline" & "?" & url_encoded_query_params) - constructResult[GetOfflineUsersResponse](response) + constructResult[PageUsersOfflineResponse](response) -proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[GetOnlineUsersResponse], Response) = +proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOnlineResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -491,10 +481,10 @@ proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, af let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/online" & "?" & url_encoded_query_params) - constructResult[GetOnlineUsersResponse](response) + constructResult[PageUsersOnlineResponse](response) -proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, limit: int, q: string, sortBy: PagesSortBy, hasComments: bool): (Option[GetPagesPublicResponse], Response) = +proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, limit: int, q: string, sortBy: PagesSortBy, hasComments: bool): (Option[GetPublicPagesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $cursor != "": @@ -510,10 +500,10 @@ proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, l let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetPagesPublicResponse](response) + constructResult[GetPublicPagesResponse](response) -proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, locale: string, useFullTranslationIds: bool): (Option[GetTranslationsResponse1], Response) = +proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, locale: string, useFullTranslationIds: bool): (Option[GetTranslationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -523,10 +513,10 @@ proc getTranslations*(httpClient: HttpClient, namespace: string, component: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/translations/{namespace}/{component}" & "?" & url_encoded_query_params) - constructResult[GetTranslationsResponse1](response) + constructResult[GetTranslationsResponse](response) -proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserNotificationCountResponse1], Response) = +proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -535,10 +525,10 @@ proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: st let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-notifications/get-count" & "?" & url_encoded_query_params) - constructResult[GetUserNotificationCountResponse1](response) + constructResult[GetUserNotificationCountResponse](response) -proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: string, pageSize: int, afterId: string, includeContext: bool, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, includeTranslations: bool, includeTenantNotifications: bool, sso: string): (Option[GetUserNotificationsResponse], Response) = +proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: string, pageSize: int, afterId: string, includeContext: bool, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, includeTranslations: bool, includeTenantNotifications: bool, sso: string): (Option[GetMyNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -567,10 +557,10 @@ proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-notifications" & "?" & url_encoded_query_params) - constructResult[GetUserNotificationsResponse](response) + constructResult[GetMyNotificationsResponse](response) -proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse1], Response) = +proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -579,10 +569,10 @@ proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & "/user-presence-status" & "?" & url_encoded_query_params) - constructResult[GetUserPresenceStatusesResponse1](response) + constructResult[GetUserPresenceStatusesResponse](response) -proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[GetUserReactsPublicResponse], Response) = +proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[UserReactsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] if postIds.len > 0: @@ -592,30 +582,30 @@ proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/feed-posts/{tenantId}/user-reacts" & "?" & url_encoded_query_params) - constructResult[GetUserReactsPublicResponse](response) + constructResult[UserReactsResponse](response) -proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[GetUsersInfoResponse], Response) = +proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[PageUsersInfoResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("ids", $ids)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/pages/{tenantId}/users/info" & "?" & url_encoded_query_params) - constructResult[GetUsersInfoResponse](response) + constructResult[PageUsersInfoResponse](response) -proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikesResponse], Response) = +proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikes], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v1/likes/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetV1PageLikesResponse](response) + constructResult[GetV1PageLikes](response) -proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse1], Response) = +proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -623,20 +613,20 @@ proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: strin let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v2/{tenantId}/list" & "?" & url_encoded_query_params) - constructResult[GetV2PageReactUsersResponse1](response) + constructResult[GetV2PageReactUsersResponse](response) -proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReactsResponse], Response) = +proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReacts], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/page-reacts/v2/{tenantId}" & "?" & url_encoded_query_params) - constructResult[GetV2PageReactsResponse](response) + constructResult[GetV2PageReacts](response) -proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[LockCommentResponse], Response) = +proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -645,7 +635,7 @@ proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, b let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/lock" & "?" & url_encoded_query_params) - constructResult[LockCommentResponse](response) + constructResult[APIEmptyResponse](response) proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) = @@ -655,7 +645,7 @@ proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) constructResult[APIEmptyResponse](response) -proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[PinCommentResponse], Response) = +proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -664,10 +654,10 @@ proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, br let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/pin" & "?" & url_encoded_query_params) - constructResult[PinCommentResponse](response) + constructResult[ChangeCommentPinStatusResponse](response) -proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo: bool, broadcastId: string, sso: string): (Option[ReactFeedPostPublicResponse], Response) = +proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo: bool, broadcastId: string, sso: string): (Option[ReactFeedPostResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -680,10 +670,10 @@ proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: stri let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/feed-posts/{tenantId}/react/{postId}" & "?" & url_encoded_query_params, $(%reactBodyParams)) - constructResult[ReactFeedPostPublicResponse](response) + constructResult[ReactFeedPostResponse](response) -proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ResetUserNotificationCountResponse], Response) = +proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ResetUserNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -692,10 +682,10 @@ proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/user-notifications/reset-count" & "?" & url_encoded_query_params) - constructResult[ResetUserNotificationCountResponse](response) + constructResult[ResetUserNotificationsResponse](response) -proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: string, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, sso: string): (Option[ResetUserNotificationsResponse1], Response) = +proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: string, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, sso: string): (Option[ResetUserNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -714,10 +704,10 @@ proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/user-notifications/reset" & "?" & url_encoded_query_params) - constructResult[ResetUserNotificationsResponse1](response) + constructResult[ResetUserNotificationsResponse](response) -proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds: seq[string], sso: string, searchSection: string): (Option[SearchUsersResponse1], Response) = +proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds: seq[string], sso: string, searchSection: string): (Option[SearchUsersResult], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -732,10 +722,10 @@ proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usern let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.get(basepath & fmt"/user-search/{tenantId}" & "?" & url_encoded_query_params) - constructResult[SearchUsersResponse1](response) + constructResult[SearchUsersResult](response) -proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: string, sso: string): (Option[SetCommentTextResponse1], Response) = +proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: string, sso: string): (Option[PublicAPISetCommentTextResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -747,10 +737,10 @@ proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/update-text" & "?" & url_encoded_query_params, $(%commentTextUpdateRequest)) - constructResult[SetCommentTextResponse1](response) + constructResult[PublicAPISetCommentTextResponse](response) -proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[UnBlockCommentPublicResponse], Response) = +proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[UnblockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -759,10 +749,10 @@ proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.request(basepath & fmt"/block-from-comment/{commentId}" & "?" & url_encoded_query_params, httpMethod = HttpDelete, body = $(%publicBlockFromCommentParams)) - constructResult[UnBlockCommentPublicResponse](response) + constructResult[UnblockSuccess](response) -proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[UnLockCommentResponse], Response) = +proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -771,10 +761,10 @@ proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/unlock" & "?" & url_encoded_query_params) - constructResult[UnLockCommentResponse](response) + constructResult[APIEmptyResponse](response) -proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[UnPinCommentResponse], Response) = +proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -783,10 +773,10 @@ proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/unpin" & "?" & url_encoded_query_params) - constructResult[UnPinCommentResponse](response) + constructResult[ChangeCommentPinStatusResponse](response) -proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId: string, sso: string): (Option[UpdateFeedPostPublicResponse], Response) = +proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -797,7 +787,7 @@ proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.put(basepath & fmt"/feed-posts/{tenantId}/{postId}" & "?" & url_encoded_query_params, $(%updateFeedPostParams)) - constructResult[UpdateFeedPostPublicResponse](response) + constructResult[CreateFeedPostResponse](response) proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, sso: string): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = @@ -857,7 +847,7 @@ proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, sizePr constructResult[UploadImageResponse](response) -proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId: string, sso: string): (Option[VoteCommentResponse], Response) = +proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId: string, sso: string): (Option[VoteResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -870,5 +860,5 @@ proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, u let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & fmt"/comments/{tenantId}/{commentId}/vote" & "?" & url_encoded_query_params, $(%voteBodyParams)) - constructResult[VoteCommentResponse](response) + constructResult[VoteResponse](response) diff --git a/client/fastcomments/models/model_add_hash_tag_response.nim b/client/fastcomments/models/model_add_hash_tag_response.nim deleted file mode 100644 index d9e78f9..0000000 --- a/client/fastcomments/models/model_add_hash_tag_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_hash_tag_response -import model_custom_config_parameters -import model_tenant_hash_tag - -# AnyOf type -type AddHashTagResponseKind* {.pure.} = enum - CreateHashTagResponseVariant - APIErrorVariant - -type AddHashTagResponse* = object - ## - case kind*: AddHashTagResponseKind - of AddHashTagResponseKind.CreateHashTagResponseVariant: - CreateHashTagResponseValue*: CreateHashTagResponse - of AddHashTagResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[AddHashTagResponse]): AddHashTagResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return AddHashTagResponse(kind: AddHashTagResponseKind.CreateHashTagResponseVariant, CreateHashTagResponseValue: to(node, CreateHashTagResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateHashTagResponse: ", e.msg - try: - return AddHashTagResponse(kind: AddHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of AddHashTagResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_add_hash_tags_bulk_response.nim b/client/fastcomments/models/model_add_hash_tags_bulk_response.nim deleted file mode 100644 index 2991971..0000000 --- a/client/fastcomments/models/model_add_hash_tags_bulk_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_bulk_create_hash_tags_response -import model_bulk_create_hash_tags_response_results_inner -import model_custom_config_parameters - -# AnyOf type -type AddHashTagsBulkResponseKind* {.pure.} = enum - BulkCreateHashTagsResponseVariant - APIErrorVariant - -type AddHashTagsBulkResponse* = object - ## - case kind*: AddHashTagsBulkResponseKind - of AddHashTagsBulkResponseKind.BulkCreateHashTagsResponseVariant: - BulkCreateHashTagsResponseValue*: BulkCreateHashTagsResponse - of AddHashTagsBulkResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[AddHashTagsBulkResponse]): AddHashTagsBulkResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return AddHashTagsBulkResponse(kind: AddHashTagsBulkResponseKind.BulkCreateHashTagsResponseVariant, BulkCreateHashTagsResponseValue: to(node, BulkCreateHashTagsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BulkCreateHashTagsResponse: ", e.msg - try: - return AddHashTagsBulkResponse(kind: AddHashTagsBulkResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of AddHashTagsBulkResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_aggregate_question_results_response1.nim b/client/fastcomments/models/model_aggregate_question_results_response1.nim deleted file mode 100644 index 5bb1d9d..0000000 --- a/client/fastcomments/models/model_aggregate_question_results_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_aggregate_question_results_response -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_question_result_aggregation_overall - -# AnyOf type -type AggregateQuestionResultsResponse1Kind* {.pure.} = enum - AggregateQuestionResultsResponseVariant - APIErrorVariant - -type AggregateQuestionResultsResponse1* = object - ## - case kind*: AggregateQuestionResultsResponse1Kind - of AggregateQuestionResultsResponse1Kind.AggregateQuestionResultsResponseVariant: - AggregateQuestionResultsResponseValue*: AggregateQuestionResultsResponse - of AggregateQuestionResultsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[AggregateQuestionResultsResponse1]): AggregateQuestionResultsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return AggregateQuestionResultsResponse1(kind: AggregateQuestionResultsResponse1Kind.AggregateQuestionResultsResponseVariant, AggregateQuestionResultsResponseValue: to(node, AggregateQuestionResultsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as AggregateQuestionResultsResponse: ", e.msg - try: - return AggregateQuestionResultsResponse1(kind: AggregateQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of AggregateQuestionResultsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_block_from_comment_public_response.nim b/client/fastcomments/models/model_block_from_comment_public_response.nim deleted file mode 100644 index 46c44b8..0000000 --- a/client/fastcomments/models/model_block_from_comment_public_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_block_success -import model_custom_config_parameters - -# AnyOf type -type BlockFromCommentPublicResponseKind* {.pure.} = enum - BlockSuccessVariant - APIErrorVariant - -type BlockFromCommentPublicResponse* = object - ## - case kind*: BlockFromCommentPublicResponseKind - of BlockFromCommentPublicResponseKind.BlockSuccessVariant: - BlockSuccessValue*: BlockSuccess - of BlockFromCommentPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[BlockFromCommentPublicResponse]): BlockFromCommentPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return BlockFromCommentPublicResponse(kind: BlockFromCommentPublicResponseKind.BlockSuccessVariant, BlockSuccessValue: to(node, BlockSuccess)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BlockSuccess: ", e.msg - try: - return BlockFromCommentPublicResponse(kind: BlockFromCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of BlockFromCommentPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_block_user_from_comment_response.nim b/client/fastcomments/models/model_block_user_from_comment_response.nim deleted file mode 100644 index 97f029a..0000000 --- a/client/fastcomments/models/model_block_user_from_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_block_success -import model_custom_config_parameters - -# AnyOf type -type BlockUserFromCommentResponseKind* {.pure.} = enum - BlockSuccessVariant - APIErrorVariant - -type BlockUserFromCommentResponse* = object - ## - case kind*: BlockUserFromCommentResponseKind - of BlockUserFromCommentResponseKind.BlockSuccessVariant: - BlockSuccessValue*: BlockSuccess - of BlockUserFromCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[BlockUserFromCommentResponse]): BlockUserFromCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return BlockUserFromCommentResponse(kind: BlockUserFromCommentResponseKind.BlockSuccessVariant, BlockSuccessValue: to(node, BlockSuccess)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BlockSuccess: ", e.msg - try: - return BlockUserFromCommentResponse(kind: BlockUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of BlockUserFromCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim b/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim deleted file mode 100644 index 3865c64..0000000 --- a/client/fastcomments/models/model_bulk_aggregate_question_results_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_bulk_aggregate_question_results_response -import model_custom_config_parameters -import model_question_result_aggregation_overall - -# AnyOf type -type BulkAggregateQuestionResultsResponse1Kind* {.pure.} = enum - BulkAggregateQuestionResultsResponseVariant - APIErrorVariant - -type BulkAggregateQuestionResultsResponse1* = object - ## - case kind*: BulkAggregateQuestionResultsResponse1Kind - of BulkAggregateQuestionResultsResponse1Kind.BulkAggregateQuestionResultsResponseVariant: - BulkAggregateQuestionResultsResponseValue*: BulkAggregateQuestionResultsResponse - of BulkAggregateQuestionResultsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[BulkAggregateQuestionResultsResponse1]): BulkAggregateQuestionResultsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return BulkAggregateQuestionResultsResponse1(kind: BulkAggregateQuestionResultsResponse1Kind.BulkAggregateQuestionResultsResponseVariant, BulkAggregateQuestionResultsResponseValue: to(node, BulkAggregateQuestionResultsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BulkAggregateQuestionResultsResponse: ", e.msg - try: - return BulkAggregateQuestionResultsResponse1(kind: BulkAggregateQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of BulkAggregateQuestionResultsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_change_ticket_state_response1.nim b/client/fastcomments/models/model_change_ticket_state_response1.nim deleted file mode 100644 index cbe6926..0000000 --- a/client/fastcomments/models/model_change_ticket_state_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_ticket -import model_change_ticket_state_response -import model_custom_config_parameters - -# AnyOf type -type ChangeTicketStateResponse1Kind* {.pure.} = enum - ChangeTicketStateResponseVariant - APIErrorVariant - -type ChangeTicketStateResponse1* = object - ## - case kind*: ChangeTicketStateResponse1Kind - of ChangeTicketStateResponse1Kind.ChangeTicketStateResponseVariant: - ChangeTicketStateResponseValue*: ChangeTicketStateResponse - of ChangeTicketStateResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ChangeTicketStateResponse1]): ChangeTicketStateResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return ChangeTicketStateResponse1(kind: ChangeTicketStateResponse1Kind.ChangeTicketStateResponseVariant, ChangeTicketStateResponseValue: to(node, ChangeTicketStateResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ChangeTicketStateResponse: ", e.msg - try: - return ChangeTicketStateResponse1(kind: ChangeTicketStateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ChangeTicketStateResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_checked_comments_for_blocked_response.nim b/client/fastcomments/models/model_checked_comments_for_blocked_response.nim deleted file mode 100644 index e0ea5f5..0000000 --- a/client/fastcomments/models/model_checked_comments_for_blocked_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_check_blocked_comments_response -import model_custom_config_parameters - -# AnyOf type -type CheckedCommentsForBlockedResponseKind* {.pure.} = enum - CheckBlockedCommentsResponseVariant - APIErrorVariant - -type CheckedCommentsForBlockedResponse* = object - ## - case kind*: CheckedCommentsForBlockedResponseKind - of CheckedCommentsForBlockedResponseKind.CheckBlockedCommentsResponseVariant: - CheckBlockedCommentsResponseValue*: CheckBlockedCommentsResponse - of CheckedCommentsForBlockedResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CheckedCommentsForBlockedResponse]): CheckedCommentsForBlockedResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CheckedCommentsForBlockedResponse(kind: CheckedCommentsForBlockedResponseKind.CheckBlockedCommentsResponseVariant, CheckBlockedCommentsResponseValue: to(node, CheckBlockedCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CheckBlockedCommentsResponse: ", e.msg - try: - return CheckedCommentsForBlockedResponse(kind: CheckedCommentsForBlockedResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CheckedCommentsForBlockedResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_combine_comments_with_question_results_response.nim b/client/fastcomments/models/model_combine_comments_with_question_results_response.nim deleted file mode 100644 index 4d2e58b..0000000 --- a/client/fastcomments/models/model_combine_comments_with_question_results_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_combine_question_results_with_comments_response -import model_custom_config_parameters -import model_find_comments_by_range_response - -# AnyOf type -type CombineCommentsWithQuestionResultsResponseKind* {.pure.} = enum - CombineQuestionResultsWithCommentsResponseVariant - APIErrorVariant - -type CombineCommentsWithQuestionResultsResponse* = object - ## - case kind*: CombineCommentsWithQuestionResultsResponseKind - of CombineCommentsWithQuestionResultsResponseKind.CombineQuestionResultsWithCommentsResponseVariant: - CombineQuestionResultsWithCommentsResponseValue*: CombineQuestionResultsWithCommentsResponse - of CombineCommentsWithQuestionResultsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CombineCommentsWithQuestionResultsResponse]): CombineCommentsWithQuestionResultsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CombineCommentsWithQuestionResultsResponse(kind: CombineCommentsWithQuestionResultsResponseKind.CombineQuestionResultsWithCommentsResponseVariant, CombineQuestionResultsWithCommentsResponseValue: to(node, CombineQuestionResultsWithCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CombineQuestionResultsWithCommentsResponse: ", e.msg - try: - return CombineCommentsWithQuestionResultsResponse(kind: CombineCommentsWithQuestionResultsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CombineCommentsWithQuestionResultsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_comment_public_response.nim b/client/fastcomments/models/model_create_comment_public_response.nim deleted file mode 100644 index 19242f6..0000000 --- a/client/fastcomments/models/model_create_comment_public_response.nim +++ /dev/null @@ -1,49 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_object -import model_public_comment -import model_save_comments_response_with_presence -import model_user_session_info - -# AnyOf type -type CreateCommentPublicResponseKind* {.pure.} = enum - SaveCommentsResponseWithPresenceVariant - APIErrorVariant - -type CreateCommentPublicResponse* = object - ## - case kind*: CreateCommentPublicResponseKind - of CreateCommentPublicResponseKind.SaveCommentsResponseWithPresenceVariant: - SaveCommentsResponseWithPresenceValue*: SaveCommentsResponseWithPresence - of CreateCommentPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateCommentPublicResponse]): CreateCommentPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateCommentPublicResponse(kind: CreateCommentPublicResponseKind.SaveCommentsResponseWithPresenceVariant, SaveCommentsResponseWithPresenceValue: to(node, SaveCommentsResponseWithPresence)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as SaveCommentsResponseWithPresence: ", e.msg - try: - return CreateCommentPublicResponse(kind: CreateCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateCommentPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_email_template_response1.nim b/client/fastcomments/models/model_create_email_template_response1.nim deleted file mode 100644 index b25d333..0000000 --- a/client/fastcomments/models/model_create_email_template_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_email_template_response -import model_custom_config_parameters -import model_custom_email_template - -# AnyOf type -type CreateEmailTemplateResponse1Kind* {.pure.} = enum - CreateEmailTemplateResponseVariant - APIErrorVariant - -type CreateEmailTemplateResponse1* = object - ## - case kind*: CreateEmailTemplateResponse1Kind - of CreateEmailTemplateResponse1Kind.CreateEmailTemplateResponseVariant: - CreateEmailTemplateResponseValue*: CreateEmailTemplateResponse - of CreateEmailTemplateResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateEmailTemplateResponse1]): CreateEmailTemplateResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateEmailTemplateResponse1(kind: CreateEmailTemplateResponse1Kind.CreateEmailTemplateResponseVariant, CreateEmailTemplateResponseValue: to(node, CreateEmailTemplateResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateEmailTemplateResponse: ", e.msg - try: - return CreateEmailTemplateResponse1(kind: CreateEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateEmailTemplateResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_feed_post_public_response.nim b/client/fastcomments/models/model_create_feed_post_public_response.nim deleted file mode 100644 index f309455..0000000 --- a/client/fastcomments/models/model_create_feed_post_public_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_feed_post_response -import model_custom_config_parameters -import model_feed_post - -# AnyOf type -type CreateFeedPostPublicResponseKind* {.pure.} = enum - CreateFeedPostResponseVariant - APIErrorVariant - -type CreateFeedPostPublicResponse* = object - ## - case kind*: CreateFeedPostPublicResponseKind - of CreateFeedPostPublicResponseKind.CreateFeedPostResponseVariant: - CreateFeedPostResponseValue*: CreateFeedPostResponse - of CreateFeedPostPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateFeedPostPublicResponse]): CreateFeedPostPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateFeedPostPublicResponse(kind: CreateFeedPostPublicResponseKind.CreateFeedPostResponseVariant, CreateFeedPostResponseValue: to(node, CreateFeedPostResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateFeedPostResponse: ", e.msg - try: - return CreateFeedPostPublicResponse(kind: CreateFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateFeedPostPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_feed_post_response1.nim b/client/fastcomments/models/model_create_feed_post_response1.nim deleted file mode 100644 index 4056bba..0000000 --- a/client/fastcomments/models/model_create_feed_post_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_feed_posts_response -import model_custom_config_parameters -import model_feed_post - -# AnyOf type -type CreateFeedPostResponse1Kind* {.pure.} = enum - CreateFeedPostsResponseVariant - APIErrorVariant - -type CreateFeedPostResponse1* = object - ## - case kind*: CreateFeedPostResponse1Kind - of CreateFeedPostResponse1Kind.CreateFeedPostsResponseVariant: - CreateFeedPostsResponseValue*: CreateFeedPostsResponse - of CreateFeedPostResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateFeedPostResponse1]): CreateFeedPostResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateFeedPostResponse1(kind: CreateFeedPostResponse1Kind.CreateFeedPostsResponseVariant, CreateFeedPostsResponseValue: to(node, CreateFeedPostsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateFeedPostsResponse: ", e.msg - try: - return CreateFeedPostResponse1(kind: CreateFeedPostResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateFeedPostResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_moderator_response1.nim b/client/fastcomments/models/model_create_moderator_response1.nim deleted file mode 100644 index 58678f5..0000000 --- a/client/fastcomments/models/model_create_moderator_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_moderator_response -import model_custom_config_parameters -import model_moderator - -# AnyOf type -type CreateModeratorResponse1Kind* {.pure.} = enum - CreateModeratorResponseVariant - APIErrorVariant - -type CreateModeratorResponse1* = object - ## - case kind*: CreateModeratorResponse1Kind - of CreateModeratorResponse1Kind.CreateModeratorResponseVariant: - CreateModeratorResponseValue*: CreateModeratorResponse - of CreateModeratorResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateModeratorResponse1]): CreateModeratorResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateModeratorResponse1(kind: CreateModeratorResponse1Kind.CreateModeratorResponseVariant, CreateModeratorResponseValue: to(node, CreateModeratorResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateModeratorResponse: ", e.msg - try: - return CreateModeratorResponse1(kind: CreateModeratorResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateModeratorResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_question_config_response1.nim b/client/fastcomments/models/model_create_question_config_response1.nim deleted file mode 100644 index 8454528..0000000 --- a/client/fastcomments/models/model_create_question_config_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_question_config_response -import model_custom_config_parameters -import model_question_config - -# AnyOf type -type CreateQuestionConfigResponse1Kind* {.pure.} = enum - CreateQuestionConfigResponseVariant - APIErrorVariant - -type CreateQuestionConfigResponse1* = object - ## - case kind*: CreateQuestionConfigResponse1Kind - of CreateQuestionConfigResponse1Kind.CreateQuestionConfigResponseVariant: - CreateQuestionConfigResponseValue*: CreateQuestionConfigResponse - of CreateQuestionConfigResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateQuestionConfigResponse1]): CreateQuestionConfigResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateQuestionConfigResponse1(kind: CreateQuestionConfigResponse1Kind.CreateQuestionConfigResponseVariant, CreateQuestionConfigResponseValue: to(node, CreateQuestionConfigResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateQuestionConfigResponse: ", e.msg - try: - return CreateQuestionConfigResponse1(kind: CreateQuestionConfigResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateQuestionConfigResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_question_result_response1.nim b/client/fastcomments/models/model_create_question_result_response1.nim deleted file mode 100644 index 9c664df..0000000 --- a/client/fastcomments/models/model_create_question_result_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_question_result_response -import model_custom_config_parameters -import model_question_result - -# AnyOf type -type CreateQuestionResultResponse1Kind* {.pure.} = enum - CreateQuestionResultResponseVariant - APIErrorVariant - -type CreateQuestionResultResponse1* = object - ## - case kind*: CreateQuestionResultResponse1Kind - of CreateQuestionResultResponse1Kind.CreateQuestionResultResponseVariant: - CreateQuestionResultResponseValue*: CreateQuestionResultResponse - of CreateQuestionResultResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateQuestionResultResponse1]): CreateQuestionResultResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateQuestionResultResponse1(kind: CreateQuestionResultResponse1Kind.CreateQuestionResultResponseVariant, CreateQuestionResultResponseValue: to(node, CreateQuestionResultResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateQuestionResultResponse: ", e.msg - try: - return CreateQuestionResultResponse1(kind: CreateQuestionResultResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateQuestionResultResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_tenant_package_response1.nim b/client/fastcomments/models/model_create_tenant_package_response1.nim deleted file mode 100644 index dd3ee64..0000000 --- a/client/fastcomments/models/model_create_tenant_package_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_tenant_package_response -import model_custom_config_parameters -import model_tenant_package - -# AnyOf type -type CreateTenantPackageResponse1Kind* {.pure.} = enum - CreateTenantPackageResponseVariant - APIErrorVariant - -type CreateTenantPackageResponse1* = object - ## - case kind*: CreateTenantPackageResponse1Kind - of CreateTenantPackageResponse1Kind.CreateTenantPackageResponseVariant: - CreateTenantPackageResponseValue*: CreateTenantPackageResponse - of CreateTenantPackageResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateTenantPackageResponse1]): CreateTenantPackageResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateTenantPackageResponse1(kind: CreateTenantPackageResponse1Kind.CreateTenantPackageResponseVariant, CreateTenantPackageResponseValue: to(node, CreateTenantPackageResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateTenantPackageResponse: ", e.msg - try: - return CreateTenantPackageResponse1(kind: CreateTenantPackageResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantPackageResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_tenant_response1.nim b/client/fastcomments/models/model_create_tenant_response1.nim deleted file mode 100644 index 5293e51..0000000 --- a/client/fastcomments/models/model_create_tenant_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_tenant -import model_create_tenant_response -import model_custom_config_parameters - -# AnyOf type -type CreateTenantResponse1Kind* {.pure.} = enum - CreateTenantResponseVariant - APIErrorVariant - -type CreateTenantResponse1* = object - ## - case kind*: CreateTenantResponse1Kind - of CreateTenantResponse1Kind.CreateTenantResponseVariant: - CreateTenantResponseValue*: CreateTenantResponse - of CreateTenantResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateTenantResponse1]): CreateTenantResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateTenantResponse1(kind: CreateTenantResponse1Kind.CreateTenantResponseVariant, CreateTenantResponseValue: to(node, CreateTenantResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateTenantResponse: ", e.msg - try: - return CreateTenantResponse1(kind: CreateTenantResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_tenant_user_response1.nim b/client/fastcomments/models/model_create_tenant_user_response1.nim deleted file mode 100644 index 6a3e8fd..0000000 --- a/client/fastcomments/models/model_create_tenant_user_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_tenant_user_response -import model_custom_config_parameters -import model_user - -# AnyOf type -type CreateTenantUserResponse1Kind* {.pure.} = enum - CreateTenantUserResponseVariant - APIErrorVariant - -type CreateTenantUserResponse1* = object - ## - case kind*: CreateTenantUserResponse1Kind - of CreateTenantUserResponse1Kind.CreateTenantUserResponseVariant: - CreateTenantUserResponseValue*: CreateTenantUserResponse - of CreateTenantUserResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateTenantUserResponse1]): CreateTenantUserResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateTenantUserResponse1(kind: CreateTenantUserResponse1Kind.CreateTenantUserResponseVariant, CreateTenantUserResponseValue: to(node, CreateTenantUserResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateTenantUserResponse: ", e.msg - try: - return CreateTenantUserResponse1(kind: CreateTenantUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateTenantUserResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_ticket_response1.nim b/client/fastcomments/models/model_create_ticket_response1.nim deleted file mode 100644 index 7917053..0000000 --- a/client/fastcomments/models/model_create_ticket_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_ticket -import model_create_ticket_response -import model_custom_config_parameters - -# AnyOf type -type CreateTicketResponse1Kind* {.pure.} = enum - CreateTicketResponseVariant - APIErrorVariant - -type CreateTicketResponse1* = object - ## - case kind*: CreateTicketResponse1Kind - of CreateTicketResponse1Kind.CreateTicketResponseVariant: - CreateTicketResponseValue*: CreateTicketResponse - of CreateTicketResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateTicketResponse1]): CreateTicketResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateTicketResponse1(kind: CreateTicketResponse1Kind.CreateTicketResponseVariant, CreateTicketResponseValue: to(node, CreateTicketResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateTicketResponse: ", e.msg - try: - return CreateTicketResponse1(kind: CreateTicketResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateTicketResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_user_badge_response.nim b/client/fastcomments/models/model_create_user_badge_response.nim deleted file mode 100644 index 6a021ba..0000000 --- a/client/fastcomments/models/model_create_user_badge_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_create_user_badge_response -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_user_badge - -# AnyOf type -type CreateUserBadgeResponseKind* {.pure.} = enum - APICreateUserBadgeResponseVariant - APIErrorVariant - -type CreateUserBadgeResponse* = object - ## - case kind*: CreateUserBadgeResponseKind - of CreateUserBadgeResponseKind.APICreateUserBadgeResponseVariant: - APICreateUserBadgeResponseValue*: APICreateUserBadgeResponse - of CreateUserBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateUserBadgeResponse]): CreateUserBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateUserBadgeResponse(kind: CreateUserBadgeResponseKind.APICreateUserBadgeResponseVariant, APICreateUserBadgeResponseValue: to(node, APICreateUserBadgeResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APICreateUserBadgeResponse: ", e.msg - try: - return CreateUserBadgeResponse(kind: CreateUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateUserBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_v1_page_react_response.nim b/client/fastcomments/models/model_create_v1_page_react_response.nim deleted file mode 100644 index 4937fe7..0000000 --- a/client/fastcomments/models/model_create_v1_page_react_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_v1_page_react -import model_custom_config_parameters - -# AnyOf type -type CreateV1PageReactResponseKind* {.pure.} = enum - CreateV1PageReactVariant - APIErrorVariant - -type CreateV1PageReactResponse* = object - ## - case kind*: CreateV1PageReactResponseKind - of CreateV1PageReactResponseKind.CreateV1PageReactVariant: - CreateV1PageReactValue*: CreateV1PageReact - of CreateV1PageReactResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateV1PageReactResponse]): CreateV1PageReactResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateV1PageReactResponse(kind: CreateV1PageReactResponseKind.CreateV1PageReactVariant, CreateV1PageReactValue: to(node, CreateV1PageReact)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateV1PageReact: ", e.msg - try: - return CreateV1PageReactResponse(kind: CreateV1PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateV1PageReactResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_v2_page_react_response.nim b/client/fastcomments/models/model_create_v2_page_react_response.nim deleted file mode 100644 index fea6ef4..0000000 --- a/client/fastcomments/models/model_create_v2_page_react_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_v1_page_react -import model_custom_config_parameters - -# AnyOf type -type CreateV2PageReactResponseKind* {.pure.} = enum - CreateV2PageReactVariant - APIErrorVariant - -type CreateV2PageReactResponse* = object - ## - case kind*: CreateV2PageReactResponseKind - of CreateV2PageReactResponseKind.CreateV2PageReactVariant: - CreateV2PageReactValue*: CreateV1PageReact - of CreateV2PageReactResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateV2PageReactResponse]): CreateV2PageReactResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateV2PageReactResponse(kind: CreateV2PageReactResponseKind.CreateV2PageReactVariant, CreateV2PageReactValue: to(node, CreateV1PageReact)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateV1PageReact: ", e.msg - try: - return CreateV2PageReactResponse(kind: CreateV2PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateV2PageReactResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_create_vote_response.nim b/client/fastcomments/models/model_create_vote_response.nim deleted file mode 100644 index 794f849..0000000 --- a/client/fastcomments/models/model_create_vote_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_response -import model_vote_response_user - -# AnyOf type -type CreateVoteResponseKind* {.pure.} = enum - VoteResponseVariant - APIErrorVariant - -type CreateVoteResponse* = object - ## - case kind*: CreateVoteResponseKind - of CreateVoteResponseKind.VoteResponseVariant: - VoteResponseValue*: VoteResponse - of CreateVoteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[CreateVoteResponse]): CreateVoteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return CreateVoteResponse(kind: CreateVoteResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteResponse: ", e.msg - try: - return CreateVoteResponse(kind: CreateVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of CreateVoteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_comment_public_response.nim b/client/fastcomments/models/model_delete_comment_public_response.nim deleted file mode 100644 index edc1be8..0000000 --- a/client/fastcomments/models/model_delete_comment_public_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_deleted_comment_result_comment -import model_public_api_delete_comment_response - -# AnyOf type -type DeleteCommentPublicResponseKind* {.pure.} = enum - PublicAPIDeleteCommentResponseVariant - APIErrorVariant - -type DeleteCommentPublicResponse* = object - ## - case kind*: DeleteCommentPublicResponseKind - of DeleteCommentPublicResponseKind.PublicAPIDeleteCommentResponseVariant: - PublicAPIDeleteCommentResponseValue*: PublicAPIDeleteCommentResponse - of DeleteCommentPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteCommentPublicResponse]): DeleteCommentPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteCommentPublicResponse(kind: DeleteCommentPublicResponseKind.PublicAPIDeleteCommentResponseVariant, PublicAPIDeleteCommentResponseValue: to(node, PublicAPIDeleteCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PublicAPIDeleteCommentResponse: ", e.msg - try: - return DeleteCommentPublicResponse(kind: DeleteCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_comment_response.nim b/client/fastcomments/models/model_delete_comment_response.nim deleted file mode 100644 index 4e1d352..0000000 --- a/client/fastcomments/models/model_delete_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_delete_comment_action -import model_delete_comment_result - -# AnyOf type -type DeleteCommentResponseKind* {.pure.} = enum - DeleteCommentResultVariant - APIErrorVariant - -type DeleteCommentResponse* = object - ## - case kind*: DeleteCommentResponseKind - of DeleteCommentResponseKind.DeleteCommentResultVariant: - DeleteCommentResultValue*: DeleteCommentResult - of DeleteCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteCommentResponse]): DeleteCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteCommentResponse(kind: DeleteCommentResponseKind.DeleteCommentResultVariant, DeleteCommentResultValue: to(node, DeleteCommentResult)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as DeleteCommentResult: ", e.msg - try: - return DeleteCommentResponse(kind: DeleteCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_comment_vote_response.nim b/client/fastcomments/models/model_delete_comment_vote_response.nim deleted file mode 100644 index a0934a1..0000000 --- a/client/fastcomments/models/model_delete_comment_vote_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_delete_response - -# AnyOf type -type DeleteCommentVoteResponseKind* {.pure.} = enum - VoteDeleteResponseVariant - APIErrorVariant - -type DeleteCommentVoteResponse* = object - ## - case kind*: DeleteCommentVoteResponseKind - of DeleteCommentVoteResponseKind.VoteDeleteResponseVariant: - VoteDeleteResponseValue*: VoteDeleteResponse - of DeleteCommentVoteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteCommentVoteResponse]): DeleteCommentVoteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteCommentVoteResponse(kind: DeleteCommentVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteDeleteResponse: ", e.msg - try: - return DeleteCommentVoteResponse(kind: DeleteCommentVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteCommentVoteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_email_template_render_error_response.nim b/client/fastcomments/models/model_delete_email_template_render_error_response.nim deleted file mode 100644 index d9d2dff..0000000 --- a/client/fastcomments/models/model_delete_email_template_render_error_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteEmailTemplateRenderErrorResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteEmailTemplateRenderErrorResponse* = object - ## - case kind*: DeleteEmailTemplateRenderErrorResponseKind - of DeleteEmailTemplateRenderErrorResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteEmailTemplateRenderErrorResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteEmailTemplateRenderErrorResponse]): DeleteEmailTemplateRenderErrorResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteEmailTemplateRenderErrorResponse(kind: DeleteEmailTemplateRenderErrorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteEmailTemplateRenderErrorResponse(kind: DeleteEmailTemplateRenderErrorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteEmailTemplateRenderErrorResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_email_template_response.nim b/client/fastcomments/models/model_delete_email_template_response.nim deleted file mode 100644 index 559aa55..0000000 --- a/client/fastcomments/models/model_delete_email_template_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteEmailTemplateResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteEmailTemplateResponse* = object - ## - case kind*: DeleteEmailTemplateResponseKind - of DeleteEmailTemplateResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteEmailTemplateResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteEmailTemplateResponse]): DeleteEmailTemplateResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteEmailTemplateResponse(kind: DeleteEmailTemplateResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteEmailTemplateResponse(kind: DeleteEmailTemplateResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteEmailTemplateResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_feed_post_public_response.nim b/client/fastcomments/models/model_delete_feed_post_public_response.nim index 8fbf9ea..119e8c3 100644 --- a/client/fastcomments/models/model_delete_feed_post_public_response.nim +++ b/client/fastcomments/models/model_delete_feed_post_public_response.nim @@ -12,35 +12,22 @@ import tables import marshal import options -import model_api_error import model_api_status -import model_custom_config_parameters -import model_delete_feed_post_public_response_any_of - -# AnyOf type -type DeleteFeedPostPublicResponseKind* {.pure.} = enum - DeleteFeedPostPublicResponseAnyOfVariant - APIErrorVariant type DeleteFeedPostPublicResponse* = object ## - case kind*: DeleteFeedPostPublicResponseKind - of DeleteFeedPostPublicResponseKind.DeleteFeedPostPublicResponseAnyOfVariant: - DeleteFeedPostPublicResponse_anyOfValue*: DeleteFeedPostPublicResponseAnyOf - of DeleteFeedPostPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError + status*: APIStatus + +# Custom JSON deserialization for DeleteFeedPostPublicResponse with custom field names proc to*(node: JsonNode, T: typedesc[DeleteFeedPostPublicResponse]): DeleteFeedPostPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteFeedPostPublicResponse(kind: DeleteFeedPostPublicResponseKind.DeleteFeedPostPublicResponseAnyOfVariant, DeleteFeedPostPublicResponse_anyOfValue: to(node, DeleteFeedPostPublicResponseAnyOf)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as DeleteFeedPostPublicResponseAnyOf: ", e.msg - try: - return DeleteFeedPostPublicResponse(kind: DeleteFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteFeedPostPublicResponse. JSON: " & $node) + result = DeleteFeedPostPublicResponse() + if node.kind == JObject: + if node.hasKey("status"): + result.status = to(node["status"], APIStatus) + +# Custom JSON serialization for DeleteFeedPostPublicResponse with custom field names +proc `%`*(obj: DeleteFeedPostPublicResponse): JsonNode = + result = newJObject() + result["status"] = %obj.status diff --git a/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim b/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim deleted file mode 100644 index 26617ee..0000000 --- a/client/fastcomments/models/model_delete_feed_post_public_response_any_of.nim +++ /dev/null @@ -1,33 +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 -# - -import json -import tables -import marshal -import options - -import model_api_status - -type DeleteFeedPostPublicResponseAnyOf* = object - ## - status*: APIStatus - - -# Custom JSON deserialization for DeleteFeedPostPublicResponseAnyOf with custom field names -proc to*(node: JsonNode, T: typedesc[DeleteFeedPostPublicResponseAnyOf]): DeleteFeedPostPublicResponseAnyOf = - result = DeleteFeedPostPublicResponseAnyOf() - if node.kind == JObject: - if node.hasKey("status"): - result.status = to(node["status"], APIStatus) - -# Custom JSON serialization for DeleteFeedPostPublicResponseAnyOf with custom field names -proc `%`*(obj: DeleteFeedPostPublicResponseAnyOf): JsonNode = - result = newJObject() - result["status"] = %obj.status - diff --git a/client/fastcomments/models/model_delete_hash_tag_response.nim b/client/fastcomments/models/model_delete_hash_tag_response.nim deleted file mode 100644 index 95fa1cf..0000000 --- a/client/fastcomments/models/model_delete_hash_tag_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteHashTagResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteHashTagResponse* = object - ## - case kind*: DeleteHashTagResponseKind - of DeleteHashTagResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteHashTagResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteHashTagResponse]): DeleteHashTagResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteHashTagResponse(kind: DeleteHashTagResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteHashTagResponse(kind: DeleteHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteHashTagResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_moderation_vote_response.nim b/client/fastcomments/models/model_delete_moderation_vote_response.nim deleted file mode 100644 index eb2182a..0000000 --- a/client/fastcomments/models/model_delete_moderation_vote_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_delete_response - -# AnyOf type -type DeleteModerationVoteResponseKind* {.pure.} = enum - VoteDeleteResponseVariant - APIErrorVariant - -type DeleteModerationVoteResponse* = object - ## - case kind*: DeleteModerationVoteResponseKind - of DeleteModerationVoteResponseKind.VoteDeleteResponseVariant: - VoteDeleteResponseValue*: VoteDeleteResponse - of DeleteModerationVoteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteModerationVoteResponse]): DeleteModerationVoteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteModerationVoteResponse(kind: DeleteModerationVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteDeleteResponse: ", e.msg - try: - return DeleteModerationVoteResponse(kind: DeleteModerationVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteModerationVoteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_moderator_response.nim b/client/fastcomments/models/model_delete_moderator_response.nim deleted file mode 100644 index faa2df8..0000000 --- a/client/fastcomments/models/model_delete_moderator_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteModeratorResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteModeratorResponse* = object - ## - case kind*: DeleteModeratorResponseKind - of DeleteModeratorResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteModeratorResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteModeratorResponse]): DeleteModeratorResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteModeratorResponse(kind: DeleteModeratorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteModeratorResponse(kind: DeleteModeratorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteModeratorResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_notification_count_response.nim b/client/fastcomments/models/model_delete_notification_count_response.nim deleted file mode 100644 index a85898d..0000000 --- a/client/fastcomments/models/model_delete_notification_count_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteNotificationCountResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteNotificationCountResponse* = object - ## - case kind*: DeleteNotificationCountResponseKind - of DeleteNotificationCountResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteNotificationCountResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteNotificationCountResponse]): DeleteNotificationCountResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteNotificationCountResponse(kind: DeleteNotificationCountResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteNotificationCountResponse(kind: DeleteNotificationCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteNotificationCountResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_pending_webhook_event_response.nim b/client/fastcomments/models/model_delete_pending_webhook_event_response.nim deleted file mode 100644 index 79a78cf..0000000 --- a/client/fastcomments/models/model_delete_pending_webhook_event_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeletePendingWebhookEventResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeletePendingWebhookEventResponse* = object - ## - case kind*: DeletePendingWebhookEventResponseKind - of DeletePendingWebhookEventResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeletePendingWebhookEventResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeletePendingWebhookEventResponse]): DeletePendingWebhookEventResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeletePendingWebhookEventResponse(kind: DeletePendingWebhookEventResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeletePendingWebhookEventResponse(kind: DeletePendingWebhookEventResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeletePendingWebhookEventResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_question_config_response.nim b/client/fastcomments/models/model_delete_question_config_response.nim deleted file mode 100644 index 95831c0..0000000 --- a/client/fastcomments/models/model_delete_question_config_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteQuestionConfigResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteQuestionConfigResponse* = object - ## - case kind*: DeleteQuestionConfigResponseKind - of DeleteQuestionConfigResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteQuestionConfigResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteQuestionConfigResponse]): DeleteQuestionConfigResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteQuestionConfigResponse(kind: DeleteQuestionConfigResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteQuestionConfigResponse(kind: DeleteQuestionConfigResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteQuestionConfigResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_question_result_response.nim b/client/fastcomments/models/model_delete_question_result_response.nim deleted file mode 100644 index d689569..0000000 --- a/client/fastcomments/models/model_delete_question_result_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteQuestionResultResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteQuestionResultResponse* = object - ## - case kind*: DeleteQuestionResultResponseKind - of DeleteQuestionResultResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteQuestionResultResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteQuestionResultResponse]): DeleteQuestionResultResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteQuestionResultResponse(kind: DeleteQuestionResultResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteQuestionResultResponse(kind: DeleteQuestionResultResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteQuestionResultResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_tenant_package_response.nim b/client/fastcomments/models/model_delete_tenant_package_response.nim deleted file mode 100644 index c33c14d..0000000 --- a/client/fastcomments/models/model_delete_tenant_package_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteTenantPackageResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteTenantPackageResponse* = object - ## - case kind*: DeleteTenantPackageResponseKind - of DeleteTenantPackageResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteTenantPackageResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteTenantPackageResponse]): DeleteTenantPackageResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteTenantPackageResponse(kind: DeleteTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteTenantPackageResponse(kind: DeleteTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantPackageResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_tenant_response.nim b/client/fastcomments/models/model_delete_tenant_response.nim deleted file mode 100644 index 102a072..0000000 --- a/client/fastcomments/models/model_delete_tenant_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteTenantResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteTenantResponse* = object - ## - case kind*: DeleteTenantResponseKind - of DeleteTenantResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteTenantResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteTenantResponse]): DeleteTenantResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteTenantResponse(kind: DeleteTenantResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteTenantResponse(kind: DeleteTenantResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_tenant_user_response.nim b/client/fastcomments/models/model_delete_tenant_user_response.nim deleted file mode 100644 index 9fb0453..0000000 --- a/client/fastcomments/models/model_delete_tenant_user_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteTenantUserResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type DeleteTenantUserResponse* = object - ## - case kind*: DeleteTenantUserResponseKind - of DeleteTenantUserResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of DeleteTenantUserResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteTenantUserResponse]): DeleteTenantUserResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteTenantUserResponse(kind: DeleteTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return DeleteTenantUserResponse(kind: DeleteTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteTenantUserResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_user_badge_response.nim b/client/fastcomments/models/model_delete_user_badge_response.nim deleted file mode 100644 index 6dc7090..0000000 --- a/client/fastcomments/models/model_delete_user_badge_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_success_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type DeleteUserBadgeResponseKind* {.pure.} = enum - APIEmptySuccessResponseVariant - APIErrorVariant - -type DeleteUserBadgeResponse* = object - ## - case kind*: DeleteUserBadgeResponseKind - of DeleteUserBadgeResponseKind.APIEmptySuccessResponseVariant: - APIEmptySuccessResponseValue*: APIEmptySuccessResponse - of DeleteUserBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteUserBadgeResponse]): DeleteUserBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteUserBadgeResponse(kind: DeleteUserBadgeResponseKind.APIEmptySuccessResponseVariant, APIEmptySuccessResponseValue: to(node, APIEmptySuccessResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptySuccessResponse: ", e.msg - try: - return DeleteUserBadgeResponse(kind: DeleteUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteUserBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_v1_page_react_response.nim b/client/fastcomments/models/model_delete_v1_page_react_response.nim deleted file mode 100644 index ecfbb3c..0000000 --- a/client/fastcomments/models/model_delete_v1_page_react_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_v1_page_react -import model_custom_config_parameters - -# AnyOf type -type DeleteV1PageReactResponseKind* {.pure.} = enum - DeleteV1PageReactVariant - APIErrorVariant - -type DeleteV1PageReactResponse* = object - ## - case kind*: DeleteV1PageReactResponseKind - of DeleteV1PageReactResponseKind.DeleteV1PageReactVariant: - DeleteV1PageReactValue*: CreateV1PageReact - of DeleteV1PageReactResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteV1PageReactResponse]): DeleteV1PageReactResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteV1PageReactResponse(kind: DeleteV1PageReactResponseKind.DeleteV1PageReactVariant, DeleteV1PageReactValue: to(node, CreateV1PageReact)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateV1PageReact: ", e.msg - try: - return DeleteV1PageReactResponse(kind: DeleteV1PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteV1PageReactResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_v2_page_react_response.nim b/client/fastcomments/models/model_delete_v2_page_react_response.nim deleted file mode 100644 index 085d1fb..0000000 --- a/client/fastcomments/models/model_delete_v2_page_react_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_v1_page_react -import model_custom_config_parameters - -# AnyOf type -type DeleteV2PageReactResponseKind* {.pure.} = enum - DeleteV2PageReactVariant - APIErrorVariant - -type DeleteV2PageReactResponse* = object - ## - case kind*: DeleteV2PageReactResponseKind - of DeleteV2PageReactResponseKind.DeleteV2PageReactVariant: - DeleteV2PageReactValue*: CreateV1PageReact - of DeleteV2PageReactResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteV2PageReactResponse]): DeleteV2PageReactResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteV2PageReactResponse(kind: DeleteV2PageReactResponseKind.DeleteV2PageReactVariant, DeleteV2PageReactValue: to(node, CreateV1PageReact)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateV1PageReact: ", e.msg - try: - return DeleteV2PageReactResponse(kind: DeleteV2PageReactResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteV2PageReactResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_delete_vote_response.nim b/client/fastcomments/models/model_delete_vote_response.nim deleted file mode 100644 index 85ddab5..0000000 --- a/client/fastcomments/models/model_delete_vote_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_delete_response - -# AnyOf type -type DeleteVoteResponseKind* {.pure.} = enum - VoteDeleteResponseVariant - APIErrorVariant - -type DeleteVoteResponse* = object - ## - case kind*: DeleteVoteResponseKind - of DeleteVoteResponseKind.VoteDeleteResponseVariant: - VoteDeleteResponseValue*: VoteDeleteResponse - of DeleteVoteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[DeleteVoteResponse]): DeleteVoteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return DeleteVoteResponse(kind: DeleteVoteResponseKind.VoteDeleteResponseVariant, VoteDeleteResponseValue: to(node, VoteDeleteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteDeleteResponse: ", e.msg - try: - return DeleteVoteResponse(kind: DeleteVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of DeleteVoteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_flag_comment_public_response.nim b/client/fastcomments/models/model_flag_comment_public_response.nim deleted file mode 100644 index 006091a..0000000 --- a/client/fastcomments/models/model_flag_comment_public_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type FlagCommentPublicResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type FlagCommentPublicResponse* = object - ## - case kind*: FlagCommentPublicResponseKind - of FlagCommentPublicResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of FlagCommentPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[FlagCommentPublicResponse]): FlagCommentPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return FlagCommentPublicResponse(kind: FlagCommentPublicResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return FlagCommentPublicResponse(kind: FlagCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of FlagCommentPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_flag_comment_response1.nim b/client/fastcomments/models/model_flag_comment_response1.nim deleted file mode 100644 index e2032b3..0000000 --- a/client/fastcomments/models/model_flag_comment_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_flag_comment_response - -# AnyOf type -type FlagCommentResponse1Kind* {.pure.} = enum - FlagCommentResponseVariant - APIErrorVariant - -type FlagCommentResponse1* = object - ## - case kind*: FlagCommentResponse1Kind - of FlagCommentResponse1Kind.FlagCommentResponseVariant: - FlagCommentResponseValue*: FlagCommentResponse - of FlagCommentResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[FlagCommentResponse1]): FlagCommentResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return FlagCommentResponse1(kind: FlagCommentResponse1Kind.FlagCommentResponseVariant, FlagCommentResponseValue: to(node, FlagCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as FlagCommentResponse: ", e.msg - try: - return FlagCommentResponse1(kind: FlagCommentResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of FlagCommentResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_api_comments_response.nim b/client/fastcomments/models/model_get_api_comments_response.nim deleted file mode 100644 index a6b909a..0000000 --- a/client/fastcomments/models/model_get_api_comments_response.nim +++ /dev/null @@ -1,49 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_comment -import model_moderation_api_get_comments_response -import model_moderation_filter -import model_object - -# AnyOf type -type GetApiCommentsResponseKind* {.pure.} = enum - ModerationAPIGetCommentsResponseVariant - APIErrorVariant - -type GetApiCommentsResponse* = object - ## - case kind*: GetApiCommentsResponseKind - of GetApiCommentsResponseKind.ModerationAPIGetCommentsResponseVariant: - ModerationAPIGetCommentsResponseValue*: ModerationAPIGetCommentsResponse - of GetApiCommentsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetApiCommentsResponse]): GetApiCommentsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetApiCommentsResponse(kind: GetApiCommentsResponseKind.ModerationAPIGetCommentsResponseVariant, ModerationAPIGetCommentsResponseValue: to(node, ModerationAPIGetCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPIGetCommentsResponse: ", e.msg - try: - return GetApiCommentsResponse(kind: GetApiCommentsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetApiCommentsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_api_export_status_response.nim b/client/fastcomments/models/model_get_api_export_status_response.nim deleted file mode 100644 index aa8ba0d..0000000 --- a/client/fastcomments/models/model_get_api_export_status_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_export_status_response - -# AnyOf type -type GetApiExportStatusResponseKind* {.pure.} = enum - ModerationExportStatusResponseVariant - APIErrorVariant - -type GetApiExportStatusResponse* = object - ## - case kind*: GetApiExportStatusResponseKind - of GetApiExportStatusResponseKind.ModerationExportStatusResponseVariant: - ModerationExportStatusResponseValue*: ModerationExportStatusResponse - of GetApiExportStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetApiExportStatusResponse]): GetApiExportStatusResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetApiExportStatusResponse(kind: GetApiExportStatusResponseKind.ModerationExportStatusResponseVariant, ModerationExportStatusResponseValue: to(node, ModerationExportStatusResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationExportStatusResponse: ", e.msg - try: - return GetApiExportStatusResponse(kind: GetApiExportStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetApiExportStatusResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_api_ids_response.nim b/client/fastcomments/models/model_get_api_ids_response.nim deleted file mode 100644 index b9e4335..0000000 --- a/client/fastcomments/models/model_get_api_ids_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_get_comment_ids_response - -# AnyOf type -type GetApiIdsResponseKind* {.pure.} = enum - ModerationAPIGetCommentIdsResponseVariant - APIErrorVariant - -type GetApiIdsResponse* = object - ## - case kind*: GetApiIdsResponseKind - of GetApiIdsResponseKind.ModerationAPIGetCommentIdsResponseVariant: - ModerationAPIGetCommentIdsResponseValue*: ModerationAPIGetCommentIdsResponse - of GetApiIdsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetApiIdsResponse]): GetApiIdsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetApiIdsResponse(kind: GetApiIdsResponseKind.ModerationAPIGetCommentIdsResponseVariant, ModerationAPIGetCommentIdsResponseValue: to(node, ModerationAPIGetCommentIdsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPIGetCommentIdsResponse: ", e.msg - try: - return GetApiIdsResponse(kind: GetApiIdsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetApiIdsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_audit_logs_response1.nim b/client/fastcomments/models/model_get_audit_logs_response1.nim deleted file mode 100644 index 359821c..0000000 --- a/client/fastcomments/models/model_get_audit_logs_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_audit_log -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_audit_logs_response - -# AnyOf type -type GetAuditLogsResponse1Kind* {.pure.} = enum - GetAuditLogsResponseVariant - APIErrorVariant - -type GetAuditLogsResponse1* = object - ## - case kind*: GetAuditLogsResponse1Kind - of GetAuditLogsResponse1Kind.GetAuditLogsResponseVariant: - GetAuditLogsResponseValue*: GetAuditLogsResponse - of GetAuditLogsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetAuditLogsResponse1]): GetAuditLogsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetAuditLogsResponse1(kind: GetAuditLogsResponse1Kind.GetAuditLogsResponseVariant, GetAuditLogsResponseValue: to(node, GetAuditLogsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetAuditLogsResponse: ", e.msg - try: - return GetAuditLogsResponse1(kind: GetAuditLogsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetAuditLogsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_ban_users_from_comment_response.nim b/client/fastcomments/models/model_get_ban_users_from_comment_response.nim deleted file mode 100644 index 0db7761..0000000 --- a/client/fastcomments/models/model_get_ban_users_from_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_banned_user_with_multi_match_info -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_banned_users_from_comment_response - -# AnyOf type -type GetBanUsersFromCommentResponseKind* {.pure.} = enum - GetBannedUsersFromCommentResponseVariant - APIErrorVariant - -type GetBanUsersFromCommentResponse* = object - ## - case kind*: GetBanUsersFromCommentResponseKind - of GetBanUsersFromCommentResponseKind.GetBannedUsersFromCommentResponseVariant: - GetBannedUsersFromCommentResponseValue*: GetBannedUsersFromCommentResponse - of GetBanUsersFromCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetBanUsersFromCommentResponse]): GetBanUsersFromCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetBanUsersFromCommentResponse(kind: GetBanUsersFromCommentResponseKind.GetBannedUsersFromCommentResponseVariant, GetBannedUsersFromCommentResponseValue: to(node, GetBannedUsersFromCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetBannedUsersFromCommentResponse: ", e.msg - try: - return GetBanUsersFromCommentResponse(kind: GetBanUsersFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetBanUsersFromCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_cached_notification_count_response1.nim b/client/fastcomments/models/model_get_cached_notification_count_response1.nim deleted file mode 100644 index fd379da..0000000 --- a/client/fastcomments/models/model_get_cached_notification_count_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_cached_notification_count_response -import model_user_notification_count - -# AnyOf type -type GetCachedNotificationCountResponse1Kind* {.pure.} = enum - GetCachedNotificationCountResponseVariant - APIErrorVariant - -type GetCachedNotificationCountResponse1* = object - ## - case kind*: GetCachedNotificationCountResponse1Kind - of GetCachedNotificationCountResponse1Kind.GetCachedNotificationCountResponseVariant: - GetCachedNotificationCountResponseValue*: GetCachedNotificationCountResponse - of GetCachedNotificationCountResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCachedNotificationCountResponse1]): GetCachedNotificationCountResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCachedNotificationCountResponse1(kind: GetCachedNotificationCountResponse1Kind.GetCachedNotificationCountResponseVariant, GetCachedNotificationCountResponseValue: to(node, GetCachedNotificationCountResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCachedNotificationCountResponse: ", e.msg - try: - return GetCachedNotificationCountResponse1(kind: GetCachedNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCachedNotificationCountResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comment_ban_status_response1.nim b/client/fastcomments/models/model_get_comment_ban_status_response1.nim deleted file mode 100644 index 00eedf6..0000000 --- a/client/fastcomments/models/model_get_comment_ban_status_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_comment_ban_status_response - -# AnyOf type -type GetCommentBanStatusResponse1Kind* {.pure.} = enum - GetCommentBanStatusResponseVariant - APIErrorVariant - -type GetCommentBanStatusResponse1* = object - ## - case kind*: GetCommentBanStatusResponse1Kind - of GetCommentBanStatusResponse1Kind.GetCommentBanStatusResponseVariant: - GetCommentBanStatusResponseValue*: GetCommentBanStatusResponse - of GetCommentBanStatusResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentBanStatusResponse1]): GetCommentBanStatusResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentBanStatusResponse1(kind: GetCommentBanStatusResponse1Kind.GetCommentBanStatusResponseVariant, GetCommentBanStatusResponseValue: to(node, GetCommentBanStatusResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCommentBanStatusResponse: ", e.msg - try: - return GetCommentBanStatusResponse1(kind: GetCommentBanStatusResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentBanStatusResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comment_children_response.nim b/client/fastcomments/models/model_get_comment_children_response.nim deleted file mode 100644 index e7d2548..0000000 --- a/client/fastcomments/models/model_get_comment_children_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_child_comments_response -import model_moderation_api_comment - -# AnyOf type -type GetCommentChildrenResponseKind* {.pure.} = enum - ModerationAPIChildCommentsResponseVariant - APIErrorVariant - -type GetCommentChildrenResponse* = object - ## - case kind*: GetCommentChildrenResponseKind - of GetCommentChildrenResponseKind.ModerationAPIChildCommentsResponseVariant: - ModerationAPIChildCommentsResponseValue*: ModerationAPIChildCommentsResponse - of GetCommentChildrenResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentChildrenResponse]): GetCommentChildrenResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentChildrenResponse(kind: GetCommentChildrenResponseKind.ModerationAPIChildCommentsResponseVariant, ModerationAPIChildCommentsResponseValue: to(node, ModerationAPIChildCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPIChildCommentsResponse: ", e.msg - try: - return GetCommentChildrenResponse(kind: GetCommentChildrenResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentChildrenResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comment_response.nim b/client/fastcomments/models/model_get_comment_response.nim deleted file mode 100644 index 7f024a6..0000000 --- a/client/fastcomments/models/model_get_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_comment -import model_api_error -import model_api_get_comment_response -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type GetCommentResponseKind* {.pure.} = enum - APIGetCommentResponseVariant - APIErrorVariant - -type GetCommentResponse* = object - ## - case kind*: GetCommentResponseKind - of GetCommentResponseKind.APIGetCommentResponseVariant: - APIGetCommentResponseValue*: APIGetCommentResponse - of GetCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentResponse]): GetCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentResponse(kind: GetCommentResponseKind.APIGetCommentResponseVariant, APIGetCommentResponseValue: to(node, APIGetCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetCommentResponse: ", e.msg - try: - return GetCommentResponse(kind: GetCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comment_text_response1.nim b/client/fastcomments/models/model_get_comment_text_response1.nim deleted file mode 100644 index 04c9143..0000000 --- a/client/fastcomments/models/model_get_comment_text_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_public_api_get_comment_text_response - -# AnyOf type -type GetCommentTextResponse1Kind* {.pure.} = enum - PublicAPIGetCommentTextResponseVariant - APIErrorVariant - -type GetCommentTextResponse1* = object - ## - case kind*: GetCommentTextResponse1Kind - of GetCommentTextResponse1Kind.PublicAPIGetCommentTextResponseVariant: - PublicAPIGetCommentTextResponseValue*: PublicAPIGetCommentTextResponse - of GetCommentTextResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentTextResponse1]): GetCommentTextResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentTextResponse1(kind: GetCommentTextResponse1Kind.PublicAPIGetCommentTextResponseVariant, PublicAPIGetCommentTextResponseValue: to(node, PublicAPIGetCommentTextResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PublicAPIGetCommentTextResponse: ", e.msg - try: - return GetCommentTextResponse1(kind: GetCommentTextResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentTextResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comment_vote_user_names_response.nim b/client/fastcomments/models/model_get_comment_vote_user_names_response.nim deleted file mode 100644 index 22e90ca..0000000 --- a/client/fastcomments/models/model_get_comment_vote_user_names_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_comment_vote_user_names_success_response - -# AnyOf type -type GetCommentVoteUserNamesResponseKind* {.pure.} = enum - GetCommentVoteUserNamesSuccessResponseVariant - APIErrorVariant - -type GetCommentVoteUserNamesResponse* = object - ## - case kind*: GetCommentVoteUserNamesResponseKind - of GetCommentVoteUserNamesResponseKind.GetCommentVoteUserNamesSuccessResponseVariant: - GetCommentVoteUserNamesSuccessResponseValue*: GetCommentVoteUserNamesSuccessResponse - of GetCommentVoteUserNamesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentVoteUserNamesResponse]): GetCommentVoteUserNamesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentVoteUserNamesResponse(kind: GetCommentVoteUserNamesResponseKind.GetCommentVoteUserNamesSuccessResponseVariant, GetCommentVoteUserNamesSuccessResponseValue: to(node, GetCommentVoteUserNamesSuccessResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCommentVoteUserNamesSuccessResponse: ", e.msg - try: - return GetCommentVoteUserNamesResponse(kind: GetCommentVoteUserNamesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentVoteUserNamesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comments_for_user_response1.nim b/client/fastcomments/models/model_get_comments_for_user_response1.nim deleted file mode 100644 index 5edf318..0000000 --- a/client/fastcomments/models/model_get_comments_for_user_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_comments_for_user_response - -# AnyOf type -type GetCommentsForUserResponse1Kind* {.pure.} = enum - GetCommentsForUserResponseVariant - APIErrorVariant - -type GetCommentsForUserResponse1* = object - ## - case kind*: GetCommentsForUserResponse1Kind - of GetCommentsForUserResponse1Kind.GetCommentsForUserResponseVariant: - GetCommentsForUserResponseValue*: GetCommentsForUserResponse - of GetCommentsForUserResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentsForUserResponse1]): GetCommentsForUserResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentsForUserResponse1(kind: GetCommentsForUserResponse1Kind.GetCommentsForUserResponseVariant, GetCommentsForUserResponseValue: to(node, GetCommentsForUserResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCommentsForUserResponse: ", e.msg - try: - return GetCommentsForUserResponse1(kind: GetCommentsForUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsForUserResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comments_public_response.nim b/client/fastcomments/models/model_get_comments_public_response.nim deleted file mode 100644 index 95f99e6..0000000 --- a/client/fastcomments/models/model_get_comments_public_response.nim +++ /dev/null @@ -1,49 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_comments_response_with_presence_public_comment -import model_object -import model_public_comment -import model_user_session_info - -# AnyOf type -type GetCommentsPublicResponseKind* {.pure.} = enum - GetCommentsResponseWithPresencePublicCommentVariant - APIErrorVariant - -type GetCommentsPublicResponse* = object - ## - case kind*: GetCommentsPublicResponseKind - of GetCommentsPublicResponseKind.GetCommentsResponseWithPresencePublicCommentVariant: - GetCommentsResponseWithPresence_PublicComment_Value*: GetCommentsResponseWithPresencePublicComment - of GetCommentsPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentsPublicResponse]): GetCommentsPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentsPublicResponse(kind: GetCommentsPublicResponseKind.GetCommentsResponseWithPresencePublicCommentVariant, GetCommentsResponseWithPresence_PublicComment_Value: to(node, GetCommentsResponseWithPresencePublicComment)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCommentsResponseWithPresencePublicComment: ", e.msg - try: - return GetCommentsPublicResponse(kind: GetCommentsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_comments_response.nim b/client/fastcomments/models/model_get_comments_response.nim deleted file mode 100644 index 52af032..0000000 --- a/client/fastcomments/models/model_get_comments_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_comment -import model_api_error -import model_api_get_comments_response -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type GetCommentsResponseKind* {.pure.} = enum - APIGetCommentsResponseVariant - APIErrorVariant - -type GetCommentsResponse* = object - ## - case kind*: GetCommentsResponseKind - of GetCommentsResponseKind.APIGetCommentsResponseVariant: - APIGetCommentsResponseValue*: APIGetCommentsResponse - of GetCommentsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCommentsResponse]): GetCommentsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCommentsResponse(kind: GetCommentsResponseKind.APIGetCommentsResponseVariant, APIGetCommentsResponseValue: to(node, APIGetCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetCommentsResponse: ", e.msg - try: - return GetCommentsResponse(kind: GetCommentsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCommentsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_count_response.nim b/client/fastcomments/models/model_get_count_response.nim deleted file mode 100644 index 8773a5f..0000000 --- a/client/fastcomments/models/model_get_count_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_count_comments_response - -# AnyOf type -type GetCountResponseKind* {.pure.} = enum - ModerationAPICountCommentsResponseVariant - APIErrorVariant - -type GetCountResponse* = object - ## - case kind*: GetCountResponseKind - of GetCountResponseKind.ModerationAPICountCommentsResponseVariant: - ModerationAPICountCommentsResponseValue*: ModerationAPICountCommentsResponse - of GetCountResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCountResponse]): GetCountResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCountResponse(kind: GetCountResponseKind.ModerationAPICountCommentsResponseVariant, ModerationAPICountCommentsResponseValue: to(node, ModerationAPICountCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPICountCommentsResponse: ", e.msg - try: - return GetCountResponse(kind: GetCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCountResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_counts_response.nim b/client/fastcomments/models/model_get_counts_response.nim deleted file mode 100644 index 9ef660d..0000000 --- a/client/fastcomments/models/model_get_counts_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_banned_users_count_response - -# AnyOf type -type GetCountsResponseKind* {.pure.} = enum - GetBannedUsersCountResponseVariant - APIErrorVariant - -type GetCountsResponse* = object - ## - case kind*: GetCountsResponseKind - of GetCountsResponseKind.GetBannedUsersCountResponseVariant: - GetBannedUsersCountResponseValue*: GetBannedUsersCountResponse - of GetCountsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetCountsResponse]): GetCountsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetCountsResponse(kind: GetCountsResponseKind.GetBannedUsersCountResponseVariant, GetBannedUsersCountResponseValue: to(node, GetBannedUsersCountResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetBannedUsersCountResponse: ", e.msg - try: - return GetCountsResponse(kind: GetCountsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetCountsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_email_template_definitions_response1.nim b/client/fastcomments/models/model_get_email_template_definitions_response1.nim deleted file mode 100644 index 7e8a0fc..0000000 --- a/client/fastcomments/models/model_get_email_template_definitions_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_email_template_definition -import model_get_email_template_definitions_response - -# AnyOf type -type GetEmailTemplateDefinitionsResponse1Kind* {.pure.} = enum - GetEmailTemplateDefinitionsResponseVariant - APIErrorVariant - -type GetEmailTemplateDefinitionsResponse1* = object - ## - case kind*: GetEmailTemplateDefinitionsResponse1Kind - of GetEmailTemplateDefinitionsResponse1Kind.GetEmailTemplateDefinitionsResponseVariant: - GetEmailTemplateDefinitionsResponseValue*: GetEmailTemplateDefinitionsResponse - of GetEmailTemplateDefinitionsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetEmailTemplateDefinitionsResponse1]): GetEmailTemplateDefinitionsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetEmailTemplateDefinitionsResponse1(kind: GetEmailTemplateDefinitionsResponse1Kind.GetEmailTemplateDefinitionsResponseVariant, GetEmailTemplateDefinitionsResponseValue: to(node, GetEmailTemplateDefinitionsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEmailTemplateDefinitionsResponse: ", e.msg - try: - return GetEmailTemplateDefinitionsResponse1(kind: GetEmailTemplateDefinitionsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateDefinitionsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_email_template_render_errors_response1.nim b/client/fastcomments/models/model_get_email_template_render_errors_response1.nim deleted file mode 100644 index 22129e0..0000000 --- a/client/fastcomments/models/model_get_email_template_render_errors_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_email_template_render_error_response -import model_get_email_template_render_errors_response - -# AnyOf type -type GetEmailTemplateRenderErrorsResponse1Kind* {.pure.} = enum - GetEmailTemplateRenderErrorsResponseVariant - APIErrorVariant - -type GetEmailTemplateRenderErrorsResponse1* = object - ## - case kind*: GetEmailTemplateRenderErrorsResponse1Kind - of GetEmailTemplateRenderErrorsResponse1Kind.GetEmailTemplateRenderErrorsResponseVariant: - GetEmailTemplateRenderErrorsResponseValue*: GetEmailTemplateRenderErrorsResponse - of GetEmailTemplateRenderErrorsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetEmailTemplateRenderErrorsResponse1]): GetEmailTemplateRenderErrorsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetEmailTemplateRenderErrorsResponse1(kind: GetEmailTemplateRenderErrorsResponse1Kind.GetEmailTemplateRenderErrorsResponseVariant, GetEmailTemplateRenderErrorsResponseValue: to(node, GetEmailTemplateRenderErrorsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEmailTemplateRenderErrorsResponse: ", e.msg - try: - return GetEmailTemplateRenderErrorsResponse1(kind: GetEmailTemplateRenderErrorsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateRenderErrorsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_email_template_response1.nim b/client/fastcomments/models/model_get_email_template_response1.nim deleted file mode 100644 index 208d082..0000000 --- a/client/fastcomments/models/model_get_email_template_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_custom_email_template -import model_get_email_template_response - -# AnyOf type -type GetEmailTemplateResponse1Kind* {.pure.} = enum - GetEmailTemplateResponseVariant - APIErrorVariant - -type GetEmailTemplateResponse1* = object - ## - case kind*: GetEmailTemplateResponse1Kind - of GetEmailTemplateResponse1Kind.GetEmailTemplateResponseVariant: - GetEmailTemplateResponseValue*: GetEmailTemplateResponse - of GetEmailTemplateResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetEmailTemplateResponse1]): GetEmailTemplateResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetEmailTemplateResponse1(kind: GetEmailTemplateResponse1Kind.GetEmailTemplateResponseVariant, GetEmailTemplateResponseValue: to(node, GetEmailTemplateResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEmailTemplateResponse: ", e.msg - try: - return GetEmailTemplateResponse1(kind: GetEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplateResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_email_templates_response1.nim b/client/fastcomments/models/model_get_email_templates_response1.nim deleted file mode 100644 index 3ff282e..0000000 --- a/client/fastcomments/models/model_get_email_templates_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_custom_email_template -import model_get_email_templates_response - -# AnyOf type -type GetEmailTemplatesResponse1Kind* {.pure.} = enum - GetEmailTemplatesResponseVariant - APIErrorVariant - -type GetEmailTemplatesResponse1* = object - ## - case kind*: GetEmailTemplatesResponse1Kind - of GetEmailTemplatesResponse1Kind.GetEmailTemplatesResponseVariant: - GetEmailTemplatesResponseValue*: GetEmailTemplatesResponse - of GetEmailTemplatesResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetEmailTemplatesResponse1]): GetEmailTemplatesResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetEmailTemplatesResponse1(kind: GetEmailTemplatesResponse1Kind.GetEmailTemplatesResponseVariant, GetEmailTemplatesResponseValue: to(node, GetEmailTemplatesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEmailTemplatesResponse: ", e.msg - try: - return GetEmailTemplatesResponse1(kind: GetEmailTemplatesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetEmailTemplatesResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_event_log_response1.nim b/client/fastcomments/models/model_get_event_log_response1.nim deleted file mode 100644 index ecacc9b..0000000 --- a/client/fastcomments/models/model_get_event_log_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_event_log_entry -import model_get_event_log_response - -# AnyOf type -type GetEventLogResponse1Kind* {.pure.} = enum - GetEventLogResponseVariant - APIErrorVariant - -type GetEventLogResponse1* = object - ## - case kind*: GetEventLogResponse1Kind - of GetEventLogResponse1Kind.GetEventLogResponseVariant: - GetEventLogResponseValue*: GetEventLogResponse - of GetEventLogResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetEventLogResponse1]): GetEventLogResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetEventLogResponse1(kind: GetEventLogResponse1Kind.GetEventLogResponseVariant, GetEventLogResponseValue: to(node, GetEventLogResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEventLogResponse: ", e.msg - try: - return GetEventLogResponse1(kind: GetEventLogResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetEventLogResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_feed_posts_public_response.nim b/client/fastcomments/models/model_get_feed_posts_public_response.nim deleted file mode 100644 index ba423d1..0000000 --- a/client/fastcomments/models/model_get_feed_posts_public_response.nim +++ /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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_feed_post -import model_public_feed_posts_response -import model_user_session_info - -# AnyOf type -type GetFeedPostsPublicResponseKind* {.pure.} = enum - PublicFeedPostsResponseVariant - APIErrorVariant - -type GetFeedPostsPublicResponse* = object - ## - case kind*: GetFeedPostsPublicResponseKind - of GetFeedPostsPublicResponseKind.PublicFeedPostsResponseVariant: - PublicFeedPostsResponseValue*: PublicFeedPostsResponse - of GetFeedPostsPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetFeedPostsPublicResponse]): GetFeedPostsPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetFeedPostsPublicResponse(kind: GetFeedPostsPublicResponseKind.PublicFeedPostsResponseVariant, PublicFeedPostsResponseValue: to(node, PublicFeedPostsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PublicFeedPostsResponse: ", e.msg - try: - return GetFeedPostsPublicResponse(kind: GetFeedPostsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_feed_posts_response1.nim b/client/fastcomments/models/model_get_feed_posts_response1.nim deleted file mode 100644 index a38c873..0000000 --- a/client/fastcomments/models/model_get_feed_posts_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_feed_post -import model_get_feed_posts_response - -# AnyOf type -type GetFeedPostsResponse1Kind* {.pure.} = enum - GetFeedPostsResponseVariant - APIErrorVariant - -type GetFeedPostsResponse1* = object - ## - case kind*: GetFeedPostsResponse1Kind - of GetFeedPostsResponse1Kind.GetFeedPostsResponseVariant: - GetFeedPostsResponseValue*: GetFeedPostsResponse - of GetFeedPostsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetFeedPostsResponse1]): GetFeedPostsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetFeedPostsResponse1(kind: GetFeedPostsResponse1Kind.GetFeedPostsResponseVariant, GetFeedPostsResponseValue: to(node, GetFeedPostsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetFeedPostsResponse: ", e.msg - try: - return GetFeedPostsResponse1(kind: GetFeedPostsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_feed_posts_stats_response.nim b/client/fastcomments/models/model_get_feed_posts_stats_response.nim deleted file mode 100644 index dd434e3..0000000 --- a/client/fastcomments/models/model_get_feed_posts_stats_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_feed_post_stats -import model_feed_posts_stats_response - -# AnyOf type -type GetFeedPostsStatsResponseKind* {.pure.} = enum - FeedPostsStatsResponseVariant - APIErrorVariant - -type GetFeedPostsStatsResponse* = object - ## - case kind*: GetFeedPostsStatsResponseKind - of GetFeedPostsStatsResponseKind.FeedPostsStatsResponseVariant: - FeedPostsStatsResponseValue*: FeedPostsStatsResponse - of GetFeedPostsStatsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetFeedPostsStatsResponse]): GetFeedPostsStatsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetFeedPostsStatsResponse(kind: GetFeedPostsStatsResponseKind.FeedPostsStatsResponseVariant, FeedPostsStatsResponseValue: to(node, FeedPostsStatsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as FeedPostsStatsResponse: ", e.msg - try: - return GetFeedPostsStatsResponse(kind: GetFeedPostsStatsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetFeedPostsStatsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_gif_large_response.nim b/client/fastcomments/models/model_get_gif_large_response.nim deleted file mode 100644 index 1ddcde1..0000000 --- a/client/fastcomments/models/model_get_gif_large_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_gif_get_large_response - -# AnyOf type -type GetGifLargeResponseKind* {.pure.} = enum - GifGetLargeResponseVariant - APIErrorVariant - -type GetGifLargeResponse* = object - ## - case kind*: GetGifLargeResponseKind - of GetGifLargeResponseKind.GifGetLargeResponseVariant: - GifGetLargeResponseValue*: GifGetLargeResponse - of GetGifLargeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetGifLargeResponse]): GetGifLargeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetGifLargeResponse(kind: GetGifLargeResponseKind.GifGetLargeResponseVariant, GifGetLargeResponseValue: to(node, GifGetLargeResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GifGetLargeResponse: ", e.msg - try: - return GetGifLargeResponse(kind: GetGifLargeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetGifLargeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_gifs_search_response.nim b/client/fastcomments/models/model_get_gifs_search_response.nim index bc48fef..36978c9 100644 --- a/client/fastcomments/models/model_get_gifs_search_response.nim +++ b/client/fastcomments/models/model_get_gifs_search_response.nim @@ -12,9 +12,7 @@ import tables import marshal import options -import model_api_error import model_api_status -import model_custom_config_parameters import model_gif_search_internal_error import model_gif_search_response import model_gif_search_response_images_inner_inner @@ -23,7 +21,6 @@ import model_gif_search_response_images_inner_inner type GetGifsSearchResponseKind* {.pure.} = enum GifSearchResponseVariant GifSearchInternalErrorVariant - APIErrorVariant type GetGifsSearchResponse* = object ## @@ -32,8 +29,6 @@ type GetGifsSearchResponse* = object GifSearchResponseValue*: GifSearchResponse of GetGifsSearchResponseKind.GifSearchInternalErrorVariant: GifSearchInternalErrorValue*: GifSearchInternalError - of GetGifsSearchResponseKind.APIErrorVariant: - APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[GetGifsSearchResponse]): GetGifsSearchResponse = ## Custom deserializer for anyOf type - tries each variant @@ -47,10 +42,5 @@ proc to*(node: JsonNode, T: typedesc[GetGifsSearchResponse]): GetGifsSearchRespo except Exception as e: when defined(debug): echo "Failed to deserialize as GifSearchInternalError: ", e.msg - try: - return GetGifsSearchResponse(kind: GetGifsSearchResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of GetGifsSearchResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_get_global_event_log_response.nim b/client/fastcomments/models/model_get_global_event_log_response.nim deleted file mode 100644 index 8533949..0000000 --- a/client/fastcomments/models/model_get_global_event_log_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_event_log_entry -import model_get_event_log_response - -# AnyOf type -type GetGlobalEventLogResponseKind* {.pure.} = enum - GetEventLogResponseVariant - APIErrorVariant - -type GetGlobalEventLogResponse* = object - ## - case kind*: GetGlobalEventLogResponseKind - of GetGlobalEventLogResponseKind.GetEventLogResponseVariant: - GetEventLogResponseValue*: GetEventLogResponse - of GetGlobalEventLogResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetGlobalEventLogResponse]): GetGlobalEventLogResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetGlobalEventLogResponse(kind: GetGlobalEventLogResponseKind.GetEventLogResponseVariant, GetEventLogResponseValue: to(node, GetEventLogResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetEventLogResponse: ", e.msg - try: - return GetGlobalEventLogResponse(kind: GetGlobalEventLogResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetGlobalEventLogResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_hash_tags_response1.nim b/client/fastcomments/models/model_get_hash_tags_response1.nim deleted file mode 100644 index 081a255..0000000 --- a/client/fastcomments/models/model_get_hash_tags_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_hash_tags_response -import model_tenant_hash_tag - -# AnyOf type -type GetHashTagsResponse1Kind* {.pure.} = enum - GetHashTagsResponseVariant - APIErrorVariant - -type GetHashTagsResponse1* = object - ## - case kind*: GetHashTagsResponse1Kind - of GetHashTagsResponse1Kind.GetHashTagsResponseVariant: - GetHashTagsResponseValue*: GetHashTagsResponse - of GetHashTagsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetHashTagsResponse1]): GetHashTagsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetHashTagsResponse1(kind: GetHashTagsResponse1Kind.GetHashTagsResponseVariant, GetHashTagsResponseValue: to(node, GetHashTagsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetHashTagsResponse: ", e.msg - try: - return GetHashTagsResponse1(kind: GetHashTagsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetHashTagsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_logs_response.nim b/client/fastcomments/models/model_get_logs_response.nim deleted file mode 100644 index 6baa12d..0000000 --- a/client/fastcomments/models/model_get_logs_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_comment_log -import model_moderation_api_get_logs_response - -# AnyOf type -type GetLogsResponseKind* {.pure.} = enum - ModerationAPIGetLogsResponseVariant - APIErrorVariant - -type GetLogsResponse* = object - ## - case kind*: GetLogsResponseKind - of GetLogsResponseKind.ModerationAPIGetLogsResponseVariant: - ModerationAPIGetLogsResponseValue*: ModerationAPIGetLogsResponse - of GetLogsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetLogsResponse]): GetLogsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetLogsResponse(kind: GetLogsResponseKind.ModerationAPIGetLogsResponseVariant, ModerationAPIGetLogsResponseValue: to(node, ModerationAPIGetLogsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPIGetLogsResponse: ", e.msg - try: - return GetLogsResponse(kind: GetLogsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetLogsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_manual_badges_for_user_response.nim b/client/fastcomments/models/model_get_manual_badges_for_user_response.nim deleted file mode 100644 index 2181dfd..0000000 --- a/client/fastcomments/models/model_get_manual_badges_for_user_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_manual_badges_response -import model_user_badge - -# AnyOf type -type GetManualBadgesForUserResponseKind* {.pure.} = enum - GetUserManualBadgesResponseVariant - APIErrorVariant - -type GetManualBadgesForUserResponse* = object - ## - case kind*: GetManualBadgesForUserResponseKind - of GetManualBadgesForUserResponseKind.GetUserManualBadgesResponseVariant: - GetUserManualBadgesResponseValue*: GetUserManualBadgesResponse - of GetManualBadgesForUserResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetManualBadgesForUserResponse]): GetManualBadgesForUserResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetManualBadgesForUserResponse(kind: GetManualBadgesForUserResponseKind.GetUserManualBadgesResponseVariant, GetUserManualBadgesResponseValue: to(node, GetUserManualBadgesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserManualBadgesResponse: ", e.msg - try: - return GetManualBadgesForUserResponse(kind: GetManualBadgesForUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetManualBadgesForUserResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_manual_badges_response.nim b/client/fastcomments/models/model_get_manual_badges_response.nim deleted file mode 100644 index b8f3ba2..0000000 --- a/client/fastcomments/models/model_get_manual_badges_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_tenant_manual_badges_response -import model_tenant_badge - -# AnyOf type -type GetManualBadgesResponseKind* {.pure.} = enum - GetTenantManualBadgesResponseVariant - APIErrorVariant - -type GetManualBadgesResponse* = object - ## - case kind*: GetManualBadgesResponseKind - of GetManualBadgesResponseKind.GetTenantManualBadgesResponseVariant: - GetTenantManualBadgesResponseValue*: GetTenantManualBadgesResponse - of GetManualBadgesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetManualBadgesResponse]): GetManualBadgesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetManualBadgesResponse(kind: GetManualBadgesResponseKind.GetTenantManualBadgesResponseVariant, GetTenantManualBadgesResponseValue: to(node, GetTenantManualBadgesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantManualBadgesResponse: ", e.msg - try: - return GetManualBadgesResponse(kind: GetManualBadgesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetManualBadgesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_moderation_comment_response.nim b/client/fastcomments/models/model_get_moderation_comment_response.nim deleted file mode 100644 index 5f09b95..0000000 --- a/client/fastcomments/models/model_get_moderation_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_comment -import model_moderation_api_comment_response - -# AnyOf type -type GetModerationCommentResponseKind* {.pure.} = enum - ModerationAPICommentResponseVariant - APIErrorVariant - -type GetModerationCommentResponse* = object - ## - case kind*: GetModerationCommentResponseKind - of GetModerationCommentResponseKind.ModerationAPICommentResponseVariant: - ModerationAPICommentResponseValue*: ModerationAPICommentResponse - of GetModerationCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetModerationCommentResponse]): GetModerationCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetModerationCommentResponse(kind: GetModerationCommentResponseKind.ModerationAPICommentResponseVariant, ModerationAPICommentResponseValue: to(node, ModerationAPICommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPICommentResponse: ", e.msg - try: - return GetModerationCommentResponse(kind: GetModerationCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetModerationCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_moderation_comment_text_response.nim b/client/fastcomments/models/model_get_moderation_comment_text_response.nim deleted file mode 100644 index a5a2f9c..0000000 --- a/client/fastcomments/models/model_get_moderation_comment_text_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_comment_text_response - -# AnyOf type -type GetModerationCommentTextResponseKind* {.pure.} = enum - GetCommentTextResponseVariant - APIErrorVariant - -type GetModerationCommentTextResponse* = object - ## - case kind*: GetModerationCommentTextResponseKind - of GetModerationCommentTextResponseKind.GetCommentTextResponseVariant: - GetCommentTextResponseValue*: GetCommentTextResponse - of GetModerationCommentTextResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetModerationCommentTextResponse]): GetModerationCommentTextResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetModerationCommentTextResponse(kind: GetModerationCommentTextResponseKind.GetCommentTextResponseVariant, GetCommentTextResponseValue: to(node, GetCommentTextResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetCommentTextResponse: ", e.msg - try: - return GetModerationCommentTextResponse(kind: GetModerationCommentTextResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetModerationCommentTextResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_moderator_response1.nim b/client/fastcomments/models/model_get_moderator_response1.nim deleted file mode 100644 index 3cf314f..0000000 --- a/client/fastcomments/models/model_get_moderator_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_moderator_response -import model_moderator - -# AnyOf type -type GetModeratorResponse1Kind* {.pure.} = enum - GetModeratorResponseVariant - APIErrorVariant - -type GetModeratorResponse1* = object - ## - case kind*: GetModeratorResponse1Kind - of GetModeratorResponse1Kind.GetModeratorResponseVariant: - GetModeratorResponseValue*: GetModeratorResponse - of GetModeratorResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetModeratorResponse1]): GetModeratorResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetModeratorResponse1(kind: GetModeratorResponse1Kind.GetModeratorResponseVariant, GetModeratorResponseValue: to(node, GetModeratorResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetModeratorResponse: ", e.msg - try: - return GetModeratorResponse1(kind: GetModeratorResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetModeratorResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_moderators_response1.nim b/client/fastcomments/models/model_get_moderators_response1.nim deleted file mode 100644 index bb2cc28..0000000 --- a/client/fastcomments/models/model_get_moderators_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_moderators_response -import model_moderator - -# AnyOf type -type GetModeratorsResponse1Kind* {.pure.} = enum - GetModeratorsResponseVariant - APIErrorVariant - -type GetModeratorsResponse1* = object - ## - case kind*: GetModeratorsResponse1Kind - of GetModeratorsResponse1Kind.GetModeratorsResponseVariant: - GetModeratorsResponseValue*: GetModeratorsResponse - of GetModeratorsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetModeratorsResponse1]): GetModeratorsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetModeratorsResponse1(kind: GetModeratorsResponse1Kind.GetModeratorsResponseVariant, GetModeratorsResponseValue: to(node, GetModeratorsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetModeratorsResponse: ", e.msg - try: - return GetModeratorsResponse1(kind: GetModeratorsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetModeratorsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_notification_count_response1.nim b/client/fastcomments/models/model_get_notification_count_response1.nim deleted file mode 100644 index f26e8f2..0000000 --- a/client/fastcomments/models/model_get_notification_count_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_notification_count_response - -# AnyOf type -type GetNotificationCountResponse1Kind* {.pure.} = enum - GetNotificationCountResponseVariant - APIErrorVariant - -type GetNotificationCountResponse1* = object - ## - case kind*: GetNotificationCountResponse1Kind - of GetNotificationCountResponse1Kind.GetNotificationCountResponseVariant: - GetNotificationCountResponseValue*: GetNotificationCountResponse - of GetNotificationCountResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetNotificationCountResponse1]): GetNotificationCountResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetNotificationCountResponse1(kind: GetNotificationCountResponse1Kind.GetNotificationCountResponseVariant, GetNotificationCountResponseValue: to(node, GetNotificationCountResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetNotificationCountResponse: ", e.msg - try: - return GetNotificationCountResponse1(kind: GetNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetNotificationCountResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_notifications_response1.nim b/client/fastcomments/models/model_get_notifications_response1.nim deleted file mode 100644 index 74e4c9f..0000000 --- a/client/fastcomments/models/model_get_notifications_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_notifications_response -import model_user_notification - -# AnyOf type -type GetNotificationsResponse1Kind* {.pure.} = enum - GetNotificationsResponseVariant - APIErrorVariant - -type GetNotificationsResponse1* = object - ## - case kind*: GetNotificationsResponse1Kind - of GetNotificationsResponse1Kind.GetNotificationsResponseVariant: - GetNotificationsResponseValue*: GetNotificationsResponse - of GetNotificationsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetNotificationsResponse1]): GetNotificationsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetNotificationsResponse1(kind: GetNotificationsResponse1Kind.GetNotificationsResponseVariant, GetNotificationsResponseValue: to(node, GetNotificationsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetNotificationsResponse: ", e.msg - try: - return GetNotificationsResponse1(kind: GetNotificationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetNotificationsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_offline_users_response.nim b/client/fastcomments/models/model_get_offline_users_response.nim deleted file mode 100644 index a8c9c33..0000000 --- a/client/fastcomments/models/model_get_offline_users_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_page_user_entry -import model_page_users_offline_response - -# AnyOf type -type GetOfflineUsersResponseKind* {.pure.} = enum - PageUsersOfflineResponseVariant - APIErrorVariant - -type GetOfflineUsersResponse* = object - ## - case kind*: GetOfflineUsersResponseKind - of GetOfflineUsersResponseKind.PageUsersOfflineResponseVariant: - PageUsersOfflineResponseValue*: PageUsersOfflineResponse - of GetOfflineUsersResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetOfflineUsersResponse]): GetOfflineUsersResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetOfflineUsersResponse(kind: GetOfflineUsersResponseKind.PageUsersOfflineResponseVariant, PageUsersOfflineResponseValue: to(node, PageUsersOfflineResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PageUsersOfflineResponse: ", e.msg - try: - return GetOfflineUsersResponse(kind: GetOfflineUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetOfflineUsersResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_online_users_response.nim b/client/fastcomments/models/model_get_online_users_response.nim deleted file mode 100644 index d8db0fd..0000000 --- a/client/fastcomments/models/model_get_online_users_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_page_user_entry -import model_page_users_online_response - -# AnyOf type -type GetOnlineUsersResponseKind* {.pure.} = enum - PageUsersOnlineResponseVariant - APIErrorVariant - -type GetOnlineUsersResponse* = object - ## - case kind*: GetOnlineUsersResponseKind - of GetOnlineUsersResponseKind.PageUsersOnlineResponseVariant: - PageUsersOnlineResponseValue*: PageUsersOnlineResponse - of GetOnlineUsersResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetOnlineUsersResponse]): GetOnlineUsersResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetOnlineUsersResponse(kind: GetOnlineUsersResponseKind.PageUsersOnlineResponseVariant, PageUsersOnlineResponseValue: to(node, PageUsersOnlineResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PageUsersOnlineResponse: ", e.msg - try: - return GetOnlineUsersResponse(kind: GetOnlineUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetOnlineUsersResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_pages_public_response.nim b/client/fastcomments/models/model_get_pages_public_response.nim deleted file mode 100644 index 58f5623..0000000 --- a/client/fastcomments/models/model_get_pages_public_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_public_pages_response -import model_public_page - -# AnyOf type -type GetPagesPublicResponseKind* {.pure.} = enum - GetPublicPagesResponseVariant - APIErrorVariant - -type GetPagesPublicResponse* = object - ## - case kind*: GetPagesPublicResponseKind - of GetPagesPublicResponseKind.GetPublicPagesResponseVariant: - GetPublicPagesResponseValue*: GetPublicPagesResponse - of GetPagesPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetPagesPublicResponse]): GetPagesPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetPagesPublicResponse(kind: GetPagesPublicResponseKind.GetPublicPagesResponseVariant, GetPublicPagesResponseValue: to(node, GetPublicPagesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetPublicPagesResponse: ", e.msg - try: - return GetPagesPublicResponse(kind: GetPagesPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetPagesPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim b/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim deleted file mode 100644 index a8c3fdb..0000000 --- a/client/fastcomments/models/model_get_pending_webhook_event_count_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_pending_webhook_event_count_response - -# AnyOf type -type GetPendingWebhookEventCountResponse1Kind* {.pure.} = enum - GetPendingWebhookEventCountResponseVariant - APIErrorVariant - -type GetPendingWebhookEventCountResponse1* = object - ## - case kind*: GetPendingWebhookEventCountResponse1Kind - of GetPendingWebhookEventCountResponse1Kind.GetPendingWebhookEventCountResponseVariant: - GetPendingWebhookEventCountResponseValue*: GetPendingWebhookEventCountResponse - of GetPendingWebhookEventCountResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetPendingWebhookEventCountResponse1]): GetPendingWebhookEventCountResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetPendingWebhookEventCountResponse1(kind: GetPendingWebhookEventCountResponse1Kind.GetPendingWebhookEventCountResponseVariant, GetPendingWebhookEventCountResponseValue: to(node, GetPendingWebhookEventCountResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetPendingWebhookEventCountResponse: ", e.msg - try: - return GetPendingWebhookEventCountResponse1(kind: GetPendingWebhookEventCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetPendingWebhookEventCountResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_pending_webhook_events_response1.nim b/client/fastcomments/models/model_get_pending_webhook_events_response1.nim deleted file mode 100644 index f6b5422..0000000 --- a/client/fastcomments/models/model_get_pending_webhook_events_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_pending_webhook_events_response -import model_pending_comment_to_sync_outbound - -# AnyOf type -type GetPendingWebhookEventsResponse1Kind* {.pure.} = enum - GetPendingWebhookEventsResponseVariant - APIErrorVariant - -type GetPendingWebhookEventsResponse1* = object - ## - case kind*: GetPendingWebhookEventsResponse1Kind - of GetPendingWebhookEventsResponse1Kind.GetPendingWebhookEventsResponseVariant: - GetPendingWebhookEventsResponseValue*: GetPendingWebhookEventsResponse - of GetPendingWebhookEventsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetPendingWebhookEventsResponse1]): GetPendingWebhookEventsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetPendingWebhookEventsResponse1(kind: GetPendingWebhookEventsResponse1Kind.GetPendingWebhookEventsResponseVariant, GetPendingWebhookEventsResponseValue: to(node, GetPendingWebhookEventsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetPendingWebhookEventsResponse: ", e.msg - try: - return GetPendingWebhookEventsResponse1(kind: GetPendingWebhookEventsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetPendingWebhookEventsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_pre_ban_summary_response.nim b/client/fastcomments/models/model_get_pre_ban_summary_response.nim deleted file mode 100644 index 97304ef..0000000 --- a/client/fastcomments/models/model_get_pre_ban_summary_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_pre_ban_summary - -# AnyOf type -type GetPreBanSummaryResponseKind* {.pure.} = enum - PreBanSummaryVariant - APIErrorVariant - -type GetPreBanSummaryResponse* = object - ## - case kind*: GetPreBanSummaryResponseKind - of GetPreBanSummaryResponseKind.PreBanSummaryVariant: - PreBanSummaryValue*: PreBanSummary - of GetPreBanSummaryResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetPreBanSummaryResponse]): GetPreBanSummaryResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetPreBanSummaryResponse(kind: GetPreBanSummaryResponseKind.PreBanSummaryVariant, PreBanSummaryValue: to(node, PreBanSummary)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PreBanSummary: ", e.msg - try: - return GetPreBanSummaryResponse(kind: GetPreBanSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetPreBanSummaryResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_question_config_response1.nim b/client/fastcomments/models/model_get_question_config_response1.nim deleted file mode 100644 index 0111808..0000000 --- a/client/fastcomments/models/model_get_question_config_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_question_config_response -import model_question_config - -# AnyOf type -type GetQuestionConfigResponse1Kind* {.pure.} = enum - GetQuestionConfigResponseVariant - APIErrorVariant - -type GetQuestionConfigResponse1* = object - ## - case kind*: GetQuestionConfigResponse1Kind - of GetQuestionConfigResponse1Kind.GetQuestionConfigResponseVariant: - GetQuestionConfigResponseValue*: GetQuestionConfigResponse - of GetQuestionConfigResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetQuestionConfigResponse1]): GetQuestionConfigResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetQuestionConfigResponse1(kind: GetQuestionConfigResponse1Kind.GetQuestionConfigResponseVariant, GetQuestionConfigResponseValue: to(node, GetQuestionConfigResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetQuestionConfigResponse: ", e.msg - try: - return GetQuestionConfigResponse1(kind: GetQuestionConfigResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionConfigResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_question_configs_response1.nim b/client/fastcomments/models/model_get_question_configs_response1.nim deleted file mode 100644 index c9caf0f..0000000 --- a/client/fastcomments/models/model_get_question_configs_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_question_configs_response -import model_question_config - -# AnyOf type -type GetQuestionConfigsResponse1Kind* {.pure.} = enum - GetQuestionConfigsResponseVariant - APIErrorVariant - -type GetQuestionConfigsResponse1* = object - ## - case kind*: GetQuestionConfigsResponse1Kind - of GetQuestionConfigsResponse1Kind.GetQuestionConfigsResponseVariant: - GetQuestionConfigsResponseValue*: GetQuestionConfigsResponse - of GetQuestionConfigsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetQuestionConfigsResponse1]): GetQuestionConfigsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetQuestionConfigsResponse1(kind: GetQuestionConfigsResponse1Kind.GetQuestionConfigsResponseVariant, GetQuestionConfigsResponseValue: to(node, GetQuestionConfigsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetQuestionConfigsResponse: ", e.msg - try: - return GetQuestionConfigsResponse1(kind: GetQuestionConfigsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionConfigsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_question_result_response1.nim b/client/fastcomments/models/model_get_question_result_response1.nim deleted file mode 100644 index c7ab24a..0000000 --- a/client/fastcomments/models/model_get_question_result_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_question_result_response -import model_question_result - -# AnyOf type -type GetQuestionResultResponse1Kind* {.pure.} = enum - GetQuestionResultResponseVariant - APIErrorVariant - -type GetQuestionResultResponse1* = object - ## - case kind*: GetQuestionResultResponse1Kind - of GetQuestionResultResponse1Kind.GetQuestionResultResponseVariant: - GetQuestionResultResponseValue*: GetQuestionResultResponse - of GetQuestionResultResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetQuestionResultResponse1]): GetQuestionResultResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetQuestionResultResponse1(kind: GetQuestionResultResponse1Kind.GetQuestionResultResponseVariant, GetQuestionResultResponseValue: to(node, GetQuestionResultResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetQuestionResultResponse: ", e.msg - try: - return GetQuestionResultResponse1(kind: GetQuestionResultResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionResultResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_question_results_response1.nim b/client/fastcomments/models/model_get_question_results_response1.nim deleted file mode 100644 index 59542db..0000000 --- a/client/fastcomments/models/model_get_question_results_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_question_results_response -import model_question_result - -# AnyOf type -type GetQuestionResultsResponse1Kind* {.pure.} = enum - GetQuestionResultsResponseVariant - APIErrorVariant - -type GetQuestionResultsResponse1* = object - ## - case kind*: GetQuestionResultsResponse1Kind - of GetQuestionResultsResponse1Kind.GetQuestionResultsResponseVariant: - GetQuestionResultsResponseValue*: GetQuestionResultsResponse - of GetQuestionResultsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetQuestionResultsResponse1]): GetQuestionResultsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetQuestionResultsResponse1(kind: GetQuestionResultsResponse1Kind.GetQuestionResultsResponseVariant, GetQuestionResultsResponseValue: to(node, GetQuestionResultsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetQuestionResultsResponse: ", e.msg - try: - return GetQuestionResultsResponse1(kind: GetQuestionResultsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetQuestionResultsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_search_comments_summary_response.nim b/client/fastcomments/models/model_get_search_comments_summary_response.nim deleted file mode 100644 index 550dfa4..0000000 --- a/client/fastcomments/models/model_get_search_comments_summary_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_comment_search_response - -# AnyOf type -type GetSearchCommentsSummaryResponseKind* {.pure.} = enum - ModerationCommentSearchResponseVariant - APIErrorVariant - -type GetSearchCommentsSummaryResponse* = object - ## - case kind*: GetSearchCommentsSummaryResponseKind - of GetSearchCommentsSummaryResponseKind.ModerationCommentSearchResponseVariant: - ModerationCommentSearchResponseValue*: ModerationCommentSearchResponse - of GetSearchCommentsSummaryResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetSearchCommentsSummaryResponse]): GetSearchCommentsSummaryResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetSearchCommentsSummaryResponse(kind: GetSearchCommentsSummaryResponseKind.ModerationCommentSearchResponseVariant, ModerationCommentSearchResponseValue: to(node, ModerationCommentSearchResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationCommentSearchResponse: ", e.msg - try: - return GetSearchCommentsSummaryResponse(kind: GetSearchCommentsSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetSearchCommentsSummaryResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_search_pages_response.nim b/client/fastcomments/models/model_get_search_pages_response.nim deleted file mode 100644 index 4e4fa6e..0000000 --- a/client/fastcomments/models/model_get_search_pages_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_page_search_projected -import model_moderation_page_search_response - -# AnyOf type -type GetSearchPagesResponseKind* {.pure.} = enum - ModerationPageSearchResponseVariant - APIErrorVariant - -type GetSearchPagesResponse* = object - ## - case kind*: GetSearchPagesResponseKind - of GetSearchPagesResponseKind.ModerationPageSearchResponseVariant: - ModerationPageSearchResponseValue*: ModerationPageSearchResponse - of GetSearchPagesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetSearchPagesResponse]): GetSearchPagesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetSearchPagesResponse(kind: GetSearchPagesResponseKind.ModerationPageSearchResponseVariant, ModerationPageSearchResponseValue: to(node, ModerationPageSearchResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationPageSearchResponse: ", e.msg - try: - return GetSearchPagesResponse(kind: GetSearchPagesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetSearchPagesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_search_sites_response.nim b/client/fastcomments/models/model_get_search_sites_response.nim deleted file mode 100644 index c8dd8d0..0000000 --- a/client/fastcomments/models/model_get_search_sites_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_site_search_projected -import model_moderation_site_search_response - -# AnyOf type -type GetSearchSitesResponseKind* {.pure.} = enum - ModerationSiteSearchResponseVariant - APIErrorVariant - -type GetSearchSitesResponse* = object - ## - case kind*: GetSearchSitesResponseKind - of GetSearchSitesResponseKind.ModerationSiteSearchResponseVariant: - ModerationSiteSearchResponseValue*: ModerationSiteSearchResponse - of GetSearchSitesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetSearchSitesResponse]): GetSearchSitesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetSearchSitesResponse(kind: GetSearchSitesResponseKind.ModerationSiteSearchResponseVariant, ModerationSiteSearchResponseValue: to(node, ModerationSiteSearchResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationSiteSearchResponse: ", e.msg - try: - return GetSearchSitesResponse(kind: GetSearchSitesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetSearchSitesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_search_suggest_response.nim b/client/fastcomments/models/model_get_search_suggest_response.nim deleted file mode 100644 index c2064ec..0000000 --- a/client/fastcomments/models/model_get_search_suggest_response.nim +++ /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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_page_search_projected -import model_moderation_suggest_response -import model_moderation_user_search_projected - -# AnyOf type -type GetSearchSuggestResponseKind* {.pure.} = enum - ModerationSuggestResponseVariant - APIErrorVariant - -type GetSearchSuggestResponse* = object - ## - case kind*: GetSearchSuggestResponseKind - of GetSearchSuggestResponseKind.ModerationSuggestResponseVariant: - ModerationSuggestResponseValue*: ModerationSuggestResponse - of GetSearchSuggestResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetSearchSuggestResponse]): GetSearchSuggestResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetSearchSuggestResponse(kind: GetSearchSuggestResponseKind.ModerationSuggestResponseVariant, ModerationSuggestResponseValue: to(node, ModerationSuggestResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationSuggestResponse: ", e.msg - try: - return GetSearchSuggestResponse(kind: GetSearchSuggestResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetSearchSuggestResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_search_users_response.nim b/client/fastcomments/models/model_get_search_users_response.nim deleted file mode 100644 index f822710..0000000 --- a/client/fastcomments/models/model_get_search_users_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_user_search_projected -import model_moderation_user_search_response - -# AnyOf type -type GetSearchUsersResponseKind* {.pure.} = enum - ModerationUserSearchResponseVariant - APIErrorVariant - -type GetSearchUsersResponse* = object - ## - case kind*: GetSearchUsersResponseKind - of GetSearchUsersResponseKind.ModerationUserSearchResponseVariant: - ModerationUserSearchResponseValue*: ModerationUserSearchResponse - of GetSearchUsersResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetSearchUsersResponse]): GetSearchUsersResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetSearchUsersResponse(kind: GetSearchUsersResponseKind.ModerationUserSearchResponseVariant, ModerationUserSearchResponseValue: to(node, ModerationUserSearchResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationUserSearchResponse: ", e.msg - try: - return GetSearchUsersResponse(kind: GetSearchUsersResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetSearchUsersResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim b/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim deleted file mode 100644 index c4d95bc..0000000 --- a/client/fastcomments/models/model_get_tenant_daily_usages_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_tenant_daily_usage -import model_custom_config_parameters -import model_get_tenant_daily_usages_response - -# AnyOf type -type GetTenantDailyUsagesResponse1Kind* {.pure.} = enum - GetTenantDailyUsagesResponseVariant - APIErrorVariant - -type GetTenantDailyUsagesResponse1* = object - ## - case kind*: GetTenantDailyUsagesResponse1Kind - of GetTenantDailyUsagesResponse1Kind.GetTenantDailyUsagesResponseVariant: - GetTenantDailyUsagesResponseValue*: GetTenantDailyUsagesResponse - of GetTenantDailyUsagesResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantDailyUsagesResponse1]): GetTenantDailyUsagesResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantDailyUsagesResponse1(kind: GetTenantDailyUsagesResponse1Kind.GetTenantDailyUsagesResponseVariant, GetTenantDailyUsagesResponseValue: to(node, GetTenantDailyUsagesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantDailyUsagesResponse: ", e.msg - try: - return GetTenantDailyUsagesResponse1(kind: GetTenantDailyUsagesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantDailyUsagesResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_package_response1.nim b/client/fastcomments/models/model_get_tenant_package_response1.nim deleted file mode 100644 index d706a85..0000000 --- a/client/fastcomments/models/model_get_tenant_package_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_tenant_package_response -import model_tenant_package - -# AnyOf type -type GetTenantPackageResponse1Kind* {.pure.} = enum - GetTenantPackageResponseVariant - APIErrorVariant - -type GetTenantPackageResponse1* = object - ## - case kind*: GetTenantPackageResponse1Kind - of GetTenantPackageResponse1Kind.GetTenantPackageResponseVariant: - GetTenantPackageResponseValue*: GetTenantPackageResponse - of GetTenantPackageResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantPackageResponse1]): GetTenantPackageResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantPackageResponse1(kind: GetTenantPackageResponse1Kind.GetTenantPackageResponseVariant, GetTenantPackageResponseValue: to(node, GetTenantPackageResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantPackageResponse: ", e.msg - try: - return GetTenantPackageResponse1(kind: GetTenantPackageResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantPackageResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_packages_response1.nim b/client/fastcomments/models/model_get_tenant_packages_response1.nim deleted file mode 100644 index dad8e3c..0000000 --- a/client/fastcomments/models/model_get_tenant_packages_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_tenant_packages_response -import model_tenant_package - -# AnyOf type -type GetTenantPackagesResponse1Kind* {.pure.} = enum - GetTenantPackagesResponseVariant - APIErrorVariant - -type GetTenantPackagesResponse1* = object - ## - case kind*: GetTenantPackagesResponse1Kind - of GetTenantPackagesResponse1Kind.GetTenantPackagesResponseVariant: - GetTenantPackagesResponseValue*: GetTenantPackagesResponse - of GetTenantPackagesResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantPackagesResponse1]): GetTenantPackagesResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantPackagesResponse1(kind: GetTenantPackagesResponse1Kind.GetTenantPackagesResponseVariant, GetTenantPackagesResponseValue: to(node, GetTenantPackagesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantPackagesResponse: ", e.msg - try: - return GetTenantPackagesResponse1(kind: GetTenantPackagesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantPackagesResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_response1.nim b/client/fastcomments/models/model_get_tenant_response1.nim deleted file mode 100644 index 73dd2fa..0000000 --- a/client/fastcomments/models/model_get_tenant_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_tenant -import model_custom_config_parameters -import model_get_tenant_response - -# AnyOf type -type GetTenantResponse1Kind* {.pure.} = enum - GetTenantResponseVariant - APIErrorVariant - -type GetTenantResponse1* = object - ## - case kind*: GetTenantResponse1Kind - of GetTenantResponse1Kind.GetTenantResponseVariant: - GetTenantResponseValue*: GetTenantResponse - of GetTenantResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantResponse1]): GetTenantResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantResponse1(kind: GetTenantResponse1Kind.GetTenantResponseVariant, GetTenantResponseValue: to(node, GetTenantResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantResponse: ", e.msg - try: - return GetTenantResponse1(kind: GetTenantResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_user_response1.nim b/client/fastcomments/models/model_get_tenant_user_response1.nim deleted file mode 100644 index 21d90f0..0000000 --- a/client/fastcomments/models/model_get_tenant_user_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_tenant_user_response -import model_user - -# AnyOf type -type GetTenantUserResponse1Kind* {.pure.} = enum - GetTenantUserResponseVariant - APIErrorVariant - -type GetTenantUserResponse1* = object - ## - case kind*: GetTenantUserResponse1Kind - of GetTenantUserResponse1Kind.GetTenantUserResponseVariant: - GetTenantUserResponseValue*: GetTenantUserResponse - of GetTenantUserResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantUserResponse1]): GetTenantUserResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantUserResponse1(kind: GetTenantUserResponse1Kind.GetTenantUserResponseVariant, GetTenantUserResponseValue: to(node, GetTenantUserResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantUserResponse: ", e.msg - try: - return GetTenantUserResponse1(kind: GetTenantUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantUserResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenant_users_response1.nim b/client/fastcomments/models/model_get_tenant_users_response1.nim deleted file mode 100644 index 69c12d4..0000000 --- a/client/fastcomments/models/model_get_tenant_users_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_tenant_users_response -import model_user - -# AnyOf type -type GetTenantUsersResponse1Kind* {.pure.} = enum - GetTenantUsersResponseVariant - APIErrorVariant - -type GetTenantUsersResponse1* = object - ## - case kind*: GetTenantUsersResponse1Kind - of GetTenantUsersResponse1Kind.GetTenantUsersResponseVariant: - GetTenantUsersResponseValue*: GetTenantUsersResponse - of GetTenantUsersResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantUsersResponse1]): GetTenantUsersResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantUsersResponse1(kind: GetTenantUsersResponse1Kind.GetTenantUsersResponseVariant, GetTenantUsersResponseValue: to(node, GetTenantUsersResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantUsersResponse: ", e.msg - try: - return GetTenantUsersResponse1(kind: GetTenantUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantUsersResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tenants_response1.nim b/client/fastcomments/models/model_get_tenants_response1.nim deleted file mode 100644 index 7db2cf2..0000000 --- a/client/fastcomments/models/model_get_tenants_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_tenant -import model_custom_config_parameters -import model_get_tenants_response - -# AnyOf type -type GetTenantsResponse1Kind* {.pure.} = enum - GetTenantsResponseVariant - APIErrorVariant - -type GetTenantsResponse1* = object - ## - case kind*: GetTenantsResponse1Kind - of GetTenantsResponse1Kind.GetTenantsResponseVariant: - GetTenantsResponseValue*: GetTenantsResponse - of GetTenantsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTenantsResponse1]): GetTenantsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTenantsResponse1(kind: GetTenantsResponse1Kind.GetTenantsResponseVariant, GetTenantsResponseValue: to(node, GetTenantsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTenantsResponse: ", e.msg - try: - return GetTenantsResponse1(kind: GetTenantsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTenantsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_ticket_response1.nim b/client/fastcomments/models/model_get_ticket_response1.nim deleted file mode 100644 index 7e1fa2d..0000000 --- a/client/fastcomments/models/model_get_ticket_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_ticket_detail -import model_custom_config_parameters -import model_get_ticket_response - -# AnyOf type -type GetTicketResponse1Kind* {.pure.} = enum - GetTicketResponseVariant - APIErrorVariant - -type GetTicketResponse1* = object - ## - case kind*: GetTicketResponse1Kind - of GetTicketResponse1Kind.GetTicketResponseVariant: - GetTicketResponseValue*: GetTicketResponse - of GetTicketResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTicketResponse1]): GetTicketResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTicketResponse1(kind: GetTicketResponse1Kind.GetTicketResponseVariant, GetTicketResponseValue: to(node, GetTicketResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTicketResponse: ", e.msg - try: - return GetTicketResponse1(kind: GetTicketResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTicketResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_tickets_response1.nim b/client/fastcomments/models/model_get_tickets_response1.nim deleted file mode 100644 index 5d3c210..0000000 --- a/client/fastcomments/models/model_get_tickets_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_api_ticket -import model_custom_config_parameters -import model_get_tickets_response - -# AnyOf type -type GetTicketsResponse1Kind* {.pure.} = enum - GetTicketsResponseVariant - APIErrorVariant - -type GetTicketsResponse1* = object - ## - case kind*: GetTicketsResponse1Kind - of GetTicketsResponse1Kind.GetTicketsResponseVariant: - GetTicketsResponseValue*: GetTicketsResponse - of GetTicketsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTicketsResponse1]): GetTicketsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTicketsResponse1(kind: GetTicketsResponse1Kind.GetTicketsResponseVariant, GetTicketsResponseValue: to(node, GetTicketsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTicketsResponse: ", e.msg - try: - return GetTicketsResponse1(kind: GetTicketsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTicketsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_translations_response1.nim b/client/fastcomments/models/model_get_translations_response1.nim deleted file mode 100644 index 4845d3a..0000000 --- a/client/fastcomments/models/model_get_translations_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_translations_response - -# AnyOf type -type GetTranslationsResponse1Kind* {.pure.} = enum - GetTranslationsResponseVariant - APIErrorVariant - -type GetTranslationsResponse1* = object - ## - case kind*: GetTranslationsResponse1Kind - of GetTranslationsResponse1Kind.GetTranslationsResponseVariant: - GetTranslationsResponseValue*: GetTranslationsResponse - of GetTranslationsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTranslationsResponse1]): GetTranslationsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTranslationsResponse1(kind: GetTranslationsResponse1Kind.GetTranslationsResponseVariant, GetTranslationsResponseValue: to(node, GetTranslationsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetTranslationsResponse: ", e.msg - try: - return GetTranslationsResponse1(kind: GetTranslationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTranslationsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_trust_factor_response.nim b/client/fastcomments/models/model_get_trust_factor_response.nim deleted file mode 100644 index 5a65a2f..0000000 --- a/client/fastcomments/models/model_get_trust_factor_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_trust_factor_response - -# AnyOf type -type GetTrustFactorResponseKind* {.pure.} = enum - GetUserTrustFactorResponseVariant - APIErrorVariant - -type GetTrustFactorResponse* = object - ## - case kind*: GetTrustFactorResponseKind - of GetTrustFactorResponseKind.GetUserTrustFactorResponseVariant: - GetUserTrustFactorResponseValue*: GetUserTrustFactorResponse - of GetTrustFactorResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetTrustFactorResponse]): GetTrustFactorResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetTrustFactorResponse(kind: GetTrustFactorResponseKind.GetUserTrustFactorResponseVariant, GetUserTrustFactorResponseValue: to(node, GetUserTrustFactorResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserTrustFactorResponse: ", e.msg - try: - return GetTrustFactorResponse(kind: GetTrustFactorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetTrustFactorResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim b/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim deleted file mode 100644 index eec62c6..0000000 --- a/client/fastcomments/models/model_get_user_badge_progress_by_id_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_get_user_badge_progress_response -import model_api_status -import model_custom_config_parameters -import model_user_badge_progress - -# AnyOf type -type GetUserBadgeProgressByIdResponseKind* {.pure.} = enum - APIGetUserBadgeProgressResponseVariant - APIErrorVariant - -type GetUserBadgeProgressByIdResponse* = object - ## - case kind*: GetUserBadgeProgressByIdResponseKind - of GetUserBadgeProgressByIdResponseKind.APIGetUserBadgeProgressResponseVariant: - APIGetUserBadgeProgressResponseValue*: APIGetUserBadgeProgressResponse - of GetUserBadgeProgressByIdResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressByIdResponse]): GetUserBadgeProgressByIdResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBadgeProgressByIdResponse(kind: GetUserBadgeProgressByIdResponseKind.APIGetUserBadgeProgressResponseVariant, APIGetUserBadgeProgressResponseValue: to(node, APIGetUserBadgeProgressResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetUserBadgeProgressResponse: ", e.msg - try: - return GetUserBadgeProgressByIdResponse(kind: GetUserBadgeProgressByIdResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressByIdResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim b/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim deleted file mode 100644 index ae13b0a..0000000 --- a/client/fastcomments/models/model_get_user_badge_progress_by_user_id_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_get_user_badge_progress_response -import model_api_status -import model_custom_config_parameters -import model_user_badge_progress - -# AnyOf type -type GetUserBadgeProgressByUserIdResponseKind* {.pure.} = enum - APIGetUserBadgeProgressResponseVariant - APIErrorVariant - -type GetUserBadgeProgressByUserIdResponse* = object - ## - case kind*: GetUserBadgeProgressByUserIdResponseKind - of GetUserBadgeProgressByUserIdResponseKind.APIGetUserBadgeProgressResponseVariant: - APIGetUserBadgeProgressResponseValue*: APIGetUserBadgeProgressResponse - of GetUserBadgeProgressByUserIdResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressByUserIdResponse]): GetUserBadgeProgressByUserIdResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBadgeProgressByUserIdResponse(kind: GetUserBadgeProgressByUserIdResponseKind.APIGetUserBadgeProgressResponseVariant, APIGetUserBadgeProgressResponseValue: to(node, APIGetUserBadgeProgressResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetUserBadgeProgressResponse: ", e.msg - try: - return GetUserBadgeProgressByUserIdResponse(kind: GetUserBadgeProgressByUserIdResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressByUserIdResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_badge_progress_list_response.nim b/client/fastcomments/models/model_get_user_badge_progress_list_response.nim deleted file mode 100644 index 9f64fe2..0000000 --- a/client/fastcomments/models/model_get_user_badge_progress_list_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_get_user_badge_progress_list_response -import model_api_status -import model_custom_config_parameters -import model_user_badge_progress - -# AnyOf type -type GetUserBadgeProgressListResponseKind* {.pure.} = enum - APIGetUserBadgeProgressListResponseVariant - APIErrorVariant - -type GetUserBadgeProgressListResponse* = object - ## - case kind*: GetUserBadgeProgressListResponseKind - of GetUserBadgeProgressListResponseKind.APIGetUserBadgeProgressListResponseVariant: - APIGetUserBadgeProgressListResponseValue*: APIGetUserBadgeProgressListResponse - of GetUserBadgeProgressListResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBadgeProgressListResponse]): GetUserBadgeProgressListResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBadgeProgressListResponse(kind: GetUserBadgeProgressListResponseKind.APIGetUserBadgeProgressListResponseVariant, APIGetUserBadgeProgressListResponseValue: to(node, APIGetUserBadgeProgressListResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetUserBadgeProgressListResponse: ", e.msg - try: - return GetUserBadgeProgressListResponse(kind: GetUserBadgeProgressListResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeProgressListResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_badge_response.nim b/client/fastcomments/models/model_get_user_badge_response.nim deleted file mode 100644 index a9f51d0..0000000 --- a/client/fastcomments/models/model_get_user_badge_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_get_user_badge_response -import model_api_status -import model_custom_config_parameters -import model_user_badge - -# AnyOf type -type GetUserBadgeResponseKind* {.pure.} = enum - APIGetUserBadgeResponseVariant - APIErrorVariant - -type GetUserBadgeResponse* = object - ## - case kind*: GetUserBadgeResponseKind - of GetUserBadgeResponseKind.APIGetUserBadgeResponseVariant: - APIGetUserBadgeResponseValue*: APIGetUserBadgeResponse - of GetUserBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBadgeResponse]): GetUserBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBadgeResponse(kind: GetUserBadgeResponseKind.APIGetUserBadgeResponseVariant, APIGetUserBadgeResponseValue: to(node, APIGetUserBadgeResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetUserBadgeResponse: ", e.msg - try: - return GetUserBadgeResponse(kind: GetUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_badges_response.nim b/client/fastcomments/models/model_get_user_badges_response.nim deleted file mode 100644 index 6c734b5..0000000 --- a/client/fastcomments/models/model_get_user_badges_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_get_user_badges_response -import model_api_status -import model_custom_config_parameters -import model_user_badge - -# AnyOf type -type GetUserBadgesResponseKind* {.pure.} = enum - APIGetUserBadgesResponseVariant - APIErrorVariant - -type GetUserBadgesResponse* = object - ## - case kind*: GetUserBadgesResponseKind - of GetUserBadgesResponseKind.APIGetUserBadgesResponseVariant: - APIGetUserBadgesResponseValue*: APIGetUserBadgesResponse - of GetUserBadgesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBadgesResponse]): GetUserBadgesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBadgesResponse(kind: GetUserBadgesResponseKind.APIGetUserBadgesResponseVariant, APIGetUserBadgesResponseValue: to(node, APIGetUserBadgesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIGetUserBadgesResponse: ", e.msg - try: - return GetUserBadgesResponse(kind: GetUserBadgesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBadgesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_ban_preference_response.nim b/client/fastcomments/models/model_get_user_ban_preference_response.nim deleted file mode 100644 index fbc3153..0000000 --- a/client/fastcomments/models/model_get_user_ban_preference_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_moderate_get_user_ban_preferences_response -import model_api_moderate_user_ban_preferences -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type GetUserBanPreferenceResponseKind* {.pure.} = enum - APIModerateGetUserBanPreferencesResponseVariant - APIErrorVariant - -type GetUserBanPreferenceResponse* = object - ## - case kind*: GetUserBanPreferenceResponseKind - of GetUserBanPreferenceResponseKind.APIModerateGetUserBanPreferencesResponseVariant: - APIModerateGetUserBanPreferencesResponseValue*: APIModerateGetUserBanPreferencesResponse - of GetUserBanPreferenceResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserBanPreferenceResponse]): GetUserBanPreferenceResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserBanPreferenceResponse(kind: GetUserBanPreferenceResponseKind.APIModerateGetUserBanPreferencesResponseVariant, APIModerateGetUserBanPreferencesResponseValue: to(node, APIModerateGetUserBanPreferencesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIModerateGetUserBanPreferencesResponse: ", e.msg - try: - return GetUserBanPreferenceResponse(kind: GetUserBanPreferenceResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserBanPreferenceResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_internal_profile_response1.nim b/client/fastcomments/models/model_get_user_internal_profile_response1.nim deleted file mode 100644 index cbb39ef..0000000 --- a/client/fastcomments/models/model_get_user_internal_profile_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_internal_profile_response -import model_get_user_internal_profile_response_profile - -# AnyOf type -type GetUserInternalProfileResponse1Kind* {.pure.} = enum - GetUserInternalProfileResponseVariant - APIErrorVariant - -type GetUserInternalProfileResponse1* = object - ## - case kind*: GetUserInternalProfileResponse1Kind - of GetUserInternalProfileResponse1Kind.GetUserInternalProfileResponseVariant: - GetUserInternalProfileResponseValue*: GetUserInternalProfileResponse - of GetUserInternalProfileResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserInternalProfileResponse1]): GetUserInternalProfileResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserInternalProfileResponse1(kind: GetUserInternalProfileResponse1Kind.GetUserInternalProfileResponseVariant, GetUserInternalProfileResponseValue: to(node, GetUserInternalProfileResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserInternalProfileResponse: ", e.msg - try: - return GetUserInternalProfileResponse1(kind: GetUserInternalProfileResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserInternalProfileResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_notification_count_response1.nim b/client/fastcomments/models/model_get_user_notification_count_response1.nim deleted file mode 100644 index f1dbbe3..0000000 --- a/client/fastcomments/models/model_get_user_notification_count_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_notification_count_response - -# AnyOf type -type GetUserNotificationCountResponse1Kind* {.pure.} = enum - GetUserNotificationCountResponseVariant - APIErrorVariant - -type GetUserNotificationCountResponse1* = object - ## - case kind*: GetUserNotificationCountResponse1Kind - of GetUserNotificationCountResponse1Kind.GetUserNotificationCountResponseVariant: - GetUserNotificationCountResponseValue*: GetUserNotificationCountResponse - of GetUserNotificationCountResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserNotificationCountResponse1]): GetUserNotificationCountResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserNotificationCountResponse1(kind: GetUserNotificationCountResponse1Kind.GetUserNotificationCountResponseVariant, GetUserNotificationCountResponseValue: to(node, GetUserNotificationCountResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserNotificationCountResponse: ", e.msg - try: - return GetUserNotificationCountResponse1(kind: GetUserNotificationCountResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserNotificationCountResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_notifications_response.nim b/client/fastcomments/models/model_get_user_notifications_response.nim deleted file mode 100644 index eac2b52..0000000 --- a/client/fastcomments/models/model_get_user_notifications_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_my_notifications_response -import model_renderable_user_notification - -# AnyOf type -type GetUserNotificationsResponseKind* {.pure.} = enum - GetMyNotificationsResponseVariant - APIErrorVariant - -type GetUserNotificationsResponse* = object - ## - case kind*: GetUserNotificationsResponseKind - of GetUserNotificationsResponseKind.GetMyNotificationsResponseVariant: - GetMyNotificationsResponseValue*: GetMyNotificationsResponse - of GetUserNotificationsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserNotificationsResponse]): GetUserNotificationsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserNotificationsResponse(kind: GetUserNotificationsResponseKind.GetMyNotificationsResponseVariant, GetMyNotificationsResponseValue: to(node, GetMyNotificationsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetMyNotificationsResponse: ", e.msg - try: - return GetUserNotificationsResponse(kind: GetUserNotificationsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserNotificationsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_presence_statuses_response1.nim b/client/fastcomments/models/model_get_user_presence_statuses_response1.nim deleted file mode 100644 index 7b7f7bb..0000000 --- a/client/fastcomments/models/model_get_user_presence_statuses_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_presence_statuses_response - -# AnyOf type -type GetUserPresenceStatusesResponse1Kind* {.pure.} = enum - GetUserPresenceStatusesResponseVariant - APIErrorVariant - -type GetUserPresenceStatusesResponse1* = object - ## - case kind*: GetUserPresenceStatusesResponse1Kind - of GetUserPresenceStatusesResponse1Kind.GetUserPresenceStatusesResponseVariant: - GetUserPresenceStatusesResponseValue*: GetUserPresenceStatusesResponse - of GetUserPresenceStatusesResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserPresenceStatusesResponse1]): GetUserPresenceStatusesResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserPresenceStatusesResponse1(kind: GetUserPresenceStatusesResponse1Kind.GetUserPresenceStatusesResponseVariant, GetUserPresenceStatusesResponseValue: to(node, GetUserPresenceStatusesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserPresenceStatusesResponse: ", e.msg - try: - return GetUserPresenceStatusesResponse1(kind: GetUserPresenceStatusesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserPresenceStatusesResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_reacts_public_response.nim b/client/fastcomments/models/model_get_user_reacts_public_response.nim deleted file mode 100644 index 7f3134f..0000000 --- a/client/fastcomments/models/model_get_user_reacts_public_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_user_reacts_response - -# AnyOf type -type GetUserReactsPublicResponseKind* {.pure.} = enum - UserReactsResponseVariant - APIErrorVariant - -type GetUserReactsPublicResponse* = object - ## - case kind*: GetUserReactsPublicResponseKind - of GetUserReactsPublicResponseKind.UserReactsResponseVariant: - UserReactsResponseValue*: UserReactsResponse - of GetUserReactsPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserReactsPublicResponse]): GetUserReactsPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserReactsPublicResponse(kind: GetUserReactsPublicResponseKind.UserReactsResponseVariant, UserReactsResponseValue: to(node, UserReactsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as UserReactsResponse: ", e.msg - try: - return GetUserReactsPublicResponse(kind: GetUserReactsPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserReactsPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_user_response1.nim b/client/fastcomments/models/model_get_user_response1.nim deleted file mode 100644 index 3a645b3..0000000 --- a/client/fastcomments/models/model_get_user_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_user_response -import model_user - -# AnyOf type -type GetUserResponse1Kind* {.pure.} = enum - GetUserResponseVariant - APIErrorVariant - -type GetUserResponse1* = object - ## - case kind*: GetUserResponse1Kind - of GetUserResponse1Kind.GetUserResponseVariant: - GetUserResponseValue*: GetUserResponse - of GetUserResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUserResponse1]): GetUserResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUserResponse1(kind: GetUserResponse1Kind.GetUserResponseVariant, GetUserResponseValue: to(node, GetUserResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetUserResponse: ", e.msg - try: - return GetUserResponse1(kind: GetUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUserResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_users_info_response.nim b/client/fastcomments/models/model_get_users_info_response.nim deleted file mode 100644 index 6daeb72..0000000 --- a/client/fastcomments/models/model_get_users_info_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_page_user_entry -import model_page_users_info_response - -# AnyOf type -type GetUsersInfoResponseKind* {.pure.} = enum - PageUsersInfoResponseVariant - APIErrorVariant - -type GetUsersInfoResponse* = object - ## - case kind*: GetUsersInfoResponseKind - of GetUsersInfoResponseKind.PageUsersInfoResponseVariant: - PageUsersInfoResponseValue*: PageUsersInfoResponse - of GetUsersInfoResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetUsersInfoResponse]): GetUsersInfoResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetUsersInfoResponse(kind: GetUsersInfoResponseKind.PageUsersInfoResponseVariant, PageUsersInfoResponseValue: to(node, PageUsersInfoResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PageUsersInfoResponse: ", e.msg - try: - return GetUsersInfoResponse(kind: GetUsersInfoResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetUsersInfoResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_v1_page_likes_response.nim b/client/fastcomments/models/model_get_v1_page_likes_response.nim deleted file mode 100644 index 0338087..0000000 --- a/client/fastcomments/models/model_get_v1_page_likes_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_v1_page_likes - -# AnyOf type -type GetV1PageLikesResponseKind* {.pure.} = enum - GetV1PageLikesVariant - APIErrorVariant - -type GetV1PageLikesResponse* = object - ## - case kind*: GetV1PageLikesResponseKind - of GetV1PageLikesResponseKind.GetV1PageLikesVariant: - GetV1PageLikesValue*: GetV1PageLikes - of GetV1PageLikesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetV1PageLikesResponse]): GetV1PageLikesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetV1PageLikesResponse(kind: GetV1PageLikesResponseKind.GetV1PageLikesVariant, GetV1PageLikesValue: to(node, GetV1PageLikes)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetV1PageLikes: ", e.msg - try: - return GetV1PageLikesResponse(kind: GetV1PageLikesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetV1PageLikesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_v2_page_react_users_response1.nim b/client/fastcomments/models/model_get_v2_page_react_users_response1.nim deleted file mode 100644 index 4fec640..0000000 --- a/client/fastcomments/models/model_get_v2_page_react_users_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_v2_page_react_users_response - -# AnyOf type -type GetV2PageReactUsersResponse1Kind* {.pure.} = enum - GetV2PageReactUsersResponseVariant - APIErrorVariant - -type GetV2PageReactUsersResponse1* = object - ## - case kind*: GetV2PageReactUsersResponse1Kind - of GetV2PageReactUsersResponse1Kind.GetV2PageReactUsersResponseVariant: - GetV2PageReactUsersResponseValue*: GetV2PageReactUsersResponse - of GetV2PageReactUsersResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetV2PageReactUsersResponse1]): GetV2PageReactUsersResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetV2PageReactUsersResponse1(kind: GetV2PageReactUsersResponse1Kind.GetV2PageReactUsersResponseVariant, GetV2PageReactUsersResponseValue: to(node, GetV2PageReactUsersResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetV2PageReactUsersResponse: ", e.msg - try: - return GetV2PageReactUsersResponse1(kind: GetV2PageReactUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetV2PageReactUsersResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_v2_page_reacts_response.nim b/client/fastcomments/models/model_get_v2_page_reacts_response.nim deleted file mode 100644 index 27a0c97..0000000 --- a/client/fastcomments/models/model_get_v2_page_reacts_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_v2_page_reacts - -# AnyOf type -type GetV2PageReactsResponseKind* {.pure.} = enum - GetV2PageReactsVariant - APIErrorVariant - -type GetV2PageReactsResponse* = object - ## - case kind*: GetV2PageReactsResponseKind - of GetV2PageReactsResponseKind.GetV2PageReactsVariant: - GetV2PageReactsValue*: GetV2PageReacts - of GetV2PageReactsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetV2PageReactsResponse]): GetV2PageReactsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetV2PageReactsResponse(kind: GetV2PageReactsResponseKind.GetV2PageReactsVariant, GetV2PageReactsValue: to(node, GetV2PageReacts)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetV2PageReacts: ", e.msg - try: - return GetV2PageReactsResponse(kind: GetV2PageReactsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetV2PageReactsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_votes_for_user_response1.nim b/client/fastcomments/models/model_get_votes_for_user_response1.nim deleted file mode 100644 index d6b001e..0000000 --- a/client/fastcomments/models/model_get_votes_for_user_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_votes_for_user_response -import model_public_vote - -# AnyOf type -type GetVotesForUserResponse1Kind* {.pure.} = enum - GetVotesForUserResponseVariant - APIErrorVariant - -type GetVotesForUserResponse1* = object - ## - case kind*: GetVotesForUserResponse1Kind - of GetVotesForUserResponse1Kind.GetVotesForUserResponseVariant: - GetVotesForUserResponseValue*: GetVotesForUserResponse - of GetVotesForUserResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetVotesForUserResponse1]): GetVotesForUserResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetVotesForUserResponse1(kind: GetVotesForUserResponse1Kind.GetVotesForUserResponseVariant, GetVotesForUserResponseValue: to(node, GetVotesForUserResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetVotesForUserResponse: ", e.msg - try: - return GetVotesForUserResponse1(kind: GetVotesForUserResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetVotesForUserResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_get_votes_response1.nim b/client/fastcomments/models/model_get_votes_response1.nim deleted file mode 100644 index cd735d8..0000000 --- a/client/fastcomments/models/model_get_votes_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_get_votes_response -import model_public_vote - -# AnyOf type -type GetVotesResponse1Kind* {.pure.} = enum - GetVotesResponseVariant - APIErrorVariant - -type GetVotesResponse1* = object - ## - case kind*: GetVotesResponse1Kind - of GetVotesResponse1Kind.GetVotesResponseVariant: - GetVotesResponseValue*: GetVotesResponse - of GetVotesResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[GetVotesResponse1]): GetVotesResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return GetVotesResponse1(kind: GetVotesResponse1Kind.GetVotesResponseVariant, GetVotesResponseValue: to(node, GetVotesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as GetVotesResponse: ", e.msg - try: - return GetVotesResponse1(kind: GetVotesResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of GetVotesResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_lock_comment_response.nim b/client/fastcomments/models/model_lock_comment_response.nim deleted file mode 100644 index e1118ee..0000000 --- a/client/fastcomments/models/model_lock_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type LockCommentResponseKind* {.pure.} = enum - APIErrorVariant - APIEmptyResponseVariant - -type LockCommentResponse* = object - ## - case kind*: LockCommentResponseKind - of LockCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - of LockCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - -proc to*(node: JsonNode, T: typedesc[LockCommentResponse]): LockCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return LockCommentResponse(kind: LockCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - try: - return LockCommentResponse(kind: LockCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of LockCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_patch_hash_tag_response.nim b/client/fastcomments/models/model_patch_hash_tag_response.nim deleted file mode 100644 index b8debf2..0000000 --- a/client/fastcomments/models/model_patch_hash_tag_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_tenant_hash_tag -import model_update_hash_tag_response - -# AnyOf type -type PatchHashTagResponseKind* {.pure.} = enum - UpdateHashTagResponseVariant - APIErrorVariant - -type PatchHashTagResponse* = object - ## - case kind*: PatchHashTagResponseKind - of PatchHashTagResponseKind.UpdateHashTagResponseVariant: - UpdateHashTagResponseValue*: UpdateHashTagResponse - of PatchHashTagResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PatchHashTagResponse]): PatchHashTagResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PatchHashTagResponse(kind: PatchHashTagResponseKind.UpdateHashTagResponseVariant, UpdateHashTagResponseValue: to(node, UpdateHashTagResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as UpdateHashTagResponse: ", e.msg - try: - return PatchHashTagResponse(kind: PatchHashTagResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PatchHashTagResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_pin_comment_response.nim b/client/fastcomments/models/model_pin_comment_response.nim deleted file mode 100644 index 6ca3154..0000000 --- a/client/fastcomments/models/model_pin_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_change_comment_pin_status_response -import model_custom_config_parameters -import model_record_string_before_string_or_null_after_string_or_null_value - -# AnyOf type -type PinCommentResponseKind* {.pure.} = enum - ChangeCommentPinStatusResponseVariant - APIErrorVariant - -type PinCommentResponse* = object - ## - case kind*: PinCommentResponseKind - of PinCommentResponseKind.ChangeCommentPinStatusResponseVariant: - ChangeCommentPinStatusResponseValue*: ChangeCommentPinStatusResponse - of PinCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PinCommentResponse]): PinCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PinCommentResponse(kind: PinCommentResponseKind.ChangeCommentPinStatusResponseVariant, ChangeCommentPinStatusResponseValue: to(node, ChangeCommentPinStatusResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ChangeCommentPinStatusResponse: ", e.msg - try: - return PinCommentResponse(kind: PinCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PinCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_adjust_comment_votes_response.nim b/client/fastcomments/models/model_post_adjust_comment_votes_response.nim deleted file mode 100644 index 3bdc618..0000000 --- a/client/fastcomments/models/model_post_adjust_comment_votes_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_adjust_votes_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostAdjustCommentVotesResponseKind* {.pure.} = enum - AdjustVotesResponseVariant - APIErrorVariant - -type PostAdjustCommentVotesResponse* = object - ## - case kind*: PostAdjustCommentVotesResponseKind - of PostAdjustCommentVotesResponseKind.AdjustVotesResponseVariant: - AdjustVotesResponseValue*: AdjustVotesResponse - of PostAdjustCommentVotesResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostAdjustCommentVotesResponse]): PostAdjustCommentVotesResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostAdjustCommentVotesResponse(kind: PostAdjustCommentVotesResponseKind.AdjustVotesResponseVariant, AdjustVotesResponseValue: to(node, AdjustVotesResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as AdjustVotesResponse: ", e.msg - try: - return PostAdjustCommentVotesResponse(kind: PostAdjustCommentVotesResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostAdjustCommentVotesResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_api_export_response.nim b/client/fastcomments/models/model_post_api_export_response.nim deleted file mode 100644 index 959ac14..0000000 --- a/client/fastcomments/models/model_post_api_export_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_export_response - -# AnyOf type -type PostApiExportResponseKind* {.pure.} = enum - ModerationExportResponseVariant - APIErrorVariant - -type PostApiExportResponse* = object - ## - case kind*: PostApiExportResponseKind - of PostApiExportResponseKind.ModerationExportResponseVariant: - ModerationExportResponseValue*: ModerationExportResponse - of PostApiExportResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostApiExportResponse]): PostApiExportResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostApiExportResponse(kind: PostApiExportResponseKind.ModerationExportResponseVariant, ModerationExportResponseValue: to(node, ModerationExportResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationExportResponse: ", e.msg - try: - return PostApiExportResponse(kind: PostApiExportResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostApiExportResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_ban_user_from_comment_response.nim b/client/fastcomments/models/model_post_ban_user_from_comment_response.nim deleted file mode 100644 index f2a6f74..0000000 --- a/client/fastcomments/models/model_post_ban_user_from_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_ban_user_change_log -import model_api_error -import model_api_status -import model_ban_user_from_comment_result -import model_custom_config_parameters - -# AnyOf type -type PostBanUserFromCommentResponseKind* {.pure.} = enum - BanUserFromCommentResultVariant - APIErrorVariant - -type PostBanUserFromCommentResponse* = object - ## - case kind*: PostBanUserFromCommentResponseKind - of PostBanUserFromCommentResponseKind.BanUserFromCommentResultVariant: - BanUserFromCommentResultValue*: BanUserFromCommentResult - of PostBanUserFromCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostBanUserFromCommentResponse]): PostBanUserFromCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostBanUserFromCommentResponse(kind: PostBanUserFromCommentResponseKind.BanUserFromCommentResultVariant, BanUserFromCommentResultValue: to(node, BanUserFromCommentResult)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BanUserFromCommentResult: ", e.msg - try: - return PostBanUserFromCommentResponse(kind: PostBanUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostBanUserFromCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_ban_user_undo_response.nim b/client/fastcomments/models/model_post_ban_user_undo_response.nim deleted file mode 100644 index bb498d1..0000000 --- a/client/fastcomments/models/model_post_ban_user_undo_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostBanUserUndoResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostBanUserUndoResponse* = object - ## - case kind*: PostBanUserUndoResponseKind - of PostBanUserUndoResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostBanUserUndoResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostBanUserUndoResponse]): PostBanUserUndoResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostBanUserUndoResponse(kind: PostBanUserUndoResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostBanUserUndoResponse(kind: PostBanUserUndoResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostBanUserUndoResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim b/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim deleted file mode 100644 index 0e04ee5..0000000 --- a/client/fastcomments/models/model_post_bulk_pre_ban_summary_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_bulk_pre_ban_summary -import model_custom_config_parameters - -# AnyOf type -type PostBulkPreBanSummaryResponseKind* {.pure.} = enum - BulkPreBanSummaryVariant - APIErrorVariant - -type PostBulkPreBanSummaryResponse* = object - ## - case kind*: PostBulkPreBanSummaryResponseKind - of PostBulkPreBanSummaryResponseKind.BulkPreBanSummaryVariant: - BulkPreBanSummaryValue*: BulkPreBanSummary - of PostBulkPreBanSummaryResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostBulkPreBanSummaryResponse]): PostBulkPreBanSummaryResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostBulkPreBanSummaryResponse(kind: PostBulkPreBanSummaryResponseKind.BulkPreBanSummaryVariant, BulkPreBanSummaryValue: to(node, BulkPreBanSummary)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as BulkPreBanSummary: ", e.msg - try: - return PostBulkPreBanSummaryResponse(kind: PostBulkPreBanSummaryResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostBulkPreBanSummaryResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_comments_by_ids_response.nim b/client/fastcomments/models/model_post_comments_by_ids_response.nim deleted file mode 100644 index f67c0cb..0000000 --- a/client/fastcomments/models/model_post_comments_by_ids_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_moderation_api_child_comments_response -import model_moderation_api_comment - -# AnyOf type -type PostCommentsByIdsResponseKind* {.pure.} = enum - ModerationAPIChildCommentsResponseVariant - APIErrorVariant - -type PostCommentsByIdsResponse* = object - ## - case kind*: PostCommentsByIdsResponseKind - of PostCommentsByIdsResponseKind.ModerationAPIChildCommentsResponseVariant: - ModerationAPIChildCommentsResponseValue*: ModerationAPIChildCommentsResponse - of PostCommentsByIdsResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostCommentsByIdsResponse]): PostCommentsByIdsResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostCommentsByIdsResponse(kind: PostCommentsByIdsResponseKind.ModerationAPIChildCommentsResponseVariant, ModerationAPIChildCommentsResponseValue: to(node, ModerationAPIChildCommentsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ModerationAPIChildCommentsResponse: ", e.msg - try: - return PostCommentsByIdsResponse(kind: PostCommentsByIdsResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostCommentsByIdsResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_flag_comment_response.nim b/client/fastcomments/models/model_post_flag_comment_response.nim deleted file mode 100644 index f20daf6..0000000 --- a/client/fastcomments/models/model_post_flag_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostFlagCommentResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostFlagCommentResponse* = object - ## - case kind*: PostFlagCommentResponseKind - of PostFlagCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostFlagCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostFlagCommentResponse]): PostFlagCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostFlagCommentResponse(kind: PostFlagCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostFlagCommentResponse(kind: PostFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostFlagCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_remove_comment_response.nim b/client/fastcomments/models/model_post_remove_comment_response.nim index db5007d..6726b3f 100644 --- a/client/fastcomments/models/model_post_remove_comment_response.nim +++ b/client/fastcomments/models/model_post_remove_comment_response.nim @@ -12,9 +12,6 @@ import tables import marshal import options -import model_api_error -import model_api_status -import model_custom_config_parameters import model_delete_comment_result import model_remove_comment_action_response @@ -22,7 +19,6 @@ import model_remove_comment_action_response type PostRemoveCommentResponseKind* {.pure.} = enum DeleteCommentResultVariant RemoveCommentActionResponseVariant - APIErrorVariant type PostRemoveCommentResponse* = object ## @@ -31,8 +27,6 @@ type PostRemoveCommentResponse* = object DeleteCommentResultValue*: DeleteCommentResult of PostRemoveCommentResponseKind.RemoveCommentActionResponseVariant: RemoveCommentActionResponseValue*: RemoveCommentActionResponse - of PostRemoveCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[PostRemoveCommentResponse]): PostRemoveCommentResponse = ## Custom deserializer for anyOf type - tries each variant @@ -46,10 +40,5 @@ proc to*(node: JsonNode, T: typedesc[PostRemoveCommentResponse]): PostRemoveComm except Exception as e: when defined(debug): echo "Failed to deserialize as RemoveCommentActionResponse: ", e.msg - try: - return PostRemoveCommentResponse(kind: PostRemoveCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of PostRemoveCommentResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_post_restore_deleted_comment_response.nim b/client/fastcomments/models/model_post_restore_deleted_comment_response.nim deleted file mode 100644 index 61d8ea7..0000000 --- a/client/fastcomments/models/model_post_restore_deleted_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostRestoreDeletedCommentResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostRestoreDeletedCommentResponse* = object - ## - case kind*: PostRestoreDeletedCommentResponseKind - of PostRestoreDeletedCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostRestoreDeletedCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostRestoreDeletedCommentResponse]): PostRestoreDeletedCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostRestoreDeletedCommentResponse(kind: PostRestoreDeletedCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostRestoreDeletedCommentResponse(kind: PostRestoreDeletedCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostRestoreDeletedCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_set_comment_approval_status_response.nim b/client/fastcomments/models/model_post_set_comment_approval_status_response.nim deleted file mode 100644 index 959e173..0000000 --- a/client/fastcomments/models/model_post_set_comment_approval_status_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_set_comment_approved_response - -# AnyOf type -type PostSetCommentApprovalStatusResponseKind* {.pure.} = enum - SetCommentApprovedResponseVariant - APIErrorVariant - -type PostSetCommentApprovalStatusResponse* = object - ## - case kind*: PostSetCommentApprovalStatusResponseKind - of PostSetCommentApprovalStatusResponseKind.SetCommentApprovedResponseVariant: - SetCommentApprovedResponseValue*: SetCommentApprovedResponse - of PostSetCommentApprovalStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostSetCommentApprovalStatusResponse]): PostSetCommentApprovalStatusResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostSetCommentApprovalStatusResponse(kind: PostSetCommentApprovalStatusResponseKind.SetCommentApprovedResponseVariant, SetCommentApprovedResponseValue: to(node, SetCommentApprovedResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as SetCommentApprovedResponse: ", e.msg - try: - return PostSetCommentApprovalStatusResponse(kind: PostSetCommentApprovalStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentApprovalStatusResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_set_comment_review_status_response.nim b/client/fastcomments/models/model_post_set_comment_review_status_response.nim deleted file mode 100644 index 3be52ea..0000000 --- a/client/fastcomments/models/model_post_set_comment_review_status_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostSetCommentReviewStatusResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostSetCommentReviewStatusResponse* = object - ## - case kind*: PostSetCommentReviewStatusResponseKind - of PostSetCommentReviewStatusResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostSetCommentReviewStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostSetCommentReviewStatusResponse]): PostSetCommentReviewStatusResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostSetCommentReviewStatusResponse(kind: PostSetCommentReviewStatusResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostSetCommentReviewStatusResponse(kind: PostSetCommentReviewStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentReviewStatusResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_set_comment_spam_status_response.nim b/client/fastcomments/models/model_post_set_comment_spam_status_response.nim deleted file mode 100644 index fad39e1..0000000 --- a/client/fastcomments/models/model_post_set_comment_spam_status_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostSetCommentSpamStatusResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostSetCommentSpamStatusResponse* = object - ## - case kind*: PostSetCommentSpamStatusResponseKind - of PostSetCommentSpamStatusResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostSetCommentSpamStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostSetCommentSpamStatusResponse]): PostSetCommentSpamStatusResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostSetCommentSpamStatusResponse(kind: PostSetCommentSpamStatusResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostSetCommentSpamStatusResponse(kind: PostSetCommentSpamStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentSpamStatusResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_set_comment_text_response.nim b/client/fastcomments/models/model_post_set_comment_text_response.nim deleted file mode 100644 index d832919..0000000 --- a/client/fastcomments/models/model_post_set_comment_text_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_set_comment_text_response - -# AnyOf type -type PostSetCommentTextResponseKind* {.pure.} = enum - SetCommentTextResponseVariant - APIErrorVariant - -type PostSetCommentTextResponse* = object - ## - case kind*: PostSetCommentTextResponseKind - of PostSetCommentTextResponseKind.SetCommentTextResponseVariant: - SetCommentTextResponseValue*: SetCommentTextResponse - of PostSetCommentTextResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostSetCommentTextResponse]): PostSetCommentTextResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostSetCommentTextResponse(kind: PostSetCommentTextResponseKind.SetCommentTextResponseVariant, SetCommentTextResponseValue: to(node, SetCommentTextResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as SetCommentTextResponse: ", e.msg - try: - return PostSetCommentTextResponse(kind: PostSetCommentTextResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostSetCommentTextResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_un_flag_comment_response.nim b/client/fastcomments/models/model_post_un_flag_comment_response.nim deleted file mode 100644 index 84ecf84..0000000 --- a/client/fastcomments/models/model_post_un_flag_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PostUnFlagCommentResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PostUnFlagCommentResponse* = object - ## - case kind*: PostUnFlagCommentResponseKind - of PostUnFlagCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PostUnFlagCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostUnFlagCommentResponse]): PostUnFlagCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostUnFlagCommentResponse(kind: PostUnFlagCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PostUnFlagCommentResponse(kind: PostUnFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostUnFlagCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_post_vote_response.nim b/client/fastcomments/models/model_post_vote_response.nim deleted file mode 100644 index 271b534..0000000 --- a/client/fastcomments/models/model_post_vote_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_response -import model_vote_response_user - -# AnyOf type -type PostVoteResponseKind* {.pure.} = enum - VoteResponseVariant - APIErrorVariant - -type PostVoteResponse* = object - ## - case kind*: PostVoteResponseKind - of PostVoteResponseKind.VoteResponseVariant: - VoteResponseValue*: VoteResponse - of PostVoteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PostVoteResponse]): PostVoteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PostVoteResponse(kind: PostVoteResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteResponse: ", e.msg - try: - return PostVoteResponse(kind: PostVoteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostVoteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_put_award_badge_response.nim b/client/fastcomments/models/model_put_award_badge_response.nim deleted file mode 100644 index da83e9f..0000000 --- a/client/fastcomments/models/model_put_award_badge_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_award_user_badge_response -import model_comment_user_badge_info -import model_custom_config_parameters - -# AnyOf type -type PutAwardBadgeResponseKind* {.pure.} = enum - AwardUserBadgeResponseVariant - APIErrorVariant - -type PutAwardBadgeResponse* = object - ## - case kind*: PutAwardBadgeResponseKind - of PutAwardBadgeResponseKind.AwardUserBadgeResponseVariant: - AwardUserBadgeResponseValue*: AwardUserBadgeResponse - of PutAwardBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PutAwardBadgeResponse]): PutAwardBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PutAwardBadgeResponse(kind: PutAwardBadgeResponseKind.AwardUserBadgeResponseVariant, AwardUserBadgeResponseValue: to(node, AwardUserBadgeResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as AwardUserBadgeResponse: ", e.msg - try: - return PutAwardBadgeResponse(kind: PutAwardBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PutAwardBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_put_close_thread_response.nim b/client/fastcomments/models/model_put_close_thread_response.nim deleted file mode 100644 index e1e9ed0..0000000 --- a/client/fastcomments/models/model_put_close_thread_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PutCloseThreadResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PutCloseThreadResponse* = object - ## - case kind*: PutCloseThreadResponseKind - of PutCloseThreadResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PutCloseThreadResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PutCloseThreadResponse]): PutCloseThreadResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PutCloseThreadResponse(kind: PutCloseThreadResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PutCloseThreadResponse(kind: PutCloseThreadResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PutCloseThreadResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_put_remove_badge_response.nim b/client/fastcomments/models/model_put_remove_badge_response.nim deleted file mode 100644 index 8cdbb34..0000000 --- a/client/fastcomments/models/model_put_remove_badge_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_comment_user_badge_info -import model_custom_config_parameters -import model_remove_user_badge_response - -# AnyOf type -type PutRemoveBadgeResponseKind* {.pure.} = enum - RemoveUserBadgeResponseVariant - APIErrorVariant - -type PutRemoveBadgeResponse* = object - ## - case kind*: PutRemoveBadgeResponseKind - of PutRemoveBadgeResponseKind.RemoveUserBadgeResponseVariant: - RemoveUserBadgeResponseValue*: RemoveUserBadgeResponse - of PutRemoveBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PutRemoveBadgeResponse]): PutRemoveBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PutRemoveBadgeResponse(kind: PutRemoveBadgeResponseKind.RemoveUserBadgeResponseVariant, RemoveUserBadgeResponseValue: to(node, RemoveUserBadgeResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as RemoveUserBadgeResponse: ", e.msg - try: - return PutRemoveBadgeResponse(kind: PutRemoveBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PutRemoveBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_put_reopen_thread_response.nim b/client/fastcomments/models/model_put_reopen_thread_response.nim deleted file mode 100644 index ab08637..0000000 --- a/client/fastcomments/models/model_put_reopen_thread_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type PutReopenThreadResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type PutReopenThreadResponse* = object - ## - case kind*: PutReopenThreadResponseKind - of PutReopenThreadResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of PutReopenThreadResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[PutReopenThreadResponse]): PutReopenThreadResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return PutReopenThreadResponse(kind: PutReopenThreadResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return PutReopenThreadResponse(kind: PutReopenThreadResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PutReopenThreadResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_react_feed_post_public_response.nim b/client/fastcomments/models/model_react_feed_post_public_response.nim deleted file mode 100644 index ef20213..0000000 --- a/client/fastcomments/models/model_react_feed_post_public_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_react_feed_post_response - -# AnyOf type -type ReactFeedPostPublicResponseKind* {.pure.} = enum - ReactFeedPostResponseVariant - APIErrorVariant - -type ReactFeedPostPublicResponse* = object - ## - case kind*: ReactFeedPostPublicResponseKind - of ReactFeedPostPublicResponseKind.ReactFeedPostResponseVariant: - ReactFeedPostResponseValue*: ReactFeedPostResponse - of ReactFeedPostPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ReactFeedPostPublicResponse]): ReactFeedPostPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return ReactFeedPostPublicResponse(kind: ReactFeedPostPublicResponseKind.ReactFeedPostResponseVariant, ReactFeedPostResponseValue: to(node, ReactFeedPostResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ReactFeedPostResponse: ", e.msg - try: - return ReactFeedPostPublicResponse(kind: ReactFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ReactFeedPostPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_render_email_template_response1.nim b/client/fastcomments/models/model_render_email_template_response1.nim deleted file mode 100644 index b1b4786..0000000 --- a/client/fastcomments/models/model_render_email_template_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_render_email_template_response - -# AnyOf type -type RenderEmailTemplateResponse1Kind* {.pure.} = enum - RenderEmailTemplateResponseVariant - APIErrorVariant - -type RenderEmailTemplateResponse1* = object - ## - case kind*: RenderEmailTemplateResponse1Kind - of RenderEmailTemplateResponse1Kind.RenderEmailTemplateResponseVariant: - RenderEmailTemplateResponseValue*: RenderEmailTemplateResponse - of RenderEmailTemplateResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[RenderEmailTemplateResponse1]): RenderEmailTemplateResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return RenderEmailTemplateResponse1(kind: RenderEmailTemplateResponse1Kind.RenderEmailTemplateResponseVariant, RenderEmailTemplateResponseValue: to(node, RenderEmailTemplateResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as RenderEmailTemplateResponse: ", e.msg - try: - return RenderEmailTemplateResponse1(kind: RenderEmailTemplateResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of RenderEmailTemplateResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_replace_tenant_package_response.nim b/client/fastcomments/models/model_replace_tenant_package_response.nim deleted file mode 100644 index f29082f..0000000 --- a/client/fastcomments/models/model_replace_tenant_package_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type ReplaceTenantPackageResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type ReplaceTenantPackageResponse* = object - ## - case kind*: ReplaceTenantPackageResponseKind - of ReplaceTenantPackageResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of ReplaceTenantPackageResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ReplaceTenantPackageResponse]): ReplaceTenantPackageResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return ReplaceTenantPackageResponse(kind: ReplaceTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return ReplaceTenantPackageResponse(kind: ReplaceTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ReplaceTenantPackageResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_replace_tenant_user_response.nim b/client/fastcomments/models/model_replace_tenant_user_response.nim deleted file mode 100644 index 2c1b565..0000000 --- a/client/fastcomments/models/model_replace_tenant_user_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type ReplaceTenantUserResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type ReplaceTenantUserResponse* = object - ## - case kind*: ReplaceTenantUserResponseKind - of ReplaceTenantUserResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of ReplaceTenantUserResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ReplaceTenantUserResponse]): ReplaceTenantUserResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return ReplaceTenantUserResponse(kind: ReplaceTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return ReplaceTenantUserResponse(kind: ReplaceTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ReplaceTenantUserResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_reset_user_notification_count_response.nim b/client/fastcomments/models/model_reset_user_notification_count_response.nim deleted file mode 100644 index 7b4f067..0000000 --- a/client/fastcomments/models/model_reset_user_notification_count_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_reset_user_notifications_response - -# AnyOf type -type ResetUserNotificationCountResponseKind* {.pure.} = enum - ResetUserNotificationsResponseVariant - APIErrorVariant - -type ResetUserNotificationCountResponse* = object - ## - case kind*: ResetUserNotificationCountResponseKind - of ResetUserNotificationCountResponseKind.ResetUserNotificationsResponseVariant: - ResetUserNotificationsResponseValue*: ResetUserNotificationsResponse - of ResetUserNotificationCountResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ResetUserNotificationCountResponse]): ResetUserNotificationCountResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return ResetUserNotificationCountResponse(kind: ResetUserNotificationCountResponseKind.ResetUserNotificationsResponseVariant, ResetUserNotificationsResponseValue: to(node, ResetUserNotificationsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ResetUserNotificationsResponse: ", e.msg - try: - return ResetUserNotificationCountResponse(kind: ResetUserNotificationCountResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ResetUserNotificationCountResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_reset_user_notifications_response1.nim b/client/fastcomments/models/model_reset_user_notifications_response1.nim deleted file mode 100644 index bcb403c..0000000 --- a/client/fastcomments/models/model_reset_user_notifications_response1.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_reset_user_notifications_response - -# AnyOf type -type ResetUserNotificationsResponse1Kind* {.pure.} = enum - ResetUserNotificationsResponseVariant - APIErrorVariant - -type ResetUserNotificationsResponse1* = object - ## - case kind*: ResetUserNotificationsResponse1Kind - of ResetUserNotificationsResponse1Kind.ResetUserNotificationsResponseVariant: - ResetUserNotificationsResponseValue*: ResetUserNotificationsResponse - of ResetUserNotificationsResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[ResetUserNotificationsResponse1]): ResetUserNotificationsResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return ResetUserNotificationsResponse1(kind: ResetUserNotificationsResponse1Kind.ResetUserNotificationsResponseVariant, ResetUserNotificationsResponseValue: to(node, ResetUserNotificationsResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ResetUserNotificationsResponse: ", e.msg - try: - return ResetUserNotificationsResponse1(kind: ResetUserNotificationsResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of ResetUserNotificationsResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_save_comment_response.nim b/client/fastcomments/models/model_save_comment_response.nim deleted file mode 100644 index 6e98cc7..0000000 --- a/client/fastcomments/models/model_save_comment_response.nim +++ /dev/null @@ -1,49 +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 -# - -import json -import tables -import marshal -import options - -import model_api_comment -import model_api_error -import model_api_save_comment_response -import model_api_status -import model_custom_config_parameters -import model_object -import model_user_session_info - -# AnyOf type -type SaveCommentResponseKind* {.pure.} = enum - APISaveCommentResponseVariant - APIErrorVariant - -type SaveCommentResponse* = object - ## - case kind*: SaveCommentResponseKind - of SaveCommentResponseKind.APISaveCommentResponseVariant: - APISaveCommentResponseValue*: APISaveCommentResponse - of SaveCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SaveCommentResponse]): SaveCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return SaveCommentResponse(kind: SaveCommentResponseKind.APISaveCommentResponseVariant, APISaveCommentResponseValue: to(node, APISaveCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APISaveCommentResponse: ", e.msg - try: - return SaveCommentResponse(kind: SaveCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SaveCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_search_users_response1.nim b/client/fastcomments/models/model_search_users_response1.nim deleted file mode 100644 index 5d1d24a..0000000 --- a/client/fastcomments/models/model_search_users_response1.nim +++ /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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_search_users_result -import model_user_search_result -import model_user_search_section_result - -# AnyOf type -type SearchUsersResponse1Kind* {.pure.} = enum - SearchUsersResultVariant - APIErrorVariant - -type SearchUsersResponse1* = object - ## - case kind*: SearchUsersResponse1Kind - of SearchUsersResponse1Kind.SearchUsersResultVariant: - SearchUsersResultValue*: SearchUsersResult - of SearchUsersResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SearchUsersResponse1]): SearchUsersResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return SearchUsersResponse1(kind: SearchUsersResponse1Kind.SearchUsersResultVariant, SearchUsersResultValue: to(node, SearchUsersResult)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as SearchUsersResult: ", e.msg - try: - return SearchUsersResponse1(kind: SearchUsersResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SearchUsersResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_send_invite_response.nim b/client/fastcomments/models/model_send_invite_response.nim deleted file mode 100644 index 83a124c..0000000 --- a/client/fastcomments/models/model_send_invite_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type SendInviteResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type SendInviteResponse* = object - ## - case kind*: SendInviteResponseKind - of SendInviteResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of SendInviteResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SendInviteResponse]): SendInviteResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return SendInviteResponse(kind: SendInviteResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return SendInviteResponse(kind: SendInviteResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SendInviteResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_send_login_link_response.nim b/client/fastcomments/models/model_send_login_link_response.nim deleted file mode 100644 index 4c0c4e3..0000000 --- a/client/fastcomments/models/model_send_login_link_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type SendLoginLinkResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type SendLoginLinkResponse* = object - ## - case kind*: SendLoginLinkResponseKind - of SendLoginLinkResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of SendLoginLinkResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SendLoginLinkResponse]): SendLoginLinkResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return SendLoginLinkResponse(kind: SendLoginLinkResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return SendLoginLinkResponse(kind: SendLoginLinkResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SendLoginLinkResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_set_comment_text_response1.nim b/client/fastcomments/models/model_set_comment_text_response1.nim deleted file mode 100644 index 85db1b4..0000000 --- a/client/fastcomments/models/model_set_comment_text_response1.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_public_api_set_comment_text_response -import model_set_comment_text_result - -# AnyOf type -type SetCommentTextResponse1Kind* {.pure.} = enum - PublicAPISetCommentTextResponseVariant - APIErrorVariant - -type SetCommentTextResponse1* = object - ## - case kind*: SetCommentTextResponse1Kind - of SetCommentTextResponse1Kind.PublicAPISetCommentTextResponseVariant: - PublicAPISetCommentTextResponseValue*: PublicAPISetCommentTextResponse - of SetCommentTextResponse1Kind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SetCommentTextResponse1]): SetCommentTextResponse1 = - ## Custom deserializer for anyOf type - tries each variant - try: - return SetCommentTextResponse1(kind: SetCommentTextResponse1Kind.PublicAPISetCommentTextResponseVariant, PublicAPISetCommentTextResponseValue: to(node, PublicAPISetCommentTextResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as PublicAPISetCommentTextResponse: ", e.msg - try: - return SetCommentTextResponse1(kind: SetCommentTextResponse1Kind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SetCommentTextResponse1. JSON: " & $node) - diff --git a/client/fastcomments/models/model_set_trust_factor_response.nim b/client/fastcomments/models/model_set_trust_factor_response.nim deleted file mode 100644 index b2955a6..0000000 --- a/client/fastcomments/models/model_set_trust_factor_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_set_user_trust_factor_response - -# AnyOf type -type SetTrustFactorResponseKind* {.pure.} = enum - SetUserTrustFactorResponseVariant - APIErrorVariant - -type SetTrustFactorResponse* = object - ## - case kind*: SetTrustFactorResponseKind - of SetTrustFactorResponseKind.SetUserTrustFactorResponseVariant: - SetUserTrustFactorResponseValue*: SetUserTrustFactorResponse - of SetTrustFactorResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[SetTrustFactorResponse]): SetTrustFactorResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return SetTrustFactorResponse(kind: SetTrustFactorResponseKind.SetUserTrustFactorResponseVariant, SetUserTrustFactorResponseValue: to(node, SetUserTrustFactorResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as SetUserTrustFactorResponse: ", e.msg - try: - return SetTrustFactorResponse(kind: SetTrustFactorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of SetTrustFactorResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_un_block_comment_public_response.nim b/client/fastcomments/models/model_un_block_comment_public_response.nim deleted file mode 100644 index d6b45cd..0000000 --- a/client/fastcomments/models/model_un_block_comment_public_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_unblock_success - -# AnyOf type -type UnBlockCommentPublicResponseKind* {.pure.} = enum - UnblockSuccessVariant - APIErrorVariant - -type UnBlockCommentPublicResponse* = object - ## - case kind*: UnBlockCommentPublicResponseKind - of UnBlockCommentPublicResponseKind.UnblockSuccessVariant: - UnblockSuccessValue*: UnblockSuccess - of UnBlockCommentPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UnBlockCommentPublicResponse]): UnBlockCommentPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UnBlockCommentPublicResponse(kind: UnBlockCommentPublicResponseKind.UnblockSuccessVariant, UnblockSuccessValue: to(node, UnblockSuccess)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as UnblockSuccess: ", e.msg - try: - return UnBlockCommentPublicResponse(kind: UnBlockCommentPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UnBlockCommentPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_un_block_user_from_comment_response.nim b/client/fastcomments/models/model_un_block_user_from_comment_response.nim deleted file mode 100644 index 30155be..0000000 --- a/client/fastcomments/models/model_un_block_user_from_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_unblock_success - -# AnyOf type -type UnBlockUserFromCommentResponseKind* {.pure.} = enum - UnblockSuccessVariant - APIErrorVariant - -type UnBlockUserFromCommentResponse* = object - ## - case kind*: UnBlockUserFromCommentResponseKind - of UnBlockUserFromCommentResponseKind.UnblockSuccessVariant: - UnblockSuccessValue*: UnblockSuccess - of UnBlockUserFromCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UnBlockUserFromCommentResponse]): UnBlockUserFromCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UnBlockUserFromCommentResponse(kind: UnBlockUserFromCommentResponseKind.UnblockSuccessVariant, UnblockSuccessValue: to(node, UnblockSuccess)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as UnblockSuccess: ", e.msg - try: - return UnBlockUserFromCommentResponse(kind: UnBlockUserFromCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UnBlockUserFromCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_un_flag_comment_response.nim b/client/fastcomments/models/model_un_flag_comment_response.nim deleted file mode 100644 index cad796a..0000000 --- a/client/fastcomments/models/model_un_flag_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_flag_comment_response - -# AnyOf type -type UnFlagCommentResponseKind* {.pure.} = enum - FlagCommentResponseVariant - APIErrorVariant - -type UnFlagCommentResponse* = object - ## - case kind*: UnFlagCommentResponseKind - of UnFlagCommentResponseKind.FlagCommentResponseVariant: - FlagCommentResponseValue*: FlagCommentResponse - of UnFlagCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UnFlagCommentResponse]): UnFlagCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UnFlagCommentResponse(kind: UnFlagCommentResponseKind.FlagCommentResponseVariant, FlagCommentResponseValue: to(node, FlagCommentResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as FlagCommentResponse: ", e.msg - try: - return UnFlagCommentResponse(kind: UnFlagCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UnFlagCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_un_lock_comment_response.nim b/client/fastcomments/models/model_un_lock_comment_response.nim deleted file mode 100644 index a738b67..0000000 --- a/client/fastcomments/models/model_un_lock_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UnLockCommentResponseKind* {.pure.} = enum - APIErrorVariant - APIEmptyResponseVariant - -type UnLockCommentResponse* = object - ## - case kind*: UnLockCommentResponseKind - of UnLockCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - of UnLockCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - -proc to*(node: JsonNode, T: typedesc[UnLockCommentResponse]): UnLockCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UnLockCommentResponse(kind: UnLockCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - try: - return UnLockCommentResponse(kind: UnLockCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UnLockCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_un_pin_comment_response.nim b/client/fastcomments/models/model_un_pin_comment_response.nim deleted file mode 100644 index ce750d8..0000000 --- a/client/fastcomments/models/model_un_pin_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_change_comment_pin_status_response -import model_custom_config_parameters -import model_record_string_before_string_or_null_after_string_or_null_value - -# AnyOf type -type UnPinCommentResponseKind* {.pure.} = enum - ChangeCommentPinStatusResponseVariant - APIErrorVariant - -type UnPinCommentResponse* = object - ## - case kind*: UnPinCommentResponseKind - of UnPinCommentResponseKind.ChangeCommentPinStatusResponseVariant: - ChangeCommentPinStatusResponseValue*: ChangeCommentPinStatusResponse - of UnPinCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UnPinCommentResponse]): UnPinCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UnPinCommentResponse(kind: UnPinCommentResponseKind.ChangeCommentPinStatusResponseVariant, ChangeCommentPinStatusResponseValue: to(node, ChangeCommentPinStatusResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as ChangeCommentPinStatusResponse: ", e.msg - try: - return UnPinCommentResponse(kind: UnPinCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UnPinCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_comment_response.nim b/client/fastcomments/models/model_update_comment_response.nim deleted file mode 100644 index ebc1421..0000000 --- a/client/fastcomments/models/model_update_comment_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateCommentResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateCommentResponse* = object - ## - case kind*: UpdateCommentResponseKind - of UpdateCommentResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateCommentResponse]): UpdateCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateCommentResponse(kind: UpdateCommentResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateCommentResponse(kind: UpdateCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateCommentResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_email_template_response.nim b/client/fastcomments/models/model_update_email_template_response.nim deleted file mode 100644 index ab9d882..0000000 --- a/client/fastcomments/models/model_update_email_template_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateEmailTemplateResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateEmailTemplateResponse* = object - ## - case kind*: UpdateEmailTemplateResponseKind - of UpdateEmailTemplateResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateEmailTemplateResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateEmailTemplateResponse]): UpdateEmailTemplateResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateEmailTemplateResponse(kind: UpdateEmailTemplateResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateEmailTemplateResponse(kind: UpdateEmailTemplateResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateEmailTemplateResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_feed_post_public_response.nim b/client/fastcomments/models/model_update_feed_post_public_response.nim deleted file mode 100644 index 4a3775a..0000000 --- a/client/fastcomments/models/model_update_feed_post_public_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_create_feed_post_response -import model_custom_config_parameters -import model_feed_post - -# AnyOf type -type UpdateFeedPostPublicResponseKind* {.pure.} = enum - CreateFeedPostResponseVariant - APIErrorVariant - -type UpdateFeedPostPublicResponse* = object - ## - case kind*: UpdateFeedPostPublicResponseKind - of UpdateFeedPostPublicResponseKind.CreateFeedPostResponseVariant: - CreateFeedPostResponseValue*: CreateFeedPostResponse - of UpdateFeedPostPublicResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateFeedPostPublicResponse]): UpdateFeedPostPublicResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateFeedPostPublicResponse(kind: UpdateFeedPostPublicResponseKind.CreateFeedPostResponseVariant, CreateFeedPostResponseValue: to(node, CreateFeedPostResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as CreateFeedPostResponse: ", e.msg - try: - return UpdateFeedPostPublicResponse(kind: UpdateFeedPostPublicResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateFeedPostPublicResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_feed_post_response.nim b/client/fastcomments/models/model_update_feed_post_response.nim deleted file mode 100644 index 1329ae3..0000000 --- a/client/fastcomments/models/model_update_feed_post_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateFeedPostResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateFeedPostResponse* = object - ## - case kind*: UpdateFeedPostResponseKind - of UpdateFeedPostResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateFeedPostResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateFeedPostResponse]): UpdateFeedPostResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateFeedPostResponse(kind: UpdateFeedPostResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateFeedPostResponse(kind: UpdateFeedPostResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateFeedPostResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_moderator_response.nim b/client/fastcomments/models/model_update_moderator_response.nim deleted file mode 100644 index c8f4193..0000000 --- a/client/fastcomments/models/model_update_moderator_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateModeratorResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateModeratorResponse* = object - ## - case kind*: UpdateModeratorResponseKind - of UpdateModeratorResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateModeratorResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateModeratorResponse]): UpdateModeratorResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateModeratorResponse(kind: UpdateModeratorResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateModeratorResponse(kind: UpdateModeratorResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateModeratorResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_notification_response.nim b/client/fastcomments/models/model_update_notification_response.nim deleted file mode 100644 index 0b972e0..0000000 --- a/client/fastcomments/models/model_update_notification_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateNotificationResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateNotificationResponse* = object - ## - case kind*: UpdateNotificationResponseKind - of UpdateNotificationResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateNotificationResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateNotificationResponse]): UpdateNotificationResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateNotificationResponse(kind: UpdateNotificationResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateNotificationResponse(kind: UpdateNotificationResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateNotificationResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_question_config_response.nim b/client/fastcomments/models/model_update_question_config_response.nim deleted file mode 100644 index f583c12..0000000 --- a/client/fastcomments/models/model_update_question_config_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateQuestionConfigResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateQuestionConfigResponse* = object - ## - case kind*: UpdateQuestionConfigResponseKind - of UpdateQuestionConfigResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateQuestionConfigResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateQuestionConfigResponse]): UpdateQuestionConfigResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateQuestionConfigResponse(kind: UpdateQuestionConfigResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateQuestionConfigResponse(kind: UpdateQuestionConfigResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateQuestionConfigResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_question_result_response.nim b/client/fastcomments/models/model_update_question_result_response.nim deleted file mode 100644 index a90c562..0000000 --- a/client/fastcomments/models/model_update_question_result_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateQuestionResultResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateQuestionResultResponse* = object - ## - case kind*: UpdateQuestionResultResponseKind - of UpdateQuestionResultResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateQuestionResultResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateQuestionResultResponse]): UpdateQuestionResultResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateQuestionResultResponse(kind: UpdateQuestionResultResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateQuestionResultResponse(kind: UpdateQuestionResultResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateQuestionResultResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_tenant_package_response.nim b/client/fastcomments/models/model_update_tenant_package_response.nim deleted file mode 100644 index 4ab121e..0000000 --- a/client/fastcomments/models/model_update_tenant_package_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateTenantPackageResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateTenantPackageResponse* = object - ## - case kind*: UpdateTenantPackageResponseKind - of UpdateTenantPackageResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateTenantPackageResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateTenantPackageResponse]): UpdateTenantPackageResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateTenantPackageResponse(kind: UpdateTenantPackageResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateTenantPackageResponse(kind: UpdateTenantPackageResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantPackageResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_tenant_response.nim b/client/fastcomments/models/model_update_tenant_response.nim deleted file mode 100644 index e6ddca7..0000000 --- a/client/fastcomments/models/model_update_tenant_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateTenantResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateTenantResponse* = object - ## - case kind*: UpdateTenantResponseKind - of UpdateTenantResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateTenantResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateTenantResponse]): UpdateTenantResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateTenantResponse(kind: UpdateTenantResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateTenantResponse(kind: UpdateTenantResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_tenant_user_response.nim b/client/fastcomments/models/model_update_tenant_user_response.nim deleted file mode 100644 index bc4bbf6..0000000 --- a/client/fastcomments/models/model_update_tenant_user_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateTenantUserResponseKind* {.pure.} = enum - APIEmptyResponseVariant - APIErrorVariant - -type UpdateTenantUserResponse* = object - ## - case kind*: UpdateTenantUserResponseKind - of UpdateTenantUserResponseKind.APIEmptyResponseVariant: - APIEmptyResponseValue*: APIEmptyResponse - of UpdateTenantUserResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateTenantUserResponse]): UpdateTenantUserResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateTenantUserResponse(kind: UpdateTenantUserResponseKind.APIEmptyResponseVariant, APIEmptyResponseValue: to(node, APIEmptyResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptyResponse: ", e.msg - try: - return UpdateTenantUserResponse(kind: UpdateTenantUserResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateTenantUserResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_user_badge_response.nim b/client/fastcomments/models/model_update_user_badge_response.nim deleted file mode 100644 index 1cf02e1..0000000 --- a/client/fastcomments/models/model_update_user_badge_response.nim +++ /dev/null @@ -1,46 +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 -# - -import json -import tables -import marshal -import options - -import model_api_empty_success_response -import model_api_error -import model_api_status -import model_custom_config_parameters - -# AnyOf type -type UpdateUserBadgeResponseKind* {.pure.} = enum - APIEmptySuccessResponseVariant - APIErrorVariant - -type UpdateUserBadgeResponse* = object - ## - case kind*: UpdateUserBadgeResponseKind - of UpdateUserBadgeResponseKind.APIEmptySuccessResponseVariant: - APIEmptySuccessResponseValue*: APIEmptySuccessResponse - of UpdateUserBadgeResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[UpdateUserBadgeResponse]): UpdateUserBadgeResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return UpdateUserBadgeResponse(kind: UpdateUserBadgeResponseKind.APIEmptySuccessResponseVariant, APIEmptySuccessResponseValue: to(node, APIEmptySuccessResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIEmptySuccessResponse: ", e.msg - try: - return UpdateUserBadgeResponse(kind: UpdateUserBadgeResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserBadgeResponse. JSON: " & $node) - diff --git a/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim b/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim index 9a46491..aaff22a 100644 --- a/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_comment_subscription_status_response.nim @@ -12,9 +12,7 @@ import tables import marshal import options -import model_api_error import model_api_status -import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -22,7 +20,6 @@ import model_user_notification_write_response type UpdateUserNotificationCommentSubscriptionStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant - APIErrorVariant type UpdateUserNotificationCommentSubscriptionStatusResponse* = object ## @@ -31,8 +28,6 @@ type UpdateUserNotificationCommentSubscriptionStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationCommentSubscriptionStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse - of UpdateUserNotificationCommentSubscriptionStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationCommentSubscriptionStatusResponse]): UpdateUserNotificationCommentSubscriptionStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -46,10 +41,5 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationCommentSubscriptionSt except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg - try: - return UpdateUserNotificationCommentSubscriptionStatusResponse(kind: UpdateUserNotificationCommentSubscriptionStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationCommentSubscriptionStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim b/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim index e9fa5f6..b3c8418 100644 --- a/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_page_subscription_status_response.nim @@ -12,9 +12,7 @@ import tables import marshal import options -import model_api_error import model_api_status -import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -22,7 +20,6 @@ import model_user_notification_write_response type UpdateUserNotificationPageSubscriptionStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant - APIErrorVariant type UpdateUserNotificationPageSubscriptionStatusResponse* = object ## @@ -31,8 +28,6 @@ type UpdateUserNotificationPageSubscriptionStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationPageSubscriptionStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse - of UpdateUserNotificationPageSubscriptionStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationPageSubscriptionStatusResponse]): UpdateUserNotificationPageSubscriptionStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -46,10 +41,5 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationPageSubscriptionStatu except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg - try: - return UpdateUserNotificationPageSubscriptionStatusResponse(kind: UpdateUserNotificationPageSubscriptionStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationPageSubscriptionStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_update_user_notification_status_response.nim b/client/fastcomments/models/model_update_user_notification_status_response.nim index c60f039..c1b4a89 100644 --- a/client/fastcomments/models/model_update_user_notification_status_response.nim +++ b/client/fastcomments/models/model_update_user_notification_status_response.nim @@ -12,9 +12,7 @@ import tables import marshal import options -import model_api_error import model_api_status -import model_custom_config_parameters import model_ignored_response import model_user_notification_write_response @@ -22,7 +20,6 @@ import model_user_notification_write_response type UpdateUserNotificationStatusResponseKind* {.pure.} = enum UserNotificationWriteResponseVariant IgnoredResponseVariant - APIErrorVariant type UpdateUserNotificationStatusResponse* = object ## @@ -31,8 +28,6 @@ type UpdateUserNotificationStatusResponse* = object UserNotificationWriteResponseValue*: UserNotificationWriteResponse of UpdateUserNotificationStatusResponseKind.IgnoredResponseVariant: IgnoredResponseValue*: IgnoredResponse - of UpdateUserNotificationStatusResponseKind.APIErrorVariant: - APIErrorValue*: APIError proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationStatusResponse]): UpdateUserNotificationStatusResponse = ## Custom deserializer for anyOf type - tries each variant @@ -46,10 +41,5 @@ proc to*(node: JsonNode, T: typedesc[UpdateUserNotificationStatusResponse]): Upd except Exception as e: when defined(debug): echo "Failed to deserialize as IgnoredResponse: ", e.msg - try: - return UpdateUserNotificationStatusResponse(kind: UpdateUserNotificationStatusResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg raise newException(ValueError, "Unable to deserialize into any variant of UpdateUserNotificationStatusResponse. JSON: " & $node) diff --git a/client/fastcomments/models/model_vote_comment_response.nim b/client/fastcomments/models/model_vote_comment_response.nim deleted file mode 100644 index a3a9a16..0000000 --- a/client/fastcomments/models/model_vote_comment_response.nim +++ /dev/null @@ -1,47 +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 -# - -import json -import tables -import marshal -import options - -import model_api_error -import model_api_status -import model_custom_config_parameters -import model_vote_response -import model_vote_response_user - -# AnyOf type -type VoteCommentResponseKind* {.pure.} = enum - VoteResponseVariant - APIErrorVariant - -type VoteCommentResponse* = object - ## - case kind*: VoteCommentResponseKind - of VoteCommentResponseKind.VoteResponseVariant: - VoteResponseValue*: VoteResponse - of VoteCommentResponseKind.APIErrorVariant: - APIErrorValue*: APIError - -proc to*(node: JsonNode, T: typedesc[VoteCommentResponse]): VoteCommentResponse = - ## Custom deserializer for anyOf type - tries each variant - try: - return VoteCommentResponse(kind: VoteCommentResponseKind.VoteResponseVariant, VoteResponseValue: to(node, VoteResponse)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as VoteResponse: ", e.msg - try: - return VoteCommentResponse(kind: VoteCommentResponseKind.APIErrorVariant, APIErrorValue: to(node, APIError)) - except Exception as e: - when defined(debug): - echo "Failed to deserialize as APIError: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of VoteCommentResponse. JSON: " & $node) - diff --git a/docs/Apis/DefaultApi.md b/docs/Apis/DefaultApi.md index 979cb76..899940e 100644 --- a/docs/Apis/DefaultApi.md +++ b/docs/Apis/DefaultApi.md @@ -148,7 +148,7 @@ All URIs are relative to *https://fastcomments.com* # **addHashTag** -> AddHashTagResponse addHashTag(tenantId, CreateHashTagBody) +> CreateHashTagResponse addHashTag(tenantId, CreateHashTagBody) @@ -161,7 +161,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**AddHashTagResponse**](../Models/AddHashTagResponse.md) +[**CreateHashTagResponse**](../Models/CreateHashTagResponse.md) ### Authorization @@ -174,7 +174,7 @@ All URIs are relative to *https://fastcomments.com* # **addHashTagsBulk** -> AddHashTagsBulkResponse addHashTagsBulk(tenantId, BulkCreateHashTagsBody) +> BulkCreateHashTagsResponse addHashTagsBulk(tenantId, BulkCreateHashTagsBody) @@ -187,7 +187,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**AddHashTagsBulkResponse**](../Models/AddHashTagsBulkResponse.md) +[**BulkCreateHashTagsResponse**](../Models/BulkCreateHashTagsResponse.md) ### Authorization @@ -282,7 +282,7 @@ All URIs are relative to *https://fastcomments.com* # **aggregateQuestionResults** -> AggregateQuestionResultsResponse_1 aggregateQuestionResults(tenantId, questionId, questionIds, urlId, timeBucket, startDate, forceRecalculate) +> AggregateQuestionResultsResponse aggregateQuestionResults(tenantId, questionId, questionIds, urlId, timeBucket, startDate, forceRecalculate) @@ -300,7 +300,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**AggregateQuestionResultsResponse_1**](../Models/AggregateQuestionResultsResponse_1.md) +[**AggregateQuestionResultsResponse**](../Models/AggregateQuestionResultsResponse.md) ### Authorization @@ -313,7 +313,7 @@ All URIs are relative to *https://fastcomments.com* # **blockUserFromComment** -> BlockUserFromCommentResponse blockUserFromComment(tenantId, id, BlockFromCommentParams, userId, anonUserId) +> BlockSuccess blockUserFromComment(tenantId, id, BlockFromCommentParams, userId, anonUserId) @@ -329,7 +329,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BlockUserFromCommentResponse**](../Models/BlockUserFromCommentResponse.md) +[**BlockSuccess**](../Models/BlockSuccess.md) ### Authorization @@ -342,7 +342,7 @@ All URIs are relative to *https://fastcomments.com* # **bulkAggregateQuestionResults** -> BulkAggregateQuestionResultsResponse_1 bulkAggregateQuestionResults(tenantId, BulkAggregateQuestionResultsRequest, forceRecalculate) +> BulkAggregateQuestionResultsResponse bulkAggregateQuestionResults(tenantId, BulkAggregateQuestionResultsRequest, forceRecalculate) @@ -356,7 +356,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BulkAggregateQuestionResultsResponse_1**](../Models/BulkAggregateQuestionResultsResponse_1.md) +[**BulkAggregateQuestionResultsResponse**](../Models/BulkAggregateQuestionResultsResponse.md) ### Authorization @@ -369,7 +369,7 @@ All URIs are relative to *https://fastcomments.com* # **changeTicketState** -> ChangeTicketStateResponse_1 changeTicketState(tenantId, userId, id, ChangeTicketStateBody) +> ChangeTicketStateResponse changeTicketState(tenantId, userId, id, ChangeTicketStateBody) @@ -384,7 +384,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**ChangeTicketStateResponse_1**](../Models/ChangeTicketStateResponse_1.md) +[**ChangeTicketStateResponse**](../Models/ChangeTicketStateResponse.md) ### Authorization @@ -397,7 +397,7 @@ All URIs are relative to *https://fastcomments.com* # **combineCommentsWithQuestionResults** -> CombineCommentsWithQuestionResultsResponse combineCommentsWithQuestionResults(tenantId, questionId, questionIds, urlId, startDate, forceRecalculate, minValue, maxValue, limit) +> CombineQuestionResultsWithCommentsResponse combineCommentsWithQuestionResults(tenantId, questionId, questionIds, urlId, startDate, forceRecalculate, minValue, maxValue, limit) @@ -417,7 +417,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CombineCommentsWithQuestionResultsResponse**](../Models/CombineCommentsWithQuestionResultsResponse.md) +[**CombineQuestionResultsWithCommentsResponse**](../Models/CombineQuestionResultsWithCommentsResponse.md) ### Authorization @@ -430,7 +430,7 @@ All URIs are relative to *https://fastcomments.com* # **createEmailTemplate** -> CreateEmailTemplateResponse_1 createEmailTemplate(tenantId, CreateEmailTemplateBody) +> CreateEmailTemplateResponse createEmailTemplate(tenantId, CreateEmailTemplateBody) @@ -443,7 +443,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateEmailTemplateResponse_1**](../Models/CreateEmailTemplateResponse_1.md) +[**CreateEmailTemplateResponse**](../Models/CreateEmailTemplateResponse.md) ### Authorization @@ -456,7 +456,7 @@ All URIs are relative to *https://fastcomments.com* # **createFeedPost** -> CreateFeedPostResponse_1 createFeedPost(tenantId, CreateFeedPostParams, broadcastId, isLive, doSpamCheck, skipDupCheck) +> CreateFeedPostsResponse createFeedPost(tenantId, CreateFeedPostParams, broadcastId, isLive, doSpamCheck, skipDupCheck) @@ -473,7 +473,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateFeedPostResponse_1**](../Models/CreateFeedPostResponse_1.md) +[**CreateFeedPostsResponse**](../Models/CreateFeedPostsResponse.md) ### Authorization @@ -486,7 +486,7 @@ All URIs are relative to *https://fastcomments.com* # **createModerator** -> CreateModeratorResponse_1 createModerator(tenantId, CreateModeratorBody) +> CreateModeratorResponse createModerator(tenantId, CreateModeratorBody) @@ -499,7 +499,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateModeratorResponse_1**](../Models/CreateModeratorResponse_1.md) +[**CreateModeratorResponse**](../Models/CreateModeratorResponse.md) ### Authorization @@ -512,7 +512,7 @@ All URIs are relative to *https://fastcomments.com* # **createQuestionConfig** -> CreateQuestionConfigResponse_1 createQuestionConfig(tenantId, CreateQuestionConfigBody) +> CreateQuestionConfigResponse createQuestionConfig(tenantId, CreateQuestionConfigBody) @@ -525,7 +525,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateQuestionConfigResponse_1**](../Models/CreateQuestionConfigResponse_1.md) +[**CreateQuestionConfigResponse**](../Models/CreateQuestionConfigResponse.md) ### Authorization @@ -538,7 +538,7 @@ All URIs are relative to *https://fastcomments.com* # **createQuestionResult** -> CreateQuestionResultResponse_1 createQuestionResult(tenantId, CreateQuestionResultBody) +> CreateQuestionResultResponse createQuestionResult(tenantId, CreateQuestionResultBody) @@ -551,7 +551,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateQuestionResultResponse_1**](../Models/CreateQuestionResultResponse_1.md) +[**CreateQuestionResultResponse**](../Models/CreateQuestionResultResponse.md) ### Authorization @@ -590,7 +590,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenant** -> CreateTenantResponse_1 createTenant(tenantId, CreateTenantBody) +> CreateTenantResponse createTenant(tenantId, CreateTenantBody) @@ -603,7 +603,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantResponse_1**](../Models/CreateTenantResponse_1.md) +[**CreateTenantResponse**](../Models/CreateTenantResponse.md) ### Authorization @@ -616,7 +616,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenantPackage** -> CreateTenantPackageResponse_1 createTenantPackage(tenantId, CreateTenantPackageBody) +> CreateTenantPackageResponse createTenantPackage(tenantId, CreateTenantPackageBody) @@ -629,7 +629,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantPackageResponse_1**](../Models/CreateTenantPackageResponse_1.md) +[**CreateTenantPackageResponse**](../Models/CreateTenantPackageResponse.md) ### Authorization @@ -642,7 +642,7 @@ All URIs are relative to *https://fastcomments.com* # **createTenantUser** -> CreateTenantUserResponse_1 createTenantUser(tenantId, CreateTenantUserBody) +> CreateTenantUserResponse createTenantUser(tenantId, CreateTenantUserBody) @@ -655,7 +655,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTenantUserResponse_1**](../Models/CreateTenantUserResponse_1.md) +[**CreateTenantUserResponse**](../Models/CreateTenantUserResponse.md) ### Authorization @@ -668,7 +668,7 @@ All URIs are relative to *https://fastcomments.com* # **createTicket** -> CreateTicketResponse_1 createTicket(tenantId, userId, CreateTicketBody) +> CreateTicketResponse createTicket(tenantId, userId, CreateTicketBody) @@ -682,7 +682,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateTicketResponse_1**](../Models/CreateTicketResponse_1.md) +[**CreateTicketResponse**](../Models/CreateTicketResponse.md) ### Authorization @@ -695,7 +695,7 @@ All URIs are relative to *https://fastcomments.com* # **createUserBadge** -> CreateUserBadgeResponse createUserBadge(tenantId, CreateUserBadgeParams) +> APICreateUserBadgeResponse createUserBadge(tenantId, CreateUserBadgeParams) @@ -708,7 +708,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateUserBadgeResponse**](../Models/CreateUserBadgeResponse.md) +[**APICreateUserBadgeResponse**](../Models/APICreateUserBadgeResponse.md) ### Authorization @@ -721,7 +721,7 @@ All URIs are relative to *https://fastcomments.com* # **createVote** -> CreateVoteResponse createVote(tenantId, commentId, direction, userId, anonUserId) +> VoteResponse createVote(tenantId, commentId, direction, userId, anonUserId) @@ -737,7 +737,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**CreateVoteResponse**](../Models/CreateVoteResponse.md) +[**VoteResponse**](../Models/VoteResponse.md) ### Authorization @@ -750,7 +750,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteComment** -> DeleteCommentResponse deleteComment(tenantId, id, contextUserId, isLive) +> DeleteCommentResult deleteComment(tenantId, id, contextUserId, isLive) @@ -765,7 +765,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteCommentResponse**](../Models/DeleteCommentResponse.md) +[**DeleteCommentResult**](../Models/DeleteCommentResult.md) ### Authorization @@ -804,7 +804,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteEmailTemplate** -> DeleteEmailTemplateResponse deleteEmailTemplate(tenantId, id) +> APIEmptyResponse deleteEmailTemplate(tenantId, id) @@ -817,7 +817,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteEmailTemplateResponse**](../Models/DeleteEmailTemplateResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -830,7 +830,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteEmailTemplateRenderError** -> DeleteEmailTemplateRenderErrorResponse deleteEmailTemplateRenderError(tenantId, id, errorId) +> APIEmptyResponse deleteEmailTemplateRenderError(tenantId, id, errorId) @@ -844,7 +844,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteEmailTemplateRenderErrorResponse**](../Models/DeleteEmailTemplateRenderErrorResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -857,7 +857,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteHashTag** -> DeleteHashTagResponse deleteHashTag(tag, tenantId, DeleteHashTagRequestBody) +> APIEmptyResponse deleteHashTag(tag, tenantId, DeleteHashTagRequestBody) @@ -871,7 +871,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteHashTagResponse**](../Models/DeleteHashTagResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -884,7 +884,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteModerator** -> DeleteModeratorResponse deleteModerator(tenantId, id, sendEmail) +> APIEmptyResponse deleteModerator(tenantId, id, sendEmail) @@ -898,7 +898,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteModeratorResponse**](../Models/DeleteModeratorResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -911,7 +911,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteNotificationCount** -> DeleteNotificationCountResponse deleteNotificationCount(tenantId, id) +> APIEmptyResponse deleteNotificationCount(tenantId, id) @@ -924,7 +924,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteNotificationCountResponse**](../Models/DeleteNotificationCountResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -963,7 +963,7 @@ All URIs are relative to *https://fastcomments.com* # **deletePendingWebhookEvent** -> DeletePendingWebhookEventResponse deletePendingWebhookEvent(tenantId, id) +> APIEmptyResponse deletePendingWebhookEvent(tenantId, id) @@ -976,7 +976,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeletePendingWebhookEventResponse**](../Models/DeletePendingWebhookEventResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -989,7 +989,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteQuestionConfig** -> DeleteQuestionConfigResponse deleteQuestionConfig(tenantId, id) +> APIEmptyResponse deleteQuestionConfig(tenantId, id) @@ -1002,7 +1002,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteQuestionConfigResponse**](../Models/DeleteQuestionConfigResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1015,7 +1015,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteQuestionResult** -> DeleteQuestionResultResponse deleteQuestionResult(tenantId, id) +> APIEmptyResponse deleteQuestionResult(tenantId, id) @@ -1028,7 +1028,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteQuestionResultResponse**](../Models/DeleteQuestionResultResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1096,7 +1096,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenant** -> DeleteTenantResponse deleteTenant(tenantId, id, sure) +> APIEmptyResponse deleteTenant(tenantId, id, sure) @@ -1110,7 +1110,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteTenantResponse**](../Models/DeleteTenantResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1123,7 +1123,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenantPackage** -> DeleteTenantPackageResponse deleteTenantPackage(tenantId, id) +> APIEmptyResponse deleteTenantPackage(tenantId, id) @@ -1136,7 +1136,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteTenantPackageResponse**](../Models/DeleteTenantPackageResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1149,7 +1149,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteTenantUser** -> DeleteTenantUserResponse deleteTenantUser(tenantId, id, deleteComments, commentDeleteMode) +> APIEmptyResponse deleteTenantUser(tenantId, id, deleteComments, commentDeleteMode) @@ -1164,7 +1164,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteTenantUserResponse**](../Models/DeleteTenantUserResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1177,7 +1177,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteUserBadge** -> DeleteUserBadgeResponse deleteUserBadge(tenantId, id) +> APIEmptySuccessResponse deleteUserBadge(tenantId, id) @@ -1190,7 +1190,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteUserBadgeResponse**](../Models/DeleteUserBadgeResponse.md) +[**APIEmptySuccessResponse**](../Models/APIEmptySuccessResponse.md) ### Authorization @@ -1203,7 +1203,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteVote** -> DeleteVoteResponse deleteVote(tenantId, id, editKey) +> VoteDeleteResponse deleteVote(tenantId, id, editKey) @@ -1217,7 +1217,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteVoteResponse**](../Models/DeleteVoteResponse.md) +[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) ### Authorization @@ -1230,7 +1230,7 @@ All URIs are relative to *https://fastcomments.com* # **flagComment** -> FlagCommentResponse_1 flagComment(tenantId, id, userId, anonUserId) +> FlagCommentResponse flagComment(tenantId, id, userId, anonUserId) @@ -1245,7 +1245,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**FlagCommentResponse_1**](../Models/FlagCommentResponse_1.md) +[**FlagCommentResponse**](../Models/FlagCommentResponse.md) ### Authorization @@ -1258,7 +1258,7 @@ All URIs are relative to *https://fastcomments.com* # **getAuditLogs** -> GetAuditLogsResponse_1 getAuditLogs(tenantId, limit, skip, order, after, before) +> GetAuditLogsResponse getAuditLogs(tenantId, limit, skip, order, after, before) @@ -1275,7 +1275,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetAuditLogsResponse_1**](../Models/GetAuditLogsResponse_1.md) +[**GetAuditLogsResponse**](../Models/GetAuditLogsResponse.md) ### Authorization @@ -1288,7 +1288,7 @@ All URIs are relative to *https://fastcomments.com* # **getCachedNotificationCount** -> GetCachedNotificationCountResponse_1 getCachedNotificationCount(tenantId, id) +> GetCachedNotificationCountResponse getCachedNotificationCount(tenantId, id) @@ -1301,7 +1301,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetCachedNotificationCountResponse_1**](../Models/GetCachedNotificationCountResponse_1.md) +[**GetCachedNotificationCountResponse**](../Models/GetCachedNotificationCountResponse.md) ### Authorization @@ -1314,7 +1314,7 @@ All URIs are relative to *https://fastcomments.com* # **getComment** -> GetCommentResponse getComment(tenantId, id) +> APIGetCommentResponse getComment(tenantId, id) @@ -1327,7 +1327,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetCommentResponse**](../Models/GetCommentResponse.md) +[**APIGetCommentResponse**](../Models/APIGetCommentResponse.md) ### Authorization @@ -1340,7 +1340,7 @@ All URIs are relative to *https://fastcomments.com* # **getComments** -> GetCommentsResponse getComments(tenantId, page, limit, skip, asTree, skipChildren, limitChildren, maxTreeDepth, urlId, userId, anonUserId, contextUserId, hashTag, parentId, direction, fromDate, toDate) +> APIGetCommentsResponse getComments(tenantId, page, limit, skip, asTree, skipChildren, limitChildren, maxTreeDepth, urlId, userId, anonUserId, contextUserId, hashTag, parentId, direction, fromDate, toDate) @@ -1368,7 +1368,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetCommentsResponse**](../Models/GetCommentsResponse.md) +[**APIGetCommentsResponse**](../Models/APIGetCommentsResponse.md) ### Authorization @@ -1432,7 +1432,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplate** -> GetEmailTemplateResponse_1 getEmailTemplate(tenantId, id) +> GetEmailTemplateResponse getEmailTemplate(tenantId, id) @@ -1445,7 +1445,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateResponse_1**](../Models/GetEmailTemplateResponse_1.md) +[**GetEmailTemplateResponse**](../Models/GetEmailTemplateResponse.md) ### Authorization @@ -1458,7 +1458,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplateDefinitions** -> GetEmailTemplateDefinitionsResponse_1 getEmailTemplateDefinitions(tenantId) +> GetEmailTemplateDefinitionsResponse getEmailTemplateDefinitions(tenantId) @@ -1470,7 +1470,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateDefinitionsResponse_1**](../Models/GetEmailTemplateDefinitionsResponse_1.md) +[**GetEmailTemplateDefinitionsResponse**](../Models/GetEmailTemplateDefinitionsResponse.md) ### Authorization @@ -1483,7 +1483,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplateRenderErrors** -> GetEmailTemplateRenderErrorsResponse_1 getEmailTemplateRenderErrors(tenantId, id, skip) +> GetEmailTemplateRenderErrorsResponse getEmailTemplateRenderErrors(tenantId, id, skip) @@ -1497,7 +1497,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplateRenderErrorsResponse_1**](../Models/GetEmailTemplateRenderErrorsResponse_1.md) +[**GetEmailTemplateRenderErrorsResponse**](../Models/GetEmailTemplateRenderErrorsResponse.md) ### Authorization @@ -1510,7 +1510,7 @@ All URIs are relative to *https://fastcomments.com* # **getEmailTemplates** -> GetEmailTemplatesResponse_1 getEmailTemplates(tenantId, skip) +> GetEmailTemplatesResponse getEmailTemplates(tenantId, skip) @@ -1523,7 +1523,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetEmailTemplatesResponse_1**](../Models/GetEmailTemplatesResponse_1.md) +[**GetEmailTemplatesResponse**](../Models/GetEmailTemplatesResponse.md) ### Authorization @@ -1536,7 +1536,7 @@ All URIs are relative to *https://fastcomments.com* # **getFeedPosts** -> GetFeedPostsResponse_1 getFeedPosts(tenantId, afterId, limit, tags) +> GetFeedPostsResponse getFeedPosts(tenantId, afterId, limit, tags) @@ -1553,7 +1553,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetFeedPostsResponse_1**](../Models/GetFeedPostsResponse_1.md) +[**GetFeedPostsResponse**](../Models/GetFeedPostsResponse.md) ### Authorization @@ -1566,7 +1566,7 @@ All URIs are relative to *https://fastcomments.com* # **getHashTags** -> GetHashTagsResponse_1 getHashTags(tenantId, page) +> GetHashTagsResponse getHashTags(tenantId, page) @@ -1579,7 +1579,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetHashTagsResponse_1**](../Models/GetHashTagsResponse_1.md) +[**GetHashTagsResponse**](../Models/GetHashTagsResponse.md) ### Authorization @@ -1592,7 +1592,7 @@ All URIs are relative to *https://fastcomments.com* # **getModerator** -> GetModeratorResponse_1 getModerator(tenantId, id) +> GetModeratorResponse getModerator(tenantId, id) @@ -1605,7 +1605,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetModeratorResponse_1**](../Models/GetModeratorResponse_1.md) +[**GetModeratorResponse**](../Models/GetModeratorResponse.md) ### Authorization @@ -1618,7 +1618,7 @@ All URIs are relative to *https://fastcomments.com* # **getModerators** -> GetModeratorsResponse_1 getModerators(tenantId, skip) +> GetModeratorsResponse getModerators(tenantId, skip) @@ -1631,7 +1631,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetModeratorsResponse_1**](../Models/GetModeratorsResponse_1.md) +[**GetModeratorsResponse**](../Models/GetModeratorsResponse.md) ### Authorization @@ -1644,7 +1644,7 @@ All URIs are relative to *https://fastcomments.com* # **getNotificationCount** -> GetNotificationCountResponse_1 getNotificationCount(tenantId, userId, urlId, fromCommentId, viewed, type) +> GetNotificationCountResponse getNotificationCount(tenantId, userId, urlId, fromCommentId, viewed, type) @@ -1661,7 +1661,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetNotificationCountResponse_1**](../Models/GetNotificationCountResponse_1.md) +[**GetNotificationCountResponse**](../Models/GetNotificationCountResponse.md) ### Authorization @@ -1674,7 +1674,7 @@ All URIs are relative to *https://fastcomments.com* # **getNotifications** -> GetNotificationsResponse_1 getNotifications(tenantId, userId, urlId, fromCommentId, viewed, type, skip) +> GetNotificationsResponse getNotifications(tenantId, userId, urlId, fromCommentId, viewed, type, skip) @@ -1692,7 +1692,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetNotificationsResponse_1**](../Models/GetNotificationsResponse_1.md) +[**GetNotificationsResponse**](../Models/GetNotificationsResponse.md) ### Authorization @@ -1756,7 +1756,7 @@ All URIs are relative to *https://fastcomments.com* # **getPendingWebhookEventCount** -> GetPendingWebhookEventCountResponse_1 getPendingWebhookEventCount(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT) +> GetPendingWebhookEventCountResponse getPendingWebhookEventCount(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT) @@ -1774,7 +1774,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetPendingWebhookEventCountResponse_1**](../Models/GetPendingWebhookEventCountResponse_1.md) +[**GetPendingWebhookEventCountResponse**](../Models/GetPendingWebhookEventCountResponse.md) ### Authorization @@ -1787,7 +1787,7 @@ All URIs are relative to *https://fastcomments.com* # **getPendingWebhookEvents** -> GetPendingWebhookEventsResponse_1 getPendingWebhookEvents(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT, skip) +> GetPendingWebhookEventsResponse getPendingWebhookEvents(tenantId, commentId, externalId, eventType, type, domain, attemptCountGT, skip) @@ -1806,7 +1806,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetPendingWebhookEventsResponse_1**](../Models/GetPendingWebhookEventsResponse_1.md) +[**GetPendingWebhookEventsResponse**](../Models/GetPendingWebhookEventsResponse.md) ### Authorization @@ -1819,7 +1819,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionConfig** -> GetQuestionConfigResponse_1 getQuestionConfig(tenantId, id) +> GetQuestionConfigResponse getQuestionConfig(tenantId, id) @@ -1832,7 +1832,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionConfigResponse_1**](../Models/GetQuestionConfigResponse_1.md) +[**GetQuestionConfigResponse**](../Models/GetQuestionConfigResponse.md) ### Authorization @@ -1845,7 +1845,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionConfigs** -> GetQuestionConfigsResponse_1 getQuestionConfigs(tenantId, skip) +> GetQuestionConfigsResponse getQuestionConfigs(tenantId, skip) @@ -1858,7 +1858,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionConfigsResponse_1**](../Models/GetQuestionConfigsResponse_1.md) +[**GetQuestionConfigsResponse**](../Models/GetQuestionConfigsResponse.md) ### Authorization @@ -1871,7 +1871,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionResult** -> GetQuestionResultResponse_1 getQuestionResult(tenantId, id) +> GetQuestionResultResponse getQuestionResult(tenantId, id) @@ -1884,7 +1884,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionResultResponse_1**](../Models/GetQuestionResultResponse_1.md) +[**GetQuestionResultResponse**](../Models/GetQuestionResultResponse.md) ### Authorization @@ -1897,7 +1897,7 @@ All URIs are relative to *https://fastcomments.com* # **getQuestionResults** -> GetQuestionResultsResponse_1 getQuestionResults(tenantId, urlId, userId, startDate, questionId, questionIds, skip) +> GetQuestionResultsResponse getQuestionResults(tenantId, urlId, userId, startDate, questionId, questionIds, skip) @@ -1915,7 +1915,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetQuestionResultsResponse_1**](../Models/GetQuestionResultsResponse_1.md) +[**GetQuestionResultsResponse**](../Models/GetQuestionResultsResponse.md) ### Authorization @@ -2032,7 +2032,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenant** -> GetTenantResponse_1 getTenant(tenantId, id) +> GetTenantResponse getTenant(tenantId, id) @@ -2045,7 +2045,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantResponse_1**](../Models/GetTenantResponse_1.md) +[**GetTenantResponse**](../Models/GetTenantResponse.md) ### Authorization @@ -2058,7 +2058,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantDailyUsages** -> GetTenantDailyUsagesResponse_1 getTenantDailyUsages(tenantId, yearNumber, monthNumber, dayNumber, skip) +> GetTenantDailyUsagesResponse getTenantDailyUsages(tenantId, yearNumber, monthNumber, dayNumber, skip) @@ -2074,7 +2074,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantDailyUsagesResponse_1**](../Models/GetTenantDailyUsagesResponse_1.md) +[**GetTenantDailyUsagesResponse**](../Models/GetTenantDailyUsagesResponse.md) ### Authorization @@ -2087,7 +2087,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantPackage** -> GetTenantPackageResponse_1 getTenantPackage(tenantId, id) +> GetTenantPackageResponse getTenantPackage(tenantId, id) @@ -2100,7 +2100,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantPackageResponse_1**](../Models/GetTenantPackageResponse_1.md) +[**GetTenantPackageResponse**](../Models/GetTenantPackageResponse.md) ### Authorization @@ -2113,7 +2113,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantPackages** -> GetTenantPackagesResponse_1 getTenantPackages(tenantId, skip) +> GetTenantPackagesResponse getTenantPackages(tenantId, skip) @@ -2126,7 +2126,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantPackagesResponse_1**](../Models/GetTenantPackagesResponse_1.md) +[**GetTenantPackagesResponse**](../Models/GetTenantPackagesResponse.md) ### Authorization @@ -2139,7 +2139,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantUser** -> GetTenantUserResponse_1 getTenantUser(tenantId, id) +> GetTenantUserResponse getTenantUser(tenantId, id) @@ -2152,7 +2152,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantUserResponse_1**](../Models/GetTenantUserResponse_1.md) +[**GetTenantUserResponse**](../Models/GetTenantUserResponse.md) ### Authorization @@ -2165,7 +2165,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenantUsers** -> GetTenantUsersResponse_1 getTenantUsers(tenantId, skip) +> GetTenantUsersResponse getTenantUsers(tenantId, skip) @@ -2178,7 +2178,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantUsersResponse_1**](../Models/GetTenantUsersResponse_1.md) +[**GetTenantUsersResponse**](../Models/GetTenantUsersResponse.md) ### Authorization @@ -2191,7 +2191,7 @@ All URIs are relative to *https://fastcomments.com* # **getTenants** -> GetTenantsResponse_1 getTenants(tenantId, meta, skip) +> GetTenantsResponse getTenants(tenantId, meta, skip) @@ -2205,7 +2205,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTenantsResponse_1**](../Models/GetTenantsResponse_1.md) +[**GetTenantsResponse**](../Models/GetTenantsResponse.md) ### Authorization @@ -2218,7 +2218,7 @@ All URIs are relative to *https://fastcomments.com* # **getTicket** -> GetTicketResponse_1 getTicket(tenantId, id, userId) +> GetTicketResponse getTicket(tenantId, id, userId) @@ -2232,7 +2232,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTicketResponse_1**](../Models/GetTicketResponse_1.md) +[**GetTicketResponse**](../Models/GetTicketResponse.md) ### Authorization @@ -2245,7 +2245,7 @@ All URIs are relative to *https://fastcomments.com* # **getTickets** -> GetTicketsResponse_1 getTickets(tenantId, userId, state, skip, limit) +> GetTicketsResponse getTickets(tenantId, userId, state, skip, limit) @@ -2261,7 +2261,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetTicketsResponse_1**](../Models/GetTicketsResponse_1.md) +[**GetTicketsResponse**](../Models/GetTicketsResponse.md) ### Authorization @@ -2274,7 +2274,7 @@ All URIs are relative to *https://fastcomments.com* # **getUser** -> GetUserResponse_1 getUser(tenantId, id) +> GetUserResponse getUser(tenantId, id) @@ -2287,7 +2287,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserResponse_1**](../Models/GetUserResponse_1.md) +[**GetUserResponse**](../Models/GetUserResponse.md) ### Authorization @@ -2300,7 +2300,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadge** -> GetUserBadgeResponse getUserBadge(tenantId, id) +> APIGetUserBadgeResponse getUserBadge(tenantId, id) @@ -2313,7 +2313,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserBadgeResponse**](../Models/GetUserBadgeResponse.md) +[**APIGetUserBadgeResponse**](../Models/APIGetUserBadgeResponse.md) ### Authorization @@ -2326,7 +2326,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressById** -> GetUserBadgeProgressByIdResponse getUserBadgeProgressById(tenantId, id) +> APIGetUserBadgeProgressResponse getUserBadgeProgressById(tenantId, id) @@ -2339,7 +2339,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserBadgeProgressByIdResponse**](../Models/GetUserBadgeProgressByIdResponse.md) +[**APIGetUserBadgeProgressResponse**](../Models/APIGetUserBadgeProgressResponse.md) ### Authorization @@ -2352,7 +2352,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressByUserId** -> GetUserBadgeProgressByUserIdResponse getUserBadgeProgressByUserId(tenantId, userId) +> APIGetUserBadgeProgressResponse getUserBadgeProgressByUserId(tenantId, userId) @@ -2365,7 +2365,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserBadgeProgressByUserIdResponse**](../Models/GetUserBadgeProgressByUserIdResponse.md) +[**APIGetUserBadgeProgressResponse**](../Models/APIGetUserBadgeProgressResponse.md) ### Authorization @@ -2378,7 +2378,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadgeProgressList** -> GetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId, userId, limit, skip) +> APIGetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId, userId, limit, skip) @@ -2393,7 +2393,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserBadgeProgressListResponse**](../Models/GetUserBadgeProgressListResponse.md) +[**APIGetUserBadgeProgressListResponse**](../Models/APIGetUserBadgeProgressListResponse.md) ### Authorization @@ -2406,7 +2406,7 @@ All URIs are relative to *https://fastcomments.com* # **getUserBadges** -> GetUserBadgesResponse getUserBadges(tenantId, userId, badgeId, type, displayedOnComments, limit, skip) +> APIGetUserBadgesResponse getUserBadges(tenantId, userId, badgeId, type, displayedOnComments, limit, skip) @@ -2424,7 +2424,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetUserBadgesResponse**](../Models/GetUserBadgesResponse.md) +[**APIGetUserBadgesResponse**](../Models/APIGetUserBadgesResponse.md) ### Authorization @@ -2437,7 +2437,7 @@ All URIs are relative to *https://fastcomments.com* # **getVotes** -> GetVotesResponse_1 getVotes(tenantId, urlId) +> GetVotesResponse getVotes(tenantId, urlId) @@ -2450,7 +2450,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetVotesResponse_1**](../Models/GetVotesResponse_1.md) +[**GetVotesResponse**](../Models/GetVotesResponse.md) ### Authorization @@ -2463,7 +2463,7 @@ All URIs are relative to *https://fastcomments.com* # **getVotesForUser** -> GetVotesForUserResponse_1 getVotesForUser(tenantId, urlId, userId, anonUserId) +> GetVotesForUserResponse getVotesForUser(tenantId, urlId, userId, anonUserId) @@ -2478,7 +2478,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**GetVotesForUserResponse_1**](../Models/GetVotesForUserResponse_1.md) +[**GetVotesForUserResponse**](../Models/GetVotesForUserResponse.md) ### Authorization @@ -2518,7 +2518,7 @@ All URIs are relative to *https://fastcomments.com* # **patchHashTag** -> PatchHashTagResponse patchHashTag(tag, tenantId, UpdateHashTagBody) +> UpdateHashTagResponse patchHashTag(tag, tenantId, UpdateHashTagBody) @@ -2532,7 +2532,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**PatchHashTagResponse**](../Models/PatchHashTagResponse.md) +[**UpdateHashTagResponse**](../Models/UpdateHashTagResponse.md) ### Authorization @@ -2655,7 +2655,7 @@ All URIs are relative to *https://fastcomments.com* # **renderEmailTemplate** -> RenderEmailTemplateResponse_1 renderEmailTemplate(tenantId, RenderEmailTemplateBody, locale) +> RenderEmailTemplateResponse renderEmailTemplate(tenantId, RenderEmailTemplateBody, locale) @@ -2669,7 +2669,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**RenderEmailTemplateResponse_1**](../Models/RenderEmailTemplateResponse_1.md) +[**RenderEmailTemplateResponse**](../Models/RenderEmailTemplateResponse.md) ### Authorization @@ -2682,7 +2682,7 @@ All URIs are relative to *https://fastcomments.com* # **replaceTenantPackage** -> ReplaceTenantPackageResponse replaceTenantPackage(tenantId, id, ReplaceTenantPackageBody) +> APIEmptyResponse replaceTenantPackage(tenantId, id, ReplaceTenantPackageBody) @@ -2696,7 +2696,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**ReplaceTenantPackageResponse**](../Models/ReplaceTenantPackageResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2709,7 +2709,7 @@ All URIs are relative to *https://fastcomments.com* # **replaceTenantUser** -> ReplaceTenantUserResponse replaceTenantUser(tenantId, id, ReplaceTenantUserBody, updateComments) +> APIEmptyResponse replaceTenantUser(tenantId, id, ReplaceTenantUserBody, updateComments) @@ -2724,7 +2724,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**ReplaceTenantUserResponse**](../Models/ReplaceTenantUserResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2737,7 +2737,7 @@ All URIs are relative to *https://fastcomments.com* # **saveComment** -> SaveCommentResponse saveComment(tenantId, CreateCommentParams, isLive, doSpamCheck, sendEmails, populateNotifications) +> APISaveCommentResponse saveComment(tenantId, CreateCommentParams, isLive, doSpamCheck, sendEmails, populateNotifications) @@ -2754,7 +2754,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**SaveCommentResponse**](../Models/SaveCommentResponse.md) +[**APISaveCommentResponse**](../Models/APISaveCommentResponse.md) ### Authorization @@ -2797,7 +2797,7 @@ All URIs are relative to *https://fastcomments.com* # **sendInvite** -> SendInviteResponse sendInvite(tenantId, id, fromName) +> APIEmptyResponse sendInvite(tenantId, id, fromName) @@ -2811,7 +2811,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**SendInviteResponse**](../Models/SendInviteResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2824,7 +2824,7 @@ All URIs are relative to *https://fastcomments.com* # **sendLoginLink** -> SendLoginLinkResponse sendLoginLink(tenantId, id, redirectURL) +> APIEmptyResponse sendLoginLink(tenantId, id, redirectURL) @@ -2838,7 +2838,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**SendLoginLinkResponse**](../Models/SendLoginLinkResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2851,7 +2851,7 @@ All URIs are relative to *https://fastcomments.com* # **unBlockUserFromComment** -> UnBlockUserFromCommentResponse unBlockUserFromComment(tenantId, id, UnBlockFromCommentParams, userId, anonUserId) +> UnblockSuccess unBlockUserFromComment(tenantId, id, UnBlockFromCommentParams, userId, anonUserId) @@ -2867,7 +2867,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UnBlockUserFromCommentResponse**](../Models/UnBlockUserFromCommentResponse.md) +[**UnblockSuccess**](../Models/UnblockSuccess.md) ### Authorization @@ -2880,7 +2880,7 @@ All URIs are relative to *https://fastcomments.com* # **unFlagComment** -> UnFlagCommentResponse unFlagComment(tenantId, id, userId, anonUserId) +> FlagCommentResponse unFlagComment(tenantId, id, userId, anonUserId) @@ -2895,7 +2895,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UnFlagCommentResponse**](../Models/UnFlagCommentResponse.md) +[**FlagCommentResponse**](../Models/FlagCommentResponse.md) ### Authorization @@ -2908,7 +2908,7 @@ All URIs are relative to *https://fastcomments.com* # **updateComment** -> UpdateCommentResponse updateComment(tenantId, id, UpdatableCommentParams, contextUserId, doSpamCheck, isLive) +> APIEmptyResponse updateComment(tenantId, id, UpdatableCommentParams, contextUserId, doSpamCheck, isLive) @@ -2925,7 +2925,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateCommentResponse**](../Models/UpdateCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2938,7 +2938,7 @@ All URIs are relative to *https://fastcomments.com* # **updateEmailTemplate** -> UpdateEmailTemplateResponse updateEmailTemplate(tenantId, id, UpdateEmailTemplateBody) +> APIEmptyResponse updateEmailTemplate(tenantId, id, UpdateEmailTemplateBody) @@ -2952,7 +2952,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateEmailTemplateResponse**](../Models/UpdateEmailTemplateResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2965,7 +2965,7 @@ All URIs are relative to *https://fastcomments.com* # **updateFeedPost** -> UpdateFeedPostResponse updateFeedPost(tenantId, id, FeedPost) +> APIEmptyResponse updateFeedPost(tenantId, id, FeedPost) @@ -2979,7 +2979,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateFeedPostResponse**](../Models/UpdateFeedPostResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -2992,7 +2992,7 @@ All URIs are relative to *https://fastcomments.com* # **updateModerator** -> UpdateModeratorResponse updateModerator(tenantId, id, UpdateModeratorBody) +> APIEmptyResponse updateModerator(tenantId, id, UpdateModeratorBody) @@ -3006,7 +3006,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateModeratorResponse**](../Models/UpdateModeratorResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3019,7 +3019,7 @@ All URIs are relative to *https://fastcomments.com* # **updateNotification** -> UpdateNotificationResponse updateNotification(tenantId, id, UpdateNotificationBody, userId) +> APIEmptyResponse updateNotification(tenantId, id, UpdateNotificationBody, userId) @@ -3034,7 +3034,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateNotificationResponse**](../Models/UpdateNotificationResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3047,7 +3047,7 @@ All URIs are relative to *https://fastcomments.com* # **updateQuestionConfig** -> UpdateQuestionConfigResponse updateQuestionConfig(tenantId, id, UpdateQuestionConfigBody) +> APIEmptyResponse updateQuestionConfig(tenantId, id, UpdateQuestionConfigBody) @@ -3061,7 +3061,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateQuestionConfigResponse**](../Models/UpdateQuestionConfigResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3074,7 +3074,7 @@ All URIs are relative to *https://fastcomments.com* # **updateQuestionResult** -> UpdateQuestionResultResponse updateQuestionResult(tenantId, id, UpdateQuestionResultBody) +> APIEmptyResponse updateQuestionResult(tenantId, id, UpdateQuestionResultBody) @@ -3088,7 +3088,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateQuestionResultResponse**](../Models/UpdateQuestionResultResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3129,7 +3129,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenant** -> UpdateTenantResponse updateTenant(tenantId, id, UpdateTenantBody) +> APIEmptyResponse updateTenant(tenantId, id, UpdateTenantBody) @@ -3143,7 +3143,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateTenantResponse**](../Models/UpdateTenantResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3156,7 +3156,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenantPackage** -> UpdateTenantPackageResponse updateTenantPackage(tenantId, id, UpdateTenantPackageBody) +> APIEmptyResponse updateTenantPackage(tenantId, id, UpdateTenantPackageBody) @@ -3170,7 +3170,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateTenantPackageResponse**](../Models/UpdateTenantPackageResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3183,7 +3183,7 @@ All URIs are relative to *https://fastcomments.com* # **updateTenantUser** -> UpdateTenantUserResponse updateTenantUser(tenantId, id, UpdateTenantUserBody, updateComments) +> APIEmptyResponse updateTenantUser(tenantId, id, UpdateTenantUserBody, updateComments) @@ -3198,7 +3198,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateTenantUserResponse**](../Models/UpdateTenantUserResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -3211,7 +3211,7 @@ All URIs are relative to *https://fastcomments.com* # **updateUserBadge** -> UpdateUserBadgeResponse updateUserBadge(tenantId, id, UpdateUserBadgeParams) +> APIEmptySuccessResponse updateUserBadge(tenantId, id, UpdateUserBadgeParams) @@ -3225,7 +3225,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**UpdateUserBadgeResponse**](../Models/UpdateUserBadgeResponse.md) +[**APIEmptySuccessResponse**](../Models/APIEmptySuccessResponse.md) ### Authorization diff --git a/docs/Apis/ModerationApi.md b/docs/Apis/ModerationApi.md index 7e7dbf8..9c47205 100644 --- a/docs/Apis/ModerationApi.md +++ b/docs/Apis/ModerationApi.md @@ -51,7 +51,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteModerationVote** -> DeleteModerationVoteResponse deleteModerationVote(commentId, voteId, broadcastId, tenantId, sso) +> VoteDeleteResponse deleteModerationVote(commentId, voteId, broadcastId, tenantId, sso) @@ -67,7 +67,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**DeleteModerationVoteResponse**](../Models/DeleteModerationVoteResponse.md) +[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) ### Authorization @@ -80,7 +80,7 @@ No authorization required # **getApiComments** -> GetApiCommentsResponse getApiComments(page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, tenantId, sso) +> ModerationAPIGetCommentsResponse getApiComments(page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, tenantId, sso) @@ -101,7 +101,7 @@ No authorization required ### Return type -[**GetApiCommentsResponse**](../Models/GetApiCommentsResponse.md) +[**ModerationAPIGetCommentsResponse**](../Models/ModerationAPIGetCommentsResponse.md) ### Authorization @@ -114,7 +114,7 @@ No authorization required # **getApiExportStatus** -> GetApiExportStatusResponse getApiExportStatus(batchJobId, tenantId, sso) +> ModerationExportStatusResponse getApiExportStatus(batchJobId, tenantId, sso) @@ -128,7 +128,7 @@ No authorization required ### Return type -[**GetApiExportStatusResponse**](../Models/GetApiExportStatusResponse.md) +[**ModerationExportStatusResponse**](../Models/ModerationExportStatusResponse.md) ### Authorization @@ -141,7 +141,7 @@ No authorization required # **getApiIds** -> GetApiIdsResponse getApiIds(text-search, byIPFromComment, filters, searchFilters, afterId, demo, tenantId, sso) +> ModerationAPIGetCommentIdsResponse getApiIds(text-search, byIPFromComment, filters, searchFilters, afterId, demo, tenantId, sso) @@ -160,7 +160,7 @@ No authorization required ### Return type -[**GetApiIdsResponse**](../Models/GetApiIdsResponse.md) +[**ModerationAPIGetCommentIdsResponse**](../Models/ModerationAPIGetCommentIdsResponse.md) ### Authorization @@ -173,7 +173,7 @@ No authorization required # **getBanUsersFromComment** -> GetBanUsersFromCommentResponse getBanUsersFromComment(commentId, tenantId, sso) +> GetBannedUsersFromCommentResponse getBanUsersFromComment(commentId, tenantId, sso) @@ -187,7 +187,7 @@ No authorization required ### Return type -[**GetBanUsersFromCommentResponse**](../Models/GetBanUsersFromCommentResponse.md) +[**GetBannedUsersFromCommentResponse**](../Models/GetBannedUsersFromCommentResponse.md) ### Authorization @@ -200,7 +200,7 @@ No authorization required # **getCommentBanStatus** -> GetCommentBanStatusResponse_1 getCommentBanStatus(commentId, tenantId, sso) +> GetCommentBanStatusResponse getCommentBanStatus(commentId, tenantId, sso) @@ -214,7 +214,7 @@ No authorization required ### Return type -[**GetCommentBanStatusResponse_1**](../Models/GetCommentBanStatusResponse_1.md) +[**GetCommentBanStatusResponse**](../Models/GetCommentBanStatusResponse.md) ### Authorization @@ -227,7 +227,7 @@ No authorization required # **getCommentChildren** -> GetCommentChildrenResponse getCommentChildren(commentId, tenantId, sso) +> ModerationAPIChildCommentsResponse getCommentChildren(commentId, tenantId, sso) @@ -241,7 +241,7 @@ No authorization required ### Return type -[**GetCommentChildrenResponse**](../Models/GetCommentChildrenResponse.md) +[**ModerationAPIChildCommentsResponse**](../Models/ModerationAPIChildCommentsResponse.md) ### Authorization @@ -254,7 +254,7 @@ No authorization required # **getCount** -> GetCountResponse getCount(text-search, byIPFromComment, filter, searchFilters, demo, tenantId, sso) +> ModerationAPICountCommentsResponse getCount(text-search, byIPFromComment, filter, searchFilters, demo, tenantId, sso) @@ -272,7 +272,7 @@ No authorization required ### Return type -[**GetCountResponse**](../Models/GetCountResponse.md) +[**ModerationAPICountCommentsResponse**](../Models/ModerationAPICountCommentsResponse.md) ### Authorization @@ -285,7 +285,7 @@ No authorization required # **getCounts** -> GetCountsResponse getCounts(tenantId, sso) +> GetBannedUsersCountResponse getCounts(tenantId, sso) @@ -298,7 +298,7 @@ No authorization required ### Return type -[**GetCountsResponse**](../Models/GetCountsResponse.md) +[**GetBannedUsersCountResponse**](../Models/GetBannedUsersCountResponse.md) ### Authorization @@ -311,7 +311,7 @@ No authorization required # **getLogs** -> GetLogsResponse getLogs(commentId, tenantId, sso) +> ModerationAPIGetLogsResponse getLogs(commentId, tenantId, sso) @@ -325,7 +325,7 @@ No authorization required ### Return type -[**GetLogsResponse**](../Models/GetLogsResponse.md) +[**ModerationAPIGetLogsResponse**](../Models/ModerationAPIGetLogsResponse.md) ### Authorization @@ -338,7 +338,7 @@ No authorization required # **getManualBadges** -> GetManualBadgesResponse getManualBadges(tenantId, sso) +> GetTenantManualBadgesResponse getManualBadges(tenantId, sso) @@ -351,7 +351,7 @@ No authorization required ### Return type -[**GetManualBadgesResponse**](../Models/GetManualBadgesResponse.md) +[**GetTenantManualBadgesResponse**](../Models/GetTenantManualBadgesResponse.md) ### Authorization @@ -364,7 +364,7 @@ No authorization required # **getManualBadgesForUser** -> GetManualBadgesForUserResponse getManualBadgesForUser(badgesUserId, commentId, tenantId, sso) +> GetUserManualBadgesResponse getManualBadgesForUser(badgesUserId, commentId, tenantId, sso) @@ -379,7 +379,7 @@ No authorization required ### Return type -[**GetManualBadgesForUserResponse**](../Models/GetManualBadgesForUserResponse.md) +[**GetUserManualBadgesResponse**](../Models/GetUserManualBadgesResponse.md) ### Authorization @@ -392,7 +392,7 @@ No authorization required # **getModerationComment** -> GetModerationCommentResponse getModerationComment(commentId, includeEmail, includeIP, tenantId, sso) +> ModerationAPICommentResponse getModerationComment(commentId, includeEmail, includeIP, tenantId, sso) @@ -408,7 +408,7 @@ No authorization required ### Return type -[**GetModerationCommentResponse**](../Models/GetModerationCommentResponse.md) +[**ModerationAPICommentResponse**](../Models/ModerationAPICommentResponse.md) ### Authorization @@ -421,7 +421,7 @@ No authorization required # **getModerationCommentText** -> GetModerationCommentTextResponse getModerationCommentText(commentId, tenantId, sso) +> GetCommentTextResponse getModerationCommentText(commentId, tenantId, sso) @@ -435,7 +435,7 @@ No authorization required ### Return type -[**GetModerationCommentTextResponse**](../Models/GetModerationCommentTextResponse.md) +[**GetCommentTextResponse**](../Models/GetCommentTextResponse.md) ### Authorization @@ -448,7 +448,7 @@ No authorization required # **getPreBanSummary** -> GetPreBanSummaryResponse getPreBanSummary(commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) +> PreBanSummary getPreBanSummary(commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) @@ -465,7 +465,7 @@ No authorization required ### Return type -[**GetPreBanSummaryResponse**](../Models/GetPreBanSummaryResponse.md) +[**PreBanSummary**](../Models/PreBanSummary.md) ### Authorization @@ -478,7 +478,7 @@ No authorization required # **getSearchCommentsSummary** -> GetSearchCommentsSummaryResponse getSearchCommentsSummary(value, filters, searchFilters, tenantId, sso) +> ModerationCommentSearchResponse getSearchCommentsSummary(value, filters, searchFilters, tenantId, sso) @@ -494,7 +494,7 @@ No authorization required ### Return type -[**GetSearchCommentsSummaryResponse**](../Models/GetSearchCommentsSummaryResponse.md) +[**ModerationCommentSearchResponse**](../Models/ModerationCommentSearchResponse.md) ### Authorization @@ -507,7 +507,7 @@ No authorization required # **getSearchPages** -> GetSearchPagesResponse getSearchPages(value, tenantId, sso) +> ModerationPageSearchResponse getSearchPages(value, tenantId, sso) @@ -521,7 +521,7 @@ No authorization required ### Return type -[**GetSearchPagesResponse**](../Models/GetSearchPagesResponse.md) +[**ModerationPageSearchResponse**](../Models/ModerationPageSearchResponse.md) ### Authorization @@ -534,7 +534,7 @@ No authorization required # **getSearchSites** -> GetSearchSitesResponse getSearchSites(value, tenantId, sso) +> ModerationSiteSearchResponse getSearchSites(value, tenantId, sso) @@ -548,7 +548,7 @@ No authorization required ### Return type -[**GetSearchSitesResponse**](../Models/GetSearchSitesResponse.md) +[**ModerationSiteSearchResponse**](../Models/ModerationSiteSearchResponse.md) ### Authorization @@ -561,7 +561,7 @@ No authorization required # **getSearchSuggest** -> GetSearchSuggestResponse getSearchSuggest(text-search, tenantId, sso) +> ModerationSuggestResponse getSearchSuggest(text-search, tenantId, sso) @@ -575,7 +575,7 @@ No authorization required ### Return type -[**GetSearchSuggestResponse**](../Models/GetSearchSuggestResponse.md) +[**ModerationSuggestResponse**](../Models/ModerationSuggestResponse.md) ### Authorization @@ -588,7 +588,7 @@ No authorization required # **getSearchUsers** -> GetSearchUsersResponse getSearchUsers(value, tenantId, sso) +> ModerationUserSearchResponse getSearchUsers(value, tenantId, sso) @@ -602,7 +602,7 @@ No authorization required ### Return type -[**GetSearchUsersResponse**](../Models/GetSearchUsersResponse.md) +[**ModerationUserSearchResponse**](../Models/ModerationUserSearchResponse.md) ### Authorization @@ -615,7 +615,7 @@ No authorization required # **getTrustFactor** -> GetTrustFactorResponse getTrustFactor(userId, tenantId, sso) +> GetUserTrustFactorResponse getTrustFactor(userId, tenantId, sso) @@ -629,7 +629,7 @@ No authorization required ### Return type -[**GetTrustFactorResponse**](../Models/GetTrustFactorResponse.md) +[**GetUserTrustFactorResponse**](../Models/GetUserTrustFactorResponse.md) ### Authorization @@ -642,7 +642,7 @@ No authorization required # **getUserBanPreference** -> GetUserBanPreferenceResponse getUserBanPreference(tenantId, sso) +> APIModerateGetUserBanPreferencesResponse getUserBanPreference(tenantId, sso) @@ -655,7 +655,7 @@ No authorization required ### Return type -[**GetUserBanPreferenceResponse**](../Models/GetUserBanPreferenceResponse.md) +[**APIModerateGetUserBanPreferencesResponse**](../Models/APIModerateGetUserBanPreferencesResponse.md) ### Authorization @@ -668,7 +668,7 @@ No authorization required # **getUserInternalProfile** -> GetUserInternalProfileResponse_1 getUserInternalProfile(commentId, tenantId, sso) +> GetUserInternalProfileResponse getUserInternalProfile(commentId, tenantId, sso) @@ -682,7 +682,7 @@ No authorization required ### Return type -[**GetUserInternalProfileResponse_1**](../Models/GetUserInternalProfileResponse_1.md) +[**GetUserInternalProfileResponse**](../Models/GetUserInternalProfileResponse.md) ### Authorization @@ -695,7 +695,7 @@ No authorization required # **postAdjustCommentVotes** -> PostAdjustCommentVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, broadcastId, tenantId, sso) +> AdjustVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, broadcastId, tenantId, sso) @@ -711,7 +711,7 @@ No authorization required ### Return type -[**PostAdjustCommentVotesResponse**](../Models/PostAdjustCommentVotesResponse.md) +[**AdjustVotesResponse**](../Models/AdjustVotesResponse.md) ### Authorization @@ -724,7 +724,7 @@ No authorization required # **postApiExport** -> PostApiExportResponse postApiExport(text-search, byIPFromComment, filters, searchFilters, sorts, tenantId, sso) +> ModerationExportResponse postApiExport(text-search, byIPFromComment, filters, searchFilters, sorts, tenantId, sso) @@ -742,7 +742,7 @@ No authorization required ### Return type -[**PostApiExportResponse**](../Models/PostApiExportResponse.md) +[**ModerationExportResponse**](../Models/ModerationExportResponse.md) ### Authorization @@ -755,7 +755,7 @@ No authorization required # **postBanUserFromComment** -> PostBanUserFromCommentResponse postBanUserFromComment(commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, tenantId, sso) +> BanUserFromCommentResult postBanUserFromComment(commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, tenantId, sso) @@ -777,7 +777,7 @@ No authorization required ### Return type -[**PostBanUserFromCommentResponse**](../Models/PostBanUserFromCommentResponse.md) +[**BanUserFromCommentResult**](../Models/BanUserFromCommentResult.md) ### Authorization @@ -790,7 +790,7 @@ No authorization required # **postBanUserUndo** -> PostBanUserUndoResponse postBanUserUndo(BanUserUndoParams, tenantId, sso) +> APIEmptyResponse postBanUserUndo(BanUserUndoParams, tenantId, sso) @@ -804,7 +804,7 @@ No authorization required ### Return type -[**PostBanUserUndoResponse**](../Models/PostBanUserUndoResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -817,7 +817,7 @@ No authorization required # **postBulkPreBanSummary** -> PostBulkPreBanSummaryResponse postBulkPreBanSummary(BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) +> BulkPreBanSummary postBulkPreBanSummary(BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) @@ -834,7 +834,7 @@ No authorization required ### Return type -[**PostBulkPreBanSummaryResponse**](../Models/PostBulkPreBanSummaryResponse.md) +[**BulkPreBanSummary**](../Models/BulkPreBanSummary.md) ### Authorization @@ -847,7 +847,7 @@ No authorization required # **postCommentsByIds** -> PostCommentsByIdsResponse postCommentsByIds(CommentsByIdsParams, tenantId, sso) +> ModerationAPIChildCommentsResponse postCommentsByIds(CommentsByIdsParams, tenantId, sso) @@ -861,7 +861,7 @@ No authorization required ### Return type -[**PostCommentsByIdsResponse**](../Models/PostCommentsByIdsResponse.md) +[**ModerationAPIChildCommentsResponse**](../Models/ModerationAPIChildCommentsResponse.md) ### Authorization @@ -874,7 +874,7 @@ No authorization required # **postFlagComment** -> PostFlagCommentResponse postFlagComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postFlagComment(commentId, broadcastId, tenantId, sso) @@ -889,7 +889,7 @@ No authorization required ### Return type -[**PostFlagCommentResponse**](../Models/PostFlagCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -930,7 +930,7 @@ No authorization required # **postRestoreDeletedComment** -> PostRestoreDeletedCommentResponse postRestoreDeletedComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postRestoreDeletedComment(commentId, broadcastId, tenantId, sso) @@ -945,7 +945,7 @@ No authorization required ### Return type -[**PostRestoreDeletedCommentResponse**](../Models/PostRestoreDeletedCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -958,7 +958,7 @@ No authorization required # **postSetCommentApprovalStatus** -> PostSetCommentApprovalStatusResponse postSetCommentApprovalStatus(commentId, approved, broadcastId, tenantId, sso) +> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId, approved, broadcastId, tenantId, sso) @@ -974,7 +974,7 @@ No authorization required ### Return type -[**PostSetCommentApprovalStatusResponse**](../Models/PostSetCommentApprovalStatusResponse.md) +[**SetCommentApprovedResponse**](../Models/SetCommentApprovedResponse.md) ### Authorization @@ -987,7 +987,7 @@ No authorization required # **postSetCommentReviewStatus** -> PostSetCommentReviewStatusResponse postSetCommentReviewStatus(commentId, reviewed, broadcastId, tenantId, sso) +> APIEmptyResponse postSetCommentReviewStatus(commentId, reviewed, broadcastId, tenantId, sso) @@ -1003,7 +1003,7 @@ No authorization required ### Return type -[**PostSetCommentReviewStatusResponse**](../Models/PostSetCommentReviewStatusResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1016,7 +1016,7 @@ No authorization required # **postSetCommentSpamStatus** -> PostSetCommentSpamStatusResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, broadcastId, tenantId, sso) +> APIEmptyResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, broadcastId, tenantId, sso) @@ -1033,7 +1033,7 @@ No authorization required ### Return type -[**PostSetCommentSpamStatusResponse**](../Models/PostSetCommentSpamStatusResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1046,7 +1046,7 @@ No authorization required # **postSetCommentText** -> PostSetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, broadcastId, tenantId, sso) +> SetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, broadcastId, tenantId, sso) @@ -1062,7 +1062,7 @@ No authorization required ### Return type -[**PostSetCommentTextResponse**](../Models/PostSetCommentTextResponse.md) +[**SetCommentTextResponse**](../Models/SetCommentTextResponse.md) ### Authorization @@ -1075,7 +1075,7 @@ No authorization required # **postUnFlagComment** -> PostUnFlagCommentResponse postUnFlagComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postUnFlagComment(commentId, broadcastId, tenantId, sso) @@ -1090,7 +1090,7 @@ No authorization required ### Return type -[**PostUnFlagCommentResponse**](../Models/PostUnFlagCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1103,7 +1103,7 @@ No authorization required # **postVote** -> PostVoteResponse postVote(commentId, direction, broadcastId, tenantId, sso) +> VoteResponse postVote(commentId, direction, broadcastId, tenantId, sso) @@ -1119,7 +1119,7 @@ No authorization required ### Return type -[**PostVoteResponse**](../Models/PostVoteResponse.md) +[**VoteResponse**](../Models/VoteResponse.md) ### Authorization @@ -1132,7 +1132,7 @@ No authorization required # **putAwardBadge** -> PutAwardBadgeResponse putAwardBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) +> AwardUserBadgeResponse putAwardBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) @@ -1149,7 +1149,7 @@ No authorization required ### Return type -[**PutAwardBadgeResponse**](../Models/PutAwardBadgeResponse.md) +[**AwardUserBadgeResponse**](../Models/AwardUserBadgeResponse.md) ### Authorization @@ -1162,7 +1162,7 @@ No authorization required # **putCloseThread** -> PutCloseThreadResponse putCloseThread(urlId, tenantId, sso) +> APIEmptyResponse putCloseThread(urlId, tenantId, sso) @@ -1176,7 +1176,7 @@ No authorization required ### Return type -[**PutCloseThreadResponse**](../Models/PutCloseThreadResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1189,7 +1189,7 @@ No authorization required # **putRemoveBadge** -> PutRemoveBadgeResponse putRemoveBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) +> RemoveUserBadgeResponse putRemoveBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) @@ -1206,7 +1206,7 @@ No authorization required ### Return type -[**PutRemoveBadgeResponse**](../Models/PutRemoveBadgeResponse.md) +[**RemoveUserBadgeResponse**](../Models/RemoveUserBadgeResponse.md) ### Authorization @@ -1219,7 +1219,7 @@ No authorization required # **putReopenThread** -> PutReopenThreadResponse putReopenThread(urlId, tenantId, sso) +> APIEmptyResponse putReopenThread(urlId, tenantId, sso) @@ -1233,7 +1233,7 @@ No authorization required ### Return type -[**PutReopenThreadResponse**](../Models/PutReopenThreadResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1246,7 +1246,7 @@ No authorization required # **setTrustFactor** -> SetTrustFactorResponse setTrustFactor(userId, trustFactor, tenantId, sso) +> SetUserTrustFactorResponse setTrustFactor(userId, trustFactor, tenantId, sso) @@ -1261,7 +1261,7 @@ No authorization required ### Return type -[**SetTrustFactorResponse**](../Models/SetTrustFactorResponse.md) +[**SetUserTrustFactorResponse**](../Models/SetUserTrustFactorResponse.md) ### Authorization diff --git a/docs/Apis/PublicApi.md b/docs/Apis/PublicApi.md index aa46b50..9b2dc5e 100644 --- a/docs/Apis/PublicApi.md +++ b/docs/Apis/PublicApi.md @@ -60,7 +60,7 @@ All URIs are relative to *https://fastcomments.com* # **blockFromCommentPublic** -> BlockFromCommentPublicResponse blockFromCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) +> BlockSuccess blockFromCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) @@ -75,7 +75,7 @@ All URIs are relative to *https://fastcomments.com* ### Return type -[**BlockFromCommentPublicResponse**](../Models/BlockFromCommentPublicResponse.md) +[**BlockSuccess**](../Models/BlockSuccess.md) ### Authorization @@ -88,7 +88,7 @@ No authorization required # **checkedCommentsForBlocked** -> CheckedCommentsForBlockedResponse checkedCommentsForBlocked(tenantId, commentIds, sso) +> CheckBlockedCommentsResponse checkedCommentsForBlocked(tenantId, commentIds, sso) @@ -102,7 +102,7 @@ No authorization required ### Return type -[**CheckedCommentsForBlockedResponse**](../Models/CheckedCommentsForBlockedResponse.md) +[**CheckBlockedCommentsResponse**](../Models/CheckBlockedCommentsResponse.md) ### Authorization @@ -115,7 +115,7 @@ No authorization required # **createCommentPublic** -> CreateCommentPublicResponse createCommentPublic(tenantId, urlId, broadcastId, CommentData, sessionId, sso) +> SaveCommentsResponseWithPresence createCommentPublic(tenantId, urlId, broadcastId, CommentData, sessionId, sso) @@ -132,7 +132,7 @@ No authorization required ### Return type -[**CreateCommentPublicResponse**](../Models/CreateCommentPublicResponse.md) +[**SaveCommentsResponseWithPresence**](../Models/SaveCommentsResponseWithPresence.md) ### Authorization @@ -145,7 +145,7 @@ No authorization required # **createFeedPostPublic** -> CreateFeedPostPublicResponse createFeedPostPublic(tenantId, CreateFeedPostParams, broadcastId, sso) +> CreateFeedPostResponse createFeedPostPublic(tenantId, CreateFeedPostParams, broadcastId, sso) @@ -160,7 +160,7 @@ No authorization required ### Return type -[**CreateFeedPostPublicResponse**](../Models/CreateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](../Models/CreateFeedPostResponse.md) ### Authorization @@ -173,7 +173,7 @@ No authorization required # **createV1PageReact** -> CreateV1PageReactResponse createV1PageReact(tenantId, urlId, title) +> CreateV1PageReact createV1PageReact(tenantId, urlId, title) @@ -187,7 +187,7 @@ No authorization required ### Return type -[**CreateV1PageReactResponse**](../Models/CreateV1PageReactResponse.md) +[**CreateV1PageReact**](../Models/CreateV1PageReact.md) ### Authorization @@ -200,7 +200,7 @@ No authorization required # **createV2PageReact** -> CreateV2PageReactResponse createV2PageReact(tenantId, urlId, id, title) +> CreateV1PageReact createV2PageReact(tenantId, urlId, id, title) @@ -215,7 +215,7 @@ No authorization required ### Return type -[**CreateV2PageReactResponse**](../Models/CreateV2PageReactResponse.md) +[**CreateV1PageReact**](../Models/CreateV1PageReact.md) ### Authorization @@ -228,7 +228,7 @@ No authorization required # **deleteCommentPublic** -> DeleteCommentPublicResponse deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso) +> PublicAPIDeleteCommentResponse deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso) @@ -244,7 +244,7 @@ No authorization required ### Return type -[**DeleteCommentPublicResponse**](../Models/DeleteCommentPublicResponse.md) +[**PublicAPIDeleteCommentResponse**](../Models/PublicAPIDeleteCommentResponse.md) ### Authorization @@ -257,7 +257,7 @@ No authorization required # **deleteCommentVote** -> DeleteCommentVoteResponse deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso) +> VoteDeleteResponse deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso) @@ -275,7 +275,7 @@ No authorization required ### Return type -[**DeleteCommentVoteResponse**](../Models/DeleteCommentVoteResponse.md) +[**VoteDeleteResponse**](../Models/VoteDeleteResponse.md) ### Authorization @@ -316,7 +316,7 @@ No authorization required # **deleteV1PageReact** -> DeleteV1PageReactResponse deleteV1PageReact(tenantId, urlId) +> CreateV1PageReact deleteV1PageReact(tenantId, urlId) @@ -329,7 +329,7 @@ No authorization required ### Return type -[**DeleteV1PageReactResponse**](../Models/DeleteV1PageReactResponse.md) +[**CreateV1PageReact**](../Models/CreateV1PageReact.md) ### Authorization @@ -342,7 +342,7 @@ No authorization required # **deleteV2PageReact** -> DeleteV2PageReactResponse deleteV2PageReact(tenantId, urlId, id) +> CreateV1PageReact deleteV2PageReact(tenantId, urlId, id) @@ -356,7 +356,7 @@ No authorization required ### Return type -[**DeleteV2PageReactResponse**](../Models/DeleteV2PageReactResponse.md) +[**CreateV1PageReact**](../Models/CreateV1PageReact.md) ### Authorization @@ -369,7 +369,7 @@ No authorization required # **flagCommentPublic** -> FlagCommentPublicResponse flagCommentPublic(tenantId, commentId, isFlagged, sso) +> APIEmptyResponse flagCommentPublic(tenantId, commentId, isFlagged, sso) @@ -384,7 +384,7 @@ No authorization required ### Return type -[**FlagCommentPublicResponse**](../Models/FlagCommentPublicResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -397,7 +397,7 @@ No authorization required # **getCommentText** -> GetCommentTextResponse_1 getCommentText(tenantId, commentId, editKey, sso) +> PublicAPIGetCommentTextResponse getCommentText(tenantId, commentId, editKey, sso) @@ -412,7 +412,7 @@ No authorization required ### Return type -[**GetCommentTextResponse_1**](../Models/GetCommentTextResponse_1.md) +[**PublicAPIGetCommentTextResponse**](../Models/PublicAPIGetCommentTextResponse.md) ### Authorization @@ -425,7 +425,7 @@ No authorization required # **getCommentVoteUserNames** -> GetCommentVoteUserNamesResponse getCommentVoteUserNames(tenantId, commentId, dir, sso) +> GetCommentVoteUserNamesSuccessResponse getCommentVoteUserNames(tenantId, commentId, dir, sso) @@ -440,7 +440,7 @@ No authorization required ### Return type -[**GetCommentVoteUserNamesResponse**](../Models/GetCommentVoteUserNamesResponse.md) +[**GetCommentVoteUserNamesSuccessResponse**](../Models/GetCommentVoteUserNamesSuccessResponse.md) ### Authorization @@ -453,7 +453,7 @@ No authorization required # **getCommentsForUser** -> GetCommentsForUserResponse_1 getCommentsForUser(userId, direction, repliesToUserId, page, includei10n, locale, isCrawler) +> GetCommentsForUserResponse getCommentsForUser(userId, direction, repliesToUserId, page, includei10n, locale, isCrawler) @@ -471,7 +471,7 @@ No authorization required ### Return type -[**GetCommentsForUserResponse_1**](../Models/GetCommentsForUserResponse_1.md) +[**GetCommentsForUserResponse**](../Models/GetCommentsForUserResponse.md) ### Authorization @@ -484,7 +484,7 @@ No authorization required # **getCommentsPublic** -> GetCommentsPublicResponse getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId) +> GetCommentsResponseWithPresence_PublicComment_ getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId) @@ -525,7 +525,7 @@ No authorization required ### Return type -[**GetCommentsPublicResponse**](../Models/GetCommentsPublicResponse.md) +[**GetCommentsResponseWithPresence_PublicComment_**](../Models/GetCommentsResponseWithPresence_PublicComment_.md) ### Authorization @@ -538,7 +538,7 @@ No authorization required # **getEventLog** -> GetEventLogResponse_1 getEventLog(tenantId, urlId, userIdWS, startTime, endTime) +> GetEventLogResponse getEventLog(tenantId, urlId, userIdWS, startTime, endTime) @@ -556,7 +556,7 @@ No authorization required ### Return type -[**GetEventLogResponse_1**](../Models/GetEventLogResponse_1.md) +[**GetEventLogResponse**](../Models/GetEventLogResponse.md) ### Authorization @@ -569,7 +569,7 @@ No authorization required # **getFeedPostsPublic** -> GetFeedPostsPublicResponse getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo) +> PublicFeedPostsResponse getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo) @@ -589,7 +589,7 @@ No authorization required ### Return type -[**GetFeedPostsPublicResponse**](../Models/GetFeedPostsPublicResponse.md) +[**PublicFeedPostsResponse**](../Models/PublicFeedPostsResponse.md) ### Authorization @@ -602,7 +602,7 @@ No authorization required # **getFeedPostsStats** -> GetFeedPostsStatsResponse getFeedPostsStats(tenantId, postIds, sso) +> FeedPostsStatsResponse getFeedPostsStats(tenantId, postIds, sso) @@ -616,7 +616,7 @@ No authorization required ### Return type -[**GetFeedPostsStatsResponse**](../Models/GetFeedPostsStatsResponse.md) +[**FeedPostsStatsResponse**](../Models/FeedPostsStatsResponse.md) ### Authorization @@ -629,7 +629,7 @@ No authorization required # **getGifLarge** -> GetGifLargeResponse getGifLarge(tenantId, largeInternalURLSanitized) +> GifGetLargeResponse getGifLarge(tenantId, largeInternalURLSanitized) @@ -642,7 +642,7 @@ No authorization required ### Return type -[**GetGifLargeResponse**](../Models/GetGifLargeResponse.md) +[**GifGetLargeResponse**](../Models/GifGetLargeResponse.md) ### Authorization @@ -712,7 +712,7 @@ No authorization required # **getGlobalEventLog** -> GetGlobalEventLogResponse getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime) +> GetEventLogResponse getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime) @@ -730,7 +730,7 @@ No authorization required ### Return type -[**GetGlobalEventLogResponse**](../Models/GetGlobalEventLogResponse.md) +[**GetEventLogResponse**](../Models/GetEventLogResponse.md) ### Authorization @@ -743,7 +743,7 @@ No authorization required # **getOfflineUsers** -> GetOfflineUsersResponse getOfflineUsers(tenantId, urlId, afterName, afterUserId) +> PageUsersOfflineResponse getOfflineUsers(tenantId, urlId, afterName, afterUserId) @@ -760,7 +760,7 @@ No authorization required ### Return type -[**GetOfflineUsersResponse**](../Models/GetOfflineUsersResponse.md) +[**PageUsersOfflineResponse**](../Models/PageUsersOfflineResponse.md) ### Authorization @@ -773,7 +773,7 @@ No authorization required # **getOnlineUsers** -> GetOnlineUsersResponse getOnlineUsers(tenantId, urlId, afterName, afterUserId) +> PageUsersOnlineResponse getOnlineUsers(tenantId, urlId, afterName, afterUserId) @@ -790,7 +790,7 @@ No authorization required ### Return type -[**GetOnlineUsersResponse**](../Models/GetOnlineUsersResponse.md) +[**PageUsersOnlineResponse**](../Models/PageUsersOnlineResponse.md) ### Authorization @@ -803,7 +803,7 @@ No authorization required # **getPagesPublic** -> GetPagesPublicResponse getPagesPublic(tenantId, cursor, limit, q, sortBy, hasComments) +> GetPublicPagesResponse getPagesPublic(tenantId, cursor, limit, q, sortBy, hasComments) @@ -822,7 +822,7 @@ No authorization required ### Return type -[**GetPagesPublicResponse**](../Models/GetPagesPublicResponse.md) +[**GetPublicPagesResponse**](../Models/GetPublicPagesResponse.md) ### Authorization @@ -835,7 +835,7 @@ No authorization required # **getTranslations** -> GetTranslationsResponse_1 getTranslations(namespace, component, locale, useFullTranslationIds) +> GetTranslationsResponse getTranslations(namespace, component, locale, useFullTranslationIds) @@ -850,7 +850,7 @@ No authorization required ### Return type -[**GetTranslationsResponse_1**](../Models/GetTranslationsResponse_1.md) +[**GetTranslationsResponse**](../Models/GetTranslationsResponse.md) ### Authorization @@ -863,7 +863,7 @@ No authorization required # **getUserNotificationCount** -> GetUserNotificationCountResponse_1 getUserNotificationCount(tenantId, sso) +> GetUserNotificationCountResponse getUserNotificationCount(tenantId, sso) @@ -876,7 +876,7 @@ No authorization required ### Return type -[**GetUserNotificationCountResponse_1**](../Models/GetUserNotificationCountResponse_1.md) +[**GetUserNotificationCountResponse**](../Models/GetUserNotificationCountResponse.md) ### Authorization @@ -889,7 +889,7 @@ No authorization required # **getUserNotifications** -> GetUserNotificationsResponse getUserNotifications(tenantId, urlId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, includeTenantNotifications, sso) +> GetMyNotificationsResponse getUserNotifications(tenantId, urlId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, includeTenantNotifications, sso) @@ -912,7 +912,7 @@ No authorization required ### Return type -[**GetUserNotificationsResponse**](../Models/GetUserNotificationsResponse.md) +[**GetMyNotificationsResponse**](../Models/GetMyNotificationsResponse.md) ### Authorization @@ -925,7 +925,7 @@ No authorization required # **getUserPresenceStatuses** -> GetUserPresenceStatusesResponse_1 getUserPresenceStatuses(tenantId, urlIdWS, userIds) +> GetUserPresenceStatusesResponse getUserPresenceStatuses(tenantId, urlIdWS, userIds) @@ -939,7 +939,7 @@ No authorization required ### Return type -[**GetUserPresenceStatusesResponse_1**](../Models/GetUserPresenceStatusesResponse_1.md) +[**GetUserPresenceStatusesResponse**](../Models/GetUserPresenceStatusesResponse.md) ### Authorization @@ -952,7 +952,7 @@ No authorization required # **getUserReactsPublic** -> GetUserReactsPublicResponse getUserReactsPublic(tenantId, postIds, sso) +> UserReactsResponse getUserReactsPublic(tenantId, postIds, sso) @@ -966,7 +966,7 @@ No authorization required ### Return type -[**GetUserReactsPublicResponse**](../Models/GetUserReactsPublicResponse.md) +[**UserReactsResponse**](../Models/UserReactsResponse.md) ### Authorization @@ -979,7 +979,7 @@ No authorization required # **getUsersInfo** -> GetUsersInfoResponse getUsersInfo(tenantId, ids) +> PageUsersInfoResponse getUsersInfo(tenantId, ids) @@ -994,7 +994,7 @@ No authorization required ### Return type -[**GetUsersInfoResponse**](../Models/GetUsersInfoResponse.md) +[**PageUsersInfoResponse**](../Models/PageUsersInfoResponse.md) ### Authorization @@ -1007,7 +1007,7 @@ No authorization required # **getV1PageLikes** -> GetV1PageLikesResponse getV1PageLikes(tenantId, urlId) +> GetV1PageLikes getV1PageLikes(tenantId, urlId) @@ -1020,7 +1020,7 @@ No authorization required ### Return type -[**GetV1PageLikesResponse**](../Models/GetV1PageLikesResponse.md) +[**GetV1PageLikes**](../Models/GetV1PageLikes.md) ### Authorization @@ -1033,7 +1033,7 @@ No authorization required # **getV2PageReactUsers** -> GetV2PageReactUsersResponse_1 getV2PageReactUsers(tenantId, urlId, id) +> GetV2PageReactUsersResponse getV2PageReactUsers(tenantId, urlId, id) @@ -1047,7 +1047,7 @@ No authorization required ### Return type -[**GetV2PageReactUsersResponse_1**](../Models/GetV2PageReactUsersResponse_1.md) +[**GetV2PageReactUsersResponse**](../Models/GetV2PageReactUsersResponse.md) ### Authorization @@ -1060,7 +1060,7 @@ No authorization required # **getV2PageReacts** -> GetV2PageReactsResponse getV2PageReacts(tenantId, urlId) +> GetV2PageReacts getV2PageReacts(tenantId, urlId) @@ -1073,7 +1073,7 @@ No authorization required ### Return type -[**GetV2PageReactsResponse**](../Models/GetV2PageReactsResponse.md) +[**GetV2PageReacts**](../Models/GetV2PageReacts.md) ### Authorization @@ -1086,7 +1086,7 @@ No authorization required # **lockComment** -> LockCommentResponse lockComment(tenantId, commentId, broadcastId, sso) +> APIEmptyResponse lockComment(tenantId, commentId, broadcastId, sso) @@ -1101,7 +1101,7 @@ No authorization required ### Return type -[**LockCommentResponse**](../Models/LockCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1136,7 +1136,7 @@ No authorization required # **pinComment** -> PinCommentResponse pinComment(tenantId, commentId, broadcastId, sso) +> ChangeCommentPinStatusResponse pinComment(tenantId, commentId, broadcastId, sso) @@ -1151,7 +1151,7 @@ No authorization required ### Return type -[**PinCommentResponse**](../Models/PinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](../Models/ChangeCommentPinStatusResponse.md) ### Authorization @@ -1164,7 +1164,7 @@ No authorization required # **reactFeedPostPublic** -> ReactFeedPostPublicResponse reactFeedPostPublic(tenantId, postId, ReactBodyParams, isUndo, broadcastId, sso) +> ReactFeedPostResponse reactFeedPostPublic(tenantId, postId, ReactBodyParams, isUndo, broadcastId, sso) @@ -1181,7 +1181,7 @@ No authorization required ### Return type -[**ReactFeedPostPublicResponse**](../Models/ReactFeedPostPublicResponse.md) +[**ReactFeedPostResponse**](../Models/ReactFeedPostResponse.md) ### Authorization @@ -1194,7 +1194,7 @@ No authorization required # **resetUserNotificationCount** -> ResetUserNotificationCountResponse resetUserNotificationCount(tenantId, sso) +> ResetUserNotificationsResponse resetUserNotificationCount(tenantId, sso) @@ -1207,7 +1207,7 @@ No authorization required ### Return type -[**ResetUserNotificationCountResponse**](../Models/ResetUserNotificationCountResponse.md) +[**ResetUserNotificationsResponse**](../Models/ResetUserNotificationsResponse.md) ### Authorization @@ -1220,7 +1220,7 @@ No authorization required # **resetUserNotifications** -> ResetUserNotificationsResponse_1 resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso) +> ResetUserNotificationsResponse resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso) @@ -1238,7 +1238,7 @@ No authorization required ### Return type -[**ResetUserNotificationsResponse_1**](../Models/ResetUserNotificationsResponse_1.md) +[**ResetUserNotificationsResponse**](../Models/ResetUserNotificationsResponse.md) ### Authorization @@ -1251,7 +1251,7 @@ No authorization required # **searchUsers** -> SearchUsersResponse_1 searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, searchSection) +> SearchUsersResult searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, searchSection) @@ -1268,7 +1268,7 @@ No authorization required ### Return type -[**SearchUsersResponse_1**](../Models/SearchUsersResponse_1.md) +[**SearchUsersResult**](../Models/SearchUsersResult.md) ### Authorization @@ -1281,7 +1281,7 @@ No authorization required # **setCommentText** -> SetCommentTextResponse_1 setCommentText(tenantId, commentId, broadcastId, CommentTextUpdateRequest, editKey, sso) +> PublicAPISetCommentTextResponse setCommentText(tenantId, commentId, broadcastId, CommentTextUpdateRequest, editKey, sso) @@ -1298,7 +1298,7 @@ No authorization required ### Return type -[**SetCommentTextResponse_1**](../Models/SetCommentTextResponse_1.md) +[**PublicAPISetCommentTextResponse**](../Models/PublicAPISetCommentTextResponse.md) ### Authorization @@ -1311,7 +1311,7 @@ No authorization required # **unBlockCommentPublic** -> UnBlockCommentPublicResponse unBlockCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) +> UnblockSuccess unBlockCommentPublic(tenantId, commentId, PublicBlockFromCommentParams, sso) @@ -1326,7 +1326,7 @@ No authorization required ### Return type -[**UnBlockCommentPublicResponse**](../Models/UnBlockCommentPublicResponse.md) +[**UnblockSuccess**](../Models/UnblockSuccess.md) ### Authorization @@ -1339,7 +1339,7 @@ No authorization required # **unLockComment** -> UnLockCommentResponse unLockComment(tenantId, commentId, broadcastId, sso) +> APIEmptyResponse unLockComment(tenantId, commentId, broadcastId, sso) @@ -1354,7 +1354,7 @@ No authorization required ### Return type -[**UnLockCommentResponse**](../Models/UnLockCommentResponse.md) +[**APIEmptyResponse**](../Models/APIEmptyResponse.md) ### Authorization @@ -1367,7 +1367,7 @@ No authorization required # **unPinComment** -> UnPinCommentResponse unPinComment(tenantId, commentId, broadcastId, sso) +> ChangeCommentPinStatusResponse unPinComment(tenantId, commentId, broadcastId, sso) @@ -1382,7 +1382,7 @@ No authorization required ### Return type -[**UnPinCommentResponse**](../Models/UnPinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](../Models/ChangeCommentPinStatusResponse.md) ### Authorization @@ -1395,7 +1395,7 @@ No authorization required # **updateFeedPostPublic** -> UpdateFeedPostPublicResponse updateFeedPostPublic(tenantId, postId, UpdateFeedPostParams, broadcastId, sso) +> CreateFeedPostResponse updateFeedPostPublic(tenantId, postId, UpdateFeedPostParams, broadcastId, sso) @@ -1411,7 +1411,7 @@ No authorization required ### Return type -[**UpdateFeedPostPublicResponse**](../Models/UpdateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](../Models/CreateFeedPostResponse.md) ### Authorization @@ -1545,7 +1545,7 @@ No authorization required # **voteComment** -> VoteCommentResponse voteComment(tenantId, commentId, urlId, broadcastId, VoteBodyParams, sessionId, sso) +> VoteResponse voteComment(tenantId, commentId, urlId, broadcastId, VoteBodyParams, sessionId, sso) @@ -1563,7 +1563,7 @@ No authorization required ### Return type -[**VoteCommentResponse**](../Models/VoteCommentResponse.md) +[**VoteResponse**](../Models/VoteResponse.md) ### Authorization diff --git a/docs/Models/AddHashTagResponse.md b/docs/Models/AddHashTagResponse.md deleted file mode 100644 index 91c7dd6..0000000 --- a/docs/Models/AddHashTagResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddHashTagResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/AddHashTagsBulkResponse.md b/docs/Models/AddHashTagsBulkResponse.md deleted file mode 100644 index 8709628..0000000 --- a/docs/Models/AddHashTagsBulkResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# AddHashTagsBulkResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **results** | [**List**](BulkCreateHashTagsResponse_results_inner.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/AggregateQuestionResultsResponse_1.md b/docs/Models/AggregateQuestionResultsResponse_1.md deleted file mode 100644 index 16ff86d..0000000 --- a/docs/Models/AggregateQuestionResultsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# AggregateQuestionResultsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/BlockFromCommentPublicResponse.md b/docs/Models/BlockFromCommentPublicResponse.md deleted file mode 100644 index bfa4edd..0000000 --- a/docs/Models/BlockFromCommentPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# BlockFromCommentPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/BlockUserFromCommentResponse.md b/docs/Models/BlockUserFromCommentResponse.md deleted file mode 100644 index f8ee63e..0000000 --- a/docs/Models/BlockUserFromCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# BlockUserFromCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/BulkAggregateQuestionResultsResponse_1.md b/docs/Models/BulkAggregateQuestionResultsResponse_1.md deleted file mode 100644 index 7355c3e..0000000 --- a/docs/Models/BulkAggregateQuestionResultsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# BulkAggregateQuestionResultsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **data** | [**Map**](QuestionResultAggregationOverall.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ChangeTicketStateResponse_1.md b/docs/Models/ChangeTicketStateResponse_1.md deleted file mode 100644 index 7c7bc73..0000000 --- a/docs/Models/ChangeTicketStateResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ChangeTicketStateResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **ticket** | [**APITicket**](APITicket.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CheckedCommentsForBlockedResponse.md b/docs/Models/CheckedCommentsForBlockedResponse.md deleted file mode 100644 index 2533e0a..0000000 --- a/docs/Models/CheckedCommentsForBlockedResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CheckedCommentsForBlockedResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CombineCommentsWithQuestionResultsResponse.md b/docs/Models/CombineCommentsWithQuestionResultsResponse.md deleted file mode 100644 index 59d075e..0000000 --- a/docs/Models/CombineCommentsWithQuestionResultsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CombineCommentsWithQuestionResultsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateCommentPublicResponse.md b/docs/Models/CreateCommentPublicResponse.md deleted file mode 100644 index e10b1ab..0000000 --- a/docs/Models/CreateCommentPublicResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateCommentPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **comment** | [**PublicComment**](PublicComment.md) | | [optional] [default to null] | -| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | -| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **userIdWS** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateEmailTemplateResponse_1.md b/docs/Models/CreateEmailTemplateResponse_1.md deleted file mode 100644 index 09d42d4..0000000 --- a/docs/Models/CreateEmailTemplateResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateEmailTemplateResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateFeedPostPublicResponse.md b/docs/Models/CreateFeedPostPublicResponse.md deleted file mode 100644 index 1706924..0000000 --- a/docs/Models/CreateFeedPostPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateFeedPostPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateFeedPostResponse_1.md b/docs/Models/CreateFeedPostResponse_1.md deleted file mode 100644 index b804af3..0000000 --- a/docs/Models/CreateFeedPostResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateFeedPostResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateModeratorResponse_1.md b/docs/Models/CreateModeratorResponse_1.md deleted file mode 100644 index c1f2204..0000000 --- a/docs/Models/CreateModeratorResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateModeratorResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **moderator** | [**Moderator**](Moderator.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateQuestionConfigResponse_1.md b/docs/Models/CreateQuestionConfigResponse_1.md deleted file mode 100644 index 9e289f4..0000000 --- a/docs/Models/CreateQuestionConfigResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateQuestionConfigResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateQuestionResultResponse_1.md b/docs/Models/CreateQuestionResultResponse_1.md deleted file mode 100644 index 52031c1..0000000 --- a/docs/Models/CreateQuestionResultResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateQuestionResultResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateTenantPackageResponse_1.md b/docs/Models/CreateTenantPackageResponse_1.md deleted file mode 100644 index 47a0ff8..0000000 --- a/docs/Models/CreateTenantPackageResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateTenantPackageResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateTenantResponse_1.md b/docs/Models/CreateTenantResponse_1.md deleted file mode 100644 index e4b8e3f..0000000 --- a/docs/Models/CreateTenantResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateTenantResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenant** | [**APITenant**](APITenant.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateTenantUserResponse_1.md b/docs/Models/CreateTenantUserResponse_1.md deleted file mode 100644 index 4832a33..0000000 --- a/docs/Models/CreateTenantUserResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateTenantUserResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantUser** | [**User**](User.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateTicketResponse_1.md b/docs/Models/CreateTicketResponse_1.md deleted file mode 100644 index 6e675d1..0000000 --- a/docs/Models/CreateTicketResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateTicketResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **ticket** | [**APITicket**](APITicket.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateUserBadgeResponse.md b/docs/Models/CreateUserBadgeResponse.md deleted file mode 100644 index 0dc70e2..0000000 --- a/docs/Models/CreateUserBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateUserBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadge** | [**UserBadge**](UserBadge.md) | | [optional] [default to null] | -| **notes** | **List** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateV1PageReactResponse.md b/docs/Models/CreateV1PageReactResponse.md deleted file mode 100644 index 6d4dfec..0000000 --- a/docs/Models/CreateV1PageReactResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# CreateV1PageReactResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **code** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateV2PageReactResponse.md b/docs/Models/CreateV2PageReactResponse.md deleted file mode 100644 index 04a932d..0000000 --- a/docs/Models/CreateV2PageReactResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# CreateV2PageReactResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **code** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/CreateVoteResponse.md b/docs/Models/CreateVoteResponse.md deleted file mode 100644 index fc9b879..0000000 --- a/docs/Models/CreateVoteResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateVoteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **voteId** | **String** | | [optional] [default to null] | -| **isVerified** | **Boolean** | | [optional] [default to null] | -| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | -| **editKey** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteCommentPublicResponse.md b/docs/Models/DeleteCommentPublicResponse.md deleted file mode 100644 index 9b6d35e..0000000 --- a/docs/Models/DeleteCommentPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteCommentPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comment** | [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] [default to null] | -| **hardRemoved** | **Boolean** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteCommentResponse.md b/docs/Models/DeleteCommentResponse.md deleted file mode 100644 index 4ae51bc..0000000 --- a/docs/Models/DeleteCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteCommentVoteResponse.md b/docs/Models/DeleteCommentVoteResponse.md deleted file mode 100644 index a29e46b..0000000 --- a/docs/Models/DeleteCommentVoteResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteCommentVoteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **wasPendingVote** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteEmailTemplateRenderErrorResponse.md b/docs/Models/DeleteEmailTemplateRenderErrorResponse.md deleted file mode 100644 index 13019d2..0000000 --- a/docs/Models/DeleteEmailTemplateRenderErrorResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteEmailTemplateRenderErrorResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteEmailTemplateResponse.md b/docs/Models/DeleteEmailTemplateResponse.md deleted file mode 100644 index d227014..0000000 --- a/docs/Models/DeleteEmailTemplateResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteEmailTemplateResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteFeedPostPublicResponse.md b/docs/Models/DeleteFeedPostPublicResponse.md index 813bd6e..1d9a593 100644 --- a/docs/Models/DeleteFeedPostPublicResponse.md +++ b/docs/Models/DeleteFeedPostPublicResponse.md @@ -4,13 +4,6 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| | **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/DeleteFeedPostPublicResponse_anyOf.md b/docs/Models/DeleteFeedPostPublicResponse_anyOf.md deleted file mode 100644 index 644ccd9..0000000 --- a/docs/Models/DeleteFeedPostPublicResponse_anyOf.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteFeedPostPublicResponse_anyOf -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteHashTagResponse.md b/docs/Models/DeleteHashTagResponse.md deleted file mode 100644 index 02d3a75..0000000 --- a/docs/Models/DeleteHashTagResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteHashTagResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteModerationVoteResponse.md b/docs/Models/DeleteModerationVoteResponse.md deleted file mode 100644 index c25e834..0000000 --- a/docs/Models/DeleteModerationVoteResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteModerationVoteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **wasPendingVote** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteModeratorResponse.md b/docs/Models/DeleteModeratorResponse.md deleted file mode 100644 index 178ebb8..0000000 --- a/docs/Models/DeleteModeratorResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteModeratorResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteNotificationCountResponse.md b/docs/Models/DeleteNotificationCountResponse.md deleted file mode 100644 index f4ea430..0000000 --- a/docs/Models/DeleteNotificationCountResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteNotificationCountResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeletePendingWebhookEventResponse.md b/docs/Models/DeletePendingWebhookEventResponse.md deleted file mode 100644 index f7553a3..0000000 --- a/docs/Models/DeletePendingWebhookEventResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeletePendingWebhookEventResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteQuestionConfigResponse.md b/docs/Models/DeleteQuestionConfigResponse.md deleted file mode 100644 index 8e29695..0000000 --- a/docs/Models/DeleteQuestionConfigResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteQuestionConfigResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteQuestionResultResponse.md b/docs/Models/DeleteQuestionResultResponse.md deleted file mode 100644 index 57d60bd..0000000 --- a/docs/Models/DeleteQuestionResultResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteQuestionResultResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteTenantPackageResponse.md b/docs/Models/DeleteTenantPackageResponse.md deleted file mode 100644 index 91b4b88..0000000 --- a/docs/Models/DeleteTenantPackageResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteTenantPackageResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteTenantResponse.md b/docs/Models/DeleteTenantResponse.md deleted file mode 100644 index a1be257..0000000 --- a/docs/Models/DeleteTenantResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteTenantResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteTenantUserResponse.md b/docs/Models/DeleteTenantUserResponse.md deleted file mode 100644 index b666540..0000000 --- a/docs/Models/DeleteTenantUserResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteTenantUserResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteUserBadgeResponse.md b/docs/Models/DeleteUserBadgeResponse.md deleted file mode 100644 index f6c0720..0000000 --- a/docs/Models/DeleteUserBadgeResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteUserBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteV1PageReactResponse.md b/docs/Models/DeleteV1PageReactResponse.md deleted file mode 100644 index 79e208e..0000000 --- a/docs/Models/DeleteV1PageReactResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteV1PageReactResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **code** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteV2PageReactResponse.md b/docs/Models/DeleteV2PageReactResponse.md deleted file mode 100644 index ab33dbe..0000000 --- a/docs/Models/DeleteV2PageReactResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteV2PageReactResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **code** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/DeleteVoteResponse.md b/docs/Models/DeleteVoteResponse.md deleted file mode 100644 index bc8193b..0000000 --- a/docs/Models/DeleteVoteResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteVoteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **wasPendingVote** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/FlagCommentPublicResponse.md b/docs/Models/FlagCommentPublicResponse.md deleted file mode 100644 index 731a192..0000000 --- a/docs/Models/FlagCommentPublicResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# FlagCommentPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/FlagCommentResponse_1.md b/docs/Models/FlagCommentResponse_1.md deleted file mode 100644 index 3fa18c5..0000000 --- a/docs/Models/FlagCommentResponse_1.md +++ /dev/null @@ -1,18 +0,0 @@ -# FlagCommentResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **statusCode** | **Integer** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **wasUnapproved** | **Boolean** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetApiCommentsResponse.md b/docs/Models/GetApiCommentsResponse.md deleted file mode 100644 index d6cff4a..0000000 --- a/docs/Models/GetApiCommentsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetApiCommentsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **translations** | [**Object**](.md) | | [optional] [default to null] | -| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | -| **moderationFilter** | [**ModerationFilter**](ModerationFilter.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetApiExportStatusResponse.md b/docs/Models/GetApiExportStatusResponse.md deleted file mode 100644 index 4d4dcc3..0000000 --- a/docs/Models/GetApiExportStatusResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetApiExportStatusResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **jobStatus** | **String** | | [optional] [default to null] | -| **recordCount** | **Integer** | | [optional] [default to null] | -| **downloadUrl** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetApiIdsResponse.md b/docs/Models/GetApiIdsResponse.md deleted file mode 100644 index 64ae23d..0000000 --- a/docs/Models/GetApiIdsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetApiIdsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **ids** | **List** | | [optional] [default to null] | -| **hasMore** | **Boolean** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetAuditLogsResponse_1.md b/docs/Models/GetAuditLogsResponse_1.md deleted file mode 100644 index 005a44f..0000000 --- a/docs/Models/GetAuditLogsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetAuditLogsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **auditLogs** | [**List**](APIAuditLog.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetBanUsersFromCommentResponse.md b/docs/Models/GetBanUsersFromCommentResponse.md deleted file mode 100644 index 1c4428c..0000000 --- a/docs/Models/GetBanUsersFromCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetBanUsersFromCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **bannedUsers** | [**List**](APIBannedUserWithMultiMatchInfo.md) | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCachedNotificationCountResponse_1.md b/docs/Models/GetCachedNotificationCountResponse_1.md deleted file mode 100644 index 3ebe782..0000000 --- a/docs/Models/GetCachedNotificationCountResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCachedNotificationCountResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **data** | [**UserNotificationCount**](UserNotificationCount.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentBanStatusResponse_1.md b/docs/Models/GetCommentBanStatusResponse_1.md deleted file mode 100644 index 1936e90..0000000 --- a/docs/Models/GetCommentBanStatusResponse_1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentBanStatusResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **emailDomain** | **String** | | [optional] [default to null] | -| **canIPBan** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentChildrenResponse.md b/docs/Models/GetCommentChildrenResponse.md deleted file mode 100644 index 470c8e6..0000000 --- a/docs/Models/GetCommentChildrenResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCommentChildrenResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentResponse.md b/docs/Models/GetCommentResponse.md deleted file mode 100644 index 3fd2b51..0000000 --- a/docs/Models/GetCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **comment** | [**APIComment**](APIComment.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentTextResponse_1.md b/docs/Models/GetCommentTextResponse_1.md deleted file mode 100644 index 6cf5b1e..0000000 --- a/docs/Models/GetCommentTextResponse_1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentTextResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **commentText** | **String** | | [optional] [default to null] | -| **sanitizedCommentText** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentVoteUserNamesResponse.md b/docs/Models/GetCommentVoteUserNamesResponse.md deleted file mode 100644 index 7902b42..0000000 --- a/docs/Models/GetCommentVoteUserNamesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentVoteUserNamesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **voteUserNames** | **List** | | [optional] [default to null] | -| **hasMore** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentsForUserResponse_1.md b/docs/Models/GetCommentsForUserResponse_1.md deleted file mode 100644 index 879a091..0000000 --- a/docs/Models/GetCommentsForUserResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCommentsForUserResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **moderatingTenantIds** | **List** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentsPublicResponse.md b/docs/Models/GetCommentsPublicResponse.md deleted file mode 100644 index 0657042..0000000 --- a/docs/Models/GetCommentsPublicResponse.md +++ /dev/null @@ -1,39 +0,0 @@ -# GetCommentsPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **statusCode** | **Integer** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **translatedWarning** | **String** | | [optional] [default to null] | -| **comments** | [**List**](PublicComment.md) | | [optional] [default to null] | -| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | -| **urlIdClean** | **String** | | [optional] [default to null] | -| **lastGenDate** | **Long** | | [optional] [default to null] | -| **includesPastPages** | **Boolean** | | [optional] [default to null] | -| **isDemo** | **Boolean** | | [optional] [default to null] | -| **commentCount** | **Integer** | | [optional] [default to null] | -| **isSiteAdmin** | **Boolean** | | [optional] [default to null] | -| **hasBillingIssue** | **Boolean** | | [optional] [default to null] | -| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **pageNumber** | **Integer** | | [optional] [default to null] | -| **isWhiteLabeled** | **Boolean** | | [optional] [default to null] | -| **isProd** | **Boolean** | | [optional] [default to null] | -| **isCrawler** | **Boolean** | | [optional] [default to null] | -| **notificationCount** | **Integer** | | [optional] [default to null] | -| **hasMore** | **Boolean** | | [optional] [default to null] | -| **isClosed** | **Boolean** | | [optional] [default to null] | -| **presencePollState** | **Integer** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | -| **urlIdWS** | **String** | | [optional] [default to null] | -| **userIdWS** | **String** | | [optional] [default to null] | -| **tenantIdWS** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCommentsResponse.md b/docs/Models/GetCommentsResponse.md deleted file mode 100644 index 262b9fb..0000000 --- a/docs/Models/GetCommentsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCommentsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **comments** | [**List**](APIComment.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCountResponse.md b/docs/Models/GetCountResponse.md deleted file mode 100644 index db13f77..0000000 --- a/docs/Models/GetCountResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCountResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **count** | **Double** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetCountsResponse.md b/docs/Models/GetCountsResponse.md deleted file mode 100644 index e3ec750..0000000 --- a/docs/Models/GetCountsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetCountsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **totalCount** | **Double** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetEmailTemplateDefinitionsResponse_1.md b/docs/Models/GetEmailTemplateDefinitionsResponse_1.md deleted file mode 100644 index 24ea893..0000000 --- a/docs/Models/GetEmailTemplateDefinitionsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetEmailTemplateDefinitionsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **definitions** | [**List**](EmailTemplateDefinition.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md b/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md deleted file mode 100644 index d2c122c..0000000 --- a/docs/Models/GetEmailTemplateRenderErrorsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetEmailTemplateRenderErrorsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **renderErrors** | [**List**](EmailTemplateRenderErrorResponse.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetEmailTemplateResponse_1.md b/docs/Models/GetEmailTemplateResponse_1.md deleted file mode 100644 index e23df48..0000000 --- a/docs/Models/GetEmailTemplateResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetEmailTemplateResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetEmailTemplatesResponse_1.md b/docs/Models/GetEmailTemplatesResponse_1.md deleted file mode 100644 index 961d2f9..0000000 --- a/docs/Models/GetEmailTemplatesResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetEmailTemplatesResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **emailTemplates** | [**List**](CustomEmailTemplate.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetEventLogResponse_1.md b/docs/Models/GetEventLogResponse_1.md deleted file mode 100644 index 7411d08..0000000 --- a/docs/Models/GetEventLogResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetEventLogResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **events** | [**List**](EventLogEntry.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetFeedPostsPublicResponse.md b/docs/Models/GetFeedPostsPublicResponse.md deleted file mode 100644 index 4cf549f..0000000 --- a/docs/Models/GetFeedPostsPublicResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetFeedPostsPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **myReacts** | [**Map**](map.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **feedPosts** | [**List**](FeedPost.md) | | [optional] [default to null] | -| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | -| **urlIdWS** | **String** | | [optional] [default to null] | -| **userIdWS** | **String** | | [optional] [default to null] | -| **tenantIdWS** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetFeedPostsResponse_1.md b/docs/Models/GetFeedPostsResponse_1.md deleted file mode 100644 index f0f7bc2..0000000 --- a/docs/Models/GetFeedPostsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetFeedPostsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **feedPosts** | [**List**](FeedPost.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetFeedPostsStatsResponse.md b/docs/Models/GetFeedPostsStatsResponse.md deleted file mode 100644 index 8ceddc2..0000000 --- a/docs/Models/GetFeedPostsStatsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetFeedPostsStatsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **stats** | [**Map**](FeedPostStats.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetGifLargeResponse.md b/docs/Models/GetGifLargeResponse.md deleted file mode 100644 index 676f506..0000000 --- a/docs/Models/GetGifLargeResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetGifLargeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **src** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetGifsSearchResponse.md b/docs/Models/GetGifsSearchResponse.md index 56ca9bb..45eb9c8 100644 --- a/docs/Models/GetGifsSearchResponse.md +++ b/docs/Models/GetGifsSearchResponse.md @@ -6,12 +6,6 @@ | **images** | [**List**](array.md) | | [optional] [default to null] | | **status** | [**APIStatus**](APIStatus.md) | | [default to null] | | **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/GetGlobalEventLogResponse.md b/docs/Models/GetGlobalEventLogResponse.md deleted file mode 100644 index bcc8fb6..0000000 --- a/docs/Models/GetGlobalEventLogResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetGlobalEventLogResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **events** | [**List**](EventLogEntry.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetHashTagsResponse_1.md b/docs/Models/GetHashTagsResponse_1.md deleted file mode 100644 index 10e6433..0000000 --- a/docs/Models/GetHashTagsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetHashTagsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **hashTags** | [**List**](TenantHashTag.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetLogsResponse.md b/docs/Models/GetLogsResponse.md deleted file mode 100644 index b346474..0000000 --- a/docs/Models/GetLogsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetLogsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **logs** | [**List**](ModerationAPICommentLog.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetManualBadgesForUserResponse.md b/docs/Models/GetManualBadgesForUserResponse.md deleted file mode 100644 index 418db09..0000000 --- a/docs/Models/GetManualBadgesForUserResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetManualBadgesForUserResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **badges** | [**List**](UserBadge.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetManualBadgesResponse.md b/docs/Models/GetManualBadgesResponse.md deleted file mode 100644 index f18199b..0000000 --- a/docs/Models/GetManualBadgesResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetManualBadgesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **badges** | [**List**](TenantBadge.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetModerationCommentResponse.md b/docs/Models/GetModerationCommentResponse.md deleted file mode 100644 index 0b3f498..0000000 --- a/docs/Models/GetModerationCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetModerationCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetModerationCommentTextResponse.md b/docs/Models/GetModerationCommentTextResponse.md deleted file mode 100644 index 08806e8..0000000 --- a/docs/Models/GetModerationCommentTextResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetModerationCommentTextResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comment** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetModeratorResponse_1.md b/docs/Models/GetModeratorResponse_1.md deleted file mode 100644 index 8045b77..0000000 --- a/docs/Models/GetModeratorResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetModeratorResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **moderator** | [**Moderator**](Moderator.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetModeratorsResponse_1.md b/docs/Models/GetModeratorsResponse_1.md deleted file mode 100644 index 159a4df..0000000 --- a/docs/Models/GetModeratorsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetModeratorsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **moderators** | [**List**](Moderator.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetNotificationCountResponse_1.md b/docs/Models/GetNotificationCountResponse_1.md deleted file mode 100644 index 45f5d87..0000000 --- a/docs/Models/GetNotificationCountResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetNotificationCountResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **count** | **Double** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetNotificationsResponse_1.md b/docs/Models/GetNotificationsResponse_1.md deleted file mode 100644 index 6535fa1..0000000 --- a/docs/Models/GetNotificationsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetNotificationsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **notifications** | [**List**](UserNotification.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetOfflineUsersResponse.md b/docs/Models/GetOfflineUsersResponse.md deleted file mode 100644 index 24ba65a..0000000 --- a/docs/Models/GetOfflineUsersResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetOfflineUsersResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **nextAfterUserId** | **String** | | [optional] [default to null] | -| **nextAfterName** | **String** | | [optional] [default to null] | -| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetOnlineUsersResponse.md b/docs/Models/GetOnlineUsersResponse.md deleted file mode 100644 index ad01243..0000000 --- a/docs/Models/GetOnlineUsersResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetOnlineUsersResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **nextAfterUserId** | **String** | | [optional] [default to null] | -| **nextAfterName** | **String** | | [optional] [default to null] | -| **totalCount** | **Double** | | [optional] [default to null] | -| **anonCount** | **Double** | | [optional] [default to null] | -| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetPagesPublicResponse.md b/docs/Models/GetPagesPublicResponse.md deleted file mode 100644 index 0d97d06..0000000 --- a/docs/Models/GetPagesPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetPagesPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **nextCursor** | **String** | | [optional] [default to null] | -| **pages** | [**List**](PublicPage.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetPendingWebhookEventCountResponse_1.md b/docs/Models/GetPendingWebhookEventCountResponse_1.md deleted file mode 100644 index a1e6504..0000000 --- a/docs/Models/GetPendingWebhookEventCountResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetPendingWebhookEventCountResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **count** | **Double** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetPendingWebhookEventsResponse_1.md b/docs/Models/GetPendingWebhookEventsResponse_1.md deleted file mode 100644 index eaf8072..0000000 --- a/docs/Models/GetPendingWebhookEventsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetPendingWebhookEventsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **pendingWebhookEvents** | [**List**](PendingCommentToSyncOutbound.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetPreBanSummaryResponse.md b/docs/Models/GetPreBanSummaryResponse.md deleted file mode 100644 index c460256..0000000 --- a/docs/Models/GetPreBanSummaryResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetPreBanSummaryResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **usernames** | **List** | | [optional] [default to null] | -| **count** | **Double** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetQuestionConfigResponse_1.md b/docs/Models/GetQuestionConfigResponse_1.md deleted file mode 100644 index 6b2d654..0000000 --- a/docs/Models/GetQuestionConfigResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetQuestionConfigResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetQuestionConfigsResponse_1.md b/docs/Models/GetQuestionConfigsResponse_1.md deleted file mode 100644 index f2a9112..0000000 --- a/docs/Models/GetQuestionConfigsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetQuestionConfigsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionConfigs** | [**List**](QuestionConfig.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetQuestionResultResponse_1.md b/docs/Models/GetQuestionResultResponse_1.md deleted file mode 100644 index c0da0b8..0000000 --- a/docs/Models/GetQuestionResultResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetQuestionResultResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetQuestionResultsResponse_1.md b/docs/Models/GetQuestionResultsResponse_1.md deleted file mode 100644 index 837bade..0000000 --- a/docs/Models/GetQuestionResultsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetQuestionResultsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **questionResults** | [**List**](QuestionResult.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetSearchCommentsSummaryResponse.md b/docs/Models/GetSearchCommentsSummaryResponse.md deleted file mode 100644 index 7ffe955..0000000 --- a/docs/Models/GetSearchCommentsSummaryResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetSearchCommentsSummaryResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **commentCount** | **Integer** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetSearchPagesResponse.md b/docs/Models/GetSearchPagesResponse.md deleted file mode 100644 index 1ebc58b..0000000 --- a/docs/Models/GetSearchPagesResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetSearchPagesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **pages** | [**List**](ModerationPageSearchProjected.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetSearchSitesResponse.md b/docs/Models/GetSearchSitesResponse.md deleted file mode 100644 index c5e8a42..0000000 --- a/docs/Models/GetSearchSitesResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetSearchSitesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **sites** | [**List**](ModerationSiteSearchProjected.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetSearchSuggestResponse.md b/docs/Models/GetSearchSuggestResponse.md deleted file mode 100644 index 9edca73..0000000 --- a/docs/Models/GetSearchSuggestResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetSearchSuggestResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **pages** | [**List**](ModerationPageSearchProjected.md) | | [optional] [default to null] | -| **users** | [**List**](ModerationUserSearchProjected.md) | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetSearchUsersResponse.md b/docs/Models/GetSearchUsersResponse.md deleted file mode 100644 index 7b3ce71..0000000 --- a/docs/Models/GetSearchUsersResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetSearchUsersResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **users** | [**List**](ModerationUserSearchProjected.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantDailyUsagesResponse_1.md b/docs/Models/GetTenantDailyUsagesResponse_1.md deleted file mode 100644 index d9b2fbe..0000000 --- a/docs/Models/GetTenantDailyUsagesResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantDailyUsagesResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantDailyUsages** | [**List**](APITenantDailyUsage.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantPackageResponse_1.md b/docs/Models/GetTenantPackageResponse_1.md deleted file mode 100644 index 49f0540..0000000 --- a/docs/Models/GetTenantPackageResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantPackageResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantPackagesResponse_1.md b/docs/Models/GetTenantPackagesResponse_1.md deleted file mode 100644 index 7ea2809..0000000 --- a/docs/Models/GetTenantPackagesResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantPackagesResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantPackages** | [**List**](TenantPackage.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantResponse_1.md b/docs/Models/GetTenantResponse_1.md deleted file mode 100644 index 802eb10..0000000 --- a/docs/Models/GetTenantResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenant** | [**APITenant**](APITenant.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantUserResponse_1.md b/docs/Models/GetTenantUserResponse_1.md deleted file mode 100644 index 93365c1..0000000 --- a/docs/Models/GetTenantUserResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantUserResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantUser** | [**User**](User.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantUsersResponse_1.md b/docs/Models/GetTenantUsersResponse_1.md deleted file mode 100644 index 163c4ab..0000000 --- a/docs/Models/GetTenantUsersResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantUsersResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenantUsers** | [**List**](User.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTenantsResponse_1.md b/docs/Models/GetTenantsResponse_1.md deleted file mode 100644 index dc29c90..0000000 --- a/docs/Models/GetTenantsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTenantsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tenants** | [**List**](APITenant.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTicketResponse_1.md b/docs/Models/GetTicketResponse_1.md deleted file mode 100644 index 2ebb945..0000000 --- a/docs/Models/GetTicketResponse_1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTicketResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **ticket** | [**APITicketDetail**](APITicketDetail.md) | | [optional] [default to null] | -| **availableStates** | **List** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTicketsResponse_1.md b/docs/Models/GetTicketsResponse_1.md deleted file mode 100644 index 370dfaf..0000000 --- a/docs/Models/GetTicketsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTicketsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **tickets** | [**List**](APITicket.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTranslationsResponse_1.md b/docs/Models/GetTranslationsResponse_1.md deleted file mode 100644 index 298ccf2..0000000 --- a/docs/Models/GetTranslationsResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetTranslationsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **translations** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetTrustFactorResponse.md b/docs/Models/GetTrustFactorResponse.md deleted file mode 100644 index a719cec..0000000 --- a/docs/Models/GetTrustFactorResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTrustFactorResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **manualTrustFactor** | **Double** | | [optional] [default to null] | -| **autoTrustFactor** | **Double** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBadgeProgressByIdResponse.md b/docs/Models/GetUserBadgeProgressByIdResponse.md deleted file mode 100644 index d921640..0000000 --- a/docs/Models/GetUserBadgeProgressByIdResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBadgeProgressByIdResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBadgeProgressByUserIdResponse.md b/docs/Models/GetUserBadgeProgressByUserIdResponse.md deleted file mode 100644 index 71b7569..0000000 --- a/docs/Models/GetUserBadgeProgressByUserIdResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBadgeProgressByUserIdResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBadgeProgressListResponse.md b/docs/Models/GetUserBadgeProgressListResponse.md deleted file mode 100644 index 7c52f15..0000000 --- a/docs/Models/GetUserBadgeProgressListResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBadgeProgressListResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadgeProgresses** | [**List**](UserBadgeProgress.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBadgeResponse.md b/docs/Models/GetUserBadgeResponse.md deleted file mode 100644 index 3bb6016..0000000 --- a/docs/Models/GetUserBadgeResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadge** | [**UserBadge**](UserBadge.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBadgesResponse.md b/docs/Models/GetUserBadgesResponse.md deleted file mode 100644 index 9c38f0e..0000000 --- a/docs/Models/GetUserBadgesResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBadgesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userBadges** | [**List**](UserBadge.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserBanPreferenceResponse.md b/docs/Models/GetUserBanPreferenceResponse.md deleted file mode 100644 index 981d6a8..0000000 --- a/docs/Models/GetUserBanPreferenceResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserBanPreferenceResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **preferences** | [**APIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserInternalProfileResponse_1.md b/docs/Models/GetUserInternalProfileResponse_1.md deleted file mode 100644 index 736ba8d..0000000 --- a/docs/Models/GetUserInternalProfileResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserInternalProfileResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **profile** | [**GetUserInternalProfileResponse_profile**](GetUserInternalProfileResponse_profile.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserNotificationCountResponse_1.md b/docs/Models/GetUserNotificationCountResponse_1.md deleted file mode 100644 index bf70f6f..0000000 --- a/docs/Models/GetUserNotificationCountResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserNotificationCountResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **count** | **Long** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserNotificationsResponse.md b/docs/Models/GetUserNotificationsResponse.md deleted file mode 100644 index 230f3ad..0000000 --- a/docs/Models/GetUserNotificationsResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetUserNotificationsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **translations** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **isSubscribed** | **Boolean** | | [optional] [default to null] | -| **hasMore** | **Boolean** | | [optional] [default to null] | -| **notifications** | [**List**](RenderableUserNotification.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserPresenceStatusesResponse_1.md b/docs/Models/GetUserPresenceStatusesResponse_1.md deleted file mode 100644 index cfe5120..0000000 --- a/docs/Models/GetUserPresenceStatusesResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserPresenceStatusesResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **userIdsOnline** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserReactsPublicResponse.md b/docs/Models/GetUserReactsPublicResponse.md deleted file mode 100644 index 5f8ebaa..0000000 --- a/docs/Models/GetUserReactsPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserReactsPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reacts** | [**Map**](map.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUserResponse_1.md b/docs/Models/GetUserResponse_1.md deleted file mode 100644 index da84983..0000000 --- a/docs/Models/GetUserResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUserResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **user** | [**User**](User.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetUsersInfoResponse.md b/docs/Models/GetUsersInfoResponse.md deleted file mode 100644 index 70e7594..0000000 --- a/docs/Models/GetUsersInfoResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetUsersInfoResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **users** | [**List**](PageUserEntry.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetV1PageLikesResponse.md b/docs/Models/GetV1PageLikesResponse.md deleted file mode 100644 index 360d7df..0000000 --- a/docs/Models/GetV1PageLikesResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetV1PageLikesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **urlIdWS** | **String** | | [optional] [default to null] | -| **didLike** | **Boolean** | | [optional] [default to null] | -| **commentCount** | **Integer** | | [optional] [default to null] | -| **likeCount** | **Integer** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetV2PageReactUsersResponse_1.md b/docs/Models/GetV2PageReactUsersResponse_1.md deleted file mode 100644 index cca0e86..0000000 --- a/docs/Models/GetV2PageReactUsersResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetV2PageReactUsersResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **userNames** | **List** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetV2PageReactsResponse.md b/docs/Models/GetV2PageReactsResponse.md deleted file mode 100644 index 32f603e..0000000 --- a/docs/Models/GetV2PageReactsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetV2PageReactsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **reactedIds** | **List** | | [optional] [default to null] | -| **counts** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetVotesForUserResponse_1.md b/docs/Models/GetVotesForUserResponse_1.md deleted file mode 100644 index 081cd68..0000000 --- a/docs/Models/GetVotesForUserResponse_1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetVotesForUserResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **appliedAuthorizedVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **appliedAnonymousVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **pendingVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/GetVotesResponse_1.md b/docs/Models/GetVotesResponse_1.md deleted file mode 100644 index 28a9bfd..0000000 --- a/docs/Models/GetVotesResponse_1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetVotesResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **appliedAuthorizedVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **appliedAnonymousVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **pendingVotes** | [**List**](PublicVote.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/LockCommentResponse.md b/docs/Models/LockCommentResponse.md deleted file mode 100644 index 1a53f3a..0000000 --- a/docs/Models/LockCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# LockCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PatchHashTagResponse.md b/docs/Models/PatchHashTagResponse.md deleted file mode 100644 index 47d1947..0000000 --- a/docs/Models/PatchHashTagResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PatchHashTagResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PinCommentResponse.md b/docs/Models/PinCommentResponse.md deleted file mode 100644 index 146969b..0000000 --- a/docs/Models/PinCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PinCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **commentPositions** | [**Map**](Record_string__before_string_or_null__after_string_or_null___value.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostAdjustCommentVotesResponse.md b/docs/Models/PostAdjustCommentVotesResponse.md deleted file mode 100644 index 5c1c94e..0000000 --- a/docs/Models/PostAdjustCommentVotesResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostAdjustCommentVotesResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **newCommentVotes** | **Integer** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostApiExportResponse.md b/docs/Models/PostApiExportResponse.md deleted file mode 100644 index bdf0e91..0000000 --- a/docs/Models/PostApiExportResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostApiExportResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **batchJobId** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostBanUserFromCommentResponse.md b/docs/Models/PostBanUserFromCommentResponse.md deleted file mode 100644 index b01822f..0000000 --- a/docs/Models/PostBanUserFromCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostBanUserFromCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **changelog** | [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostBanUserUndoResponse.md b/docs/Models/PostBanUserUndoResponse.md deleted file mode 100644 index 79c32d5..0000000 --- a/docs/Models/PostBanUserUndoResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostBanUserUndoResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostBulkPreBanSummaryResponse.md b/docs/Models/PostBulkPreBanSummaryResponse.md deleted file mode 100644 index 0c00f08..0000000 --- a/docs/Models/PostBulkPreBanSummaryResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# PostBulkPreBanSummaryResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **totalRelatedCommentCount** | **Integer** | | [optional] [default to null] | -| **emailDomains** | **List** | | [optional] [default to null] | -| **emails** | **List** | | [optional] [default to null] | -| **userIds** | **List** | | [optional] [default to null] | -| **ipHashes** | **List** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostCommentsByIdsResponse.md b/docs/Models/PostCommentsByIdsResponse.md deleted file mode 100644 index fb83524..0000000 --- a/docs/Models/PostCommentsByIdsResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostCommentsByIdsResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comments** | [**List**](ModerationAPIComment.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostFlagCommentResponse.md b/docs/Models/PostFlagCommentResponse.md deleted file mode 100644 index ff5b350..0000000 --- a/docs/Models/PostFlagCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostFlagCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostRemoveCommentResponse.md b/docs/Models/PostRemoveCommentResponse.md index 379a12b..057e54b 100644 --- a/docs/Models/PostRemoveCommentResponse.md +++ b/docs/Models/PostRemoveCommentResponse.md @@ -3,15 +3,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -| **action** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | +| **action** | **String** | | [default to null] | +| **status** | **String** | | [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/PostRestoreDeletedCommentResponse.md b/docs/Models/PostRestoreDeletedCommentResponse.md deleted file mode 100644 index d73a7d9..0000000 --- a/docs/Models/PostRestoreDeletedCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostRestoreDeletedCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostSetCommentApprovalStatusResponse.md b/docs/Models/PostSetCommentApprovalStatusResponse.md deleted file mode 100644 index 5481ee0..0000000 --- a/docs/Models/PostSetCommentApprovalStatusResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostSetCommentApprovalStatusResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **didResetFlaggedCount** | **Boolean** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostSetCommentReviewStatusResponse.md b/docs/Models/PostSetCommentReviewStatusResponse.md deleted file mode 100644 index 38d0a3d..0000000 --- a/docs/Models/PostSetCommentReviewStatusResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostSetCommentReviewStatusResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostSetCommentSpamStatusResponse.md b/docs/Models/PostSetCommentSpamStatusResponse.md deleted file mode 100644 index 1bba478..0000000 --- a/docs/Models/PostSetCommentSpamStatusResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostSetCommentSpamStatusResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostSetCommentTextResponse.md b/docs/Models/PostSetCommentTextResponse.md deleted file mode 100644 index fece5a2..0000000 --- a/docs/Models/PostSetCommentTextResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostSetCommentTextResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **newCommentTextHTML** | **String** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostUnFlagCommentResponse.md b/docs/Models/PostUnFlagCommentResponse.md deleted file mode 100644 index ad3ca80..0000000 --- a/docs/Models/PostUnFlagCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostUnFlagCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PostVoteResponse.md b/docs/Models/PostVoteResponse.md deleted file mode 100644 index 58d945e..0000000 --- a/docs/Models/PostVoteResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# PostVoteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **voteId** | **String** | | [optional] [default to null] | -| **isVerified** | **Boolean** | | [optional] [default to null] | -| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | -| **editKey** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PutAwardBadgeResponse.md b/docs/Models/PutAwardBadgeResponse.md deleted file mode 100644 index 8e8f77d..0000000 --- a/docs/Models/PutAwardBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PutAwardBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **notes** | **List** | | [optional] [default to null] | -| **badges** | [**List**](CommentUserBadgeInfo.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PutCloseThreadResponse.md b/docs/Models/PutCloseThreadResponse.md deleted file mode 100644 index 970c311..0000000 --- a/docs/Models/PutCloseThreadResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PutCloseThreadResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PutRemoveBadgeResponse.md b/docs/Models/PutRemoveBadgeResponse.md deleted file mode 100644 index 2b87a74..0000000 --- a/docs/Models/PutRemoveBadgeResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PutRemoveBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **badges** | [**List**](CommentUserBadgeInfo.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/PutReopenThreadResponse.md b/docs/Models/PutReopenThreadResponse.md deleted file mode 100644 index 2279b4c..0000000 --- a/docs/Models/PutReopenThreadResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PutReopenThreadResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ReactFeedPostPublicResponse.md b/docs/Models/ReactFeedPostPublicResponse.md deleted file mode 100644 index 1f4ecb7..0000000 --- a/docs/Models/ReactFeedPostPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# ReactFeedPostPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reactType** | **String** | | [optional] [default to null] | -| **isUndo** | **Boolean** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/RenderEmailTemplateResponse_1.md b/docs/Models/RenderEmailTemplateResponse_1.md deleted file mode 100644 index 10f4875..0000000 --- a/docs/Models/RenderEmailTemplateResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# RenderEmailTemplateResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **html** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ReplaceTenantPackageResponse.md b/docs/Models/ReplaceTenantPackageResponse.md deleted file mode 100644 index ba244df..0000000 --- a/docs/Models/ReplaceTenantPackageResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# ReplaceTenantPackageResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ReplaceTenantUserResponse.md b/docs/Models/ReplaceTenantUserResponse.md deleted file mode 100644 index 7558de7..0000000 --- a/docs/Models/ReplaceTenantUserResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# ReplaceTenantUserResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ResetUserNotificationCountResponse.md b/docs/Models/ResetUserNotificationCountResponse.md deleted file mode 100644 index 78145d1..0000000 --- a/docs/Models/ResetUserNotificationCountResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# ResetUserNotificationCountResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/ResetUserNotificationsResponse_1.md b/docs/Models/ResetUserNotificationsResponse_1.md deleted file mode 100644 index 705c306..0000000 --- a/docs/Models/ResetUserNotificationsResponse_1.md +++ /dev/null @@ -1,16 +0,0 @@ -# ResetUserNotificationsResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SaveCommentResponse.md b/docs/Models/SaveCommentResponse.md deleted file mode 100644 index 91b75c5..0000000 --- a/docs/Models/SaveCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# SaveCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **comment** | [**APIComment**](APIComment.md) | | [optional] [default to null] | -| **user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] [default to null] | -| **moduleData** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SearchUsersResponse_1.md b/docs/Models/SearchUsersResponse_1.md deleted file mode 100644 index 536c764..0000000 --- a/docs/Models/SearchUsersResponse_1.md +++ /dev/null @@ -1,18 +0,0 @@ -# SearchUsersResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **sections** | [**List**](UserSearchSectionResult.md) | | [optional] [default to null] | -| **users** | [**List**](UserSearchResult.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SendInviteResponse.md b/docs/Models/SendInviteResponse.md deleted file mode 100644 index 8535b4a..0000000 --- a/docs/Models/SendInviteResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# SendInviteResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SendLoginLinkResponse.md b/docs/Models/SendLoginLinkResponse.md deleted file mode 100644 index 49126dc..0000000 --- a/docs/Models/SendLoginLinkResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# SendLoginLinkResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SetCommentTextResponse_1.md b/docs/Models/SetCommentTextResponse_1.md deleted file mode 100644 index bf34783..0000000 --- a/docs/Models/SetCommentTextResponse_1.md +++ /dev/null @@ -1,17 +0,0 @@ -# SetCommentTextResponse_1 -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/SetTrustFactorResponse.md b/docs/Models/SetTrustFactorResponse.md deleted file mode 100644 index 08127f5..0000000 --- a/docs/Models/SetTrustFactorResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SetTrustFactorResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **previousManualTrustFactor** | **Double** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UnBlockCommentPublicResponse.md b/docs/Models/UnBlockCommentPublicResponse.md deleted file mode 100644 index 731e1ab..0000000 --- a/docs/Models/UnBlockCommentPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnBlockCommentPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UnBlockUserFromCommentResponse.md b/docs/Models/UnBlockUserFromCommentResponse.md deleted file mode 100644 index a6b8f10..0000000 --- a/docs/Models/UnBlockUserFromCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnBlockUserFromCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **commentStatuses** | **Map** | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UnFlagCommentResponse.md b/docs/Models/UnFlagCommentResponse.md deleted file mode 100644 index da9825c..0000000 --- a/docs/Models/UnFlagCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UnFlagCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **statusCode** | **Integer** | | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **wasUnapproved** | **Boolean** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UnLockCommentResponse.md b/docs/Models/UnLockCommentResponse.md deleted file mode 100644 index e79927c..0000000 --- a/docs/Models/UnLockCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UnLockCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UnPinCommentResponse.md b/docs/Models/UnPinCommentResponse.md deleted file mode 100644 index 1cf32b8..0000000 --- a/docs/Models/UnPinCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnPinCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **commentPositions** | [**Map**](Record_string__before_string_or_null__after_string_or_null___value.md) | Construct a type with a set of properties K of type T | [optional] [default to null] | -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateCommentResponse.md b/docs/Models/UpdateCommentResponse.md deleted file mode 100644 index 37172d9..0000000 --- a/docs/Models/UpdateCommentResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateEmailTemplateResponse.md b/docs/Models/UpdateEmailTemplateResponse.md deleted file mode 100644 index 2f591df..0000000 --- a/docs/Models/UpdateEmailTemplateResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateEmailTemplateResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateFeedPostPublicResponse.md b/docs/Models/UpdateFeedPostPublicResponse.md deleted file mode 100644 index 5b3184b..0000000 --- a/docs/Models/UpdateFeedPostPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateFeedPostPublicResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **feedPost** | [**FeedPost**](FeedPost.md) | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateFeedPostResponse.md b/docs/Models/UpdateFeedPostResponse.md deleted file mode 100644 index a78db73..0000000 --- a/docs/Models/UpdateFeedPostResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateFeedPostResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateModeratorResponse.md b/docs/Models/UpdateModeratorResponse.md deleted file mode 100644 index 64e742d..0000000 --- a/docs/Models/UpdateModeratorResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateModeratorResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateNotificationResponse.md b/docs/Models/UpdateNotificationResponse.md deleted file mode 100644 index bcc2b3e..0000000 --- a/docs/Models/UpdateNotificationResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateNotificationResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateQuestionConfigResponse.md b/docs/Models/UpdateQuestionConfigResponse.md deleted file mode 100644 index 650d5f6..0000000 --- a/docs/Models/UpdateQuestionConfigResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateQuestionConfigResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateQuestionResultResponse.md b/docs/Models/UpdateQuestionResultResponse.md deleted file mode 100644 index 623f64c..0000000 --- a/docs/Models/UpdateQuestionResultResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateQuestionResultResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateTenantPackageResponse.md b/docs/Models/UpdateTenantPackageResponse.md deleted file mode 100644 index 3f3b380..0000000 --- a/docs/Models/UpdateTenantPackageResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateTenantPackageResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateTenantResponse.md b/docs/Models/UpdateTenantResponse.md deleted file mode 100644 index 5663363..0000000 --- a/docs/Models/UpdateTenantResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateTenantResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateTenantUserResponse.md b/docs/Models/UpdateTenantUserResponse.md deleted file mode 100644 index 92d8dbc..0000000 --- a/docs/Models/UpdateTenantUserResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateTenantUserResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateUserBadgeResponse.md b/docs/Models/UpdateUserBadgeResponse.md deleted file mode 100644 index 4b41be3..0000000 --- a/docs/Models/UpdateUserBadgeResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateUserBadgeResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 0a2df28..43874ef 100644 --- a/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/docs/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -7,13 +7,6 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md b/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md index 01d4ed4..3e93cbd 100644 --- a/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/docs/Models/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -7,13 +7,6 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/UpdateUserNotificationStatusResponse.md b/docs/Models/UpdateUserNotificationStatusResponse.md index b0a9e98..8f1a2ce 100644 --- a/docs/Models/UpdateUserNotificationStatusResponse.md +++ b/docs/Models/UpdateUserNotificationStatusResponse.md @@ -7,13 +7,6 @@ | **matchedCount** | **Long** | | [optional] [default to null] | | **modifiedCount** | **Long** | | [optional] [default to null] | | **note** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Models/VoteCommentResponse.md b/docs/Models/VoteCommentResponse.md deleted file mode 100644 index 1933d59..0000000 --- a/docs/Models/VoteCommentResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# VoteCommentResponse -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -| **status** | [**APIStatus**](APIStatus.md) | | [default to null] | -| **voteId** | **String** | | [optional] [default to null] | -| **isVerified** | **Boolean** | | [optional] [default to null] | -| **user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] [default to null] | -| **editKey** | **String** | | [optional] [default to null] | -| **reason** | **String** | | [optional] [default to null] | -| **code** | **String** | | [optional] [default to null] | -| **secondaryCode** | **String** | | [optional] [default to null] | -| **bannedUntil** | **Long** | | [optional] [default to null] | -| **maxCharacterLength** | **Integer** | | [optional] [default to null] | -| **translatedError** | **String** | | [optional] [default to null] | -| **customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [default to null] | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/README.md b/docs/README.md index 30eadcf..c923b37 100644 --- a/docs/README.md +++ b/docs/README.md @@ -256,14 +256,11 @@ All URIs are relative to *https://fastcomments.com* - [AddDomainConfigParams](./Models/AddDomainConfigParams.md) - [AddDomainConfigResponse](./Models/AddDomainConfigResponse.md) - [AddDomainConfigResponse_anyOf](./Models/AddDomainConfigResponse_anyOf.md) - - [AddHashTagResponse](./Models/AddHashTagResponse.md) - - [AddHashTagsBulkResponse](./Models/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](./Models/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](./Models/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](./Models/AdjustCommentVotesParams.md) - [AdjustVotesResponse](./Models/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](./Models/AggregateQuestionResultsResponse.md) - - [AggregateQuestionResultsResponse_1](./Models/AggregateQuestionResultsResponse_1.md) - [AggregateResponse](./Models/AggregateResponse.md) - [AggregateTimeBucket](./Models/AggregateTimeBucket.md) - [AggregationAPIError](./Models/AggregationAPIError.md) @@ -283,15 +280,12 @@ All URIs are relative to *https://fastcomments.com* - [BannedUserMatch_matchedOnValue](./Models/BannedUserMatch_matchedOnValue.md) - [BillingInfo](./Models/BillingInfo.md) - [BlockFromCommentParams](./Models/BlockFromCommentParams.md) - - [BlockFromCommentPublicResponse](./Models/BlockFromCommentPublicResponse.md) - [BlockSuccess](./Models/BlockSuccess.md) - - [BlockUserFromCommentResponse](./Models/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](./Models/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](./Models/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](./Models/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](./Models/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](./Models/BulkAggregateQuestionResultsResponse.md) - - [BulkAggregateQuestionResultsResponse_1](./Models/BulkAggregateQuestionResultsResponse_1.md) - [BulkCreateHashTagsBody](./Models/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBody_tags_inner](./Models/BulkCreateHashTagsBody_tags_inner.md) - [BulkCreateHashTagsResponse](./Models/BulkCreateHashTagsResponse.md) @@ -301,10 +295,7 @@ All URIs are relative to *https://fastcomments.com* - [ChangeCommentPinStatusResponse](./Models/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](./Models/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](./Models/ChangeTicketStateResponse.md) - - [ChangeTicketStateResponse_1](./Models/ChangeTicketStateResponse_1.md) - [CheckBlockedCommentsResponse](./Models/CheckBlockedCommentsResponse.md) - - [CheckedCommentsForBlockedResponse](./Models/CheckedCommentsForBlockedResponse.md) - - [CombineCommentsWithQuestionResultsResponse](./Models/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](./Models/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](./Models/CommentData.md) - [CommentHTMLRenderingMode](./Models/CommentHTMLRenderingMode.md) @@ -324,75 +315,40 @@ All URIs are relative to *https://fastcomments.com* - [CreateAPISSOUserData](./Models/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](./Models/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](./Models/CreateCommentParams.md) - - [CreateCommentPublicResponse](./Models/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](./Models/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](./Models/CreateEmailTemplateResponse.md) - - [CreateEmailTemplateResponse_1](./Models/CreateEmailTemplateResponse_1.md) - [CreateFeedPostParams](./Models/CreateFeedPostParams.md) - - [CreateFeedPostPublicResponse](./Models/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](./Models/CreateFeedPostResponse.md) - - [CreateFeedPostResponse_1](./Models/CreateFeedPostResponse_1.md) - [CreateFeedPostsResponse](./Models/CreateFeedPostsResponse.md) - [CreateHashTagBody](./Models/CreateHashTagBody.md) - [CreateHashTagResponse](./Models/CreateHashTagResponse.md) - [CreateModeratorBody](./Models/CreateModeratorBody.md) - [CreateModeratorResponse](./Models/CreateModeratorResponse.md) - - [CreateModeratorResponse_1](./Models/CreateModeratorResponse_1.md) - [CreateQuestionConfigBody](./Models/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](./Models/CreateQuestionConfigResponse.md) - - [CreateQuestionConfigResponse_1](./Models/CreateQuestionConfigResponse_1.md) - [CreateQuestionResultBody](./Models/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](./Models/CreateQuestionResultResponse.md) - - [CreateQuestionResultResponse_1](./Models/CreateQuestionResultResponse_1.md) - [CreateSubscriptionAPIResponse](./Models/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](./Models/CreateTenantBody.md) - [CreateTenantPackageBody](./Models/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](./Models/CreateTenantPackageResponse.md) - - [CreateTenantPackageResponse_1](./Models/CreateTenantPackageResponse_1.md) - [CreateTenantResponse](./Models/CreateTenantResponse.md) - - [CreateTenantResponse_1](./Models/CreateTenantResponse_1.md) - [CreateTenantUserBody](./Models/CreateTenantUserBody.md) - [CreateTenantUserResponse](./Models/CreateTenantUserResponse.md) - - [CreateTenantUserResponse_1](./Models/CreateTenantUserResponse_1.md) - [CreateTicketBody](./Models/CreateTicketBody.md) - [CreateTicketResponse](./Models/CreateTicketResponse.md) - - [CreateTicketResponse_1](./Models/CreateTicketResponse_1.md) - [CreateUserBadgeParams](./Models/CreateUserBadgeParams.md) - - [CreateUserBadgeResponse](./Models/CreateUserBadgeResponse.md) - [CreateV1PageReact](./Models/CreateV1PageReact.md) - - [CreateV1PageReactResponse](./Models/CreateV1PageReactResponse.md) - - [CreateV2PageReactResponse](./Models/CreateV2PageReactResponse.md) - - [CreateVoteResponse](./Models/CreateVoteResponse.md) - [CustomConfigParameters](./Models/CustomConfigParameters.md) - [CustomEmailTemplate](./Models/CustomEmailTemplate.md) - [DeleteCommentAction](./Models/DeleteCommentAction.md) - - [DeleteCommentPublicResponse](./Models/DeleteCommentPublicResponse.md) - - [DeleteCommentResponse](./Models/DeleteCommentResponse.md) - [DeleteCommentResult](./Models/DeleteCommentResult.md) - - [DeleteCommentVoteResponse](./Models/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](./Models/DeleteDomainConfigResponse.md) - - [DeleteEmailTemplateRenderErrorResponse](./Models/DeleteEmailTemplateRenderErrorResponse.md) - - [DeleteEmailTemplateResponse](./Models/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](./Models/DeleteFeedPostPublicResponse.md) - - [DeleteFeedPostPublicResponse_anyOf](./Models/DeleteFeedPostPublicResponse_anyOf.md) - [DeleteHashTagRequestBody](./Models/DeleteHashTagRequestBody.md) - - [DeleteHashTagResponse](./Models/DeleteHashTagResponse.md) - - [DeleteModerationVoteResponse](./Models/DeleteModerationVoteResponse.md) - - [DeleteModeratorResponse](./Models/DeleteModeratorResponse.md) - - [DeleteNotificationCountResponse](./Models/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](./Models/DeletePageAPIResponse.md) - - [DeletePendingWebhookEventResponse](./Models/DeletePendingWebhookEventResponse.md) - - [DeleteQuestionConfigResponse](./Models/DeleteQuestionConfigResponse.md) - - [DeleteQuestionResultResponse](./Models/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](./Models/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](./Models/DeleteSubscriptionAPIResponse.md) - - [DeleteTenantPackageResponse](./Models/DeleteTenantPackageResponse.md) - - [DeleteTenantResponse](./Models/DeleteTenantResponse.md) - - [DeleteTenantUserResponse](./Models/DeleteTenantUserResponse.md) - - [DeleteUserBadgeResponse](./Models/DeleteUserBadgeResponse.md) - - [DeleteV1PageReactResponse](./Models/DeleteV1PageReactResponse.md) - - [DeleteV2PageReactResponse](./Models/DeleteV2PageReactResponse.md) - - [DeleteVoteResponse](./Models/DeleteVoteResponse.md) - [DeletedCommentResultComment](./Models/DeletedCommentResultComment.md) - [DigestEmailFrequency](./Models/DigestEmailFrequency.md) - [EmailTemplateDefinition](./Models/EmailTemplateDefinition.md) @@ -408,154 +364,72 @@ All URIs are relative to *https://fastcomments.com* - [FeedPostsStatsResponse](./Models/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](./Models/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](./Models/FindCommentsByRangeResponse.md) - - [FlagCommentPublicResponse](./Models/FlagCommentPublicResponse.md) - [FlagCommentResponse](./Models/FlagCommentResponse.md) - - [FlagCommentResponse_1](./Models/FlagCommentResponse_1.md) - - [GetApiCommentsResponse](./Models/GetApiCommentsResponse.md) - - [GetApiExportStatusResponse](./Models/GetApiExportStatusResponse.md) - - [GetApiIdsResponse](./Models/GetApiIdsResponse.md) - [GetAuditLogsResponse](./Models/GetAuditLogsResponse.md) - - [GetAuditLogsResponse_1](./Models/GetAuditLogsResponse_1.md) - - [GetBanUsersFromCommentResponse](./Models/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](./Models/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](./Models/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](./Models/GetCachedNotificationCountResponse.md) - - [GetCachedNotificationCountResponse_1](./Models/GetCachedNotificationCountResponse_1.md) - [GetCommentBanStatusResponse](./Models/GetCommentBanStatusResponse.md) - - [GetCommentBanStatusResponse_1](./Models/GetCommentBanStatusResponse_1.md) - - [GetCommentChildrenResponse](./Models/GetCommentChildrenResponse.md) - - [GetCommentResponse](./Models/GetCommentResponse.md) - [GetCommentTextResponse](./Models/GetCommentTextResponse.md) - - [GetCommentTextResponse_1](./Models/GetCommentTextResponse_1.md) - - [GetCommentVoteUserNamesResponse](./Models/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](./Models/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](./Models/GetCommentsForUserResponse.md) - - [GetCommentsForUserResponse_1](./Models/GetCommentsForUserResponse_1.md) - - [GetCommentsPublicResponse](./Models/GetCommentsPublicResponse.md) - - [GetCommentsResponse](./Models/GetCommentsResponse.md) - [GetCommentsResponseWithPresence_PublicComment_](./Models/GetCommentsResponseWithPresence_PublicComment_.md) - [GetCommentsResponse_PublicComment_](./Models/GetCommentsResponse_PublicComment_.md) - - [GetCountResponse](./Models/GetCountResponse.md) - - [GetCountsResponse](./Models/GetCountsResponse.md) - [GetDomainConfigResponse](./Models/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](./Models/GetDomainConfigsResponse.md) - [GetDomainConfigsResponse_anyOf](./Models/GetDomainConfigsResponse_anyOf.md) - [GetDomainConfigsResponse_anyOf_1](./Models/GetDomainConfigsResponse_anyOf_1.md) - [GetEmailTemplateDefinitionsResponse](./Models/GetEmailTemplateDefinitionsResponse.md) - - [GetEmailTemplateDefinitionsResponse_1](./Models/GetEmailTemplateDefinitionsResponse_1.md) - [GetEmailTemplateRenderErrorsResponse](./Models/GetEmailTemplateRenderErrorsResponse.md) - - [GetEmailTemplateRenderErrorsResponse_1](./Models/GetEmailTemplateRenderErrorsResponse_1.md) - [GetEmailTemplateResponse](./Models/GetEmailTemplateResponse.md) - - [GetEmailTemplateResponse_1](./Models/GetEmailTemplateResponse_1.md) - [GetEmailTemplatesResponse](./Models/GetEmailTemplatesResponse.md) - - [GetEmailTemplatesResponse_1](./Models/GetEmailTemplatesResponse_1.md) - [GetEventLogResponse](./Models/GetEventLogResponse.md) - - [GetEventLogResponse_1](./Models/GetEventLogResponse_1.md) - - [GetFeedPostsPublicResponse](./Models/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](./Models/GetFeedPostsResponse.md) - - [GetFeedPostsResponse_1](./Models/GetFeedPostsResponse_1.md) - - [GetFeedPostsStatsResponse](./Models/GetFeedPostsStatsResponse.md) - - [GetGifLargeResponse](./Models/GetGifLargeResponse.md) - [GetGifsSearchResponse](./Models/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](./Models/GetGifsTrendingResponse.md) - - [GetGlobalEventLogResponse](./Models/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](./Models/GetHashTagsResponse.md) - - [GetHashTagsResponse_1](./Models/GetHashTagsResponse_1.md) - - [GetLogsResponse](./Models/GetLogsResponse.md) - - [GetManualBadgesForUserResponse](./Models/GetManualBadgesForUserResponse.md) - - [GetManualBadgesResponse](./Models/GetManualBadgesResponse.md) - - [GetModerationCommentResponse](./Models/GetModerationCommentResponse.md) - - [GetModerationCommentTextResponse](./Models/GetModerationCommentTextResponse.md) - [GetModeratorResponse](./Models/GetModeratorResponse.md) - - [GetModeratorResponse_1](./Models/GetModeratorResponse_1.md) - [GetModeratorsResponse](./Models/GetModeratorsResponse.md) - - [GetModeratorsResponse_1](./Models/GetModeratorsResponse_1.md) - [GetMyNotificationsResponse](./Models/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](./Models/GetNotificationCountResponse.md) - - [GetNotificationCountResponse_1](./Models/GetNotificationCountResponse_1.md) - [GetNotificationsResponse](./Models/GetNotificationsResponse.md) - - [GetNotificationsResponse_1](./Models/GetNotificationsResponse_1.md) - - [GetOfflineUsersResponse](./Models/GetOfflineUsersResponse.md) - - [GetOnlineUsersResponse](./Models/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](./Models/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](./Models/GetPagesAPIResponse.md) - - [GetPagesPublicResponse](./Models/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](./Models/GetPendingWebhookEventCountResponse.md) - - [GetPendingWebhookEventCountResponse_1](./Models/GetPendingWebhookEventCountResponse_1.md) - [GetPendingWebhookEventsResponse](./Models/GetPendingWebhookEventsResponse.md) - - [GetPendingWebhookEventsResponse_1](./Models/GetPendingWebhookEventsResponse_1.md) - - [GetPreBanSummaryResponse](./Models/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](./Models/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](./Models/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](./Models/GetQuestionConfigResponse.md) - - [GetQuestionConfigResponse_1](./Models/GetQuestionConfigResponse_1.md) - [GetQuestionConfigsResponse](./Models/GetQuestionConfigsResponse.md) - - [GetQuestionConfigsResponse_1](./Models/GetQuestionConfigsResponse_1.md) - [GetQuestionResultResponse](./Models/GetQuestionResultResponse.md) - - [GetQuestionResultResponse_1](./Models/GetQuestionResultResponse_1.md) - [GetQuestionResultsResponse](./Models/GetQuestionResultsResponse.md) - - [GetQuestionResultsResponse_1](./Models/GetQuestionResultsResponse_1.md) - [GetSSOUserByEmailAPIResponse](./Models/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](./Models/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](./Models/GetSSOUsersResponse.md) - - [GetSearchCommentsSummaryResponse](./Models/GetSearchCommentsSummaryResponse.md) - - [GetSearchPagesResponse](./Models/GetSearchPagesResponse.md) - - [GetSearchSitesResponse](./Models/GetSearchSitesResponse.md) - - [GetSearchSuggestResponse](./Models/GetSearchSuggestResponse.md) - - [GetSearchUsersResponse](./Models/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](./Models/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](./Models/GetTenantDailyUsagesResponse.md) - - [GetTenantDailyUsagesResponse_1](./Models/GetTenantDailyUsagesResponse_1.md) - [GetTenantManualBadgesResponse](./Models/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](./Models/GetTenantPackageResponse.md) - - [GetTenantPackageResponse_1](./Models/GetTenantPackageResponse_1.md) - [GetTenantPackagesResponse](./Models/GetTenantPackagesResponse.md) - - [GetTenantPackagesResponse_1](./Models/GetTenantPackagesResponse_1.md) - [GetTenantResponse](./Models/GetTenantResponse.md) - - [GetTenantResponse_1](./Models/GetTenantResponse_1.md) - [GetTenantUserResponse](./Models/GetTenantUserResponse.md) - - [GetTenantUserResponse_1](./Models/GetTenantUserResponse_1.md) - [GetTenantUsersResponse](./Models/GetTenantUsersResponse.md) - - [GetTenantUsersResponse_1](./Models/GetTenantUsersResponse_1.md) - [GetTenantsResponse](./Models/GetTenantsResponse.md) - - [GetTenantsResponse_1](./Models/GetTenantsResponse_1.md) - [GetTicketResponse](./Models/GetTicketResponse.md) - - [GetTicketResponse_1](./Models/GetTicketResponse_1.md) - [GetTicketsResponse](./Models/GetTicketsResponse.md) - - [GetTicketsResponse_1](./Models/GetTicketsResponse_1.md) - [GetTranslationsResponse](./Models/GetTranslationsResponse.md) - - [GetTranslationsResponse_1](./Models/GetTranslationsResponse_1.md) - - [GetTrustFactorResponse](./Models/GetTrustFactorResponse.md) - - [GetUserBadgeProgressByIdResponse](./Models/GetUserBadgeProgressByIdResponse.md) - - [GetUserBadgeProgressByUserIdResponse](./Models/GetUserBadgeProgressByUserIdResponse.md) - - [GetUserBadgeProgressListResponse](./Models/GetUserBadgeProgressListResponse.md) - - [GetUserBadgeResponse](./Models/GetUserBadgeResponse.md) - - [GetUserBadgesResponse](./Models/GetUserBadgesResponse.md) - - [GetUserBanPreferenceResponse](./Models/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](./Models/GetUserInternalProfileResponse.md) - - [GetUserInternalProfileResponse_1](./Models/GetUserInternalProfileResponse_1.md) - [GetUserInternalProfileResponse_profile](./Models/GetUserInternalProfileResponse_profile.md) - [GetUserManualBadgesResponse](./Models/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](./Models/GetUserNotificationCountResponse.md) - - [GetUserNotificationCountResponse_1](./Models/GetUserNotificationCountResponse_1.md) - - [GetUserNotificationsResponse](./Models/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](./Models/GetUserPresenceStatusesResponse.md) - - [GetUserPresenceStatusesResponse_1](./Models/GetUserPresenceStatusesResponse_1.md) - - [GetUserReactsPublicResponse](./Models/GetUserReactsPublicResponse.md) - [GetUserResponse](./Models/GetUserResponse.md) - - [GetUserResponse_1](./Models/GetUserResponse_1.md) - [GetUserTrustFactorResponse](./Models/GetUserTrustFactorResponse.md) - - [GetUsersInfoResponse](./Models/GetUsersInfoResponse.md) - [GetV1PageLikes](./Models/GetV1PageLikes.md) - - [GetV1PageLikesResponse](./Models/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](./Models/GetV2PageReactUsersResponse.md) - - [GetV2PageReactUsersResponse_1](./Models/GetV2PageReactUsersResponse_1.md) - [GetV2PageReacts](./Models/GetV2PageReacts.md) - - [GetV2PageReactsResponse](./Models/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](./Models/GetVotesForUserResponse.md) - - [GetVotesForUserResponse_1](./Models/GetVotesForUserResponse_1.md) - [GetVotesResponse](./Models/GetVotesResponse.md) - - [GetVotesResponse_1](./Models/GetVotesResponse_1.md) - [GifGetLargeResponse](./Models/GifGetLargeResponse.md) - [GifRating](./Models/GifRating.md) - [GifSearchInternalError](./Models/GifSearchInternalError.md) @@ -570,7 +444,6 @@ All URIs are relative to *https://fastcomments.com* - [LiveEvent](./Models/LiveEvent.md) - [LiveEventType](./Models/LiveEventType.md) - [LiveEvent_extraInfo](./Models/LiveEvent_extraInfo.md) - - [LockCommentResponse](./Models/LockCommentResponse.md) - [MediaAsset](./Models/MediaAsset.md) - [MentionAutoCompleteMode](./Models/MentionAutoCompleteMode.md) - [MetaItem](./Models/MetaItem.md) @@ -604,26 +477,10 @@ All URIs are relative to *https://fastcomments.com* - [PagesSortBy](./Models/PagesSortBy.md) - [PatchDomainConfigParams](./Models/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](./Models/PatchDomainConfigResponse.md) - - [PatchHashTagResponse](./Models/PatchHashTagResponse.md) - [PatchPageAPIResponse](./Models/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](./Models/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](./Models/PendingCommentToSyncOutbound.md) - - [PinCommentResponse](./Models/PinCommentResponse.md) - - [PostAdjustCommentVotesResponse](./Models/PostAdjustCommentVotesResponse.md) - - [PostApiExportResponse](./Models/PostApiExportResponse.md) - - [PostBanUserFromCommentResponse](./Models/PostBanUserFromCommentResponse.md) - - [PostBanUserUndoResponse](./Models/PostBanUserUndoResponse.md) - - [PostBulkPreBanSummaryResponse](./Models/PostBulkPreBanSummaryResponse.md) - - [PostCommentsByIdsResponse](./Models/PostCommentsByIdsResponse.md) - - [PostFlagCommentResponse](./Models/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](./Models/PostRemoveCommentResponse.md) - - [PostRestoreDeletedCommentResponse](./Models/PostRestoreDeletedCommentResponse.md) - - [PostSetCommentApprovalStatusResponse](./Models/PostSetCommentApprovalStatusResponse.md) - - [PostSetCommentReviewStatusResponse](./Models/PostSetCommentReviewStatusResponse.md) - - [PostSetCommentSpamStatusResponse](./Models/PostSetCommentSpamStatusResponse.md) - - [PostSetCommentTextResponse](./Models/PostSetCommentTextResponse.md) - - [PostUnFlagCommentResponse](./Models/PostUnFlagCommentResponse.md) - - [PostVoteResponse](./Models/PostVoteResponse.md) - [PreBanSummary](./Models/PreBanSummary.md) - [PubSubComment](./Models/PubSubComment.md) - [PubSubCommentBase](./Models/PubSubCommentBase.md) @@ -637,11 +494,7 @@ All URIs are relative to *https://fastcomments.com* - [PublicFeedPostsResponse](./Models/PublicFeedPostsResponse.md) - [PublicPage](./Models/PublicPage.md) - [PublicVote](./Models/PublicVote.md) - - [PutAwardBadgeResponse](./Models/PutAwardBadgeResponse.md) - - [PutCloseThreadResponse](./Models/PutCloseThreadResponse.md) - [PutDomainConfigResponse](./Models/PutDomainConfigResponse.md) - - [PutRemoveBadgeResponse](./Models/PutRemoveBadgeResponse.md) - - [PutReopenThreadResponse](./Models/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](./Models/PutSSOUserAPIResponse.md) - [QueryPredicate](./Models/QueryPredicate.md) - [QueryPredicate_value](./Models/QueryPredicate_value.md) @@ -654,42 +507,30 @@ All URIs are relative to *https://fastcomments.com* - [QuestionSubQuestionVisibility](./Models/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](./Models/QuestionWhenSave.md) - [ReactBodyParams](./Models/ReactBodyParams.md) - - [ReactFeedPostPublicResponse](./Models/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](./Models/ReactFeedPostResponse.md) - [Record_string__before_string_or_null__after_string_or_null___value](./Models/Record_string__before_string_or_null__after_string_or_null___value.md) - [RemoveCommentActionResponse](./Models/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](./Models/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](./Models/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](./Models/RenderEmailTemplateResponse.md) - - [RenderEmailTemplateResponse_1](./Models/RenderEmailTemplateResponse_1.md) - [RenderableUserNotification](./Models/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](./Models/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](./Models/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](./Models/ReplaceTenantPackageBody.md) - - [ReplaceTenantPackageResponse](./Models/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](./Models/ReplaceTenantUserBody.md) - - [ReplaceTenantUserResponse](./Models/ReplaceTenantUserResponse.md) - - [ResetUserNotificationCountResponse](./Models/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](./Models/ResetUserNotificationsResponse.md) - - [ResetUserNotificationsResponse_1](./Models/ResetUserNotificationsResponse_1.md) - [SORT_DIR](./Models/SORT_DIR.md) - [SSOSecurityLevel](./Models/SSOSecurityLevel.md) - - [SaveCommentResponse](./Models/SaveCommentResponse.md) - [SaveCommentResponseOptimized](./Models/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](./Models/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](./Models/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](./Models/SearchUsersResponse.md) - - [SearchUsersResponse_1](./Models/SearchUsersResponse_1.md) - [SearchUsersResult](./Models/SearchUsersResult.md) - [SearchUsersSectionedResponse](./Models/SearchUsersSectionedResponse.md) - - [SendInviteResponse](./Models/SendInviteResponse.md) - - [SendLoginLinkResponse](./Models/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](./Models/SetCommentApprovedResponse.md) - [SetCommentTextParams](./Models/SetCommentTextParams.md) - [SetCommentTextResponse](./Models/SetCommentTextResponse.md) - - [SetCommentTextResponse_1](./Models/SetCommentTextResponse_1.md) - [SetCommentTextResult](./Models/SetCommentTextResult.md) - - [SetTrustFactorResponse](./Models/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](./Models/SetUserTrustFactorResponse.md) - [SizePreset](./Models/SizePreset.md) - [SortDirections](./Models/SortDirections.md) @@ -698,43 +539,26 @@ All URIs are relative to *https://fastcomments.com* - [TenantBadge](./Models/TenantBadge.md) - [TenantHashTag](./Models/TenantHashTag.md) - [TenantPackage](./Models/TenantPackage.md) - - [UnBlockCommentPublicResponse](./Models/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](./Models/UnBlockFromCommentParams.md) - - [UnBlockUserFromCommentResponse](./Models/UnBlockUserFromCommentResponse.md) - - [UnFlagCommentResponse](./Models/UnFlagCommentResponse.md) - - [UnLockCommentResponse](./Models/UnLockCommentResponse.md) - - [UnPinCommentResponse](./Models/UnPinCommentResponse.md) - [UnblockSuccess](./Models/UnblockSuccess.md) - [UpdatableCommentParams](./Models/UpdatableCommentParams.md) - [UpdateAPIPageData](./Models/UpdateAPIPageData.md) - [UpdateAPISSOUserData](./Models/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](./Models/UpdateAPIUserSubscriptionData.md) - - [UpdateCommentResponse](./Models/UpdateCommentResponse.md) - [UpdateDomainConfigParams](./Models/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](./Models/UpdateEmailTemplateBody.md) - - [UpdateEmailTemplateResponse](./Models/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](./Models/UpdateFeedPostParams.md) - - [UpdateFeedPostPublicResponse](./Models/UpdateFeedPostPublicResponse.md) - - [UpdateFeedPostResponse](./Models/UpdateFeedPostResponse.md) - [UpdateHashTagBody](./Models/UpdateHashTagBody.md) - [UpdateHashTagResponse](./Models/UpdateHashTagResponse.md) - [UpdateModeratorBody](./Models/UpdateModeratorBody.md) - - [UpdateModeratorResponse](./Models/UpdateModeratorResponse.md) - [UpdateNotificationBody](./Models/UpdateNotificationBody.md) - - [UpdateNotificationResponse](./Models/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](./Models/UpdateQuestionConfigBody.md) - - [UpdateQuestionConfigResponse](./Models/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](./Models/UpdateQuestionResultBody.md) - - [UpdateQuestionResultResponse](./Models/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](./Models/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](./Models/UpdateTenantBody.md) - [UpdateTenantPackageBody](./Models/UpdateTenantPackageBody.md) - - [UpdateTenantPackageResponse](./Models/UpdateTenantPackageResponse.md) - - [UpdateTenantResponse](./Models/UpdateTenantResponse.md) - [UpdateTenantUserBody](./Models/UpdateTenantUserBody.md) - - [UpdateTenantUserResponse](./Models/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](./Models/UpdateUserBadgeParams.md) - - [UpdateUserBadgeResponse](./Models/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](./Models/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](./Models/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](./Models/UpdateUserNotificationStatusResponse.md) @@ -753,7 +577,6 @@ All URIs are relative to *https://fastcomments.com* - [UserSessionInfo](./Models/UserSessionInfo.md) - [UsersListLocation](./Models/UsersListLocation.md) - [VoteBodyParams](./Models/VoteBodyParams.md) - - [VoteCommentResponse](./Models/VoteCommentResponse.md) - [VoteDeleteResponse](./Models/VoteDeleteResponse.md) - [VoteResponse](./Models/VoteResponse.md) - [VoteResponseUser](./Models/VoteResponseUser.md) 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 a1060ef4394cf6e03d22d4bf4229417b339908e4 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 16:03:46 -0700 Subject: [PATCH 3/9] Bump version to 2.0.1 (patch over the 2.0.0 Moderation API release) --- client/README.md | 2 +- config.json | 2 +- fastcomments.nimble | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/README.md b/client/README.md index 2b92882..c284e28 100644 --- a/client/README.md +++ b/client/README.md @@ -7,7 +7,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.NimClientCodegen diff --git a/config.json b/config.json index 5a8e76f..094fb56 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,4 @@ { "packageName": "fastcomments", - "packageVersion": "2.0.0" + "packageVersion": "2.0.1" } diff --git a/fastcomments.nimble b/fastcomments.nimble index 6aded9c..c9988b5 100644 --- a/fastcomments.nimble +++ b/fastcomments.nimble @@ -1,6 +1,6 @@ # Package -version = "2.0.0" +version = "2.0.1" author = "FastComments" description = "FastComments Nim SDK - A SDK for interacting with the FastComments API" license = "MIT" From ec22caec02202ea8759b8db23119aff1d3887e4a Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 19:39:16 -0700 Subject: [PATCH 4/9] Regenerate with grouped request objects (useSingleRequestParameter) API procs now take a single ApiRequest object. Updated SSO integration test and README examples. --- README.md | 143 ++- client/fastcomments/apis/api_default.nim | 1208 +++++++++++++++++-- client/fastcomments/apis/api_moderation.nim | 606 ++++++++-- client/fastcomments/apis/api_public.nim | 704 ++++++++++- docs/Apis/ModerationApi.md | 52 +- openapi.json | 52 +- tests/test_sso_integration.nim | 252 ++-- 7 files changed, 2544 insertions(+), 473 deletions(-) diff --git a/README.md b/README.md index b0212f8..c041d7e 100644 --- a/README.md +++ b/README.md @@ -51,21 +51,23 @@ client.headers["x-api-key"] = "your-api-key" # Make authenticated API calls let (response, httpResponse) = getComments( httpClient = client, - tenantId = "your-tenant-id", - page = 0, - limit = 0, - skip = 0, - asTree = false, - skipChildren = 0, - limitChildren = 0, - maxTreeDepth = 0, - urlId = "your-url-id", - userId = "", - anonUserId = "", - contextUserId = "", - hashTag = "", - parentId = "", - direction = SortDirections.DESC + params = ApiGetCommentsRequest( + tenantId: "your-tenant-id", + page: 0, + limit: 0, + skip: 0, + asTree: false, + skipChildren: 0, + limitChildren: 0, + maxTreeDepth: 0, + urlId: "your-url-id", + userId: "", + anonUserId: "", + contextUserId: "", + hashTag: "", + parentId: "", + direction: SortDirections.DESC + ) ) if response.isSome: @@ -88,34 +90,36 @@ let client = newHttpClient() # Make public API calls let (response, httpResponse) = getCommentsPublic( httpClient = client, - tenantId = "your-tenant-id", - urlId = "your-url-id", - page = 0, - direction = SortDirections.DESC, - sso = "", - skip = 0, - skipChildren = 0, - limit = 0, - limitChildren = 0, - countChildren = false, - fetchPageForCommentId = "", - includeConfig = false, - countAll = false, - includei10n = false, - locale = "", - modules = "", - isCrawler = false, - includeNotificationCount = false, - asTree = false, - maxTreeDepth = 0, - useFullTranslationIds = false, - parentId = "", - searchText = "", - hashTags = @[], - userId = "", - customConfigStr = "", - afterCommentId = "", - beforeCommentId = "" + params = ApiGetCommentsPublicRequest( + tenantId: "your-tenant-id", + urlId: "your-url-id", + page: 0, + direction: SortDirections.DESC, + sso: "", + skip: 0, + skipChildren: 0, + limit: 0, + limitChildren: 0, + countChildren: false, + fetchPageForCommentId: "", + includeConfig: false, + countAll: false, + includei10n: false, + locale: "", + modules: "", + isCrawler: false, + includeNotificationCount: false, + asTree: false, + maxTreeDepth: 0, + useFullTranslationIds: false, + parentId: "", + searchText: "", + hashTags: @[], + userId: "", + customConfigStr: "", + afterCommentId: "", + beforeCommentId: "" + ) ) if response.isSome: @@ -138,15 +142,18 @@ let client = newHttpClient() # List comments in the moderation dashboard let (response, httpResponse) = getApiComments( httpClient = client, - page = 0, - count = 30, - textSearch = "", - byIPFromComment = "", - filters = "", - searchFilters = "", - sorts = "", - demo = false, - sso = "your-sso-token" + params = ApiGetApiCommentsRequest( + page: 0, + count: 30, + textSearch: "", + byIPFromComment: "", + filters: "", + searchFilters: "", + sorts: "", + demo: false, + tenantId: "your-tenant-id", + sso: "your-sso-token" + ) ) if response.isSome: @@ -176,21 +183,23 @@ client.headers["x-api-key"] = "your-api-key" let (response, httpResponse) = getComments( httpClient = client, - tenantId = "your-tenant-id", - page = 0, - limit = 0, - skip = 0, - asTree = false, - skipChildren = 0, - limitChildren = 0, - maxTreeDepth = 0, - urlId = "your-url-id", - userId = "", - anonUserId = "", - contextUserId = "", - hashTag = "", - parentId = "", - direction = SortDirections.DESC + params = ApiGetCommentsRequest( + tenantId: "your-tenant-id", + page: 0, + limit: 0, + skip: 0, + asTree: false, + skipChildren: 0, + limitChildren: 0, + maxTreeDepth: 0, + urlId: "your-url-id", + userId: "", + anonUserId: "", + contextUserId: "", + hashTag: "", + parentId: "", + direction: SortDirections.DESC + ) ) if httpResponse.code == Http200: diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index cf35ffc..34ed687 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -168,7 +168,13 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigParams: AddDomainConfigParams): (Option[AddDomainConfigResponse], Response) = +type ApiAddDomainConfigRequest* = object + tenantId*: string + addDomainConfigParams*: AddDomainConfigParams + +proc addDomainConfig*(httpClient: HttpClient, params: ApiAddDomainConfigRequest): (Option[AddDomainConfigResponse], Response) = + let tenantId = params.tenantId + let addDomainConfigParams = params.addDomainConfigParams ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -179,7 +185,13 @@ proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigP constructResult[AddDomainConfigResponse](response) -proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[CreateHashTagResponse], Response) = +type ApiAddHashTagRequest* = object + tenantId*: string + createHashTagBody*: CreateHashTagBody + +proc addHashTag*(httpClient: HttpClient, params: ApiAddHashTagRequest): (Option[CreateHashTagResponse], Response) = + let tenantId = params.tenantId + let createHashTagBody = params.createHashTagBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -191,7 +203,13 @@ proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: Cr constructResult[CreateHashTagResponse](response) -proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[BulkCreateHashTagsResponse], Response) = +type ApiAddHashTagsBulkRequest* = object + tenantId*: string + bulkCreateHashTagsBody*: BulkCreateHashTagsBody + +proc addHashTagsBulk*(httpClient: HttpClient, params: ApiAddHashTagsBulkRequest): (Option[BulkCreateHashTagsResponse], Response) = + let tenantId = params.tenantId + let bulkCreateHashTagsBody = params.bulkCreateHashTagsBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -203,7 +221,13 @@ proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTa constructResult[BulkCreateHashTagsResponse](response) -proc addPage*(httpClient: HttpClient, tenantId: string, createAPIPageData: CreateAPIPageData): (Option[AddPageAPIResponse], Response) = +type ApiAddPageRequest* = object + tenantId*: string + createAPIPageData*: CreateAPIPageData + +proc addPage*(httpClient: HttpClient, params: ApiAddPageRequest): (Option[AddPageAPIResponse], Response) = + let tenantId = params.tenantId + let createAPIPageData = params.createAPIPageData ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -214,7 +238,13 @@ proc addPage*(httpClient: HttpClient, tenantId: string, createAPIPageData: Creat constructResult[AddPageAPIResponse](response) -proc addSSOUser*(httpClient: HttpClient, tenantId: string, createAPISSOUserData: CreateAPISSOUserData): (Option[AddSSOUserAPIResponse], Response) = +type ApiAddSSOUserRequest* = object + tenantId*: string + createAPISSOUserData*: CreateAPISSOUserData + +proc addSSOUser*(httpClient: HttpClient, params: ApiAddSSOUserRequest): (Option[AddSSOUserAPIResponse], Response) = + let tenantId = params.tenantId + let createAPISSOUserData = params.createAPISSOUserData ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -225,7 +255,17 @@ proc addSSOUser*(httpClient: HttpClient, tenantId: string, createAPISSOUserData: constructResult[AddSSOUserAPIResponse](response) -proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: AggregationRequest, parentTenantId: string, includeStats: bool): (Option[AggregateResponse], Response) = +type ApiAggregateRequest* = object + tenantId*: string + aggregationRequest*: AggregationRequest + parentTenantId*: string + includeStats*: bool + +proc aggregate*(httpClient: HttpClient, params: ApiAggregateRequest): (Option[AggregateResponse], Response) = + let tenantId = params.tenantId + let aggregationRequest = params.aggregationRequest + let parentTenantId = params.parentTenantId + let includeStats = params.includeStats ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -240,7 +280,23 @@ proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: Ag constructResult[AggregateResponse](response) -proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, timeBucket: AggregateTimeBucket, startDate: string, forceRecalculate: bool): (Option[AggregateQuestionResultsResponse], Response) = +type ApiAggregateQuestionResultsRequest* = object + tenantId*: string + questionId*: string + questionIds*: seq[string] + urlId*: string + timeBucket*: AggregateTimeBucket + startDate*: string + forceRecalculate*: bool + +proc aggregateQuestionResults*(httpClient: HttpClient, params: ApiAggregateQuestionResultsRequest): (Option[AggregateQuestionResultsResponse], Response) = + let tenantId = params.tenantId + let questionId = params.questionId + let questionIds = params.questionIds + let urlId = params.urlId + let timeBucket = params.timeBucket + let startDate = params.startDate + let forceRecalculate = params.forceRecalculate ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -262,7 +318,19 @@ proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, questio constructResult[AggregateQuestionResultsResponse](response) -proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId: string, anonUserId: string): (Option[BlockSuccess], Response) = +type ApiBlockUserFromCommentRequest* = object + tenantId*: string + id*: string + blockFromCommentParams*: BlockFromCommentParams + userId*: string + anonUserId*: string + +proc blockUserFromComment*(httpClient: HttpClient, params: ApiBlockUserFromCommentRequest): (Option[BlockSuccess], Response) = + let tenantId = params.tenantId + let id = params.id + let blockFromCommentParams = params.blockFromCommentParams + let userId = params.userId + let anonUserId = params.anonUserId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -277,7 +345,15 @@ proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, constructResult[BlockSuccess](response) -proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse], Response) = +type ApiBulkAggregateQuestionResultsRequest* = object + tenantId*: string + bulkAggregateQuestionResultsRequest*: BulkAggregateQuestionResultsRequest + forceRecalculate*: bool + +proc bulkAggregateQuestionResults*(httpClient: HttpClient, params: ApiBulkAggregateQuestionResultsRequest): (Option[BulkAggregateQuestionResultsResponse], Response) = + let tenantId = params.tenantId + let bulkAggregateQuestionResultsRequest = params.bulkAggregateQuestionResultsRequest + let forceRecalculate = params.forceRecalculate ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -290,7 +366,17 @@ proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bul constructResult[BulkAggregateQuestionResultsResponse](response) -proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse], Response) = +type ApiChangeTicketStateRequest* = object + tenantId*: string + userId*: string + id*: string + changeTicketStateBody*: ChangeTicketStateBody + +proc changeTicketState*(httpClient: HttpClient, params: ApiChangeTicketStateRequest): (Option[ChangeTicketStateResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let id = params.id + let changeTicketStateBody = params.changeTicketStateBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -302,7 +388,27 @@ proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string constructResult[ChangeTicketStateResponse](response) -proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, questionId: string, questionIds: seq[string], urlId: string, startDate: string, forceRecalculate: bool, minValue: float64, maxValue: float64, limit: float64): (Option[CombineQuestionResultsWithCommentsResponse], Response) = +type ApiCombineCommentsWithQuestionResultsRequest* = object + tenantId*: string + questionId*: string + questionIds*: seq[string] + urlId*: string + startDate*: string + forceRecalculate*: bool + minValue*: float64 + maxValue*: float64 + limit*: float64 + +proc combineCommentsWithQuestionResults*(httpClient: HttpClient, params: ApiCombineCommentsWithQuestionResultsRequest): (Option[CombineQuestionResultsWithCommentsResponse], Response) = + let tenantId = params.tenantId + let questionId = params.questionId + let questionIds = params.questionIds + let urlId = params.urlId + let startDate = params.startDate + let forceRecalculate = params.forceRecalculate + let minValue = params.minValue + let maxValue = params.maxValue + let limit = params.limit ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -328,7 +434,13 @@ proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: strin constructResult[CombineQuestionResultsWithCommentsResponse](response) -proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse], Response) = +type ApiCreateEmailTemplateRequest* = object + tenantId*: string + createEmailTemplateBody*: CreateEmailTemplateBody + +proc createEmailTemplate*(httpClient: HttpClient, params: ApiCreateEmailTemplateRequest): (Option[CreateEmailTemplateResponse], Response) = + let tenantId = params.tenantId + let createEmailTemplateBody = params.createEmailTemplateBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -339,7 +451,21 @@ proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailT constructResult[CreateEmailTemplateResponse](response) -proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, isLive: bool, doSpamCheck: bool, skipDupCheck: bool): (Option[CreateFeedPostsResponse], Response) = +type ApiCreateFeedPostRequest* = object + tenantId*: string + createFeedPostParams*: CreateFeedPostParams + broadcastId*: string + isLive*: bool + doSpamCheck*: bool + skipDupCheck*: bool + +proc createFeedPost*(httpClient: HttpClient, params: ApiCreateFeedPostRequest): (Option[CreateFeedPostsResponse], Response) = + let tenantId = params.tenantId + let createFeedPostParams = params.createFeedPostParams + let broadcastId = params.broadcastId + let isLive = params.isLive + let doSpamCheck = params.doSpamCheck + let skipDupCheck = params.skipDupCheck ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -358,7 +484,13 @@ proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostPar constructResult[CreateFeedPostsResponse](response) -proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse], Response) = +type ApiCreateModeratorRequest* = object + tenantId*: string + createModeratorBody*: CreateModeratorBody + +proc createModerator*(httpClient: HttpClient, params: ApiCreateModeratorRequest): (Option[CreateModeratorResponse], Response) = + let tenantId = params.tenantId + let createModeratorBody = params.createModeratorBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -369,7 +501,13 @@ proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorB constructResult[CreateModeratorResponse](response) -proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse], Response) = +type ApiCreateQuestionConfigRequest* = object + tenantId*: string + createQuestionConfigBody*: CreateQuestionConfigBody + +proc createQuestionConfig*(httpClient: HttpClient, params: ApiCreateQuestionConfigRequest): (Option[CreateQuestionConfigResponse], Response) = + let tenantId = params.tenantId + let createQuestionConfigBody = params.createQuestionConfigBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -380,7 +518,13 @@ proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuest constructResult[CreateQuestionConfigResponse](response) -proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse], Response) = +type ApiCreateQuestionResultRequest* = object + tenantId*: string + createQuestionResultBody*: CreateQuestionResultBody + +proc createQuestionResult*(httpClient: HttpClient, params: ApiCreateQuestionResultRequest): (Option[CreateQuestionResultResponse], Response) = + let tenantId = params.tenantId + let createQuestionResultBody = params.createQuestionResultBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -391,7 +535,13 @@ proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuest constructResult[CreateQuestionResultResponse](response) -proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData): (Option[CreateSubscriptionAPIResponse], Response) = +type ApiCreateSubscriptionRequest* = object + tenantId*: string + createAPIUserSubscriptionData*: CreateAPIUserSubscriptionData + +proc createSubscription*(httpClient: HttpClient, params: ApiCreateSubscriptionRequest): (Option[CreateSubscriptionAPIResponse], Response) = + let tenantId = params.tenantId + let createAPIUserSubscriptionData = params.createAPIUserSubscriptionData ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -402,7 +552,13 @@ proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUser constructResult[CreateSubscriptionAPIResponse](response) -proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse], Response) = +type ApiCreateTenantRequest* = object + tenantId*: string + createTenantBody*: CreateTenantBody + +proc createTenant*(httpClient: HttpClient, params: ApiCreateTenantRequest): (Option[CreateTenantResponse], Response) = + let tenantId = params.tenantId + let createTenantBody = params.createTenantBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -413,7 +569,13 @@ proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: C constructResult[CreateTenantResponse](response) -proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse], Response) = +type ApiCreateTenantPackageRequest* = object + tenantId*: string + createTenantPackageBody*: CreateTenantPackageBody + +proc createTenantPackage*(httpClient: HttpClient, params: ApiCreateTenantPackageRequest): (Option[CreateTenantPackageResponse], Response) = + let tenantId = params.tenantId + let createTenantPackageBody = params.createTenantPackageBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -424,7 +586,13 @@ proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenant constructResult[CreateTenantPackageResponse](response) -proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse], Response) = +type ApiCreateTenantUserRequest* = object + tenantId*: string + createTenantUserBody*: CreateTenantUserBody + +proc createTenantUser*(httpClient: HttpClient, params: ApiCreateTenantUserRequest): (Option[CreateTenantUserResponse], Response) = + let tenantId = params.tenantId + let createTenantUserBody = params.createTenantUserBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -435,7 +603,15 @@ proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUse constructResult[CreateTenantUserResponse](response) -proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse], Response) = +type ApiCreateTicketRequest* = object + tenantId*: string + userId*: string + createTicketBody*: CreateTicketBody + +proc createTicket*(httpClient: HttpClient, params: ApiCreateTicketRequest): (Option[CreateTicketResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let createTicketBody = params.createTicketBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -447,7 +623,13 @@ proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, cre constructResult[CreateTicketResponse](response) -proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[APICreateUserBadgeResponse], Response) = +type ApiCreateUserBadgeRequest* = object + tenantId*: string + createUserBadgeParams*: CreateUserBadgeParams + +proc createUserBadge*(httpClient: HttpClient, params: ApiCreateUserBadgeRequest): (Option[APICreateUserBadgeResponse], Response) = + let tenantId = params.tenantId + let createUserBadgeParams = params.createUserBadgeParams ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -458,7 +640,19 @@ proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeP constructResult[APICreateUserBadgeResponse](response) -proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, userId: string, anonUserId: string): (Option[VoteResponse], Response) = +type ApiCreateVoteRequest* = object + tenantId*: string + commentId*: string + direction*: string + userId*: string + anonUserId*: string + +proc createVote*(httpClient: HttpClient, params: ApiCreateVoteRequest): (Option[VoteResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let direction = params.direction + let userId = params.userId + let anonUserId = params.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -474,7 +668,17 @@ proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, di constructResult[VoteResponse](response) -proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contextUserId: string, isLive: bool): (Option[DeleteCommentResult], Response) = +type ApiDeleteCommentRequest* = object + tenantId*: string + id*: string + contextUserId*: string + isLive*: bool + +proc deleteComment*(httpClient: HttpClient, params: ApiDeleteCommentRequest): (Option[DeleteCommentResult], Response) = + let tenantId = params.tenantId + let id = params.id + let contextUserId = params.contextUserId + let isLive = params.isLive ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -488,7 +692,13 @@ proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, contex constructResult[DeleteCommentResult](response) -proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[DeleteDomainConfigResponse], Response) = +type ApiDeleteDomainConfigRequest* = object + tenantId*: string + domain*: string + +proc deleteDomainConfig*(httpClient: HttpClient, params: ApiDeleteDomainConfigRequest): (Option[DeleteDomainConfigResponse], Response) = + let tenantId = params.tenantId + let domain = params.domain ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -498,7 +708,13 @@ proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: strin constructResult[DeleteDomainConfigResponse](response) -proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteEmailTemplateRequest* = object + tenantId*: string + id*: string + +proc deleteEmailTemplate*(httpClient: HttpClient, params: ApiDeleteEmailTemplateRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -508,7 +724,15 @@ proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): constructResult[APIEmptyResponse](response) -proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteEmailTemplateRenderErrorRequest* = object + tenantId*: string + id*: string + errorId*: string + +proc deleteEmailTemplateRenderError*(httpClient: HttpClient, params: ApiDeleteEmailTemplateRenderErrorRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let errorId = params.errorId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -518,7 +742,15 @@ proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, i constructResult[APIEmptyResponse](response) -proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[APIEmptyResponse], Response) = +type ApiDeleteHashTagRequest* = object + tag*: string + tenantId*: string + deleteHashTagRequestBody*: DeleteHashTagRequestBody + +proc deleteHashTag*(httpClient: HttpClient, params: ApiDeleteHashTagRequest): (Option[APIEmptyResponse], Response) = + let tag = params.tag + let tenantId = params.tenantId + let deleteHashTagRequestBody = params.deleteHashTagRequestBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -529,7 +761,15 @@ proc deleteHashTag*(httpClient: HttpClient, tag: string, tenantId: string, delet constructResult[APIEmptyResponse](response) -proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteModeratorRequest* = object + tenantId*: string + id*: string + sendEmail*: string + +proc deleteModerator*(httpClient: HttpClient, params: ApiDeleteModeratorRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let sendEmail = params.sendEmail ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -541,7 +781,13 @@ proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, send constructResult[APIEmptyResponse](response) -proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteNotificationCountRequest* = object + tenantId*: string + id*: string + +proc deleteNotificationCount*(httpClient: HttpClient, params: ApiDeleteNotificationCountRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -551,7 +797,13 @@ proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: stri constructResult[APIEmptyResponse](response) -proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePageAPIResponse], Response) = +type ApiDeletePageRequest* = object + tenantId*: string + id*: string + +proc deletePage*(httpClient: HttpClient, params: ApiDeletePageRequest): (Option[DeletePageAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -561,7 +813,13 @@ proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[ constructResult[DeletePageAPIResponse](response) -proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeletePendingWebhookEventRequest* = object + tenantId*: string + id*: string + +proc deletePendingWebhookEvent*(httpClient: HttpClient, params: ApiDeletePendingWebhookEventRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -571,7 +829,13 @@ proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: st constructResult[APIEmptyResponse](response) -proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteQuestionConfigRequest* = object + tenantId*: string + id*: string + +proc deleteQuestionConfig*(httpClient: HttpClient, params: ApiDeleteQuestionConfigRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -581,7 +845,13 @@ proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string) constructResult[APIEmptyResponse](response) -proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteQuestionResultRequest* = object + tenantId*: string + id*: string + +proc deleteQuestionResult*(httpClient: HttpClient, params: ApiDeleteQuestionResultRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -591,7 +861,17 @@ proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string) constructResult[APIEmptyResponse](response) -proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: bool, commentDeleteMode: string): (Option[DeleteSSOUserAPIResponse], Response) = +type ApiDeleteSSOUserRequest* = object + tenantId*: string + id*: string + deleteComments*: bool + commentDeleteMode*: string + +proc deleteSSOUser*(httpClient: HttpClient, params: ApiDeleteSSOUserRequest): (Option[DeleteSSOUserAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let deleteComments = params.deleteComments + let commentDeleteMode = params.commentDeleteMode ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -605,7 +885,15 @@ proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, delete constructResult[DeleteSSOUserAPIResponse](response) -proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[DeleteSubscriptionAPIResponse], Response) = +type ApiDeleteSubscriptionRequest* = object + tenantId*: string + id*: string + userId*: string + +proc deleteSubscription*(httpClient: HttpClient, params: ApiDeleteSubscriptionRequest): (Option[DeleteSubscriptionAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let userId = params.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -617,7 +905,15 @@ proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[DeleteSubscriptionAPIResponse](response) -proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteTenantRequest* = object + tenantId*: string + id*: string + sure*: string + +proc deleteTenant*(httpClient: HttpClient, params: ApiDeleteTenantRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let sure = params.sure ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -629,7 +925,13 @@ proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: s constructResult[APIEmptyResponse](response) -proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteTenantPackageRequest* = object + tenantId*: string + id*: string + +proc deleteTenantPackage*(httpClient: HttpClient, params: ApiDeleteTenantPackageRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -639,7 +941,17 @@ proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): constructResult[APIEmptyResponse](response) -proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, deleteComments: string, commentDeleteMode: string): (Option[APIEmptyResponse], Response) = +type ApiDeleteTenantUserRequest* = object + tenantId*: string + id*: string + deleteComments*: string + commentDeleteMode*: string + +proc deleteTenantUser*(httpClient: HttpClient, params: ApiDeleteTenantUserRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let deleteComments = params.deleteComments + let commentDeleteMode = params.commentDeleteMode ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -653,7 +965,13 @@ proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, del constructResult[APIEmptyResponse](response) -proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptySuccessResponse], Response) = +type ApiDeleteUserBadgeRequest* = object + tenantId*: string + id*: string + +proc deleteUserBadge*(httpClient: HttpClient, params: ApiDeleteUserBadgeRequest): (Option[APIEmptySuccessResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -663,7 +981,15 @@ proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Op constructResult[APIEmptySuccessResponse](response) -proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string): (Option[VoteDeleteResponse], Response) = +type ApiDeleteVoteRequest* = object + tenantId*: string + id*: string + editKey*: string + +proc deleteVote*(httpClient: HttpClient, params: ApiDeleteVoteRequest): (Option[VoteDeleteResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let editKey = params.editKey ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -675,7 +1001,17 @@ proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: constructResult[VoteDeleteResponse](response) -proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = +type ApiFlagCommentRequest* = object + tenantId*: string + id*: string + userId*: string + anonUserId*: string + +proc flagComment*(httpClient: HttpClient, params: ApiFlagCommentRequest): (Option[FlagCommentResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let userId = params.userId + let anonUserId = params.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -689,7 +1025,21 @@ proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: constructResult[FlagCommentResponse](response) -proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, skip: float64, order: SORTDIR, after: float64, before: float64): (Option[GetAuditLogsResponse], Response) = +type ApiGetAuditLogsRequest* = object + tenantId*: string + limit*: float64 + skip*: float64 + order*: SORTDIR + after*: float64 + before*: float64 + +proc getAuditLogs*(httpClient: HttpClient, params: ApiGetAuditLogsRequest): (Option[GetAuditLogsResponse], Response) = + let tenantId = params.tenantId + let limit = params.limit + let skip = params.skip + let order = params.order + let after = params.after + let before = params.before ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -709,7 +1059,13 @@ proc getAuditLogs*(httpClient: HttpClient, tenantId: string, limit: float64, ski constructResult[GetAuditLogsResponse](response) -proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse], Response) = +type ApiGetCachedNotificationCountRequest* = object + tenantId*: string + id*: string + +proc getCachedNotificationCount*(httpClient: HttpClient, params: ApiGetCachedNotificationCountRequest): (Option[GetCachedNotificationCountResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -719,7 +1075,13 @@ proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: s constructResult[GetCachedNotificationCountResponse](response) -proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetCommentResponse], Response) = +type ApiGetCommentRequest* = object + tenantId*: string + id*: string + +proc getComment*(httpClient: HttpClient, params: ApiGetCommentRequest): (Option[APIGetCommentResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -729,7 +1091,43 @@ proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[ constructResult[APIGetCommentResponse](response) -proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: int, skip: int, asTree: bool, skipChildren: int, limitChildren: int, maxTreeDepth: int, urlId: string, userId: string, anonUserId: string, contextUserId: string, hashTag: string, parentId: string, direction: SortDirections, fromDate: int64, toDate: int64): (Option[APIGetCommentsResponse], Response) = +type ApiGetCommentsRequest* = object + tenantId*: string + page*: int + limit*: int + skip*: int + asTree*: bool + skipChildren*: int + limitChildren*: int + maxTreeDepth*: int + urlId*: string + userId*: string + anonUserId*: string + contextUserId*: string + hashTag*: string + parentId*: string + direction*: SortDirections + fromDate*: int64 + toDate*: int64 + +proc getComments*(httpClient: HttpClient, params: ApiGetCommentsRequest): (Option[APIGetCommentsResponse], Response) = + let tenantId = params.tenantId + let page = params.page + let limit = params.limit + let skip = params.skip + let asTree = params.asTree + let skipChildren = params.skipChildren + let limitChildren = params.limitChildren + let maxTreeDepth = params.maxTreeDepth + let urlId = params.urlId + let userId = params.userId + let anonUserId = params.anonUserId + let contextUserId = params.contextUserId + let hashTag = params.hashTag + let parentId = params.parentId + let direction = params.direction + let fromDate = params.fromDate + let toDate = params.toDate ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -771,7 +1169,13 @@ proc getComments*(httpClient: HttpClient, tenantId: string, page: int, limit: in constructResult[APIGetCommentsResponse](response) -proc getDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[GetDomainConfigResponse], Response) = +type ApiGetDomainConfigRequest* = object + tenantId*: string + domain*: string + +proc getDomainConfig*(httpClient: HttpClient, params: ApiGetDomainConfigRequest): (Option[GetDomainConfigResponse], Response) = + let tenantId = params.tenantId + let domain = params.domain ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -781,7 +1185,11 @@ proc getDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): constructResult[GetDomainConfigResponse](response) -proc getDomainConfigs*(httpClient: HttpClient, tenantId: string): (Option[GetDomainConfigsResponse], Response) = +type ApiGetDomainConfigsRequest* = object + tenantId*: string + +proc getDomainConfigs*(httpClient: HttpClient, params: ApiGetDomainConfigsRequest): (Option[GetDomainConfigsResponse], Response) = + let tenantId = params.tenantId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -791,7 +1199,13 @@ proc getDomainConfigs*(httpClient: HttpClient, tenantId: string): (Option[GetDom constructResult[GetDomainConfigsResponse](response) -proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse], Response) = +type ApiGetEmailTemplateRequest* = object + tenantId*: string + id*: string + +proc getEmailTemplate*(httpClient: HttpClient, params: ApiGetEmailTemplateRequest): (Option[GetEmailTemplateResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -801,7 +1215,11 @@ proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (O constructResult[GetEmailTemplateResponse](response) -proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse], Response) = +type ApiGetEmailTemplateDefinitionsRequest* = object + tenantId*: string + +proc getEmailTemplateDefinitions*(httpClient: HttpClient, params: ApiGetEmailTemplateDefinitionsRequest): (Option[GetEmailTemplateDefinitionsResponse], Response) = + let tenantId = params.tenantId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -811,7 +1229,15 @@ proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Op constructResult[GetEmailTemplateDefinitionsResponse](response) -proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse], Response) = +type ApiGetEmailTemplateRenderErrorsRequest* = object + tenantId*: string + id*: string + skip*: float64 + +proc getEmailTemplateRenderErrors*(httpClient: HttpClient, params: ApiGetEmailTemplateRenderErrorsRequest): (Option[GetEmailTemplateRenderErrorsResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -823,7 +1249,13 @@ proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: constructResult[GetEmailTemplateRenderErrorsResponse](response) -proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse], Response) = +type ApiGetEmailTemplatesRequest* = object + tenantId*: string + skip*: float64 + +proc getEmailTemplates*(httpClient: HttpClient, params: ApiGetEmailTemplatesRequest): (Option[GetEmailTemplatesResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -835,7 +1267,17 @@ proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64) constructResult[GetEmailTemplatesResponse](response) -proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string]): (Option[GetFeedPostsResponse], Response) = +type ApiGetFeedPostsRequest* = object + tenantId*: string + afterId*: string + limit*: int + tags*: seq[string] + +proc getFeedPosts*(httpClient: HttpClient, params: ApiGetFeedPostsRequest): (Option[GetFeedPostsResponse], Response) = + let tenantId = params.tenantId + let afterId = params.afterId + let limit = params.limit + let tags = params.tags ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -851,7 +1293,13 @@ proc getFeedPosts*(httpClient: HttpClient, tenantId: string, afterId: string, li constructResult[GetFeedPostsResponse](response) -proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse], Response) = +type ApiGetHashTagsRequest* = object + tenantId*: string + page*: float64 + +proc getHashTags*(httpClient: HttpClient, params: ApiGetHashTagsRequest): (Option[GetHashTagsResponse], Response) = + let tenantId = params.tenantId + let page = params.page ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -863,7 +1311,13 @@ proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Opt constructResult[GetHashTagsResponse](response) -proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse], Response) = +type ApiGetModeratorRequest* = object + tenantId*: string + id*: string + +proc getModerator*(httpClient: HttpClient, params: ApiGetModeratorRequest): (Option[GetModeratorResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -873,7 +1327,13 @@ proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Optio constructResult[GetModeratorResponse](response) -proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse], Response) = +type ApiGetModeratorsRequest* = object + tenantId*: string + skip*: float64 + +proc getModerators*(httpClient: HttpClient, params: ApiGetModeratorsRequest): (Option[GetModeratorsResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -885,7 +1345,21 @@ proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (O constructResult[GetModeratorsResponse](response) -proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string): (Option[GetNotificationCountResponse], Response) = +type ApiGetNotificationCountRequest* = object + tenantId*: string + userId*: string + urlId*: string + fromCommentId*: string + viewed*: bool + `type`*: string + +proc getNotificationCount*(httpClient: HttpClient, params: ApiGetNotificationCountRequest): (Option[GetNotificationCountResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let urlId = params.urlId + let fromCommentId = params.fromCommentId + let viewed = params.viewed + let `type` = params.`type` ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -905,7 +1379,23 @@ proc getNotificationCount*(httpClient: HttpClient, tenantId: string, userId: str constructResult[GetNotificationCountResponse](response) -proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, urlId: string, fromCommentId: string, viewed: bool, `type`: string, skip: float64): (Option[GetNotificationsResponse], Response) = +type ApiGetNotificationsRequest* = object + tenantId*: string + userId*: string + urlId*: string + fromCommentId*: string + viewed*: bool + `type`*: string + skip*: float64 + +proc getNotifications*(httpClient: HttpClient, params: ApiGetNotificationsRequest): (Option[GetNotificationsResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let urlId = params.urlId + let fromCommentId = params.fromCommentId + let viewed = params.viewed + let `type` = params.`type` + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -927,7 +1417,13 @@ proc getNotifications*(httpClient: HttpClient, tenantId: string, userId: string, constructResult[GetNotificationsResponse](response) -proc getPageByURLId*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetPageByURLIdAPIResponse], Response) = +type ApiGetPageByURLIdRequest* = object + tenantId*: string + urlId*: string + +proc getPageByURLId*(httpClient: HttpClient, params: ApiGetPageByURLIdRequest): (Option[GetPageByURLIdAPIResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -938,7 +1434,11 @@ proc getPageByURLId*(httpClient: HttpClient, tenantId: string, urlId: string): ( constructResult[GetPageByURLIdAPIResponse](response) -proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIResponse], Response) = +type ApiGetPagesRequest* = object + tenantId*: string + +proc getPages*(httpClient: HttpClient, params: ApiGetPagesRequest): (Option[GetPagesAPIResponse], Response) = + let tenantId = params.tenantId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -948,7 +1448,23 @@ proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIRes constructResult[GetPagesAPIResponse](response) -proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64): (Option[GetPendingWebhookEventCountResponse], Response) = +type ApiGetPendingWebhookEventCountRequest* = object + tenantId*: string + commentId*: string + externalId*: string + eventType*: string + `type`*: string + domain*: string + attemptCountGT*: float64 + +proc getPendingWebhookEventCount*(httpClient: HttpClient, params: ApiGetPendingWebhookEventCountRequest): (Option[GetPendingWebhookEventCountResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let externalId = params.externalId + let eventType = params.eventType + let `type` = params.`type` + let domain = params.domain + let attemptCountGT = params.attemptCountGT ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -970,7 +1486,25 @@ proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, comm constructResult[GetPendingWebhookEventCountResponse](response) -proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentId: string, externalId: string, eventType: string, `type`: string, domain: string, attemptCountGT: float64, skip: float64): (Option[GetPendingWebhookEventsResponse], Response) = +type ApiGetPendingWebhookEventsRequest* = object + tenantId*: string + commentId*: string + externalId*: string + eventType*: string + `type`*: string + domain*: string + attemptCountGT*: float64 + skip*: float64 + +proc getPendingWebhookEvents*(httpClient: HttpClient, params: ApiGetPendingWebhookEventsRequest): (Option[GetPendingWebhookEventsResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let externalId = params.externalId + let eventType = params.eventType + let `type` = params.`type` + let domain = params.domain + let attemptCountGT = params.attemptCountGT + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -994,7 +1528,13 @@ proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, commentI constructResult[GetPendingWebhookEventsResponse](response) -proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse], Response) = +type ApiGetQuestionConfigRequest* = object + tenantId*: string + id*: string + +proc getQuestionConfig*(httpClient: HttpClient, params: ApiGetQuestionConfigRequest): (Option[GetQuestionConfigResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1004,7 +1544,13 @@ proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): ( constructResult[GetQuestionConfigResponse](response) -proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse], Response) = +type ApiGetQuestionConfigsRequest* = object + tenantId*: string + skip*: float64 + +proc getQuestionConfigs*(httpClient: HttpClient, params: ApiGetQuestionConfigsRequest): (Option[GetQuestionConfigsResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1016,7 +1562,13 @@ proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64 constructResult[GetQuestionConfigsResponse](response) -proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse], Response) = +type ApiGetQuestionResultRequest* = object + tenantId*: string + id*: string + +proc getQuestionResult*(httpClient: HttpClient, params: ApiGetQuestionResultRequest): (Option[GetQuestionResultResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1026,7 +1578,23 @@ proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): ( constructResult[GetQuestionResultResponse](response) -proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, startDate: string, questionId: string, questionIds: string, skip: float64): (Option[GetQuestionResultsResponse], Response) = +type ApiGetQuestionResultsRequest* = object + tenantId*: string + urlId*: string + userId*: string + startDate*: string + questionId*: string + questionIds*: string + skip*: float64 + +proc getQuestionResults*(httpClient: HttpClient, params: ApiGetQuestionResultsRequest): (Option[GetQuestionResultsResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let userId = params.userId + let startDate = params.startDate + let questionId = params.questionId + let questionIds = params.questionIds + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1048,7 +1616,13 @@ proc getQuestionResults*(httpClient: HttpClient, tenantId: string, urlId: string constructResult[GetQuestionResultsResponse](response) -proc getSSOUserByEmail*(httpClient: HttpClient, tenantId: string, email: string): (Option[GetSSOUserByEmailAPIResponse], Response) = +type ApiGetSSOUserByEmailRequest* = object + tenantId*: string + email*: string + +proc getSSOUserByEmail*(httpClient: HttpClient, params: ApiGetSSOUserByEmailRequest): (Option[GetSSOUserByEmailAPIResponse], Response) = + let tenantId = params.tenantId + let email = params.email ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1058,7 +1632,13 @@ proc getSSOUserByEmail*(httpClient: HttpClient, tenantId: string, email: string) constructResult[GetSSOUserByEmailAPIResponse](response) -proc getSSOUserById*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetSSOUserByIdAPIResponse], Response) = +type ApiGetSSOUserByIdRequest* = object + tenantId*: string + id*: string + +proc getSSOUserById*(httpClient: HttpClient, params: ApiGetSSOUserByIdRequest): (Option[GetSSOUserByIdAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1068,7 +1648,13 @@ proc getSSOUserById*(httpClient: HttpClient, tenantId: string, id: string): (Opt constructResult[GetSSOUserByIdAPIResponse](response) -proc getSSOUsers*(httpClient: HttpClient, tenantId: string, skip: int): (Option[GetSSOUsersResponse], Response) = +type ApiGetSSOUsersRequest* = object + tenantId*: string + skip*: int + +proc getSSOUsers*(httpClient: HttpClient, params: ApiGetSSOUsersRequest): (Option[GetSSOUsersResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1080,7 +1666,13 @@ proc getSSOUsers*(httpClient: HttpClient, tenantId: string, skip: int): (Option[ constructResult[GetSSOUsersResponse](response) -proc getSubscriptions*(httpClient: HttpClient, tenantId: string, userId: string): (Option[GetSubscriptionsAPIResponse], Response) = +type ApiGetSubscriptionsRequest* = object + tenantId*: string + userId*: string + +proc getSubscriptions*(httpClient: HttpClient, params: ApiGetSubscriptionsRequest): (Option[GetSubscriptionsAPIResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1092,7 +1684,13 @@ proc getSubscriptions*(httpClient: HttpClient, tenantId: string, userId: string) constructResult[GetSubscriptionsAPIResponse](response) -proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse], Response) = +type ApiGetTenantRequest* = object + tenantId*: string + id*: string + +proc getTenant*(httpClient: HttpClient, params: ApiGetTenantRequest): (Option[GetTenantResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1102,7 +1700,19 @@ proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[G constructResult[GetTenantResponse](response) -proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: float64, monthNumber: float64, dayNumber: float64, skip: float64): (Option[GetTenantDailyUsagesResponse], Response) = +type ApiGetTenantDailyUsagesRequest* = object + tenantId*: string + yearNumber*: float64 + monthNumber*: float64 + dayNumber*: float64 + skip*: float64 + +proc getTenantDailyUsages*(httpClient: HttpClient, params: ApiGetTenantDailyUsagesRequest): (Option[GetTenantDailyUsagesResponse], Response) = + let tenantId = params.tenantId + let yearNumber = params.yearNumber + let monthNumber = params.monthNumber + let dayNumber = params.dayNumber + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1120,7 +1730,13 @@ proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, yearNumber: constructResult[GetTenantDailyUsagesResponse](response) -proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse], Response) = +type ApiGetTenantPackageRequest* = object + tenantId*: string + id*: string + +proc getTenantPackage*(httpClient: HttpClient, params: ApiGetTenantPackageRequest): (Option[GetTenantPackageResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1130,7 +1746,13 @@ proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (O constructResult[GetTenantPackageResponse](response) -proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse], Response) = +type ApiGetTenantPackagesRequest* = object + tenantId*: string + skip*: float64 + +proc getTenantPackages*(httpClient: HttpClient, params: ApiGetTenantPackagesRequest): (Option[GetTenantPackagesResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1142,7 +1764,13 @@ proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64) constructResult[GetTenantPackagesResponse](response) -proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse], Response) = +type ApiGetTenantUserRequest* = object + tenantId*: string + id*: string + +proc getTenantUser*(httpClient: HttpClient, params: ApiGetTenantUserRequest): (Option[GetTenantUserResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1152,7 +1780,13 @@ proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Opti constructResult[GetTenantUserResponse](response) -proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse], Response) = +type ApiGetTenantUsersRequest* = object + tenantId*: string + skip*: float64 + +proc getTenantUsers*(httpClient: HttpClient, params: ApiGetTenantUsersRequest): (Option[GetTenantUsersResponse], Response) = + let tenantId = params.tenantId + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1164,7 +1798,15 @@ proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): ( constructResult[GetTenantUsersResponse](response) -proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: float64): (Option[GetTenantsResponse], Response) = +type ApiGetTenantsRequest* = object + tenantId*: string + meta*: string + skip*: float64 + +proc getTenants*(httpClient: HttpClient, params: ApiGetTenantsRequest): (Option[GetTenantsResponse], Response) = + let tenantId = params.tenantId + let meta = params.meta + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1178,7 +1820,15 @@ proc getTenants*(httpClient: HttpClient, tenantId: string, meta: string, skip: f constructResult[GetTenantsResponse](response) -proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string): (Option[GetTicketResponse], Response) = +type ApiGetTicketRequest* = object + tenantId*: string + id*: string + userId*: string + +proc getTicket*(httpClient: HttpClient, params: ApiGetTicketRequest): (Option[GetTicketResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let userId = params.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1190,7 +1840,19 @@ proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: st constructResult[GetTicketResponse](response) -proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state: float64, skip: float64, limit: float64): (Option[GetTicketsResponse], Response) = +type ApiGetTicketsRequest* = object + tenantId*: string + userId*: string + state*: float64 + skip*: float64 + limit*: float64 + +proc getTickets*(httpClient: HttpClient, params: ApiGetTicketsRequest): (Option[GetTicketsResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let state = params.state + let skip = params.skip + let limit = params.limit ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1208,7 +1870,13 @@ proc getTickets*(httpClient: HttpClient, tenantId: string, userId: string, state constructResult[GetTicketsResponse](response) -proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse], Response) = +type ApiGetUserRequest* = object + tenantId*: string + id*: string + +proc getUser*(httpClient: HttpClient, params: ApiGetUserRequest): (Option[GetUserResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1218,7 +1886,13 @@ proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[Get constructResult[GetUserResponse](response) -proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeResponse], Response) = +type ApiGetUserBadgeRequest* = object + tenantId*: string + id*: string + +proc getUserBadge*(httpClient: HttpClient, params: ApiGetUserBadgeRequest): (Option[APIGetUserBadgeResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1228,7 +1902,13 @@ proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Optio constructResult[APIGetUserBadgeResponse](response) -proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeProgressResponse], Response) = +type ApiGetUserBadgeProgressByIdRequest* = object + tenantId*: string + id*: string + +proc getUserBadgeProgressById*(httpClient: HttpClient, params: ApiGetUserBadgeProgressByIdRequest): (Option[APIGetUserBadgeProgressResponse], Response) = + let tenantId = params.tenantId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1238,7 +1918,13 @@ proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: str constructResult[APIGetUserBadgeProgressResponse](response) -proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[APIGetUserBadgeProgressResponse], Response) = +type ApiGetUserBadgeProgressByUserIdRequest* = object + tenantId*: string + userId*: string + +proc getUserBadgeProgressByUserId*(httpClient: HttpClient, params: ApiGetUserBadgeProgressByUserIdRequest): (Option[APIGetUserBadgeProgressResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1248,7 +1934,17 @@ proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, use constructResult[APIGetUserBadgeProgressResponse](response) -proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: string, limit: float64, skip: float64): (Option[APIGetUserBadgeProgressListResponse], Response) = +type ApiGetUserBadgeProgressListRequest* = object + tenantId*: string + userId*: string + limit*: float64 + skip*: float64 + +proc getUserBadgeProgressList*(httpClient: HttpClient, params: ApiGetUserBadgeProgressListRequest): (Option[APIGetUserBadgeProgressListResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let limit = params.limit + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1264,7 +1960,23 @@ proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, userId: constructResult[APIGetUserBadgeProgressListResponse](response) -proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, badgeId: string, `type`: float64, displayedOnComments: bool, limit: float64, skip: float64): (Option[APIGetUserBadgesResponse], Response) = +type ApiGetUserBadgesRequest* = object + tenantId*: string + userId*: string + badgeId*: string + `type`*: float64 + displayedOnComments*: bool + limit*: float64 + skip*: float64 + +proc getUserBadges*(httpClient: HttpClient, params: ApiGetUserBadgesRequest): (Option[APIGetUserBadgesResponse], Response) = + let tenantId = params.tenantId + let userId = params.userId + let badgeId = params.badgeId + let `type` = params.`type` + let displayedOnComments = params.displayedOnComments + let limit = params.limit + let skip = params.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1286,7 +1998,13 @@ proc getUserBadges*(httpClient: HttpClient, tenantId: string, userId: string, ba constructResult[APIGetUserBadgesResponse](response) -proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse], Response) = +type ApiGetVotesRequest* = object + tenantId*: string + urlId*: string + +proc getVotes*(httpClient: HttpClient, params: ApiGetVotesRequest): (Option[GetVotesResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1297,7 +2015,17 @@ proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option constructResult[GetVotesResponse](response) -proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, userId: string, anonUserId: string): (Option[GetVotesForUserResponse], Response) = +type ApiGetVotesForUserRequest* = object + tenantId*: string + urlId*: string + userId*: string + anonUserId*: string + +proc getVotesForUser*(httpClient: HttpClient, params: ApiGetVotesForUserRequest): (Option[GetVotesForUserResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let userId = params.userId + let anonUserId = params.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1312,7 +2040,15 @@ proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, u constructResult[GetVotesForUserResponse](response) -proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams): (Option[PatchDomainConfigResponse], Response) = +type ApiPatchDomainConfigRequest* = object + tenantId*: string + domainToUpdate*: string + patchDomainConfigParams*: PatchDomainConfigParams + +proc patchDomainConfig*(httpClient: HttpClient, params: ApiPatchDomainConfigRequest): (Option[PatchDomainConfigResponse], Response) = + let tenantId = params.tenantId + let domainToUpdate = params.domainToUpdate + let patchDomainConfigParams = params.patchDomainConfigParams ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1323,7 +2059,15 @@ proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate constructResult[PatchDomainConfigResponse](response) -proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, updateHashTagBody: UpdateHashTagBody): (Option[UpdateHashTagResponse], Response) = +type ApiPatchHashTagRequest* = object + tag*: string + tenantId*: string + updateHashTagBody*: UpdateHashTagBody + +proc patchHashTag*(httpClient: HttpClient, params: ApiPatchHashTagRequest): (Option[UpdateHashTagResponse], Response) = + let tag = params.tag + let tenantId = params.tenantId + let updateHashTagBody = params.updateHashTagBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1335,7 +2079,15 @@ proc patchHashTag*(httpClient: HttpClient, tag: string, tenantId: string, update constructResult[UpdateHashTagResponse](response) -proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIPageData: UpdateAPIPageData): (Option[PatchPageAPIResponse], Response) = +type ApiPatchPageRequest* = object + tenantId*: string + id*: string + updateAPIPageData*: UpdateAPIPageData + +proc patchPage*(httpClient: HttpClient, params: ApiPatchPageRequest): (Option[PatchPageAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateAPIPageData = params.updateAPIPageData ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1346,7 +2098,17 @@ proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIP constructResult[PatchPageAPIResponse](response) -proc patchSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: bool): (Option[PatchSSOUserAPIResponse], Response) = +type ApiPatchSSOUserRequest* = object + tenantId*: string + id*: string + updateAPISSOUserData*: UpdateAPISSOUserData + updateComments*: bool + +proc patchSSOUser*(httpClient: HttpClient, params: ApiPatchSSOUserRequest): (Option[PatchSSOUserAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateAPISSOUserData = params.updateAPISSOUserData + let updateComments = params.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1359,7 +2121,15 @@ proc patchSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateA constructResult[PatchSSOUserAPIResponse](response) -proc putDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, updateDomainConfigParams: UpdateDomainConfigParams): (Option[PutDomainConfigResponse], Response) = +type ApiPutDomainConfigRequest* = object + tenantId*: string + domainToUpdate*: string + updateDomainConfigParams*: UpdateDomainConfigParams + +proc putDomainConfig*(httpClient: HttpClient, params: ApiPutDomainConfigRequest): (Option[PutDomainConfigResponse], Response) = + let tenantId = params.tenantId + let domainToUpdate = params.domainToUpdate + let updateDomainConfigParams = params.updateDomainConfigParams ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1370,7 +2140,17 @@ proc putDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: constructResult[PutDomainConfigResponse](response) -proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: bool): (Option[PutSSOUserAPIResponse], Response) = +type ApiPutSSOUserRequest* = object + tenantId*: string + id*: string + updateAPISSOUserData*: UpdateAPISSOUserData + updateComments*: bool + +proc putSSOUser*(httpClient: HttpClient, params: ApiPutSSOUserRequest): (Option[PutSSOUserAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateAPISSOUserData = params.updateAPISSOUserData + let updateComments = params.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1383,7 +2163,15 @@ proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPI constructResult[PutSSOUserAPIResponse](response) -proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string): (Option[RenderEmailTemplateResponse], Response) = +type ApiRenderEmailTemplateRequest* = object + tenantId*: string + renderEmailTemplateBody*: RenderEmailTemplateBody + locale*: string + +proc renderEmailTemplate*(httpClient: HttpClient, params: ApiRenderEmailTemplateRequest): (Option[RenderEmailTemplateResponse], Response) = + let tenantId = params.tenantId + let renderEmailTemplateBody = params.renderEmailTemplateBody + let locale = params.locale ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1396,7 +2184,15 @@ proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailT constructResult[RenderEmailTemplateResponse](response) -proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[APIEmptyResponse], Response) = +type ApiReplaceTenantPackageRequest* = object + tenantId*: string + id*: string + replaceTenantPackageBody*: ReplaceTenantPackageBody + +proc replaceTenantPackage*(httpClient: HttpClient, params: ApiReplaceTenantPackageRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let replaceTenantPackageBody = params.replaceTenantPackageBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1407,7 +2203,17 @@ proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = +type ApiReplaceTenantUserRequest* = object + tenantId*: string + id*: string + replaceTenantUserBody*: ReplaceTenantUserBody + updateComments*: string + +proc replaceTenantUser*(httpClient: HttpClient, params: ApiReplaceTenantUserRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let replaceTenantUserBody = params.replaceTenantUserBody + let updateComments = params.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1420,7 +2226,21 @@ proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, re constructResult[APIEmptyResponse](response) -proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[APISaveCommentResponse], Response) = +type ApiSaveCommentRequest* = object + tenantId*: string + createCommentParams*: CreateCommentParams + isLive*: bool + doSpamCheck*: bool + sendEmails*: bool + populateNotifications*: bool + +proc saveComment*(httpClient: HttpClient, params: ApiSaveCommentRequest): (Option[APISaveCommentResponse], Response) = + let tenantId = params.tenantId + let createCommentParams = params.createCommentParams + let isLive = params.isLive + let doSpamCheck = params.doSpamCheck + let sendEmails = params.sendEmails + let populateNotifications = params.populateNotifications ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1439,7 +2259,21 @@ proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: constructResult[APISaveCommentResponse](response) -proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], isLive: bool, doSpamCheck: bool, sendEmails: bool, populateNotifications: bool): (Option[seq[SaveCommentsBulkResponse]], Response) = +type ApiSaveCommentsBulkRequest* = object + tenantId*: string + createCommentParams*: seq[CreateCommentParams] + isLive*: bool + doSpamCheck*: bool + sendEmails*: bool + populateNotifications*: bool + +proc saveCommentsBulk*(httpClient: HttpClient, params: ApiSaveCommentsBulkRequest): (Option[seq[SaveCommentsBulkResponse]], Response) = + let tenantId = params.tenantId + let createCommentParams = params.createCommentParams + let isLive = params.isLive + let doSpamCheck = params.doSpamCheck + let sendEmails = params.sendEmails + let populateNotifications = params.populateNotifications ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1458,7 +2292,15 @@ proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentPa constructResult[seq[SaveCommentsBulkResponse]](response) -proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[APIEmptyResponse], Response) = +type ApiSendInviteRequest* = object + tenantId*: string + id*: string + fromName*: string + +proc sendInvite*(httpClient: HttpClient, params: ApiSendInviteRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let fromName = params.fromName ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1469,7 +2311,15 @@ proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: constructResult[APIEmptyResponse](response) -proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string): (Option[APIEmptyResponse], Response) = +type ApiSendLoginLinkRequest* = object + tenantId*: string + id*: string + redirectURL*: string + +proc sendLoginLink*(httpClient: HttpClient, params: ApiSendLoginLinkRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let redirectURL = params.redirectURL ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1481,7 +2331,19 @@ proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redire constructResult[APIEmptyResponse](response) -proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId: string, anonUserId: string): (Option[UnblockSuccess], Response) = +type ApiUnBlockUserFromCommentRequest* = object + tenantId*: string + id*: string + unBlockFromCommentParams*: UnBlockFromCommentParams + userId*: string + anonUserId*: string + +proc unBlockUserFromComment*(httpClient: HttpClient, params: ApiUnBlockUserFromCommentRequest): (Option[UnblockSuccess], Response) = + let tenantId = params.tenantId + let id = params.id + let unBlockFromCommentParams = params.unBlockFromCommentParams + let userId = params.userId + let anonUserId = params.anonUserId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1496,7 +2358,17 @@ proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: strin constructResult[UnblockSuccess](response) -proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId: string, anonUserId: string): (Option[FlagCommentResponse], Response) = +type ApiUnFlagCommentRequest* = object + tenantId*: string + id*: string + userId*: string + anonUserId*: string + +proc unFlagComment*(httpClient: HttpClient, params: ApiUnFlagCommentRequest): (Option[FlagCommentResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let userId = params.userId + let anonUserId = params.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1510,7 +2382,21 @@ proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, userId constructResult[FlagCommentResponse](response) -proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, contextUserId: string, doSpamCheck: bool, isLive: bool): (Option[APIEmptyResponse], Response) = +type ApiUpdateCommentRequest* = object + tenantId*: string + id*: string + updatableCommentParams*: UpdatableCommentParams + contextUserId*: string + doSpamCheck*: bool + isLive*: bool + +proc updateComment*(httpClient: HttpClient, params: ApiUpdateCommentRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updatableCommentParams = params.updatableCommentParams + let contextUserId = params.contextUserId + let doSpamCheck = params.doSpamCheck + let isLive = params.isLive ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1527,7 +2413,15 @@ proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updata constructResult[APIEmptyResponse](response) -proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateEmailTemplateRequest* = object + tenantId*: string + id*: string + updateEmailTemplateBody*: UpdateEmailTemplateBody + +proc updateEmailTemplate*(httpClient: HttpClient, params: ApiUpdateEmailTemplateRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateEmailTemplateBody = params.updateEmailTemplateBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1538,7 +2432,15 @@ proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[APIEmptyResponse], Response) = +type ApiUpdateFeedPostRequest* = object + tenantId*: string + id*: string + feedPost*: FeedPost + +proc updateFeedPost*(httpClient: HttpClient, params: ApiUpdateFeedPostRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let feedPost = params.feedPost ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1549,7 +2451,15 @@ proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedP constructResult[APIEmptyResponse](response) -proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateModeratorRequest* = object + tenantId*: string + id*: string + updateModeratorBody*: UpdateModeratorBody + +proc updateModerator*(httpClient: HttpClient, params: ApiUpdateModeratorRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateModeratorBody = params.updateModeratorBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1560,7 +2470,17 @@ proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, upda constructResult[APIEmptyResponse](response) -proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string): (Option[APIEmptyResponse], Response) = +type ApiUpdateNotificationRequest* = object + tenantId*: string + id*: string + updateNotificationBody*: UpdateNotificationBody + userId*: string + +proc updateNotification*(httpClient: HttpClient, params: ApiUpdateNotificationRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateNotificationBody = params.updateNotificationBody + let userId = params.userId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1573,7 +2493,15 @@ proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[APIEmptyResponse](response) -proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateQuestionConfigRequest* = object + tenantId*: string + id*: string + updateQuestionConfigBody*: UpdateQuestionConfigBody + +proc updateQuestionConfig*(httpClient: HttpClient, params: ApiUpdateQuestionConfigRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateQuestionConfigBody = params.updateQuestionConfigBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1584,7 +2512,15 @@ proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateQuestionResultRequest* = object + tenantId*: string + id*: string + updateQuestionResultBody*: UpdateQuestionResultBody + +proc updateQuestionResult*(httpClient: HttpClient, params: ApiUpdateQuestionResultRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateQuestionResultBody = params.updateQuestionResultBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1595,7 +2531,17 @@ proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: string): (Option[UpdateSubscriptionAPIResponse], Response) = +type ApiUpdateSubscriptionRequest* = object + tenantId*: string + id*: string + updateAPIUserSubscriptionData*: UpdateAPIUserSubscriptionData + userId*: string + +proc updateSubscription*(httpClient: HttpClient, params: ApiUpdateSubscriptionRequest): (Option[UpdateSubscriptionAPIResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateAPIUserSubscriptionData = params.updateAPIUserSubscriptionData + let userId = params.userId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1608,7 +2554,15 @@ proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, u constructResult[UpdateSubscriptionAPIResponse](response) -proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateTenantRequest* = object + tenantId*: string + id*: string + updateTenantBody*: UpdateTenantBody + +proc updateTenant*(httpClient: HttpClient, params: ApiUpdateTenantRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateTenantBody = params.updateTenantBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1619,7 +2573,15 @@ proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateT constructResult[APIEmptyResponse](response) -proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[APIEmptyResponse], Response) = +type ApiUpdateTenantPackageRequest* = object + tenantId*: string + id*: string + updateTenantPackageBody*: UpdateTenantPackageBody + +proc updateTenantPackage*(httpClient: HttpClient, params: ApiUpdateTenantPackageRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateTenantPackageBody = params.updateTenantPackageBody ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1630,7 +2592,17 @@ proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string): (Option[APIEmptyResponse], Response) = +type ApiUpdateTenantUserRequest* = object + tenantId*: string + id*: string + updateTenantUserBody*: UpdateTenantUserBody + updateComments*: string + +proc updateTenantUser*(httpClient: HttpClient, params: ApiUpdateTenantUserRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateTenantUserBody = params.updateTenantUserBody + let updateComments = params.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1643,7 +2615,15 @@ proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, upd constructResult[APIEmptyResponse](response) -proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[APIEmptySuccessResponse], Response) = +type ApiUpdateUserBadgeRequest* = object + tenantId*: string + id*: string + updateUserBadgeParams*: UpdateUserBadgeParams + +proc updateUserBadge*(httpClient: HttpClient, params: ApiUpdateUserBadgeRequest): (Option[APIEmptySuccessResponse], Response) = + let tenantId = params.tenantId + let id = params.id + let updateUserBadgeParams = params.updateUserBadgeParams ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] diff --git a/client/fastcomments/apis/api_moderation.nim b/client/fastcomments/apis/api_moderation.nim index 6f96ff7..f349a70 100644 --- a/client/fastcomments/apis/api_moderation.nim +++ b/client/fastcomments/apis/api_moderation.nim @@ -75,13 +75,25 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, broadcastId: string, tenantId: string, sso: string): (Option[VoteDeleteResponse], Response) = +type ApiDeleteModerationVoteRequest* = object + commentId*: string + voteId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc deleteModerationVote*(httpClient: HttpClient, params: ApiDeleteModerationVoteRequest): (Option[VoteDeleteResponse], Response) = + let commentId = params.commentId + let voteId = params.voteId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -90,7 +102,29 @@ proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: st constructResult[VoteDeleteResponse](response) -proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPIGetCommentsResponse], Response) = +type ApiGetApiCommentsRequest* = object + page*: float64 + count*: float64 + textSearch*: string + byIPFromComment*: string + filters*: string + searchFilters*: string + sorts*: string + demo*: bool + tenantId*: string + sso*: string + +proc getApiComments*(httpClient: HttpClient, params: ApiGetApiCommentsRequest): (Option[ModerationAPIGetCommentsResponse], Response) = + let page = params.page + let count = params.count + let textSearch = params.textSearch + let byIPFromComment = params.byIPFromComment + let filters = params.filters + let searchFilters = params.searchFilters + let sorts = params.sorts + let demo = params.demo + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $page != "": @@ -119,7 +153,15 @@ proc getApiComments*(httpClient: HttpClient, page: float64, count: float64, text constructResult[ModerationAPIGetCommentsResponse](response) -proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: string, sso: string): (Option[ModerationExportStatusResponse], Response) = +type ApiGetApiExportStatusRequest* = object + batchJobId*: string + tenantId*: string + sso*: string + +proc getApiExportStatus*(httpClient: HttpClient, params: ApiGetApiExportStatusRequest): (Option[ModerationExportStatusResponse], Response) = + let batchJobId = params.batchJobId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $batchJobId != "": @@ -134,7 +176,25 @@ proc getApiExportStatus*(httpClient: HttpClient, batchJobId: string, tenantId: s constructResult[ModerationExportStatusResponse](response) -proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, afterId: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPIGetCommentIdsResponse], Response) = +type ApiGetApiIdsRequest* = object + textSearch*: string + byIPFromComment*: string + filters*: string + searchFilters*: string + afterId*: string + demo*: bool + tenantId*: string + sso*: string + +proc getApiIds*(httpClient: HttpClient, params: ApiGetApiIdsRequest): (Option[ModerationAPIGetCommentIdsResponse], Response) = + let textSearch = params.textSearch + let byIPFromComment = params.byIPFromComment + let filters = params.filters + let searchFilters = params.searchFilters + let afterId = params.afterId + let demo = params.demo + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -159,7 +219,15 @@ proc getApiIds*(httpClient: HttpClient, textSearch: string, byIPFromComment: str constructResult[ModerationAPIGetCommentIdsResponse](response) -proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetBannedUsersFromCommentResponse], Response) = +type ApiGetBanUsersFromCommentRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getBanUsersFromComment*(httpClient: HttpClient, params: ApiGetBanUsersFromCommentRequest): (Option[GetBannedUsersFromCommentResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -172,7 +240,15 @@ proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, tenantId constructResult[GetBannedUsersFromCommentResponse](response) -proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentBanStatusResponse], Response) = +type ApiGetCommentBanStatusRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getCommentBanStatus*(httpClient: HttpClient, params: ApiGetCommentBanStatusRequest): (Option[GetCommentBanStatusResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -185,7 +261,15 @@ proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, tenantId: s constructResult[GetCommentBanStatusResponse](response) -proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = +type ApiGetCommentChildrenRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getCommentChildren*(httpClient: HttpClient, params: ApiGetCommentChildrenRequest): (Option[ModerationAPIChildCommentsResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -198,7 +282,23 @@ proc getCommentChildren*(httpClient: HttpClient, commentId: string, tenantId: st constructResult[ModerationAPIChildCommentsResponse](response) -proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filter: string, searchFilters: string, demo: bool, tenantId: string, sso: string): (Option[ModerationAPICountCommentsResponse], Response) = +type ApiGetCountRequest* = object + textSearch*: string + byIPFromComment*: string + filter*: string + searchFilters*: string + demo*: bool + tenantId*: string + sso*: string + +proc getCount*(httpClient: HttpClient, params: ApiGetCountRequest): (Option[ModerationAPICountCommentsResponse], Response) = + let textSearch = params.textSearch + let byIPFromComment = params.byIPFromComment + let filter = params.filter + let searchFilters = params.searchFilters + let demo = params.demo + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -221,7 +321,13 @@ proc getCount*(httpClient: HttpClient, textSearch: string, byIPFromComment: stri constructResult[ModerationAPICountCommentsResponse](response) -proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetBannedUsersCountResponse], Response) = +type ApiGetCountsRequest* = object + tenantId*: string + sso*: string + +proc getCounts*(httpClient: HttpClient, params: ApiGetCountsRequest): (Option[GetBannedUsersCountResponse], Response) = + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -234,7 +340,15 @@ proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ constructResult[GetBannedUsersCountResponse](response) -proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[ModerationAPIGetLogsResponse], Response) = +type ApiGetLogsRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getLogs*(httpClient: HttpClient, params: ApiGetLogsRequest): (Option[ModerationAPIGetLogsResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -247,7 +361,13 @@ proc getLogs*(httpClient: HttpClient, commentId: string, tenantId: string, sso: constructResult[ModerationAPIGetLogsResponse](response) -proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetTenantManualBadgesResponse], Response) = +type ApiGetManualBadgesRequest* = object + tenantId*: string + sso*: string + +proc getManualBadges*(httpClient: HttpClient, params: ApiGetManualBadgesRequest): (Option[GetTenantManualBadgesResponse], Response) = + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -260,7 +380,17 @@ proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string): (O constructResult[GetTenantManualBadgesResponse](response) -proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, commentId: string, tenantId: string, sso: string): (Option[GetUserManualBadgesResponse], Response) = +type ApiGetManualBadgesForUserRequest* = object + badgesUserId*: string + commentId*: string + tenantId*: string + sso*: string + +proc getManualBadgesForUser*(httpClient: HttpClient, params: ApiGetManualBadgesForUserRequest): (Option[GetUserManualBadgesResponse], Response) = + let badgesUserId = params.badgesUserId + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $badgesUserId != "": @@ -277,7 +407,19 @@ proc getManualBadgesForUser*(httpClient: HttpClient, badgesUserId: string, comme constructResult[GetUserManualBadgesResponse](response) -proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEmail: bool, includeIP: bool, tenantId: string, sso: string): (Option[ModerationAPICommentResponse], Response) = +type ApiGetModerationCommentRequest* = object + commentId*: string + includeEmail*: bool + includeIP*: bool + tenantId*: string + sso*: string + +proc getModerationComment*(httpClient: HttpClient, params: ApiGetModerationCommentRequest): (Option[ModerationAPICommentResponse], Response) = + let commentId = params.commentId + let includeEmail = params.includeEmail + let includeIP = params.includeIP + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $includeEmail != "": @@ -294,7 +436,15 @@ proc getModerationComment*(httpClient: HttpClient, commentId: string, includeEma constructResult[ModerationAPICommentResponse](response) -proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetCommentTextResponse], Response) = +type ApiGetModerationCommentTextRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getModerationCommentText*(httpClient: HttpClient, params: ApiGetModerationCommentTextRequest): (Option[GetCommentTextResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -307,7 +457,21 @@ proc getModerationCommentText*(httpClient: HttpClient, commentId: string, tenant constructResult[GetCommentTextResponse](response) -proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[PreBanSummary], Response) = +type ApiGetPreBanSummaryRequest* = object + commentId*: string + includeByUserIdAndEmail*: bool + includeByIP*: bool + includeByEmailDomain*: bool + tenantId*: string + sso*: string + +proc getPreBanSummary*(httpClient: HttpClient, params: ApiGetPreBanSummaryRequest): (Option[PreBanSummary], Response) = + let commentId = params.commentId + let includeByUserIdAndEmail = params.includeByUserIdAndEmail + let includeByIP = params.includeByIP + let includeByEmailDomain = params.includeByEmailDomain + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $includeByUserIdAndEmail != "": @@ -326,7 +490,19 @@ proc getPreBanSummary*(httpClient: HttpClient, commentId: string, includeByUserI constructResult[PreBanSummary](response) -proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: string, searchFilters: string, tenantId: string, sso: string): (Option[ModerationCommentSearchResponse], Response) = +type ApiGetSearchCommentsSummaryRequest* = object + value*: string + filters*: string + searchFilters*: string + tenantId*: string + sso*: string + +proc getSearchCommentsSummary*(httpClient: HttpClient, params: ApiGetSearchCommentsSummaryRequest): (Option[ModerationCommentSearchResponse], Response) = + let value = params.value + let filters = params.filters + let searchFilters = params.searchFilters + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -345,7 +521,15 @@ proc getSearchCommentsSummary*(httpClient: HttpClient, value: string, filters: s constructResult[ModerationCommentSearchResponse](response) -proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationPageSearchResponse], Response) = +type ApiGetSearchPagesRequest* = object + value*: string + tenantId*: string + sso*: string + +proc getSearchPages*(httpClient: HttpClient, params: ApiGetSearchPagesRequest): (Option[ModerationPageSearchResponse], Response) = + let value = params.value + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -360,7 +544,15 @@ proc getSearchPages*(httpClient: HttpClient, value: string, tenantId: string, ss constructResult[ModerationPageSearchResponse](response) -proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationSiteSearchResponse], Response) = +type ApiGetSearchSitesRequest* = object + value*: string + tenantId*: string + sso*: string + +proc getSearchSites*(httpClient: HttpClient, params: ApiGetSearchSitesRequest): (Option[ModerationSiteSearchResponse], Response) = + let value = params.value + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -375,7 +567,15 @@ proc getSearchSites*(httpClient: HttpClient, value: string, tenantId: string, ss constructResult[ModerationSiteSearchResponse](response) -proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: string, sso: string): (Option[ModerationSuggestResponse], Response) = +type ApiGetSearchSuggestRequest* = object + textSearch*: string + tenantId*: string + sso*: string + +proc getSearchSuggest*(httpClient: HttpClient, params: ApiGetSearchSuggestRequest): (Option[ModerationSuggestResponse], Response) = + let textSearch = params.textSearch + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -390,7 +590,15 @@ proc getSearchSuggest*(httpClient: HttpClient, textSearch: string, tenantId: str constructResult[ModerationSuggestResponse](response) -proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, sso: string): (Option[ModerationUserSearchResponse], Response) = +type ApiGetSearchUsersRequest* = object + value*: string + tenantId*: string + sso*: string + +proc getSearchUsers*(httpClient: HttpClient, params: ApiGetSearchUsersRequest): (Option[ModerationUserSearchResponse], Response) = + let value = params.value + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -405,7 +613,15 @@ proc getSearchUsers*(httpClient: HttpClient, value: string, tenantId: string, ss constructResult[ModerationUserSearchResponse](response) -proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, sso: string): (Option[GetUserTrustFactorResponse], Response) = +type ApiGetTrustFactorRequest* = object + userId*: string + tenantId*: string + sso*: string + +proc getTrustFactor*(httpClient: HttpClient, params: ApiGetTrustFactorRequest): (Option[GetUserTrustFactorResponse], Response) = + let userId = params.userId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -420,7 +636,13 @@ proc getTrustFactor*(httpClient: HttpClient, userId: string, tenantId: string, s constructResult[GetUserTrustFactorResponse](response) -proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string): (Option[APIModerateGetUserBanPreferencesResponse], Response) = +type ApiGetUserBanPreferenceRequest* = object + tenantId*: string + sso*: string + +proc getUserBanPreference*(httpClient: HttpClient, params: ApiGetUserBanPreferenceRequest): (Option[APIModerateGetUserBanPreferencesResponse], Response) = + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -433,7 +655,15 @@ proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string constructResult[APIModerateGetUserBanPreferencesResponse](response) -proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId: string, sso: string): (Option[GetUserInternalProfileResponse], Response) = +type ApiGetUserInternalProfileRequest* = object + commentId*: string + tenantId*: string + sso*: string + +proc getUserInternalProfile*(httpClient: HttpClient, params: ApiGetUserInternalProfileRequest): (Option[GetUserInternalProfileResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $commentId != "": @@ -448,14 +678,26 @@ proc getUserInternalProfile*(httpClient: HttpClient, commentId: string, tenantId constructResult[GetUserInternalProfileResponse](response) -proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: string, tenantId: string, sso: string): (Option[AdjustVotesResponse], Response) = +type ApiPostAdjustCommentVotesRequest* = object + commentId*: string + adjustCommentVotesParams*: AdjustCommentVotesParams + tenantId*: string + broadcastId*: string + sso*: string + +proc postAdjustCommentVotes*(httpClient: HttpClient, params: ApiPostAdjustCommentVotesRequest): (Option[AdjustVotesResponse], Response) = + let commentId = params.commentId + let adjustCommentVotesParams = params.adjustCommentVotesParams + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -464,7 +706,23 @@ proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCo constructResult[AdjustVotesResponse](response) -proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: string, filters: string, searchFilters: string, sorts: string, tenantId: string, sso: string): (Option[ModerationExportResponse], Response) = +type ApiPostApiExportRequest* = object + textSearch*: string + byIPFromComment*: string + filters*: string + searchFilters*: string + sorts*: string + tenantId*: string + sso*: string + +proc postApiExport*(httpClient: HttpClient, params: ApiPostApiExportRequest): (Option[ModerationExportResponse], Response) = + let textSearch = params.textSearch + let byIPFromComment = params.byIPFromComment + let filters = params.filters + let searchFilters = params.searchFilters + let sorts = params.sorts + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -487,7 +745,31 @@ proc postApiExport*(httpClient: HttpClient, textSearch: string, byIPFromComment: constructResult[ModerationExportResponse](response) -proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail: bool, banEmailDomain: bool, banIP: bool, deleteAllUsersComments: bool, bannedUntil: string, isShadowBan: bool, updateId: string, banReason: string, tenantId: string, sso: string): (Option[BanUserFromCommentResult], Response) = +type ApiPostBanUserFromCommentRequest* = object + commentId*: string + banEmail*: bool + banEmailDomain*: bool + banIP*: bool + deleteAllUsersComments*: bool + bannedUntil*: string + isShadowBan*: bool + updateId*: string + banReason*: string + tenantId*: string + sso*: string + +proc postBanUserFromComment*(httpClient: HttpClient, params: ApiPostBanUserFromCommentRequest): (Option[BanUserFromCommentResult], Response) = + let commentId = params.commentId + let banEmail = params.banEmail + let banEmailDomain = params.banEmailDomain + let banIP = params.banIP + let deleteAllUsersComments = params.deleteAllUsersComments + let bannedUntil = params.bannedUntil + let isShadowBan = params.isShadowBan + let updateId = params.updateId + let banReason = params.banReason + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $banEmail != "": @@ -516,7 +798,15 @@ proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, banEmail constructResult[BanUserFromCommentResult](response) -proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostBanUserUndoRequest* = object + banUserUndoParams*: BanUserUndoParams + tenantId*: string + sso*: string + +proc postBanUserUndo*(httpClient: HttpClient, params: ApiPostBanUserUndoRequest): (Option[APIEmptyResponse], Response) = + let banUserUndoParams = params.banUserUndoParams + let tenantId = params.tenantId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -530,7 +820,21 @@ proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoPara constructResult[APIEmptyResponse](response) -proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: bool, includeByIP: bool, includeByEmailDomain: bool, tenantId: string, sso: string): (Option[BulkPreBanSummary], Response) = +type ApiPostBulkPreBanSummaryRequest* = object + bulkPreBanParams*: BulkPreBanParams + includeByUserIdAndEmail*: bool + includeByIP*: bool + includeByEmailDomain*: bool + tenantId*: string + sso*: string + +proc postBulkPreBanSummary*(httpClient: HttpClient, params: ApiPostBulkPreBanSummaryRequest): (Option[BulkPreBanSummary], Response) = + let bulkPreBanParams = params.bulkPreBanParams + let includeByUserIdAndEmail = params.includeByUserIdAndEmail + let includeByIP = params.includeByIP + let includeByEmailDomain = params.includeByEmailDomain + let tenantId = params.tenantId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -550,7 +854,15 @@ proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBan constructResult[BulkPreBanSummary](response) -proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, tenantId: string, sso: string): (Option[ModerationAPIChildCommentsResponse], Response) = +type ApiPostCommentsByIdsRequest* = object + commentsByIdsParams*: CommentsByIdsParams + tenantId*: string + sso*: string + +proc postCommentsByIds*(httpClient: HttpClient, params: ApiPostCommentsByIdsRequest): (Option[ModerationAPIChildCommentsResponse], Response) = + let commentsByIdsParams = params.commentsByIdsParams + let tenantId = params.tenantId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -564,13 +876,23 @@ proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByI constructResult[ModerationAPIChildCommentsResponse](response) -proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostFlagCommentRequest* = object + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc postFlagComment*(httpClient: HttpClient, params: ApiPostFlagCommentRequest): (Option[APIEmptyResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -579,13 +901,23 @@ proc postFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: st constructResult[APIEmptyResponse](response) -proc postRemoveComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[PostRemoveCommentResponse], Response) = +type ApiPostRemoveCommentRequest* = object + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc postRemoveComment*(httpClient: HttpClient, params: ApiPostRemoveCommentRequest): (Option[PostRemoveCommentResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -594,13 +926,23 @@ proc postRemoveComment*(httpClient: HttpClient, commentId: string, broadcastId: constructResult[PostRemoveCommentResponse](response) -proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostRestoreDeletedCommentRequest* = object + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc postRestoreDeletedComment*(httpClient: HttpClient, params: ApiPostRestoreDeletedCommentRequest): (Option[APIEmptyResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -609,15 +951,27 @@ proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, broad constructResult[APIEmptyResponse](response) -proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, approved: bool, broadcastId: string, tenantId: string, sso: string): (Option[SetCommentApprovedResponse], Response) = +type ApiPostSetCommentApprovalStatusRequest* = object + commentId*: string + approved*: bool + tenantId*: string + broadcastId*: string + sso*: string + +proc postSetCommentApprovalStatus*(httpClient: HttpClient, params: ApiPostSetCommentApprovalStatusRequest): (Option[SetCommentApprovedResponse], Response) = + let commentId = params.commentId + let approved = params.approved + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $approved != "": query_params_list.add(("approved", $approved)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -626,15 +980,27 @@ proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, ap constructResult[SetCommentApprovedResponse](response) -proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, reviewed: bool, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostSetCommentReviewStatusRequest* = object + commentId*: string + reviewed*: bool + tenantId*: string + broadcastId*: string + sso*: string + +proc postSetCommentReviewStatus*(httpClient: HttpClient, params: ApiPostSetCommentReviewStatusRequest): (Option[APIEmptyResponse], Response) = + let commentId = params.commentId + let reviewed = params.reviewed + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $reviewed != "": query_params_list.add(("reviewed", $reviewed)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -643,17 +1009,31 @@ proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, revi constructResult[APIEmptyResponse](response) -proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: bool, permNotSpam: bool, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostSetCommentSpamStatusRequest* = object + commentId*: string + spam*: bool + permNotSpam*: bool + tenantId*: string + broadcastId*: string + sso*: string + +proc postSetCommentSpamStatus*(httpClient: HttpClient, params: ApiPostSetCommentSpamStatusRequest): (Option[APIEmptyResponse], Response) = + let commentId = params.commentId + let spam = params.spam + let permNotSpam = params.permNotSpam + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $spam != "": query_params_list.add(("spam", $spam)) if $permNotSpam != "": query_params_list.add(("permNotSpam", $permNotSpam)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -662,14 +1042,26 @@ proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, spam: constructResult[APIEmptyResponse](response) -proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, broadcastId: string, tenantId: string, sso: string): (Option[SetCommentTextResponse], Response) = +type ApiPostSetCommentTextRequest* = object + commentId*: string + setCommentTextParams*: SetCommentTextParams + tenantId*: string + broadcastId*: string + sso*: string + +proc postSetCommentText*(httpClient: HttpClient, params: ApiPostSetCommentTextRequest): (Option[SetCommentTextResponse], Response) = + let commentId = params.commentId + let setCommentTextParams = params.setCommentTextParams + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -678,13 +1070,23 @@ proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTe constructResult[SetCommentTextResponse](response) -proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPostUnFlagCommentRequest* = object + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc postUnFlagComment*(httpClient: HttpClient, params: ApiPostUnFlagCommentRequest): (Option[APIEmptyResponse], Response) = + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -693,15 +1095,27 @@ proc postUnFlagComment*(httpClient: HttpClient, commentId: string, broadcastId: constructResult[APIEmptyResponse](response) -proc postVote*(httpClient: HttpClient, commentId: string, direction: string, broadcastId: string, tenantId: string, sso: string): (Option[VoteResponse], Response) = +type ApiPostVoteRequest* = object + commentId*: string + direction*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc postVote*(httpClient: HttpClient, params: ApiPostVoteRequest): (Option[VoteResponse], Response) = + let commentId = params.commentId + let direction = params.direction + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $direction != "": query_params_list.add(("direction", $direction)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -710,7 +1124,21 @@ proc postVote*(httpClient: HttpClient, commentId: string, direction: string, bro constructResult[VoteResponse](response) -proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[AwardUserBadgeResponse], Response) = +type ApiPutAwardBadgeRequest* = object + badgeId*: string + userId*: string + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc putAwardBadge*(httpClient: HttpClient, params: ApiPutAwardBadgeRequest): (Option[AwardUserBadgeResponse], Response) = + let badgeId = params.badgeId + let userId = params.userId + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -718,10 +1146,10 @@ proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, com query_params_list.add(("userId", $userId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -730,7 +1158,15 @@ proc putAwardBadge*(httpClient: HttpClient, badgeId: string, userId: string, com constructResult[AwardUserBadgeResponse](response) -proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPutCloseThreadRequest* = object + urlId*: string + tenantId*: string + sso*: string + +proc putCloseThread*(httpClient: HttpClient, params: ApiPutCloseThreadRequest): (Option[APIEmptyResponse], Response) = + let urlId = params.urlId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -744,7 +1180,21 @@ proc putCloseThread*(httpClient: HttpClient, urlId: string, tenantId: string, ss constructResult[APIEmptyResponse](response) -proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, commentId: string, broadcastId: string, tenantId: string, sso: string): (Option[RemoveUserBadgeResponse], Response) = +type ApiPutRemoveBadgeRequest* = object + badgeId*: string + userId*: string + commentId*: string + tenantId*: string + broadcastId*: string + sso*: string + +proc putRemoveBadge*(httpClient: HttpClient, params: ApiPutRemoveBadgeRequest): (Option[RemoveUserBadgeResponse], Response) = + let badgeId = params.badgeId + let userId = params.userId + let commentId = params.commentId + let tenantId = params.tenantId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -752,10 +1202,10 @@ proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, co query_params_list.add(("userId", $userId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $broadcastId != "": - query_params_list.add(("broadcastId", $broadcastId)) if $tenantId != "": query_params_list.add(("tenantId", $tenantId)) + if $broadcastId != "": + query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) @@ -764,7 +1214,15 @@ proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, userId: string, co constructResult[RemoveUserBadgeResponse](response) -proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiPutReopenThreadRequest* = object + urlId*: string + tenantId*: string + sso*: string + +proc putReopenThread*(httpClient: HttpClient, params: ApiPutReopenThreadRequest): (Option[APIEmptyResponse], Response) = + let urlId = params.urlId + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -778,7 +1236,17 @@ proc putReopenThread*(httpClient: HttpClient, urlId: string, tenantId: string, s constructResult[APIEmptyResponse](response) -proc setTrustFactor*(httpClient: HttpClient, userId: string, trustFactor: string, tenantId: string, sso: string): (Option[SetUserTrustFactorResponse], Response) = +type ApiSetTrustFactorRequest* = object + userId*: string + trustFactor*: string + tenantId*: string + sso*: string + +proc setTrustFactor*(httpClient: HttpClient, params: ApiSetTrustFactorRequest): (Option[SetUserTrustFactorResponse], Response) = + let userId = params.userId + let trustFactor = params.trustFactor + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $userId != "": diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index 76bd07d..80956a9 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -87,7 +87,17 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[BlockSuccess], Response) = +type ApiBlockFromCommentPublicRequest* = object + tenantId*: string + commentId*: string + publicBlockFromCommentParams*: PublicBlockFromCommentParams + sso*: string + +proc blockFromCommentPublic*(httpClient: HttpClient, params: ApiBlockFromCommentPublicRequest): (Option[BlockSuccess], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let publicBlockFromCommentParams = params.publicBlockFromCommentParams + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -100,7 +110,15 @@ proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId constructResult[BlockSuccess](response) -proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string): (Option[CheckBlockedCommentsResponse], Response) = +type ApiCheckedCommentsForBlockedRequest* = object + tenantId*: string + commentIds*: string + sso*: string + +proc checkedCommentsForBlocked*(httpClient: HttpClient, params: ApiCheckedCommentsForBlockedRequest): (Option[CheckBlockedCommentsResponse], Response) = + let tenantId = params.tenantId + let commentIds = params.commentIds + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -113,7 +131,21 @@ proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commen constructResult[CheckBlockedCommentsResponse](response) -proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId: string, sso: string): (Option[SaveCommentsResponseWithPresence], Response) = +type ApiCreateCommentPublicRequest* = object + tenantId*: string + urlId*: string + broadcastId*: string + commentData*: CommentData + sessionId*: string + sso*: string + +proc createCommentPublic*(httpClient: HttpClient, params: ApiCreateCommentPublicRequest): (Option[SaveCommentsResponseWithPresence], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let broadcastId = params.broadcastId + let commentData = params.commentData + let sessionId = params.sessionId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -129,7 +161,17 @@ proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: strin constructResult[SaveCommentsResponseWithPresence](response) -proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = +type ApiCreateFeedPostPublicRequest* = object + tenantId*: string + createFeedPostParams*: CreateFeedPostParams + broadcastId*: string + sso*: string + +proc createFeedPostPublic*(httpClient: HttpClient, params: ApiCreateFeedPostPublicRequest): (Option[CreateFeedPostResponse], Response) = + let tenantId = params.tenantId + let createFeedPostParams = params.createFeedPostParams + let broadcastId = params.broadcastId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -143,7 +185,15 @@ proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedP constructResult[CreateFeedPostResponse](response) -proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string): (Option[CreateV1PageReact], Response) = +type ApiCreateV1PageReactRequest* = object + tenantId*: string + urlId*: string + title*: string + +proc createV1PageReact*(httpClient: HttpClient, params: ApiCreateV1PageReactRequest): (Option[CreateV1PageReact], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let title = params.title ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -155,7 +205,17 @@ proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string): (Option[CreateV1PageReact], Response) = +type ApiCreateV2PageReactRequest* = object + tenantId*: string + urlId*: string + id*: string + title*: string + +proc createV2PageReact*(httpClient: HttpClient, params: ApiCreateV2PageReactRequest): (Option[CreateV1PageReact], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let id = params.id + let title = params.title ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -168,7 +228,19 @@ proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, editKey: string, sso: string): (Option[PublicAPIDeleteCommentResponse], Response) = +type ApiDeleteCommentPublicRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + editKey*: string + sso*: string + +proc deleteCommentPublic*(httpClient: HttpClient, params: ApiDeleteCommentPublicRequest): (Option[PublicAPIDeleteCommentResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let editKey = params.editKey + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -182,7 +254,23 @@ proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: s constructResult[PublicAPIDeleteCommentResponse](response) -proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey: string, sso: string): (Option[VoteDeleteResponse], Response) = +type ApiDeleteCommentVoteRequest* = object + tenantId*: string + commentId*: string + voteId*: string + urlId*: string + broadcastId*: string + editKey*: string + sso*: string + +proc deleteCommentVote*(httpClient: HttpClient, params: ApiDeleteCommentVoteRequest): (Option[VoteDeleteResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let voteId = params.voteId + let urlId = params.urlId + let broadcastId = params.broadcastId + let editKey = params.editKey + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -197,7 +285,17 @@ proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: str constructResult[VoteDeleteResponse](response) -proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, broadcastId: string, sso: string): (Option[DeleteFeedPostPublicResponse], Response) = +type ApiDeleteFeedPostPublicRequest* = object + tenantId*: string + postId*: string + broadcastId*: string + sso*: string + +proc deleteFeedPostPublic*(httpClient: HttpClient, params: ApiDeleteFeedPostPublicRequest): (Option[DeleteFeedPostPublicResponse], Response) = + let tenantId = params.tenantId + let postId = params.postId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -210,7 +308,13 @@ proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str constructResult[DeleteFeedPostPublicResponse](response) -proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[CreateV1PageReact], Response) = +type ApiDeleteV1PageReactRequest* = object + tenantId*: string + urlId*: string + +proc deleteV1PageReact*(httpClient: HttpClient, params: ApiDeleteV1PageReactRequest): (Option[CreateV1PageReact], Response) = + let tenantId = params.tenantId + let urlId = params.urlId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -220,7 +324,15 @@ proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string) constructResult[CreateV1PageReact](response) -proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[CreateV1PageReact], Response) = +type ApiDeleteV2PageReactRequest* = object + tenantId*: string + urlId*: string + id*: string + +proc deleteV2PageReact*(httpClient: HttpClient, params: ApiDeleteV2PageReactRequest): (Option[CreateV1PageReact], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -231,7 +343,17 @@ proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string): (Option[APIEmptyResponse], Response) = +type ApiFlagCommentPublicRequest* = object + tenantId*: string + commentId*: string + isFlagged*: bool + sso*: string + +proc flagCommentPublic*(httpClient: HttpClient, params: ApiFlagCommentPublicRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let isFlagged = params.isFlagged + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -244,7 +366,17 @@ proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: str constructResult[APIEmptyResponse](response) -proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, editKey: string, sso: string): (Option[PublicAPIGetCommentTextResponse], Response) = +type ApiGetCommentTextRequest* = object + tenantId*: string + commentId*: string + editKey*: string + sso*: string + +proc getCommentText*(httpClient: HttpClient, params: ApiGetCommentTextRequest): (Option[PublicAPIGetCommentTextResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let editKey = params.editKey + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if $editKey != "": @@ -257,7 +389,17 @@ proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string constructResult[PublicAPIGetCommentTextResponse](response) -proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = +type ApiGetCommentVoteUserNamesRequest* = object + tenantId*: string + commentId*: string + dir*: int + sso*: string + +proc getCommentVoteUserNames*(httpClient: HttpClient, params: ApiGetCommentVoteUserNamesRequest): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let dir = params.dir + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("dir", $dir)) @@ -269,7 +411,23 @@ proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentI constructResult[GetCommentVoteUserNamesSuccessResponse](response) -proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: SortDirections, repliesToUserId: string, page: float64, includei10n: bool, locale: string, isCrawler: bool): (Option[GetCommentsForUserResponse], Response) = +type ApiGetCommentsForUserRequest* = object + userId*: string + direction*: SortDirections + repliesToUserId*: string + page*: float64 + includei10n*: bool + locale*: string + isCrawler*: bool + +proc getCommentsForUser*(httpClient: HttpClient, params: ApiGetCommentsForUserRequest): (Option[GetCommentsForUserResponse], Response) = + let userId = params.userId + let direction = params.direction + let repliesToUserId = params.repliesToUserId + let page = params.page + let includei10n = params.includei10n + let locale = params.locale + let isCrawler = params.isCrawler ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -292,7 +450,65 @@ proc getCommentsForUser*(httpClient: HttpClient, userId: string, direction: Sort constructResult[GetCommentsForUserResponse](response) -proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, page: int, direction: SortDirections, sso: string, skip: int, skipChildren: int, limit: int, limitChildren: int, countChildren: bool, fetchPageForCommentId: string, includeConfig: bool, countAll: bool, includei10n: bool, locale: string, modules: string, isCrawler: bool, includeNotificationCount: bool, asTree: bool, maxTreeDepth: int, useFullTranslationIds: bool, parentId: string, searchText: string, hashTags: seq[string], userId: string, customConfigStr: string, afterCommentId: string, beforeCommentId: string): (Option[GetCommentsResponseWithPresencePublicComment], Response) = +type ApiGetCommentsPublicRequest* = object + tenantId*: string + urlId*: string + page*: int + direction*: SortDirections + sso*: string + skip*: int + skipChildren*: int + limit*: int + limitChildren*: int + countChildren*: bool + fetchPageForCommentId*: string + includeConfig*: bool + countAll*: bool + includei10n*: bool + locale*: string + modules*: string + isCrawler*: bool + includeNotificationCount*: bool + asTree*: bool + maxTreeDepth*: int + useFullTranslationIds*: bool + parentId*: string + searchText*: string + hashTags*: seq[string] + userId*: string + customConfigStr*: string + afterCommentId*: string + beforeCommentId*: string + +proc getCommentsPublic*(httpClient: HttpClient, params: ApiGetCommentsPublicRequest): (Option[GetCommentsResponseWithPresencePublicComment], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let page = params.page + let direction = params.direction + let sso = params.sso + let skip = params.skip + let skipChildren = params.skipChildren + let limit = params.limit + let limitChildren = params.limitChildren + let countChildren = params.countChildren + let fetchPageForCommentId = params.fetchPageForCommentId + let includeConfig = params.includeConfig + let countAll = params.countAll + let includei10n = params.includei10n + let locale = params.locale + let modules = params.modules + let isCrawler = params.isCrawler + let includeNotificationCount = params.includeNotificationCount + let asTree = params.asTree + let maxTreeDepth = params.maxTreeDepth + let useFullTranslationIds = params.useFullTranslationIds + let parentId = params.parentId + let searchText = params.searchText + let hashTags = params.hashTags + let userId = params.userId + let customConfigStr = params.customConfigStr + let afterCommentId = params.afterCommentId + let beforeCommentId = params.beforeCommentId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -354,7 +570,19 @@ proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[GetCommentsResponseWithPresencePublicComment](response) -proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = +type ApiGetEventLogRequest* = object + tenantId*: string + urlId*: string + userIdWS*: string + startTime*: int64 + endTime*: int64 + +proc getEventLog*(httpClient: HttpClient, params: ApiGetEventLogRequest): (Option[GetEventLogResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let userIdWS = params.userIdWS + let startTime = params.startTime + let endTime = params.endTime ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -368,7 +596,23 @@ proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userI constructResult[GetEventLogResponse](response) -proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: string, limit: int, tags: seq[string], sso: string, isCrawler: bool, includeUserInfo: bool): (Option[PublicFeedPostsResponse], Response) = +type ApiGetFeedPostsPublicRequest* = object + tenantId*: string + afterId*: string + limit*: int + tags*: seq[string] + sso*: string + isCrawler*: bool + includeUserInfo*: bool + +proc getFeedPostsPublic*(httpClient: HttpClient, params: ApiGetFeedPostsPublicRequest): (Option[PublicFeedPostsResponse], Response) = + let tenantId = params.tenantId + let afterId = params.afterId + let limit = params.limit + let tags = params.tags + let sso = params.sso + let isCrawler = params.isCrawler + let includeUserInfo = params.includeUserInfo ## var query_params_list: seq[(string, string)] = @[] if $afterId != "": @@ -389,7 +633,15 @@ proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, afterId: stri constructResult[PublicFeedPostsResponse](response) -proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[FeedPostsStatsResponse], Response) = +type ApiGetFeedPostsStatsRequest* = object + tenantId*: string + postIds*: seq[string] + sso*: string + +proc getFeedPostsStats*(httpClient: HttpClient, params: ApiGetFeedPostsStatsRequest): (Option[FeedPostsStatsResponse], Response) = + let tenantId = params.tenantId + let postIds = params.postIds + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("postIds", $postIds.join(","))) @@ -401,7 +653,13 @@ proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[s constructResult[FeedPostsStatsResponse](response) -proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GifGetLargeResponse], Response) = +type ApiGetGifLargeRequest* = object + tenantId*: string + largeInternalURLSanitized*: string + +proc getGifLarge*(httpClient: HttpClient, params: ApiGetGifLargeRequest): (Option[GifGetLargeResponse], Response) = + let tenantId = params.tenantId + let largeInternalURLSanitized = params.largeInternalURLSanitized ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("largeInternalURLSanitized", $largeInternalURLSanitized)) @@ -411,7 +669,19 @@ proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSani constructResult[GifGetLargeResponse](response) -proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, locale: string, rating: string, page: float64): (Option[GetGifsSearchResponse], Response) = +type ApiGetGifsSearchRequest* = object + tenantId*: string + search*: string + locale*: string + rating*: string + page*: float64 + +proc getGifsSearch*(httpClient: HttpClient, params: ApiGetGifsSearchRequest): (Option[GetGifsSearchResponse], Response) = + let tenantId = params.tenantId + let search = params.search + let locale = params.locale + let rating = params.rating + let page = params.page ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("search", $search)) @@ -427,7 +697,17 @@ proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, lo constructResult[GetGifsSearchResponse](response) -proc getGifsTrending*(httpClient: HttpClient, tenantId: string, locale: string, rating: string, page: float64): (Option[GetGifsTrendingResponse], Response) = +type ApiGetGifsTrendingRequest* = object + tenantId*: string + locale*: string + rating*: string + page*: float64 + +proc getGifsTrending*(httpClient: HttpClient, params: ApiGetGifsTrendingRequest): (Option[GetGifsTrendingResponse], Response) = + let tenantId = params.tenantId + let locale = params.locale + let rating = params.rating + let page = params.page ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -442,7 +722,19 @@ proc getGifsTrending*(httpClient: HttpClient, tenantId: string, locale: string, constructResult[GetGifsTrendingResponse](response) -proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = +type ApiGetGlobalEventLogRequest* = object + tenantId*: string + urlId*: string + userIdWS*: string + startTime*: int64 + endTime*: int64 + +proc getGlobalEventLog*(httpClient: HttpClient, params: ApiGetGlobalEventLogRequest): (Option[GetEventLogResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let userIdWS = params.userIdWS + let startTime = params.startTime + let endTime = params.endTime ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -456,7 +748,17 @@ proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[GetEventLogResponse](response) -proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOfflineResponse], Response) = +type ApiGetOfflineUsersRequest* = object + tenantId*: string + urlId*: string + afterName*: string + afterUserId*: string + +proc getOfflineUsers*(httpClient: HttpClient, params: ApiGetOfflineUsersRequest): (Option[PageUsersOfflineResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let afterName = params.afterName + let afterUserId = params.afterUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -470,7 +772,17 @@ proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, a constructResult[PageUsersOfflineResponse](response) -proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, afterName: string, afterUserId: string): (Option[PageUsersOnlineResponse], Response) = +type ApiGetOnlineUsersRequest* = object + tenantId*: string + urlId*: string + afterName*: string + afterUserId*: string + +proc getOnlineUsers*(httpClient: HttpClient, params: ApiGetOnlineUsersRequest): (Option[PageUsersOnlineResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let afterName = params.afterName + let afterUserId = params.afterUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -484,7 +796,21 @@ proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, af constructResult[PageUsersOnlineResponse](response) -proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, limit: int, q: string, sortBy: PagesSortBy, hasComments: bool): (Option[GetPublicPagesResponse], Response) = +type ApiGetPagesPublicRequest* = object + tenantId*: string + cursor*: string + limit*: int + q*: string + sortBy*: PagesSortBy + hasComments*: bool + +proc getPagesPublic*(httpClient: HttpClient, params: ApiGetPagesPublicRequest): (Option[GetPublicPagesResponse], Response) = + let tenantId = params.tenantId + let cursor = params.cursor + let limit = params.limit + let q = params.q + let sortBy = params.sortBy + let hasComments = params.hasComments ## var query_params_list: seq[(string, string)] = @[] if $cursor != "": @@ -503,7 +829,17 @@ proc getPagesPublic*(httpClient: HttpClient, tenantId: string, cursor: string, l constructResult[GetPublicPagesResponse](response) -proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, locale: string, useFullTranslationIds: bool): (Option[GetTranslationsResponse], Response) = +type ApiGetTranslationsRequest* = object + namespace*: string + component*: string + locale*: string + useFullTranslationIds*: bool + +proc getTranslations*(httpClient: HttpClient, params: ApiGetTranslationsRequest): (Option[GetTranslationsResponse], Response) = + let namespace = params.namespace + let component = params.component + let locale = params.locale + let useFullTranslationIds = params.useFullTranslationIds ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -516,7 +852,13 @@ proc getTranslations*(httpClient: HttpClient, namespace: string, component: stri constructResult[GetTranslationsResponse](response) -proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[GetUserNotificationCountResponse], Response) = +type ApiGetUserNotificationCountRequest* = object + tenantId*: string + sso*: string + +proc getUserNotificationCount*(httpClient: HttpClient, params: ApiGetUserNotificationCountRequest): (Option[GetUserNotificationCountResponse], Response) = + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -528,7 +870,33 @@ proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: st constructResult[GetUserNotificationCountResponse](response) -proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: string, pageSize: int, afterId: string, includeContext: bool, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, includeTranslations: bool, includeTenantNotifications: bool, sso: string): (Option[GetMyNotificationsResponse], Response) = +type ApiGetUserNotificationsRequest* = object + tenantId*: string + urlId*: string + pageSize*: int + afterId*: string + includeContext*: bool + afterCreatedAt*: int64 + unreadOnly*: bool + dmOnly*: bool + noDm*: bool + includeTranslations*: bool + includeTenantNotifications*: bool + sso*: string + +proc getUserNotifications*(httpClient: HttpClient, params: ApiGetUserNotificationsRequest): (Option[GetMyNotificationsResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let pageSize = params.pageSize + let afterId = params.afterId + let includeContext = params.includeContext + let afterCreatedAt = params.afterCreatedAt + let unreadOnly = params.unreadOnly + let dmOnly = params.dmOnly + let noDm = params.noDm + let includeTranslations = params.includeTranslations + let includeTenantNotifications = params.includeTenantNotifications + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -560,7 +928,15 @@ proc getUserNotifications*(httpClient: HttpClient, tenantId: string, urlId: stri constructResult[GetMyNotificationsResponse](response) -proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse], Response) = +type ApiGetUserPresenceStatusesRequest* = object + tenantId*: string + urlIdWS*: string + userIds*: string + +proc getUserPresenceStatuses*(httpClient: HttpClient, params: ApiGetUserPresenceStatusesRequest): (Option[GetUserPresenceStatusesResponse], Response) = + let tenantId = params.tenantId + let urlIdWS = params.urlIdWS + let userIds = params.userIds ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -572,7 +948,15 @@ proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: constructResult[GetUserPresenceStatusesResponse](response) -proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string): (Option[UserReactsResponse], Response) = +type ApiGetUserReactsPublicRequest* = object + tenantId*: string + postIds*: seq[string] + sso*: string + +proc getUserReactsPublic*(httpClient: HttpClient, params: ApiGetUserReactsPublicRequest): (Option[UserReactsResponse], Response) = + let tenantId = params.tenantId + let postIds = params.postIds + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] if postIds.len > 0: @@ -585,7 +969,13 @@ proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, postIds: seq constructResult[UserReactsResponse](response) -proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[PageUsersInfoResponse], Response) = +type ApiGetUsersInfoRequest* = object + tenantId*: string + ids*: string + +proc getUsersInfo*(httpClient: HttpClient, params: ApiGetUsersInfoRequest): (Option[PageUsersInfoResponse], Response) = + let tenantId = params.tenantId + let ids = params.ids ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("ids", $ids)) @@ -595,7 +985,13 @@ proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Opti constructResult[PageUsersInfoResponse](response) -proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikes], Response) = +type ApiGetV1PageLikesRequest* = object + tenantId*: string + urlId*: string + +proc getV1PageLikes*(httpClient: HttpClient, params: ApiGetV1PageLikesRequest): (Option[GetV1PageLikes], Response) = + let tenantId = params.tenantId + let urlId = params.urlId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -605,7 +1001,15 @@ proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): ( constructResult[GetV1PageLikes](response) -proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse], Response) = +type ApiGetV2PageReactUsersRequest* = object + tenantId*: string + urlId*: string + id*: string + +proc getV2PageReactUsers*(httpClient: HttpClient, params: ApiGetV2PageReactUsersRequest): (Option[GetV2PageReactUsersResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let id = params.id ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -616,7 +1020,13 @@ proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: strin constructResult[GetV2PageReactUsersResponse](response) -proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReacts], Response) = +type ApiGetV2PageReactsRequest* = object + tenantId*: string + urlId*: string + +proc getV2PageReacts*(httpClient: HttpClient, params: ApiGetV2PageReactsRequest): (Option[GetV2PageReacts], Response) = + let tenantId = params.tenantId + let urlId = params.urlId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -626,7 +1036,17 @@ proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): constructResult[GetV2PageReacts](response) -proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiLockCommentRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + sso*: string + +proc lockComment*(httpClient: HttpClient, params: ApiLockCommentRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -638,14 +1058,26 @@ proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, b constructResult[APIEmptyResponse](response) -proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) = +type ApiLogoutPublicRequest* = object + +proc logoutPublic*(httpClient: HttpClient, params: ApiLogoutPublicRequest): (Option[APIEmptyResponse], Response) = ## let response = httpClient.put(basepath & "/auth/logout") constructResult[APIEmptyResponse](response) -proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = +type ApiPinCommentRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + sso*: string + +proc pinComment*(httpClient: HttpClient, params: ApiPinCommentRequest): (Option[ChangeCommentPinStatusResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -657,7 +1089,21 @@ proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, br constructResult[ChangeCommentPinStatusResponse](response) -proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo: bool, broadcastId: string, sso: string): (Option[ReactFeedPostResponse], Response) = +type ApiReactFeedPostPublicRequest* = object + tenantId*: string + postId*: string + reactBodyParams*: ReactBodyParams + isUndo*: bool + broadcastId*: string + sso*: string + +proc reactFeedPostPublic*(httpClient: HttpClient, params: ApiReactFeedPostPublicRequest): (Option[ReactFeedPostResponse], Response) = + let tenantId = params.tenantId + let postId = params.postId + let reactBodyParams = params.reactBodyParams + let isUndo = params.isUndo + let broadcastId = params.broadcastId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -673,7 +1119,13 @@ proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: stri constructResult[ReactFeedPostResponse](response) -proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string): (Option[ResetUserNotificationsResponse], Response) = +type ApiResetUserNotificationCountRequest* = object + tenantId*: string + sso*: string + +proc resetUserNotificationCount*(httpClient: HttpClient, params: ApiResetUserNotificationCountRequest): (Option[ResetUserNotificationsResponse], Response) = + let tenantId = params.tenantId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -685,7 +1137,23 @@ proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: constructResult[ResetUserNotificationsResponse](response) -proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: string, afterCreatedAt: int64, unreadOnly: bool, dmOnly: bool, noDm: bool, sso: string): (Option[ResetUserNotificationsResponse], Response) = +type ApiResetUserNotificationsRequest* = object + tenantId*: string + afterId*: string + afterCreatedAt*: int64 + unreadOnly*: bool + dmOnly*: bool + noDm*: bool + sso*: string + +proc resetUserNotifications*(httpClient: HttpClient, params: ApiResetUserNotificationsRequest): (Option[ResetUserNotificationsResponse], Response) = + let tenantId = params.tenantId + let afterId = params.afterId + let afterCreatedAt = params.afterCreatedAt + let unreadOnly = params.unreadOnly + let dmOnly = params.dmOnly + let noDm = params.noDm + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -707,7 +1175,21 @@ proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, afterId: constructResult[ResetUserNotificationsResponse](response) -proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds: seq[string], sso: string, searchSection: string): (Option[SearchUsersResult], Response) = +type ApiSearchUsersRequest* = object + tenantId*: string + urlId*: string + usernameStartsWith*: string + mentionGroupIds*: seq[string] + sso*: string + searchSection*: string + +proc searchUsers*(httpClient: HttpClient, params: ApiSearchUsersRequest): (Option[SearchUsersResult], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let usernameStartsWith = params.usernameStartsWith + let mentionGroupIds = params.mentionGroupIds + let sso = params.sso + let searchSection = params.searchSection ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -725,7 +1207,21 @@ proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, usern constructResult[SearchUsersResult](response) -proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: string, sso: string): (Option[PublicAPISetCommentTextResponse], Response) = +type ApiSetCommentTextRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + commentTextUpdateRequest*: CommentTextUpdateRequest + editKey*: string + sso*: string + +proc setCommentText*(httpClient: HttpClient, params: ApiSetCommentTextRequest): (Option[PublicAPISetCommentTextResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let commentTextUpdateRequest = params.commentTextUpdateRequest + let editKey = params.editKey + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -740,7 +1236,17 @@ proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string constructResult[PublicAPISetCommentTextResponse](response) -proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string): (Option[UnblockSuccess], Response) = +type ApiUnBlockCommentPublicRequest* = object + tenantId*: string + commentId*: string + publicBlockFromCommentParams*: PublicBlockFromCommentParams + sso*: string + +proc unBlockCommentPublic*(httpClient: HttpClient, params: ApiUnBlockCommentPublicRequest): (Option[UnblockSuccess], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let publicBlockFromCommentParams = params.publicBlockFromCommentParams + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -752,7 +1258,17 @@ proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: constructResult[UnblockSuccess](response) -proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[APIEmptyResponse], Response) = +type ApiUnLockCommentRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + sso*: string + +proc unLockComment*(httpClient: HttpClient, params: ApiUnLockCommentRequest): (Option[APIEmptyResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -764,7 +1280,17 @@ proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, constructResult[APIEmptyResponse](response) -proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string): (Option[ChangeCommentPinStatusResponse], Response) = +type ApiUnPinCommentRequest* = object + tenantId*: string + commentId*: string + broadcastId*: string + sso*: string + +proc unPinComment*(httpClient: HttpClient, params: ApiUnPinCommentRequest): (Option[ChangeCommentPinStatusResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let broadcastId = params.broadcastId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -776,7 +1302,19 @@ proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, constructResult[ChangeCommentPinStatusResponse](response) -proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId: string, sso: string): (Option[CreateFeedPostResponse], Response) = +type ApiUpdateFeedPostPublicRequest* = object + tenantId*: string + postId*: string + updateFeedPostParams*: UpdateFeedPostParams + broadcastId*: string + sso*: string + +proc updateFeedPostPublic*(httpClient: HttpClient, params: ApiUpdateFeedPostPublicRequest): (Option[CreateFeedPostResponse], Response) = + let tenantId = params.tenantId + let postId = params.postId + let updateFeedPostParams = params.updateFeedPostParams + let broadcastId = params.broadcastId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -790,7 +1328,19 @@ proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str constructResult[CreateFeedPostResponse](response) -proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, sso: string): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = +type ApiUpdateUserNotificationCommentSubscriptionStatusRequest* = object + tenantId*: string + notificationId*: string + optedInOrOut*: string + commentId*: string + sso*: string + +proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationCommentSubscriptionStatusRequest): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = + let tenantId = params.tenantId + let notificationId = params.notificationId + let optedInOrOut = params.optedInOrOut + let commentId = params.commentId + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -803,7 +1353,21 @@ proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, te constructResult[UpdateUserNotificationCommentSubscriptionStatusResponse](response) -proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: string, sso: string): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = +type ApiUpdateUserNotificationPageSubscriptionStatusRequest* = object + tenantId*: string + urlId*: string + url*: string + pageTitle*: string + subscribedOrUnsubscribed*: string + sso*: string + +proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationPageSubscriptionStatusRequest): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = + let tenantId = params.tenantId + let urlId = params.urlId + let url = params.url + let pageTitle = params.pageTitle + let subscribedOrUnsubscribed = params.subscribedOrUnsubscribed + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -818,7 +1382,17 @@ proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenan constructResult[UpdateUserNotificationPageSubscriptionStatusResponse](response) -proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, newStatus: string, sso: string): (Option[UpdateUserNotificationStatusResponse], Response) = +type ApiUpdateUserNotificationStatusRequest* = object + tenantId*: string + notificationId*: string + newStatus*: string + sso*: string + +proc updateUserNotificationStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationStatusRequest): (Option[UpdateUserNotificationStatusResponse], Response) = + let tenantId = params.tenantId + let notificationId = params.notificationId + let newStatus = params.newStatus + let sso = params.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -830,7 +1404,17 @@ proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, not constructResult[UpdateUserNotificationStatusResponse](response) -proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, sizePreset: SizePreset, urlId: string): (Option[UploadImageResponse], Response) = +type ApiUploadImageRequest* = object + tenantId*: string + file*: string + sizePreset*: SizePreset + urlId*: string + +proc uploadImage*(httpClient: HttpClient, params: ApiUploadImageRequest): (Option[UploadImageResponse], Response) = + let tenantId = params.tenantId + let file = params.file + let sizePreset = params.sizePreset + let urlId = params.urlId ## httpClient.headers["Content-Type"] = "multipart/form-data" var query_params_list: seq[(string, string)] = @[] @@ -847,7 +1431,23 @@ proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, sizePr constructResult[UploadImageResponse](response) -proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId: string, sso: string): (Option[VoteResponse], Response) = +type ApiVoteCommentRequest* = object + tenantId*: string + commentId*: string + urlId*: string + broadcastId*: string + voteBodyParams*: VoteBodyParams + sessionId*: string + sso*: string + +proc voteComment*(httpClient: HttpClient, params: ApiVoteCommentRequest): (Option[VoteResponse], Response) = + let tenantId = params.tenantId + let commentId = params.commentId + let urlId = params.urlId + let broadcastId = params.broadcastId + let voteBodyParams = params.voteBodyParams + let sessionId = params.sessionId + let sso = params.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] diff --git a/docs/Apis/ModerationApi.md b/docs/Apis/ModerationApi.md index 9c47205..2c9803f 100644 --- a/docs/Apis/ModerationApi.md +++ b/docs/Apis/ModerationApi.md @@ -51,7 +51,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteModerationVote** -> VoteDeleteResponse deleteModerationVote(commentId, voteId, broadcastId, tenantId, sso) +> VoteDeleteResponse deleteModerationVote(commentId, voteId, tenantId, broadcastId, sso) @@ -61,8 +61,8 @@ All URIs are relative to *https://fastcomments.com* |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **voteId** | **String**| | [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -695,7 +695,7 @@ No authorization required # **postAdjustCommentVotes** -> AdjustVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, broadcastId, tenantId, sso) +> AdjustVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, tenantId, broadcastId, sso) @@ -705,8 +705,8 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **AdjustCommentVotesParams** | [**AdjustCommentVotesParams**](../Models/AdjustCommentVotesParams.md)| | | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -874,7 +874,7 @@ No authorization required # **postFlagComment** -> APIEmptyResponse postFlagComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postFlagComment(commentId, tenantId, broadcastId, sso) @@ -883,8 +883,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -902,7 +902,7 @@ No authorization required # **postRemoveComment** -> PostRemoveCommentResponse postRemoveComment(commentId, broadcastId, tenantId, sso) +> PostRemoveCommentResponse postRemoveComment(commentId, tenantId, broadcastId, sso) @@ -911,8 +911,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -930,7 +930,7 @@ No authorization required # **postRestoreDeletedComment** -> APIEmptyResponse postRestoreDeletedComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postRestoreDeletedComment(commentId, tenantId, broadcastId, sso) @@ -939,8 +939,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -958,7 +958,7 @@ No authorization required # **postSetCommentApprovalStatus** -> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId, approved, broadcastId, tenantId, sso) +> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId, approved, tenantId, broadcastId, sso) @@ -968,8 +968,8 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **approved** | **Boolean**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -987,7 +987,7 @@ No authorization required # **postSetCommentReviewStatus** -> APIEmptyResponse postSetCommentReviewStatus(commentId, reviewed, broadcastId, tenantId, sso) +> APIEmptyResponse postSetCommentReviewStatus(commentId, reviewed, tenantId, broadcastId, sso) @@ -997,8 +997,8 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **reviewed** | **Boolean**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1016,7 +1016,7 @@ No authorization required # **postSetCommentSpamStatus** -> APIEmptyResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, broadcastId, tenantId, sso) +> APIEmptyResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, tenantId, broadcastId, sso) @@ -1027,8 +1027,8 @@ No authorization required | **commentId** | **String**| | [default to null] | | **spam** | **Boolean**| | [optional] [default to null] | | **permNotSpam** | **Boolean**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1046,7 +1046,7 @@ No authorization required # **postSetCommentText** -> SetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, broadcastId, tenantId, sso) +> SetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, tenantId, broadcastId, sso) @@ -1056,8 +1056,8 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **SetCommentTextParams** | [**SetCommentTextParams**](../Models/SetCommentTextParams.md)| | | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1075,7 +1075,7 @@ No authorization required # **postUnFlagComment** -> APIEmptyResponse postUnFlagComment(commentId, broadcastId, tenantId, sso) +> APIEmptyResponse postUnFlagComment(commentId, tenantId, broadcastId, sso) @@ -1084,8 +1084,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1103,7 +1103,7 @@ No authorization required # **postVote** -> VoteResponse postVote(commentId, direction, broadcastId, tenantId, sso) +> VoteResponse postVote(commentId, direction, tenantId, broadcastId, sso) @@ -1113,8 +1113,8 @@ No authorization required |------------- | ------------- | ------------- | -------------| | **commentId** | **String**| | [default to null] | | **direction** | **String**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1132,7 +1132,7 @@ No authorization required # **putAwardBadge** -> AwardUserBadgeResponse putAwardBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) +> AwardUserBadgeResponse putAwardBadge(badgeId, userId, commentId, tenantId, broadcastId, sso) @@ -1143,8 +1143,8 @@ No authorization required | **badgeId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1189,7 +1189,7 @@ No authorization required # **putRemoveBadge** -> RemoveUserBadgeResponse putRemoveBadge(badgeId, userId, commentId, broadcastId, tenantId, sso) +> RemoveUserBadgeResponse putRemoveBadge(badgeId, userId, commentId, tenantId, broadcastId, sso) @@ -1200,8 +1200,8 @@ No authorization required | **badgeId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **broadcastId** | **String**| | [optional] [default to null] | | **tenantId** | **String**| | [optional] [default to null] | +| **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type diff --git a/openapi.json b/openapi.json index 0f72c9c..9ed89a9 100644 --- a/openapi.json +++ b/openapi.json @@ -14304,7 +14304,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14312,7 +14312,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14369,7 +14369,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14377,7 +14377,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14434,7 +14434,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14442,7 +14442,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14499,7 +14499,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14507,7 +14507,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14572,7 +14572,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14580,7 +14580,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14653,7 +14653,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14661,7 +14661,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14726,7 +14726,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -14734,7 +14734,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15094,7 +15094,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15102,7 +15102,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15169,7 +15169,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15177,7 +15177,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15252,7 +15252,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15260,7 +15260,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15325,7 +15325,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15333,7 +15333,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15626,7 +15626,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15634,7 +15634,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15707,7 +15707,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15715,7 +15715,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" diff --git a/tests/test_sso_integration.nim b/tests/test_sso_integration.nim index 8156d09..e06fbbe 100644 --- a/tests/test_sso_integration.nim +++ b/tests/test_sso_integration.nim @@ -38,34 +38,36 @@ suite "SSO Integration Tests": let (response, httpResponse) = getCommentsPublic( httpClient = client, - tenantId = tenantID, - urlId = "sdk-test-page", - page = 0, - direction = SortDirections.NF, - sso = "", - skip = 0, - skipChildren = 0, - limit = 0, - limitChildren = 0, - countChildren = false, - fetchPageForCommentId = "", - includeConfig = false, - countAll = false, - includei10n = false, - locale = "", - modules = "", - isCrawler = false, - includeNotificationCount = false, - asTree = false, - maxTreeDepth = 0, - useFullTranslationIds = false, - parentId = "", - searchText = "", - hashTags = @[], - userId = "", - customConfigStr = "", - afterCommentId = "", - beforeCommentId = "" + params = ApiGetCommentsPublicRequest( + tenantId: tenantID, + urlId: "sdk-test-page", + page: 0, + direction: SortDirections.NF, + sso: "", + skip: 0, + skipChildren: 0, + limit: 0, + limitChildren: 0, + countChildren: false, + fetchPageForCommentId: "", + includeConfig: false, + countAll: false, + includei10n: false, + locale: "", + modules: "", + isCrawler: false, + includeNotificationCount: false, + asTree: false, + maxTreeDepth: 0, + useFullTranslationIds: false, + parentId: "", + searchText: "", + hashTags: @[], + userId: "", + customConfigStr: "", + afterCommentId: "", + beforeCommentId: "" + ) ) check httpResponse.code == Http200 @@ -100,12 +102,14 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - tenantId = tenantID, - urlId = "sdk-test-nim", - broadcastId = "test-" & $timestamp, - commentData = commentData, - sessionId = "", - sso = token + params = ApiCreateCommentPublicRequest( + tenantId: tenantID, + urlId: "sdk-test-nim", + broadcastId: "test-" & $timestamp, + commentData: commentData, + sessionId: "", + sso: token + ) ) check createHttpResponse.code == Http200 @@ -114,34 +118,36 @@ suite "SSO Integration Tests": # Fetch comments let (getResponse, getHttpResponse) = getCommentsPublic( httpClient = client, - tenantId = tenantID, - urlId = "sdk-test-nim", - page = 0, - direction = SortDirections.NF, - sso = token, - skip = 0, - skipChildren = 0, - limit = 0, - limitChildren = 0, - countChildren = false, - fetchPageForCommentId = "", - includeConfig = false, - countAll = false, - includei10n = false, - locale = "", - modules = "", - isCrawler = false, - includeNotificationCount = false, - asTree = false, - maxTreeDepth = 0, - useFullTranslationIds = false, - parentId = "", - searchText = "", - hashTags = @[], - userId = "", - customConfigStr = "", - afterCommentId = "", - beforeCommentId = "" + params = ApiGetCommentsPublicRequest( + tenantId: tenantID, + urlId: "sdk-test-nim", + page: 0, + direction: SortDirections.NF, + sso: token, + skip: 0, + skipChildren: 0, + limit: 0, + limitChildren: 0, + countChildren: false, + fetchPageForCommentId: "", + includeConfig: false, + countAll: false, + includei10n: false, + locale: "", + modules: "", + isCrawler: false, + includeNotificationCount: false, + asTree: false, + maxTreeDepth: 0, + useFullTranslationIds: false, + parentId: "", + searchText: "", + hashTags: @[], + userId: "", + customConfigStr: "", + afterCommentId: "", + beforeCommentId: "" + ) ) check getHttpResponse.code == Http200 @@ -179,12 +185,14 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - tenantId = tenantID, - urlId = testUrlId, - broadcastId = "test-" & $timestamp, - commentData = commentData, - sessionId = "", - sso = token + params = ApiCreateCommentPublicRequest( + tenantId: tenantID, + urlId: testUrlId, + broadcastId: "test-" & $timestamp, + commentData: commentData, + sessionId: "", + sso: token + ) ) check createHttpResponse.code == Http200 @@ -199,23 +207,25 @@ suite "SSO Integration Tests": let (getResponse, getHttpResponse) = getComments( httpClient = authClient, - tenantId = tenantID, - page = 0, - limit = 0, - skip = 0, - asTree = false, - skipChildren = 0, - limitChildren = 0, - maxTreeDepth = 0, - urlId = testUrlId, - userId = "", - anonUserId = "", - contextUserId = "", - hashTag = "", - parentId = "", - direction = SortDirections.NF, - fromDate = 0, - toDate = 0 + params = ApiGetCommentsRequest( + tenantId: tenantID, + page: 0, + limit: 0, + skip: 0, + asTree: false, + skipChildren: 0, + limitChildren: 0, + maxTreeDepth: 0, + urlId: testUrlId, + userId: "", + anonUserId: "", + contextUserId: "", + hashTag: "", + parentId: "", + direction: SortDirections.NF, + fromDate: 0, + toDate: 0 + ) ) check getHttpResponse.code == Http200 @@ -258,12 +268,14 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - tenantId = tenantID, - urlId = testUrlId, - broadcastId = "test-" & $timestamp, - commentData = commentData, - sessionId = "", - sso = token + params = ApiCreateCommentPublicRequest( + tenantId: tenantID, + urlId: testUrlId, + broadcastId: "test-" & $timestamp, + commentData: commentData, + sessionId: "", + sso: token + ) ) check createHttpResponse.code == Http200 @@ -275,34 +287,36 @@ suite "SSO Integration Tests": let (getResponse, getHttpResponse) = getCommentsPublic( httpClient = client, - tenantId = tenantID, - urlId = testUrlId, - page = 0, - direction = SortDirections.NF, - sso = token, - skip = 0, - skipChildren = 0, - limit = 0, - limitChildren = 0, - countChildren = false, - fetchPageForCommentId = "", - includeConfig = false, - countAll = false, - includei10n = false, - locale = "", - modules = "", - isCrawler = false, - includeNotificationCount = false, - asTree = false, - maxTreeDepth = 0, - useFullTranslationIds = false, - parentId = "", - searchText = "", - hashTags = @[], - userId = "", - customConfigStr = "", - afterCommentId = "", - beforeCommentId = "" + params = ApiGetCommentsPublicRequest( + tenantId: tenantID, + urlId: testUrlId, + page: 0, + direction: SortDirections.NF, + sso: token, + skip: 0, + skipChildren: 0, + limit: 0, + limitChildren: 0, + countChildren: false, + fetchPageForCommentId: "", + includeConfig: false, + countAll: false, + includei10n: false, + locale: "", + modules: "", + isCrawler: false, + includeNotificationCount: false, + asTree: false, + maxTreeDepth: 0, + useFullTranslationIds: false, + parentId: "", + searchText: "", + hashTags: @[], + userId: "", + customConfigStr: "", + afterCommentId: "", + beforeCommentId: "" + ) ) check getHttpResponse.code == Http200 From 203939d394d20a031ffdb9d684a0599ccc2dd89f Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 23 Jun 2026 00:25:46 -0700 Subject: [PATCH 5/9] Regenerate: required params + body positional, optionals in one object API procs now take required params + body positionally, with optional params in a single ApiOptions object. Updated SSO integration test + README. --- README.md | 86 +- client/fastcomments/apis/api_default.nim | 1208 +++++-------------- client/fastcomments/apis/api_moderation.nim | 554 ++++----- client/fastcomments/apis/api_public.nim | 704 ++++------- tests/test_sso_integration.nim | 150 +-- 5 files changed, 831 insertions(+), 1871 deletions(-) diff --git a/README.md b/README.md index c041d7e..eca71b5 100644 --- a/README.md +++ b/README.md @@ -48,24 +48,14 @@ import fastcomments/models/model_comment_data let client = newHttpClient() client.headers["x-api-key"] = "your-api-key" -# Make authenticated API calls +# Make authenticated API calls. +# Required parameters (and the request body) are positional; optional +# parameters are passed via the operation's options object. let (response, httpResponse) = getComments( httpClient = client, - params = ApiGetCommentsRequest( - tenantId: "your-tenant-id", - page: 0, - limit: 0, - skip: 0, - asTree: false, - skipChildren: 0, - limitChildren: 0, - maxTreeDepth: 0, + tenantId = "your-tenant-id", + options = ApiGetCommentsOptions( urlId: "your-url-id", - userId: "", - anonUserId: "", - contextUserId: "", - hashTag: "", - parentId: "", direction: SortDirections.DESC ) ) @@ -87,38 +77,14 @@ import fastcomments/apis/api_public let client = newHttpClient() -# Make public API calls +# Make public API calls. +# tenantId and urlId are required (positional); everything else is optional. let (response, httpResponse) = getCommentsPublic( httpClient = client, - params = ApiGetCommentsPublicRequest( - tenantId: "your-tenant-id", - urlId: "your-url-id", - page: 0, - direction: SortDirections.DESC, - sso: "", - skip: 0, - skipChildren: 0, - limit: 0, - limitChildren: 0, - countChildren: false, - fetchPageForCommentId: "", - includeConfig: false, - countAll: false, - includei10n: false, - locale: "", - modules: "", - isCrawler: false, - includeNotificationCount: false, - asTree: false, - maxTreeDepth: 0, - useFullTranslationIds: false, - parentId: "", - searchText: "", - hashTags: @[], - userId: "", - customConfigStr: "", - afterCommentId: "", - beforeCommentId: "" + tenantId = "your-tenant-id", + urlId = "your-url-id", + options = ApiGetCommentsPublicOptions( + direction: SortDirections.DESC ) ) @@ -139,18 +105,12 @@ import fastcomments/apis/api_moderation let client = newHttpClient() -# List comments in the moderation dashboard +# List comments in the moderation dashboard. +# This operation has no required parameters, so everything is optional. let (response, httpResponse) = getApiComments( httpClient = client, - params = ApiGetApiCommentsRequest( - page: 0, + options = ApiGetApiCommentsOptions( count: 30, - textSearch: "", - byIPFromComment: "", - filters: "", - searchFilters: "", - sorts: "", - demo: false, tenantId: "your-tenant-id", sso: "your-sso-token" ) @@ -170,6 +130,8 @@ if response.isSome: All API methods in this SDK return tuples of `(Option[ResponseType], Response)`. The first element contains the parsed response if successful, and the second element is the raw HTTP response. +Required parameters and the request body are passed positionally. The remaining optional parameters are collected into a single `ApiOptions` object, which is the last argument. Operations with no optional parameters take no options object. + ### Example: Fetching Comments ```nim @@ -183,21 +145,9 @@ client.headers["x-api-key"] = "your-api-key" let (response, httpResponse) = getComments( httpClient = client, - params = ApiGetCommentsRequest( - tenantId: "your-tenant-id", - page: 0, - limit: 0, - skip: 0, - asTree: false, - skipChildren: 0, - limitChildren: 0, - maxTreeDepth: 0, + tenantId = "your-tenant-id", + options = ApiGetCommentsOptions( urlId: "your-url-id", - userId: "", - anonUserId: "", - contextUserId: "", - hashTag: "", - parentId: "", direction: SortDirections.DESC ) ) diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index 34ed687..5c748b9 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -168,13 +168,7 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -type ApiAddDomainConfigRequest* = object - tenantId*: string - addDomainConfigParams*: AddDomainConfigParams - -proc addDomainConfig*(httpClient: HttpClient, params: ApiAddDomainConfigRequest): (Option[AddDomainConfigResponse], Response) = - let tenantId = params.tenantId - let addDomainConfigParams = params.addDomainConfigParams +proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigParams: AddDomainConfigParams): (Option[AddDomainConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -185,13 +179,11 @@ proc addDomainConfig*(httpClient: HttpClient, params: ApiAddDomainConfigRequest) constructResult[AddDomainConfigResponse](response) -type ApiAddHashTagRequest* = object +type ApiAddHashTagOptions* = object tenantId*: string - createHashTagBody*: CreateHashTagBody -proc addHashTag*(httpClient: HttpClient, params: ApiAddHashTagRequest): (Option[CreateHashTagResponse], Response) = - let tenantId = params.tenantId - let createHashTagBody = params.createHashTagBody +proc addHashTag*(httpClient: HttpClient, createHashTagBody: CreateHashTagBody, options: ApiAddHashTagOptions): (Option[CreateHashTagResponse], Response) = + let tenantId = options.tenantId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -203,13 +195,11 @@ proc addHashTag*(httpClient: HttpClient, params: ApiAddHashTagRequest): (Option[ constructResult[CreateHashTagResponse](response) -type ApiAddHashTagsBulkRequest* = object +type ApiAddHashTagsBulkOptions* = object tenantId*: string - bulkCreateHashTagsBody*: BulkCreateHashTagsBody -proc addHashTagsBulk*(httpClient: HttpClient, params: ApiAddHashTagsBulkRequest): (Option[BulkCreateHashTagsResponse], Response) = - let tenantId = params.tenantId - let bulkCreateHashTagsBody = params.bulkCreateHashTagsBody +proc addHashTagsBulk*(httpClient: HttpClient, bulkCreateHashTagsBody: BulkCreateHashTagsBody, options: ApiAddHashTagsBulkOptions): (Option[BulkCreateHashTagsResponse], Response) = + let tenantId = options.tenantId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -221,13 +211,7 @@ proc addHashTagsBulk*(httpClient: HttpClient, params: ApiAddHashTagsBulkRequest) constructResult[BulkCreateHashTagsResponse](response) -type ApiAddPageRequest* = object - tenantId*: string - createAPIPageData*: CreateAPIPageData - -proc addPage*(httpClient: HttpClient, params: ApiAddPageRequest): (Option[AddPageAPIResponse], Response) = - let tenantId = params.tenantId - let createAPIPageData = params.createAPIPageData +proc addPage*(httpClient: HttpClient, tenantId: string, createAPIPageData: CreateAPIPageData): (Option[AddPageAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -238,13 +222,7 @@ proc addPage*(httpClient: HttpClient, params: ApiAddPageRequest): (Option[AddPag constructResult[AddPageAPIResponse](response) -type ApiAddSSOUserRequest* = object - tenantId*: string - createAPISSOUserData*: CreateAPISSOUserData - -proc addSSOUser*(httpClient: HttpClient, params: ApiAddSSOUserRequest): (Option[AddSSOUserAPIResponse], Response) = - let tenantId = params.tenantId - let createAPISSOUserData = params.createAPISSOUserData +proc addSSOUser*(httpClient: HttpClient, tenantId: string, createAPISSOUserData: CreateAPISSOUserData): (Option[AddSSOUserAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -255,17 +233,13 @@ proc addSSOUser*(httpClient: HttpClient, params: ApiAddSSOUserRequest): (Option[ constructResult[AddSSOUserAPIResponse](response) -type ApiAggregateRequest* = object - tenantId*: string - aggregationRequest*: AggregationRequest +type ApiAggregateOptions* = object parentTenantId*: string includeStats*: bool -proc aggregate*(httpClient: HttpClient, params: ApiAggregateRequest): (Option[AggregateResponse], Response) = - let tenantId = params.tenantId - let aggregationRequest = params.aggregationRequest - let parentTenantId = params.parentTenantId - let includeStats = params.includeStats +proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: AggregationRequest, options: ApiAggregateOptions): (Option[AggregateResponse], Response) = + let parentTenantId = options.parentTenantId + let includeStats = options.includeStats ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -280,8 +254,7 @@ proc aggregate*(httpClient: HttpClient, params: ApiAggregateRequest): (Option[Ag constructResult[AggregateResponse](response) -type ApiAggregateQuestionResultsRequest* = object - tenantId*: string +type ApiAggregateQuestionResultsOptions* = object questionId*: string questionIds*: seq[string] urlId*: string @@ -289,14 +262,13 @@ type ApiAggregateQuestionResultsRequest* = object startDate*: string forceRecalculate*: bool -proc aggregateQuestionResults*(httpClient: HttpClient, params: ApiAggregateQuestionResultsRequest): (Option[AggregateQuestionResultsResponse], Response) = - let tenantId = params.tenantId - let questionId = params.questionId - let questionIds = params.questionIds - let urlId = params.urlId - let timeBucket = params.timeBucket - let startDate = params.startDate - let forceRecalculate = params.forceRecalculate +proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiAggregateQuestionResultsOptions): (Option[AggregateQuestionResultsResponse], Response) = + let questionId = options.questionId + let questionIds = options.questionIds + let urlId = options.urlId + let timeBucket = options.timeBucket + let startDate = options.startDate + let forceRecalculate = options.forceRecalculate ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -318,19 +290,13 @@ proc aggregateQuestionResults*(httpClient: HttpClient, params: ApiAggregateQuest constructResult[AggregateQuestionResultsResponse](response) -type ApiBlockUserFromCommentRequest* = object - tenantId*: string - id*: string - blockFromCommentParams*: BlockFromCommentParams +type ApiBlockUserFromCommentOptions* = object userId*: string anonUserId*: string -proc blockUserFromComment*(httpClient: HttpClient, params: ApiBlockUserFromCommentRequest): (Option[BlockSuccess], Response) = - let tenantId = params.tenantId - let id = params.id - let blockFromCommentParams = params.blockFromCommentParams - let userId = params.userId - let anonUserId = params.anonUserId +proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions): (Option[BlockSuccess], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -345,15 +311,11 @@ proc blockUserFromComment*(httpClient: HttpClient, params: ApiBlockUserFromComme constructResult[BlockSuccess](response) -type ApiBulkAggregateQuestionResultsRequest* = object - tenantId*: string - bulkAggregateQuestionResultsRequest*: BulkAggregateQuestionResultsRequest +type ApiBulkAggregateQuestionResultsOptions* = object forceRecalculate*: bool -proc bulkAggregateQuestionResults*(httpClient: HttpClient, params: ApiBulkAggregateQuestionResultsRequest): (Option[BulkAggregateQuestionResultsResponse], Response) = - let tenantId = params.tenantId - let bulkAggregateQuestionResultsRequest = params.bulkAggregateQuestionResultsRequest - let forceRecalculate = params.forceRecalculate +proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions): (Option[BulkAggregateQuestionResultsResponse], Response) = + let forceRecalculate = options.forceRecalculate ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -366,17 +328,7 @@ proc bulkAggregateQuestionResults*(httpClient: HttpClient, params: ApiBulkAggreg constructResult[BulkAggregateQuestionResultsResponse](response) -type ApiChangeTicketStateRequest* = object - tenantId*: string - userId*: string - id*: string - changeTicketStateBody*: ChangeTicketStateBody - -proc changeTicketState*(httpClient: HttpClient, params: ApiChangeTicketStateRequest): (Option[ChangeTicketStateResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let id = params.id - let changeTicketStateBody = params.changeTicketStateBody +proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string, id: string, changeTicketStateBody: ChangeTicketStateBody): (Option[ChangeTicketStateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -388,8 +340,7 @@ proc changeTicketState*(httpClient: HttpClient, params: ApiChangeTicketStateRequ constructResult[ChangeTicketStateResponse](response) -type ApiCombineCommentsWithQuestionResultsRequest* = object - tenantId*: string +type ApiCombineCommentsWithQuestionResultsOptions* = object questionId*: string questionIds*: seq[string] urlId*: string @@ -399,16 +350,15 @@ type ApiCombineCommentsWithQuestionResultsRequest* = object maxValue*: float64 limit*: float64 -proc combineCommentsWithQuestionResults*(httpClient: HttpClient, params: ApiCombineCommentsWithQuestionResultsRequest): (Option[CombineQuestionResultsWithCommentsResponse], Response) = - let tenantId = params.tenantId - let questionId = params.questionId - let questionIds = params.questionIds - let urlId = params.urlId - let startDate = params.startDate - let forceRecalculate = params.forceRecalculate - let minValue = params.minValue - let maxValue = params.maxValue - let limit = params.limit +proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiCombineCommentsWithQuestionResultsOptions): (Option[CombineQuestionResultsWithCommentsResponse], Response) = + let questionId = options.questionId + let questionIds = options.questionIds + let urlId = options.urlId + let startDate = options.startDate + let forceRecalculate = options.forceRecalculate + let minValue = options.minValue + let maxValue = options.maxValue + let limit = options.limit ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -434,13 +384,7 @@ proc combineCommentsWithQuestionResults*(httpClient: HttpClient, params: ApiComb constructResult[CombineQuestionResultsWithCommentsResponse](response) -type ApiCreateEmailTemplateRequest* = object - tenantId*: string - createEmailTemplateBody*: CreateEmailTemplateBody - -proc createEmailTemplate*(httpClient: HttpClient, params: ApiCreateEmailTemplateRequest): (Option[CreateEmailTemplateResponse], Response) = - let tenantId = params.tenantId - let createEmailTemplateBody = params.createEmailTemplateBody +proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailTemplateBody: CreateEmailTemplateBody): (Option[CreateEmailTemplateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -451,21 +395,17 @@ proc createEmailTemplate*(httpClient: HttpClient, params: ApiCreateEmailTemplate constructResult[CreateEmailTemplateResponse](response) -type ApiCreateFeedPostRequest* = object - tenantId*: string - createFeedPostParams*: CreateFeedPostParams +type ApiCreateFeedPostOptions* = object broadcastId*: string isLive*: bool doSpamCheck*: bool skipDupCheck*: bool -proc createFeedPost*(httpClient: HttpClient, params: ApiCreateFeedPostRequest): (Option[CreateFeedPostsResponse], Response) = - let tenantId = params.tenantId - let createFeedPostParams = params.createFeedPostParams - let broadcastId = params.broadcastId - let isLive = params.isLive - let doSpamCheck = params.doSpamCheck - let skipDupCheck = params.skipDupCheck +proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions): (Option[CreateFeedPostsResponse], Response) = + let broadcastId = options.broadcastId + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let skipDupCheck = options.skipDupCheck ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -484,13 +424,7 @@ proc createFeedPost*(httpClient: HttpClient, params: ApiCreateFeedPostRequest): constructResult[CreateFeedPostsResponse](response) -type ApiCreateModeratorRequest* = object - tenantId*: string - createModeratorBody*: CreateModeratorBody - -proc createModerator*(httpClient: HttpClient, params: ApiCreateModeratorRequest): (Option[CreateModeratorResponse], Response) = - let tenantId = params.tenantId - let createModeratorBody = params.createModeratorBody +proc createModerator*(httpClient: HttpClient, tenantId: string, createModeratorBody: CreateModeratorBody): (Option[CreateModeratorResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -501,13 +435,7 @@ proc createModerator*(httpClient: HttpClient, params: ApiCreateModeratorRequest) constructResult[CreateModeratorResponse](response) -type ApiCreateQuestionConfigRequest* = object - tenantId*: string - createQuestionConfigBody*: CreateQuestionConfigBody - -proc createQuestionConfig*(httpClient: HttpClient, params: ApiCreateQuestionConfigRequest): (Option[CreateQuestionConfigResponse], Response) = - let tenantId = params.tenantId - let createQuestionConfigBody = params.createQuestionConfigBody +proc createQuestionConfig*(httpClient: HttpClient, tenantId: string, createQuestionConfigBody: CreateQuestionConfigBody): (Option[CreateQuestionConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -518,13 +446,7 @@ proc createQuestionConfig*(httpClient: HttpClient, params: ApiCreateQuestionConf constructResult[CreateQuestionConfigResponse](response) -type ApiCreateQuestionResultRequest* = object - tenantId*: string - createQuestionResultBody*: CreateQuestionResultBody - -proc createQuestionResult*(httpClient: HttpClient, params: ApiCreateQuestionResultRequest): (Option[CreateQuestionResultResponse], Response) = - let tenantId = params.tenantId - let createQuestionResultBody = params.createQuestionResultBody +proc createQuestionResult*(httpClient: HttpClient, tenantId: string, createQuestionResultBody: CreateQuestionResultBody): (Option[CreateQuestionResultResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -535,13 +457,7 @@ proc createQuestionResult*(httpClient: HttpClient, params: ApiCreateQuestionResu constructResult[CreateQuestionResultResponse](response) -type ApiCreateSubscriptionRequest* = object - tenantId*: string - createAPIUserSubscriptionData*: CreateAPIUserSubscriptionData - -proc createSubscription*(httpClient: HttpClient, params: ApiCreateSubscriptionRequest): (Option[CreateSubscriptionAPIResponse], Response) = - let tenantId = params.tenantId - let createAPIUserSubscriptionData = params.createAPIUserSubscriptionData +proc createSubscription*(httpClient: HttpClient, tenantId: string, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData): (Option[CreateSubscriptionAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -552,13 +468,7 @@ proc createSubscription*(httpClient: HttpClient, params: ApiCreateSubscriptionRe constructResult[CreateSubscriptionAPIResponse](response) -type ApiCreateTenantRequest* = object - tenantId*: string - createTenantBody*: CreateTenantBody - -proc createTenant*(httpClient: HttpClient, params: ApiCreateTenantRequest): (Option[CreateTenantResponse], Response) = - let tenantId = params.tenantId - let createTenantBody = params.createTenantBody +proc createTenant*(httpClient: HttpClient, tenantId: string, createTenantBody: CreateTenantBody): (Option[CreateTenantResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -569,13 +479,7 @@ proc createTenant*(httpClient: HttpClient, params: ApiCreateTenantRequest): (Opt constructResult[CreateTenantResponse](response) -type ApiCreateTenantPackageRequest* = object - tenantId*: string - createTenantPackageBody*: CreateTenantPackageBody - -proc createTenantPackage*(httpClient: HttpClient, params: ApiCreateTenantPackageRequest): (Option[CreateTenantPackageResponse], Response) = - let tenantId = params.tenantId - let createTenantPackageBody = params.createTenantPackageBody +proc createTenantPackage*(httpClient: HttpClient, tenantId: string, createTenantPackageBody: CreateTenantPackageBody): (Option[CreateTenantPackageResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -586,13 +490,7 @@ proc createTenantPackage*(httpClient: HttpClient, params: ApiCreateTenantPackage constructResult[CreateTenantPackageResponse](response) -type ApiCreateTenantUserRequest* = object - tenantId*: string - createTenantUserBody*: CreateTenantUserBody - -proc createTenantUser*(httpClient: HttpClient, params: ApiCreateTenantUserRequest): (Option[CreateTenantUserResponse], Response) = - let tenantId = params.tenantId - let createTenantUserBody = params.createTenantUserBody +proc createTenantUser*(httpClient: HttpClient, tenantId: string, createTenantUserBody: CreateTenantUserBody): (Option[CreateTenantUserResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -603,15 +501,7 @@ proc createTenantUser*(httpClient: HttpClient, params: ApiCreateTenantUserReques constructResult[CreateTenantUserResponse](response) -type ApiCreateTicketRequest* = object - tenantId*: string - userId*: string - createTicketBody*: CreateTicketBody - -proc createTicket*(httpClient: HttpClient, params: ApiCreateTicketRequest): (Option[CreateTicketResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let createTicketBody = params.createTicketBody +proc createTicket*(httpClient: HttpClient, tenantId: string, userId: string, createTicketBody: CreateTicketBody): (Option[CreateTicketResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -623,13 +513,7 @@ proc createTicket*(httpClient: HttpClient, params: ApiCreateTicketRequest): (Opt constructResult[CreateTicketResponse](response) -type ApiCreateUserBadgeRequest* = object - tenantId*: string - createUserBadgeParams*: CreateUserBadgeParams - -proc createUserBadge*(httpClient: HttpClient, params: ApiCreateUserBadgeRequest): (Option[APICreateUserBadgeResponse], Response) = - let tenantId = params.tenantId - let createUserBadgeParams = params.createUserBadgeParams +proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeParams: CreateUserBadgeParams): (Option[APICreateUserBadgeResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -640,19 +524,13 @@ proc createUserBadge*(httpClient: HttpClient, params: ApiCreateUserBadgeRequest) constructResult[APICreateUserBadgeResponse](response) -type ApiCreateVoteRequest* = object - tenantId*: string - commentId*: string - direction*: string +type ApiCreateVoteOptions* = object userId*: string anonUserId*: string -proc createVote*(httpClient: HttpClient, params: ApiCreateVoteRequest): (Option[VoteResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let direction = params.direction - let userId = params.userId - let anonUserId = params.anonUserId +proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, options: ApiCreateVoteOptions): (Option[VoteResponse], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -668,17 +546,13 @@ proc createVote*(httpClient: HttpClient, params: ApiCreateVoteRequest): (Option[ constructResult[VoteResponse](response) -type ApiDeleteCommentRequest* = object - tenantId*: string - id*: string +type ApiDeleteCommentOptions* = object contextUserId*: string isLive*: bool -proc deleteComment*(httpClient: HttpClient, params: ApiDeleteCommentRequest): (Option[DeleteCommentResult], Response) = - let tenantId = params.tenantId - let id = params.id - let contextUserId = params.contextUserId - let isLive = params.isLive +proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteCommentOptions): (Option[DeleteCommentResult], Response) = + let contextUserId = options.contextUserId + let isLive = options.isLive ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -692,13 +566,7 @@ proc deleteComment*(httpClient: HttpClient, params: ApiDeleteCommentRequest): (O constructResult[DeleteCommentResult](response) -type ApiDeleteDomainConfigRequest* = object - tenantId*: string - domain*: string - -proc deleteDomainConfig*(httpClient: HttpClient, params: ApiDeleteDomainConfigRequest): (Option[DeleteDomainConfigResponse], Response) = - let tenantId = params.tenantId - let domain = params.domain +proc deleteDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[DeleteDomainConfigResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -708,13 +576,7 @@ proc deleteDomainConfig*(httpClient: HttpClient, params: ApiDeleteDomainConfigRe constructResult[DeleteDomainConfigResponse](response) -type ApiDeleteEmailTemplateRequest* = object - tenantId*: string - id*: string - -proc deleteEmailTemplate*(httpClient: HttpClient, params: ApiDeleteEmailTemplateRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -724,15 +586,7 @@ proc deleteEmailTemplate*(httpClient: HttpClient, params: ApiDeleteEmailTemplate constructResult[APIEmptyResponse](response) -type ApiDeleteEmailTemplateRenderErrorRequest* = object - tenantId*: string - id*: string - errorId*: string - -proc deleteEmailTemplateRenderError*(httpClient: HttpClient, params: ApiDeleteEmailTemplateRenderErrorRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let errorId = params.errorId +proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, id: string, errorId: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -742,15 +596,11 @@ proc deleteEmailTemplateRenderError*(httpClient: HttpClient, params: ApiDeleteEm constructResult[APIEmptyResponse](response) -type ApiDeleteHashTagRequest* = object - tag*: string +type ApiDeleteHashTagOptions* = object tenantId*: string - deleteHashTagRequestBody*: DeleteHashTagRequestBody -proc deleteHashTag*(httpClient: HttpClient, params: ApiDeleteHashTagRequest): (Option[APIEmptyResponse], Response) = - let tag = params.tag - let tenantId = params.tenantId - let deleteHashTagRequestBody = params.deleteHashTagRequestBody +proc deleteHashTag*(httpClient: HttpClient, tag: string, deleteHashTagRequestBody: DeleteHashTagRequestBody, options: ApiDeleteHashTagOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -761,15 +611,11 @@ proc deleteHashTag*(httpClient: HttpClient, params: ApiDeleteHashTagRequest): (O constructResult[APIEmptyResponse](response) -type ApiDeleteModeratorRequest* = object - tenantId*: string - id*: string +type ApiDeleteModeratorOptions* = object sendEmail*: string -proc deleteModerator*(httpClient: HttpClient, params: ApiDeleteModeratorRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let sendEmail = params.sendEmail +proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteModeratorOptions): (Option[APIEmptyResponse], Response) = + let sendEmail = options.sendEmail ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -781,13 +627,7 @@ proc deleteModerator*(httpClient: HttpClient, params: ApiDeleteModeratorRequest) constructResult[APIEmptyResponse](response) -type ApiDeleteNotificationCountRequest* = object - tenantId*: string - id*: string - -proc deleteNotificationCount*(httpClient: HttpClient, params: ApiDeleteNotificationCountRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -797,13 +637,7 @@ proc deleteNotificationCount*(httpClient: HttpClient, params: ApiDeleteNotificat constructResult[APIEmptyResponse](response) -type ApiDeletePageRequest* = object - tenantId*: string - id*: string - -proc deletePage*(httpClient: HttpClient, params: ApiDeletePageRequest): (Option[DeletePageAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deletePage*(httpClient: HttpClient, tenantId: string, id: string): (Option[DeletePageAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -813,13 +647,7 @@ proc deletePage*(httpClient: HttpClient, params: ApiDeletePageRequest): (Option[ constructResult[DeletePageAPIResponse](response) -type ApiDeletePendingWebhookEventRequest* = object - tenantId*: string - id*: string - -proc deletePendingWebhookEvent*(httpClient: HttpClient, params: ApiDeletePendingWebhookEventRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deletePendingWebhookEvent*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -829,13 +657,7 @@ proc deletePendingWebhookEvent*(httpClient: HttpClient, params: ApiDeletePending constructResult[APIEmptyResponse](response) -type ApiDeleteQuestionConfigRequest* = object - tenantId*: string - id*: string - -proc deleteQuestionConfig*(httpClient: HttpClient, params: ApiDeleteQuestionConfigRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -845,13 +667,7 @@ proc deleteQuestionConfig*(httpClient: HttpClient, params: ApiDeleteQuestionConf constructResult[APIEmptyResponse](response) -type ApiDeleteQuestionResultRequest* = object - tenantId*: string - id*: string - -proc deleteQuestionResult*(httpClient: HttpClient, params: ApiDeleteQuestionResultRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -861,17 +677,13 @@ proc deleteQuestionResult*(httpClient: HttpClient, params: ApiDeleteQuestionResu constructResult[APIEmptyResponse](response) -type ApiDeleteSSOUserRequest* = object - tenantId*: string - id*: string +type ApiDeleteSSOUserOptions* = object deleteComments*: bool commentDeleteMode*: string -proc deleteSSOUser*(httpClient: HttpClient, params: ApiDeleteSSOUserRequest): (Option[DeleteSSOUserAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let deleteComments = params.deleteComments - let commentDeleteMode = params.commentDeleteMode +proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteSSOUserOptions): (Option[DeleteSSOUserAPIResponse], Response) = + let deleteComments = options.deleteComments + let commentDeleteMode = options.commentDeleteMode ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -885,15 +697,11 @@ proc deleteSSOUser*(httpClient: HttpClient, params: ApiDeleteSSOUserRequest): (O constructResult[DeleteSSOUserAPIResponse](response) -type ApiDeleteSubscriptionRequest* = object - tenantId*: string - id*: string +type ApiDeleteSubscriptionOptions* = object userId*: string -proc deleteSubscription*(httpClient: HttpClient, params: ApiDeleteSubscriptionRequest): (Option[DeleteSubscriptionAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let userId = params.userId +proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteSubscriptionOptions): (Option[DeleteSubscriptionAPIResponse], Response) = + let userId = options.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -905,15 +713,11 @@ proc deleteSubscription*(httpClient: HttpClient, params: ApiDeleteSubscriptionRe constructResult[DeleteSubscriptionAPIResponse](response) -type ApiDeleteTenantRequest* = object - tenantId*: string - id*: string +type ApiDeleteTenantOptions* = object sure*: string -proc deleteTenant*(httpClient: HttpClient, params: ApiDeleteTenantRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let sure = params.sure +proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteTenantOptions): (Option[APIEmptyResponse], Response) = + let sure = options.sure ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -925,13 +729,7 @@ proc deleteTenant*(httpClient: HttpClient, params: ApiDeleteTenantRequest): (Opt constructResult[APIEmptyResponse](response) -type ApiDeleteTenantPackageRequest* = object - tenantId*: string - id*: string - -proc deleteTenantPackage*(httpClient: HttpClient, params: ApiDeleteTenantPackageRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -941,17 +739,13 @@ proc deleteTenantPackage*(httpClient: HttpClient, params: ApiDeleteTenantPackage constructResult[APIEmptyResponse](response) -type ApiDeleteTenantUserRequest* = object - tenantId*: string - id*: string +type ApiDeleteTenantUserOptions* = object deleteComments*: string commentDeleteMode*: string -proc deleteTenantUser*(httpClient: HttpClient, params: ApiDeleteTenantUserRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let deleteComments = params.deleteComments - let commentDeleteMode = params.commentDeleteMode +proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteTenantUserOptions): (Option[APIEmptyResponse], Response) = + let deleteComments = options.deleteComments + let commentDeleteMode = options.commentDeleteMode ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -965,13 +759,7 @@ proc deleteTenantUser*(httpClient: HttpClient, params: ApiDeleteTenantUserReques constructResult[APIEmptyResponse](response) -type ApiDeleteUserBadgeRequest* = object - tenantId*: string - id*: string - -proc deleteUserBadge*(httpClient: HttpClient, params: ApiDeleteUserBadgeRequest): (Option[APIEmptySuccessResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIEmptySuccessResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -981,15 +769,11 @@ proc deleteUserBadge*(httpClient: HttpClient, params: ApiDeleteUserBadgeRequest) constructResult[APIEmptySuccessResponse](response) -type ApiDeleteVoteRequest* = object - tenantId*: string - id*: string +type ApiDeleteVoteOptions* = object editKey*: string -proc deleteVote*(httpClient: HttpClient, params: ApiDeleteVoteRequest): (Option[VoteDeleteResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let editKey = params.editKey +proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteVoteOptions): (Option[VoteDeleteResponse], Response) = + let editKey = options.editKey ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1001,17 +785,13 @@ proc deleteVote*(httpClient: HttpClient, params: ApiDeleteVoteRequest): (Option[ constructResult[VoteDeleteResponse](response) -type ApiFlagCommentRequest* = object - tenantId*: string - id*: string +type ApiFlagCommentOptions* = object userId*: string anonUserId*: string -proc flagComment*(httpClient: HttpClient, params: ApiFlagCommentRequest): (Option[FlagCommentResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let userId = params.userId - let anonUserId = params.anonUserId +proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiFlagCommentOptions): (Option[FlagCommentResponse], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1025,21 +805,19 @@ proc flagComment*(httpClient: HttpClient, params: ApiFlagCommentRequest): (Optio constructResult[FlagCommentResponse](response) -type ApiGetAuditLogsRequest* = object - tenantId*: string +type ApiGetAuditLogsOptions* = object limit*: float64 skip*: float64 order*: SORTDIR after*: float64 before*: float64 -proc getAuditLogs*(httpClient: HttpClient, params: ApiGetAuditLogsRequest): (Option[GetAuditLogsResponse], Response) = - let tenantId = params.tenantId - let limit = params.limit - let skip = params.skip - let order = params.order - let after = params.after - let before = params.before +proc getAuditLogs*(httpClient: HttpClient, tenantId: string, options: ApiGetAuditLogsOptions): (Option[GetAuditLogsResponse], Response) = + let limit = options.limit + let skip = options.skip + let order = options.order + let after = options.after + let before = options.before ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1059,13 +837,7 @@ proc getAuditLogs*(httpClient: HttpClient, params: ApiGetAuditLogsRequest): (Opt constructResult[GetAuditLogsResponse](response) -type ApiGetCachedNotificationCountRequest* = object - tenantId*: string - id*: string - -proc getCachedNotificationCount*(httpClient: HttpClient, params: ApiGetCachedNotificationCountRequest): (Option[GetCachedNotificationCountResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getCachedNotificationCount*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetCachedNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1075,13 +847,7 @@ proc getCachedNotificationCount*(httpClient: HttpClient, params: ApiGetCachedNot constructResult[GetCachedNotificationCountResponse](response) -type ApiGetCommentRequest* = object - tenantId*: string - id*: string - -proc getComment*(httpClient: HttpClient, params: ApiGetCommentRequest): (Option[APIGetCommentResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1091,8 +857,7 @@ proc getComment*(httpClient: HttpClient, params: ApiGetCommentRequest): (Option[ constructResult[APIGetCommentResponse](response) -type ApiGetCommentsRequest* = object - tenantId*: string +type ApiGetCommentsOptions* = object page*: int limit*: int skip*: int @@ -1110,24 +875,23 @@ type ApiGetCommentsRequest* = object fromDate*: int64 toDate*: int64 -proc getComments*(httpClient: HttpClient, params: ApiGetCommentsRequest): (Option[APIGetCommentsResponse], Response) = - let tenantId = params.tenantId - let page = params.page - let limit = params.limit - let skip = params.skip - let asTree = params.asTree - let skipChildren = params.skipChildren - let limitChildren = params.limitChildren - let maxTreeDepth = params.maxTreeDepth - let urlId = params.urlId - let userId = params.userId - let anonUserId = params.anonUserId - let contextUserId = params.contextUserId - let hashTag = params.hashTag - let parentId = params.parentId - let direction = params.direction - let fromDate = params.fromDate - let toDate = params.toDate +proc getComments*(httpClient: HttpClient, tenantId: string, options: ApiGetCommentsOptions): (Option[APIGetCommentsResponse], Response) = + let page = options.page + let limit = options.limit + let skip = options.skip + let asTree = options.asTree + let skipChildren = options.skipChildren + let limitChildren = options.limitChildren + let maxTreeDepth = options.maxTreeDepth + let urlId = options.urlId + let userId = options.userId + let anonUserId = options.anonUserId + let contextUserId = options.contextUserId + let hashTag = options.hashTag + let parentId = options.parentId + let direction = options.direction + let fromDate = options.fromDate + let toDate = options.toDate ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1169,13 +933,7 @@ proc getComments*(httpClient: HttpClient, params: ApiGetCommentsRequest): (Optio constructResult[APIGetCommentsResponse](response) -type ApiGetDomainConfigRequest* = object - tenantId*: string - domain*: string - -proc getDomainConfig*(httpClient: HttpClient, params: ApiGetDomainConfigRequest): (Option[GetDomainConfigResponse], Response) = - let tenantId = params.tenantId - let domain = params.domain +proc getDomainConfig*(httpClient: HttpClient, tenantId: string, domain: string): (Option[GetDomainConfigResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1185,11 +943,7 @@ proc getDomainConfig*(httpClient: HttpClient, params: ApiGetDomainConfigRequest) constructResult[GetDomainConfigResponse](response) -type ApiGetDomainConfigsRequest* = object - tenantId*: string - -proc getDomainConfigs*(httpClient: HttpClient, params: ApiGetDomainConfigsRequest): (Option[GetDomainConfigsResponse], Response) = - let tenantId = params.tenantId +proc getDomainConfigs*(httpClient: HttpClient, tenantId: string): (Option[GetDomainConfigsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1199,13 +953,7 @@ proc getDomainConfigs*(httpClient: HttpClient, params: ApiGetDomainConfigsReques constructResult[GetDomainConfigsResponse](response) -type ApiGetEmailTemplateRequest* = object - tenantId*: string - id*: string - -proc getEmailTemplate*(httpClient: HttpClient, params: ApiGetEmailTemplateRequest): (Option[GetEmailTemplateResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetEmailTemplateResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1215,11 +963,7 @@ proc getEmailTemplate*(httpClient: HttpClient, params: ApiGetEmailTemplateReques constructResult[GetEmailTemplateResponse](response) -type ApiGetEmailTemplateDefinitionsRequest* = object - tenantId*: string - -proc getEmailTemplateDefinitions*(httpClient: HttpClient, params: ApiGetEmailTemplateDefinitionsRequest): (Option[GetEmailTemplateDefinitionsResponse], Response) = - let tenantId = params.tenantId +proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Option[GetEmailTemplateDefinitionsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1229,15 +973,11 @@ proc getEmailTemplateDefinitions*(httpClient: HttpClient, params: ApiGetEmailTem constructResult[GetEmailTemplateDefinitionsResponse](response) -type ApiGetEmailTemplateRenderErrorsRequest* = object - tenantId*: string - id*: string +type ApiGetEmailTemplateRenderErrorsOptions* = object skip*: float64 -proc getEmailTemplateRenderErrors*(httpClient: HttpClient, params: ApiGetEmailTemplateRenderErrorsRequest): (Option[GetEmailTemplateRenderErrorsResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let skip = params.skip +proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, options: ApiGetEmailTemplateRenderErrorsOptions): (Option[GetEmailTemplateRenderErrorsResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1249,13 +989,11 @@ proc getEmailTemplateRenderErrors*(httpClient: HttpClient, params: ApiGetEmailTe constructResult[GetEmailTemplateRenderErrorsResponse](response) -type ApiGetEmailTemplatesRequest* = object - tenantId*: string +type ApiGetEmailTemplatesOptions* = object skip*: float64 -proc getEmailTemplates*(httpClient: HttpClient, params: ApiGetEmailTemplatesRequest): (Option[GetEmailTemplatesResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, options: ApiGetEmailTemplatesOptions): (Option[GetEmailTemplatesResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1267,17 +1005,15 @@ proc getEmailTemplates*(httpClient: HttpClient, params: ApiGetEmailTemplatesRequ constructResult[GetEmailTemplatesResponse](response) -type ApiGetFeedPostsRequest* = object - tenantId*: string +type ApiGetFeedPostsOptions* = object afterId*: string limit*: int tags*: seq[string] -proc getFeedPosts*(httpClient: HttpClient, params: ApiGetFeedPostsRequest): (Option[GetFeedPostsResponse], Response) = - let tenantId = params.tenantId - let afterId = params.afterId - let limit = params.limit - let tags = params.tags +proc getFeedPosts*(httpClient: HttpClient, tenantId: string, options: ApiGetFeedPostsOptions): (Option[GetFeedPostsResponse], Response) = + let afterId = options.afterId + let limit = options.limit + let tags = options.tags ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1293,13 +1029,11 @@ proc getFeedPosts*(httpClient: HttpClient, params: ApiGetFeedPostsRequest): (Opt constructResult[GetFeedPostsResponse](response) -type ApiGetHashTagsRequest* = object - tenantId*: string +type ApiGetHashTagsOptions* = object page*: float64 -proc getHashTags*(httpClient: HttpClient, params: ApiGetHashTagsRequest): (Option[GetHashTagsResponse], Response) = - let tenantId = params.tenantId - let page = params.page +proc getHashTags*(httpClient: HttpClient, tenantId: string, options: ApiGetHashTagsOptions): (Option[GetHashTagsResponse], Response) = + let page = options.page ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1311,13 +1045,7 @@ proc getHashTags*(httpClient: HttpClient, params: ApiGetHashTagsRequest): (Optio constructResult[GetHashTagsResponse](response) -type ApiGetModeratorRequest* = object - tenantId*: string - id*: string - -proc getModerator*(httpClient: HttpClient, params: ApiGetModeratorRequest): (Option[GetModeratorResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetModeratorResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1327,13 +1055,11 @@ proc getModerator*(httpClient: HttpClient, params: ApiGetModeratorRequest): (Opt constructResult[GetModeratorResponse](response) -type ApiGetModeratorsRequest* = object - tenantId*: string +type ApiGetModeratorsOptions* = object skip*: float64 -proc getModerators*(httpClient: HttpClient, params: ApiGetModeratorsRequest): (Option[GetModeratorsResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getModerators*(httpClient: HttpClient, tenantId: string, options: ApiGetModeratorsOptions): (Option[GetModeratorsResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1345,21 +1071,19 @@ proc getModerators*(httpClient: HttpClient, params: ApiGetModeratorsRequest): (O constructResult[GetModeratorsResponse](response) -type ApiGetNotificationCountRequest* = object - tenantId*: string +type ApiGetNotificationCountOptions* = object userId*: string urlId*: string fromCommentId*: string viewed*: bool `type`*: string -proc getNotificationCount*(httpClient: HttpClient, params: ApiGetNotificationCountRequest): (Option[GetNotificationCountResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let urlId = params.urlId - let fromCommentId = params.fromCommentId - let viewed = params.viewed - let `type` = params.`type` +proc getNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiGetNotificationCountOptions): (Option[GetNotificationCountResponse], Response) = + let userId = options.userId + let urlId = options.urlId + let fromCommentId = options.fromCommentId + let viewed = options.viewed + let `type` = options.`type` ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1379,8 +1103,7 @@ proc getNotificationCount*(httpClient: HttpClient, params: ApiGetNotificationCou constructResult[GetNotificationCountResponse](response) -type ApiGetNotificationsRequest* = object - tenantId*: string +type ApiGetNotificationsOptions* = object userId*: string urlId*: string fromCommentId*: string @@ -1388,14 +1111,13 @@ type ApiGetNotificationsRequest* = object `type`*: string skip*: float64 -proc getNotifications*(httpClient: HttpClient, params: ApiGetNotificationsRequest): (Option[GetNotificationsResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let urlId = params.urlId - let fromCommentId = params.fromCommentId - let viewed = params.viewed - let `type` = params.`type` - let skip = params.skip +proc getNotifications*(httpClient: HttpClient, tenantId: string, options: ApiGetNotificationsOptions): (Option[GetNotificationsResponse], Response) = + let userId = options.userId + let urlId = options.urlId + let fromCommentId = options.fromCommentId + let viewed = options.viewed + let `type` = options.`type` + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1417,13 +1139,7 @@ proc getNotifications*(httpClient: HttpClient, params: ApiGetNotificationsReques constructResult[GetNotificationsResponse](response) -type ApiGetPageByURLIdRequest* = object - tenantId*: string - urlId*: string - -proc getPageByURLId*(httpClient: HttpClient, params: ApiGetPageByURLIdRequest): (Option[GetPageByURLIdAPIResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId +proc getPageByURLId*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetPageByURLIdAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1434,11 +1150,7 @@ proc getPageByURLId*(httpClient: HttpClient, params: ApiGetPageByURLIdRequest): constructResult[GetPageByURLIdAPIResponse](response) -type ApiGetPagesRequest* = object - tenantId*: string - -proc getPages*(httpClient: HttpClient, params: ApiGetPagesRequest): (Option[GetPagesAPIResponse], Response) = - let tenantId = params.tenantId +proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1448,8 +1160,7 @@ proc getPages*(httpClient: HttpClient, params: ApiGetPagesRequest): (Option[GetP constructResult[GetPagesAPIResponse](response) -type ApiGetPendingWebhookEventCountRequest* = object - tenantId*: string +type ApiGetPendingWebhookEventCountOptions* = object commentId*: string externalId*: string eventType*: string @@ -1457,14 +1168,13 @@ type ApiGetPendingWebhookEventCountRequest* = object domain*: string attemptCountGT*: float64 -proc getPendingWebhookEventCount*(httpClient: HttpClient, params: ApiGetPendingWebhookEventCountRequest): (Option[GetPendingWebhookEventCountResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let externalId = params.externalId - let eventType = params.eventType - let `type` = params.`type` - let domain = params.domain - let attemptCountGT = params.attemptCountGT +proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, options: ApiGetPendingWebhookEventCountOptions): (Option[GetPendingWebhookEventCountResponse], Response) = + let commentId = options.commentId + let externalId = options.externalId + let eventType = options.eventType + let `type` = options.`type` + let domain = options.domain + let attemptCountGT = options.attemptCountGT ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1486,8 +1196,7 @@ proc getPendingWebhookEventCount*(httpClient: HttpClient, params: ApiGetPendingW constructResult[GetPendingWebhookEventCountResponse](response) -type ApiGetPendingWebhookEventsRequest* = object - tenantId*: string +type ApiGetPendingWebhookEventsOptions* = object commentId*: string externalId*: string eventType*: string @@ -1496,15 +1205,14 @@ type ApiGetPendingWebhookEventsRequest* = object attemptCountGT*: float64 skip*: float64 -proc getPendingWebhookEvents*(httpClient: HttpClient, params: ApiGetPendingWebhookEventsRequest): (Option[GetPendingWebhookEventsResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let externalId = params.externalId - let eventType = params.eventType - let `type` = params.`type` - let domain = params.domain - let attemptCountGT = params.attemptCountGT - let skip = params.skip +proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, options: ApiGetPendingWebhookEventsOptions): (Option[GetPendingWebhookEventsResponse], Response) = + let commentId = options.commentId + let externalId = options.externalId + let eventType = options.eventType + let `type` = options.`type` + let domain = options.domain + let attemptCountGT = options.attemptCountGT + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1528,13 +1236,7 @@ proc getPendingWebhookEvents*(httpClient: HttpClient, params: ApiGetPendingWebho constructResult[GetPendingWebhookEventsResponse](response) -type ApiGetQuestionConfigRequest* = object - tenantId*: string - id*: string - -proc getQuestionConfig*(httpClient: HttpClient, params: ApiGetQuestionConfigRequest): (Option[GetQuestionConfigResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionConfigResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1544,13 +1246,11 @@ proc getQuestionConfig*(httpClient: HttpClient, params: ApiGetQuestionConfigRequ constructResult[GetQuestionConfigResponse](response) -type ApiGetQuestionConfigsRequest* = object - tenantId*: string +type ApiGetQuestionConfigsOptions* = object skip*: float64 -proc getQuestionConfigs*(httpClient: HttpClient, params: ApiGetQuestionConfigsRequest): (Option[GetQuestionConfigsResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, options: ApiGetQuestionConfigsOptions): (Option[GetQuestionConfigsResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1562,13 +1262,7 @@ proc getQuestionConfigs*(httpClient: HttpClient, params: ApiGetQuestionConfigsRe constructResult[GetQuestionConfigsResponse](response) -type ApiGetQuestionResultRequest* = object - tenantId*: string - id*: string - -proc getQuestionResult*(httpClient: HttpClient, params: ApiGetQuestionResultRequest): (Option[GetQuestionResultResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetQuestionResultResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1578,8 +1272,7 @@ proc getQuestionResult*(httpClient: HttpClient, params: ApiGetQuestionResultRequ constructResult[GetQuestionResultResponse](response) -type ApiGetQuestionResultsRequest* = object - tenantId*: string +type ApiGetQuestionResultsOptions* = object urlId*: string userId*: string startDate*: string @@ -1587,14 +1280,13 @@ type ApiGetQuestionResultsRequest* = object questionIds*: string skip*: float64 -proc getQuestionResults*(httpClient: HttpClient, params: ApiGetQuestionResultsRequest): (Option[GetQuestionResultsResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let userId = params.userId - let startDate = params.startDate - let questionId = params.questionId - let questionIds = params.questionIds - let skip = params.skip +proc getQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiGetQuestionResultsOptions): (Option[GetQuestionResultsResponse], Response) = + let urlId = options.urlId + let userId = options.userId + let startDate = options.startDate + let questionId = options.questionId + let questionIds = options.questionIds + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1616,13 +1308,7 @@ proc getQuestionResults*(httpClient: HttpClient, params: ApiGetQuestionResultsRe constructResult[GetQuestionResultsResponse](response) -type ApiGetSSOUserByEmailRequest* = object - tenantId*: string - email*: string - -proc getSSOUserByEmail*(httpClient: HttpClient, params: ApiGetSSOUserByEmailRequest): (Option[GetSSOUserByEmailAPIResponse], Response) = - let tenantId = params.tenantId - let email = params.email +proc getSSOUserByEmail*(httpClient: HttpClient, tenantId: string, email: string): (Option[GetSSOUserByEmailAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1632,13 +1318,7 @@ proc getSSOUserByEmail*(httpClient: HttpClient, params: ApiGetSSOUserByEmailRequ constructResult[GetSSOUserByEmailAPIResponse](response) -type ApiGetSSOUserByIdRequest* = object - tenantId*: string - id*: string - -proc getSSOUserById*(httpClient: HttpClient, params: ApiGetSSOUserByIdRequest): (Option[GetSSOUserByIdAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getSSOUserById*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetSSOUserByIdAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1648,13 +1328,11 @@ proc getSSOUserById*(httpClient: HttpClient, params: ApiGetSSOUserByIdRequest): constructResult[GetSSOUserByIdAPIResponse](response) -type ApiGetSSOUsersRequest* = object - tenantId*: string +type ApiGetSSOUsersOptions* = object skip*: int -proc getSSOUsers*(httpClient: HttpClient, params: ApiGetSSOUsersRequest): (Option[GetSSOUsersResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getSSOUsers*(httpClient: HttpClient, tenantId: string, options: ApiGetSSOUsersOptions): (Option[GetSSOUsersResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1666,13 +1344,11 @@ proc getSSOUsers*(httpClient: HttpClient, params: ApiGetSSOUsersRequest): (Optio constructResult[GetSSOUsersResponse](response) -type ApiGetSubscriptionsRequest* = object - tenantId*: string +type ApiGetSubscriptionsOptions* = object userId*: string -proc getSubscriptions*(httpClient: HttpClient, params: ApiGetSubscriptionsRequest): (Option[GetSubscriptionsAPIResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId +proc getSubscriptions*(httpClient: HttpClient, tenantId: string, options: ApiGetSubscriptionsOptions): (Option[GetSubscriptionsAPIResponse], Response) = + let userId = options.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1684,13 +1360,7 @@ proc getSubscriptions*(httpClient: HttpClient, params: ApiGetSubscriptionsReques constructResult[GetSubscriptionsAPIResponse](response) -type ApiGetTenantRequest* = object - tenantId*: string - id*: string - -proc getTenant*(httpClient: HttpClient, params: ApiGetTenantRequest): (Option[GetTenantResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1700,19 +1370,17 @@ proc getTenant*(httpClient: HttpClient, params: ApiGetTenantRequest): (Option[Ge constructResult[GetTenantResponse](response) -type ApiGetTenantDailyUsagesRequest* = object - tenantId*: string +type ApiGetTenantDailyUsagesOptions* = object yearNumber*: float64 monthNumber*: float64 dayNumber*: float64 skip*: float64 -proc getTenantDailyUsages*(httpClient: HttpClient, params: ApiGetTenantDailyUsagesRequest): (Option[GetTenantDailyUsagesResponse], Response) = - let tenantId = params.tenantId - let yearNumber = params.yearNumber - let monthNumber = params.monthNumber - let dayNumber = params.dayNumber - let skip = params.skip +proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantDailyUsagesOptions): (Option[GetTenantDailyUsagesResponse], Response) = + let yearNumber = options.yearNumber + let monthNumber = options.monthNumber + let dayNumber = options.dayNumber + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1730,13 +1398,7 @@ proc getTenantDailyUsages*(httpClient: HttpClient, params: ApiGetTenantDailyUsag constructResult[GetTenantDailyUsagesResponse](response) -type ApiGetTenantPackageRequest* = object - tenantId*: string - id*: string - -proc getTenantPackage*(httpClient: HttpClient, params: ApiGetTenantPackageRequest): (Option[GetTenantPackageResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantPackageResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1746,13 +1408,11 @@ proc getTenantPackage*(httpClient: HttpClient, params: ApiGetTenantPackageReques constructResult[GetTenantPackageResponse](response) -type ApiGetTenantPackagesRequest* = object - tenantId*: string +type ApiGetTenantPackagesOptions* = object skip*: float64 -proc getTenantPackages*(httpClient: HttpClient, params: ApiGetTenantPackagesRequest): (Option[GetTenantPackagesResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getTenantPackages*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantPackagesOptions): (Option[GetTenantPackagesResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1764,13 +1424,7 @@ proc getTenantPackages*(httpClient: HttpClient, params: ApiGetTenantPackagesRequ constructResult[GetTenantPackagesResponse](response) -type ApiGetTenantUserRequest* = object - tenantId*: string - id*: string - -proc getTenantUser*(httpClient: HttpClient, params: ApiGetTenantUserRequest): (Option[GetTenantUserResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetTenantUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1780,13 +1434,11 @@ proc getTenantUser*(httpClient: HttpClient, params: ApiGetTenantUserRequest): (O constructResult[GetTenantUserResponse](response) -type ApiGetTenantUsersRequest* = object - tenantId*: string +type ApiGetTenantUsersOptions* = object skip*: float64 -proc getTenantUsers*(httpClient: HttpClient, params: ApiGetTenantUsersRequest): (Option[GetTenantUsersResponse], Response) = - let tenantId = params.tenantId - let skip = params.skip +proc getTenantUsers*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantUsersOptions): (Option[GetTenantUsersResponse], Response) = + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1798,15 +1450,13 @@ proc getTenantUsers*(httpClient: HttpClient, params: ApiGetTenantUsersRequest): constructResult[GetTenantUsersResponse](response) -type ApiGetTenantsRequest* = object - tenantId*: string +type ApiGetTenantsOptions* = object meta*: string skip*: float64 -proc getTenants*(httpClient: HttpClient, params: ApiGetTenantsRequest): (Option[GetTenantsResponse], Response) = - let tenantId = params.tenantId - let meta = params.meta - let skip = params.skip +proc getTenants*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantsOptions): (Option[GetTenantsResponse], Response) = + let meta = options.meta + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1820,15 +1470,11 @@ proc getTenants*(httpClient: HttpClient, params: ApiGetTenantsRequest): (Option[ constructResult[GetTenantsResponse](response) -type ApiGetTicketRequest* = object - tenantId*: string - id*: string +type ApiGetTicketOptions* = object userId*: string -proc getTicket*(httpClient: HttpClient, params: ApiGetTicketRequest): (Option[GetTicketResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let userId = params.userId +proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, options: ApiGetTicketOptions): (Option[GetTicketResponse], Response) = + let userId = options.userId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1840,19 +1486,17 @@ proc getTicket*(httpClient: HttpClient, params: ApiGetTicketRequest): (Option[Ge constructResult[GetTicketResponse](response) -type ApiGetTicketsRequest* = object - tenantId*: string +type ApiGetTicketsOptions* = object userId*: string state*: float64 skip*: float64 limit*: float64 -proc getTickets*(httpClient: HttpClient, params: ApiGetTicketsRequest): (Option[GetTicketsResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let state = params.state - let skip = params.skip - let limit = params.limit +proc getTickets*(httpClient: HttpClient, tenantId: string, options: ApiGetTicketsOptions): (Option[GetTicketsResponse], Response) = + let userId = options.userId + let state = options.state + let skip = options.skip + let limit = options.limit ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1870,13 +1514,7 @@ proc getTickets*(httpClient: HttpClient, params: ApiGetTicketsRequest): (Option[ constructResult[GetTicketsResponse](response) -type ApiGetUserRequest* = object - tenantId*: string - id*: string - -proc getUser*(httpClient: HttpClient, params: ApiGetUserRequest): (Option[GetUserResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getUser*(httpClient: HttpClient, tenantId: string, id: string): (Option[GetUserResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1886,13 +1524,7 @@ proc getUser*(httpClient: HttpClient, params: ApiGetUserRequest): (Option[GetUse constructResult[GetUserResponse](response) -type ApiGetUserBadgeRequest* = object - tenantId*: string - id*: string - -proc getUserBadge*(httpClient: HttpClient, params: ApiGetUserBadgeRequest): (Option[APIGetUserBadgeResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1902,13 +1534,7 @@ proc getUserBadge*(httpClient: HttpClient, params: ApiGetUserBadgeRequest): (Opt constructResult[APIGetUserBadgeResponse](response) -type ApiGetUserBadgeProgressByIdRequest* = object - tenantId*: string - id*: string - -proc getUserBadgeProgressById*(httpClient: HttpClient, params: ApiGetUserBadgeProgressByIdRequest): (Option[APIGetUserBadgeProgressResponse], Response) = - let tenantId = params.tenantId - let id = params.id +proc getUserBadgeProgressById*(httpClient: HttpClient, tenantId: string, id: string): (Option[APIGetUserBadgeProgressResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1918,13 +1544,7 @@ proc getUserBadgeProgressById*(httpClient: HttpClient, params: ApiGetUserBadgePr constructResult[APIGetUserBadgeProgressResponse](response) -type ApiGetUserBadgeProgressByUserIdRequest* = object - tenantId*: string - userId*: string - -proc getUserBadgeProgressByUserId*(httpClient: HttpClient, params: ApiGetUserBadgeProgressByUserIdRequest): (Option[APIGetUserBadgeProgressResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId +proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, userId: string): (Option[APIGetUserBadgeProgressResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1934,17 +1554,15 @@ proc getUserBadgeProgressByUserId*(httpClient: HttpClient, params: ApiGetUserBad constructResult[APIGetUserBadgeProgressResponse](response) -type ApiGetUserBadgeProgressListRequest* = object - tenantId*: string +type ApiGetUserBadgeProgressListOptions* = object userId*: string limit*: float64 skip*: float64 -proc getUserBadgeProgressList*(httpClient: HttpClient, params: ApiGetUserBadgeProgressListRequest): (Option[APIGetUserBadgeProgressListResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let limit = params.limit - let skip = params.skip +proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, options: ApiGetUserBadgeProgressListOptions): (Option[APIGetUserBadgeProgressListResponse], Response) = + let userId = options.userId + let limit = options.limit + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1960,8 +1578,7 @@ proc getUserBadgeProgressList*(httpClient: HttpClient, params: ApiGetUserBadgePr constructResult[APIGetUserBadgeProgressListResponse](response) -type ApiGetUserBadgesRequest* = object - tenantId*: string +type ApiGetUserBadgesOptions* = object userId*: string badgeId*: string `type`*: float64 @@ -1969,14 +1586,13 @@ type ApiGetUserBadgesRequest* = object limit*: float64 skip*: float64 -proc getUserBadges*(httpClient: HttpClient, params: ApiGetUserBadgesRequest): (Option[APIGetUserBadgesResponse], Response) = - let tenantId = params.tenantId - let userId = params.userId - let badgeId = params.badgeId - let `type` = params.`type` - let displayedOnComments = params.displayedOnComments - let limit = params.limit - let skip = params.skip +proc getUserBadges*(httpClient: HttpClient, tenantId: string, options: ApiGetUserBadgesOptions): (Option[APIGetUserBadgesResponse], Response) = + let userId = options.userId + let badgeId = options.badgeId + let `type` = options.`type` + let displayedOnComments = options.displayedOnComments + let limit = options.limit + let skip = options.skip ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1998,13 +1614,7 @@ proc getUserBadges*(httpClient: HttpClient, params: ApiGetUserBadgesRequest): (O constructResult[APIGetUserBadgesResponse](response) -type ApiGetVotesRequest* = object - tenantId*: string - urlId*: string - -proc getVotes*(httpClient: HttpClient, params: ApiGetVotesRequest): (Option[GetVotesResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId +proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetVotesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -2015,17 +1625,13 @@ proc getVotes*(httpClient: HttpClient, params: ApiGetVotesRequest): (Option[GetV constructResult[GetVotesResponse](response) -type ApiGetVotesForUserRequest* = object - tenantId*: string - urlId*: string +type ApiGetVotesForUserOptions* = object userId*: string anonUserId*: string -proc getVotesForUser*(httpClient: HttpClient, params: ApiGetVotesForUserRequest): (Option[GetVotesForUserResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let userId = params.userId - let anonUserId = params.anonUserId +proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetVotesForUserOptions): (Option[GetVotesForUserResponse], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -2040,15 +1646,7 @@ proc getVotesForUser*(httpClient: HttpClient, params: ApiGetVotesForUserRequest) constructResult[GetVotesForUserResponse](response) -type ApiPatchDomainConfigRequest* = object - tenantId*: string - domainToUpdate*: string - patchDomainConfigParams*: PatchDomainConfigParams - -proc patchDomainConfig*(httpClient: HttpClient, params: ApiPatchDomainConfigRequest): (Option[PatchDomainConfigResponse], Response) = - let tenantId = params.tenantId - let domainToUpdate = params.domainToUpdate - let patchDomainConfigParams = params.patchDomainConfigParams +proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams): (Option[PatchDomainConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2059,15 +1657,11 @@ proc patchDomainConfig*(httpClient: HttpClient, params: ApiPatchDomainConfigRequ constructResult[PatchDomainConfigResponse](response) -type ApiPatchHashTagRequest* = object - tag*: string +type ApiPatchHashTagOptions* = object tenantId*: string - updateHashTagBody*: UpdateHashTagBody -proc patchHashTag*(httpClient: HttpClient, params: ApiPatchHashTagRequest): (Option[UpdateHashTagResponse], Response) = - let tag = params.tag - let tenantId = params.tenantId - let updateHashTagBody = params.updateHashTagBody +proc patchHashTag*(httpClient: HttpClient, tag: string, updateHashTagBody: UpdateHashTagBody, options: ApiPatchHashTagOptions): (Option[UpdateHashTagResponse], Response) = + let tenantId = options.tenantId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2079,15 +1673,7 @@ proc patchHashTag*(httpClient: HttpClient, params: ApiPatchHashTagRequest): (Opt constructResult[UpdateHashTagResponse](response) -type ApiPatchPageRequest* = object - tenantId*: string - id*: string - updateAPIPageData*: UpdateAPIPageData - -proc patchPage*(httpClient: HttpClient, params: ApiPatchPageRequest): (Option[PatchPageAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateAPIPageData = params.updateAPIPageData +proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIPageData: UpdateAPIPageData): (Option[PatchPageAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2098,17 +1684,11 @@ proc patchPage*(httpClient: HttpClient, params: ApiPatchPageRequest): (Option[Pa constructResult[PatchPageAPIResponse](response) -type ApiPatchSSOUserRequest* = object - tenantId*: string - id*: string - updateAPISSOUserData*: UpdateAPISSOUserData +type ApiPatchSSOUserOptions* = object updateComments*: bool -proc patchSSOUser*(httpClient: HttpClient, params: ApiPatchSSOUserRequest): (Option[PatchSSOUserAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateAPISSOUserData = params.updateAPISSOUserData - let updateComments = params.updateComments +proc patchSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions): (Option[PatchSSOUserAPIResponse], Response) = + let updateComments = options.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2121,15 +1701,7 @@ proc patchSSOUser*(httpClient: HttpClient, params: ApiPatchSSOUserRequest): (Opt constructResult[PatchSSOUserAPIResponse](response) -type ApiPutDomainConfigRequest* = object - tenantId*: string - domainToUpdate*: string - updateDomainConfigParams*: UpdateDomainConfigParams - -proc putDomainConfig*(httpClient: HttpClient, params: ApiPutDomainConfigRequest): (Option[PutDomainConfigResponse], Response) = - let tenantId = params.tenantId - let domainToUpdate = params.domainToUpdate - let updateDomainConfigParams = params.updateDomainConfigParams +proc putDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: string, updateDomainConfigParams: UpdateDomainConfigParams): (Option[PutDomainConfigResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2140,17 +1712,11 @@ proc putDomainConfig*(httpClient: HttpClient, params: ApiPutDomainConfigRequest) constructResult[PutDomainConfigResponse](response) -type ApiPutSSOUserRequest* = object - tenantId*: string - id*: string - updateAPISSOUserData*: UpdateAPISSOUserData +type ApiPutSSOUserOptions* = object updateComments*: bool -proc putSSOUser*(httpClient: HttpClient, params: ApiPutSSOUserRequest): (Option[PutSSOUserAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateAPISSOUserData = params.updateAPISSOUserData - let updateComments = params.updateComments +proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions): (Option[PutSSOUserAPIResponse], Response) = + let updateComments = options.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2163,15 +1729,11 @@ proc putSSOUser*(httpClient: HttpClient, params: ApiPutSSOUserRequest): (Option[ constructResult[PutSSOUserAPIResponse](response) -type ApiRenderEmailTemplateRequest* = object - tenantId*: string - renderEmailTemplateBody*: RenderEmailTemplateBody +type ApiRenderEmailTemplateOptions* = object locale*: string -proc renderEmailTemplate*(httpClient: HttpClient, params: ApiRenderEmailTemplateRequest): (Option[RenderEmailTemplateResponse], Response) = - let tenantId = params.tenantId - let renderEmailTemplateBody = params.renderEmailTemplateBody - let locale = params.locale +proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions): (Option[RenderEmailTemplateResponse], Response) = + let locale = options.locale ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2184,15 +1746,7 @@ proc renderEmailTemplate*(httpClient: HttpClient, params: ApiRenderEmailTemplate constructResult[RenderEmailTemplateResponse](response) -type ApiReplaceTenantPackageRequest* = object - tenantId*: string - id*: string - replaceTenantPackageBody*: ReplaceTenantPackageBody - -proc replaceTenantPackage*(httpClient: HttpClient, params: ApiReplaceTenantPackageRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let replaceTenantPackageBody = params.replaceTenantPackageBody +proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantPackageBody: ReplaceTenantPackageBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2203,17 +1757,11 @@ proc replaceTenantPackage*(httpClient: HttpClient, params: ApiReplaceTenantPacka constructResult[APIEmptyResponse](response) -type ApiReplaceTenantUserRequest* = object - tenantId*: string - id*: string - replaceTenantUserBody*: ReplaceTenantUserBody +type ApiReplaceTenantUserOptions* = object updateComments*: string -proc replaceTenantUser*(httpClient: HttpClient, params: ApiReplaceTenantUserRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let replaceTenantUserBody = params.replaceTenantUserBody - let updateComments = params.updateComments +proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions): (Option[APIEmptyResponse], Response) = + let updateComments = options.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2226,21 +1774,17 @@ proc replaceTenantUser*(httpClient: HttpClient, params: ApiReplaceTenantUserRequ constructResult[APIEmptyResponse](response) -type ApiSaveCommentRequest* = object - tenantId*: string - createCommentParams*: CreateCommentParams +type ApiSaveCommentOptions* = object isLive*: bool doSpamCheck*: bool sendEmails*: bool populateNotifications*: bool -proc saveComment*(httpClient: HttpClient, params: ApiSaveCommentRequest): (Option[APISaveCommentResponse], Response) = - let tenantId = params.tenantId - let createCommentParams = params.createCommentParams - let isLive = params.isLive - let doSpamCheck = params.doSpamCheck - let sendEmails = params.sendEmails - let populateNotifications = params.populateNotifications +proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions): (Option[APISaveCommentResponse], Response) = + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let sendEmails = options.sendEmails + let populateNotifications = options.populateNotifications ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2259,21 +1803,17 @@ proc saveComment*(httpClient: HttpClient, params: ApiSaveCommentRequest): (Optio constructResult[APISaveCommentResponse](response) -type ApiSaveCommentsBulkRequest* = object - tenantId*: string - createCommentParams*: seq[CreateCommentParams] +type ApiSaveCommentsBulkOptions* = object isLive*: bool doSpamCheck*: bool sendEmails*: bool populateNotifications*: bool -proc saveCommentsBulk*(httpClient: HttpClient, params: ApiSaveCommentsBulkRequest): (Option[seq[SaveCommentsBulkResponse]], Response) = - let tenantId = params.tenantId - let createCommentParams = params.createCommentParams - let isLive = params.isLive - let doSpamCheck = params.doSpamCheck - let sendEmails = params.sendEmails - let populateNotifications = params.populateNotifications +proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], options: ApiSaveCommentsBulkOptions): (Option[seq[SaveCommentsBulkResponse]], Response) = + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let sendEmails = options.sendEmails + let populateNotifications = options.populateNotifications ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2292,15 +1832,7 @@ proc saveCommentsBulk*(httpClient: HttpClient, params: ApiSaveCommentsBulkReques constructResult[seq[SaveCommentsBulkResponse]](response) -type ApiSendInviteRequest* = object - tenantId*: string - id*: string - fromName*: string - -proc sendInvite*(httpClient: HttpClient, params: ApiSendInviteRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let fromName = params.fromName +proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: string): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -2311,15 +1843,11 @@ proc sendInvite*(httpClient: HttpClient, params: ApiSendInviteRequest): (Option[ constructResult[APIEmptyResponse](response) -type ApiSendLoginLinkRequest* = object - tenantId*: string - id*: string +type ApiSendLoginLinkOptions* = object redirectURL*: string -proc sendLoginLink*(httpClient: HttpClient, params: ApiSendLoginLinkRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let redirectURL = params.redirectURL +proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, options: ApiSendLoginLinkOptions): (Option[APIEmptyResponse], Response) = + let redirectURL = options.redirectURL ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -2331,19 +1859,13 @@ proc sendLoginLink*(httpClient: HttpClient, params: ApiSendLoginLinkRequest): (O constructResult[APIEmptyResponse](response) -type ApiUnBlockUserFromCommentRequest* = object - tenantId*: string - id*: string - unBlockFromCommentParams*: UnBlockFromCommentParams +type ApiUnBlockUserFromCommentOptions* = object userId*: string anonUserId*: string -proc unBlockUserFromComment*(httpClient: HttpClient, params: ApiUnBlockUserFromCommentRequest): (Option[UnblockSuccess], Response) = - let tenantId = params.tenantId - let id = params.id - let unBlockFromCommentParams = params.unBlockFromCommentParams - let userId = params.userId - let anonUserId = params.anonUserId +proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions): (Option[UnblockSuccess], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2358,17 +1880,13 @@ proc unBlockUserFromComment*(httpClient: HttpClient, params: ApiUnBlockUserFromC constructResult[UnblockSuccess](response) -type ApiUnFlagCommentRequest* = object - tenantId*: string - id*: string +type ApiUnFlagCommentOptions* = object userId*: string anonUserId*: string -proc unFlagComment*(httpClient: HttpClient, params: ApiUnFlagCommentRequest): (Option[FlagCommentResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let userId = params.userId - let anonUserId = params.anonUserId +proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiUnFlagCommentOptions): (Option[FlagCommentResponse], Response) = + let userId = options.userId + let anonUserId = options.anonUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -2382,21 +1900,15 @@ proc unFlagComment*(httpClient: HttpClient, params: ApiUnFlagCommentRequest): (O constructResult[FlagCommentResponse](response) -type ApiUpdateCommentRequest* = object - tenantId*: string - id*: string - updatableCommentParams*: UpdatableCommentParams +type ApiUpdateCommentOptions* = object contextUserId*: string doSpamCheck*: bool isLive*: bool -proc updateComment*(httpClient: HttpClient, params: ApiUpdateCommentRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updatableCommentParams = params.updatableCommentParams - let contextUserId = params.contextUserId - let doSpamCheck = params.doSpamCheck - let isLive = params.isLive +proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions): (Option[APIEmptyResponse], Response) = + let contextUserId = options.contextUserId + let doSpamCheck = options.doSpamCheck + let isLive = options.isLive ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2413,15 +1925,7 @@ proc updateComment*(httpClient: HttpClient, params: ApiUpdateCommentRequest): (O constructResult[APIEmptyResponse](response) -type ApiUpdateEmailTemplateRequest* = object - tenantId*: string - id*: string - updateEmailTemplateBody*: UpdateEmailTemplateBody - -proc updateEmailTemplate*(httpClient: HttpClient, params: ApiUpdateEmailTemplateRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateEmailTemplateBody = params.updateEmailTemplateBody +proc updateEmailTemplate*(httpClient: HttpClient, tenantId: string, id: string, updateEmailTemplateBody: UpdateEmailTemplateBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2432,15 +1936,7 @@ proc updateEmailTemplate*(httpClient: HttpClient, params: ApiUpdateEmailTemplate constructResult[APIEmptyResponse](response) -type ApiUpdateFeedPostRequest* = object - tenantId*: string - id*: string - feedPost*: FeedPost - -proc updateFeedPost*(httpClient: HttpClient, params: ApiUpdateFeedPostRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let feedPost = params.feedPost +proc updateFeedPost*(httpClient: HttpClient, tenantId: string, id: string, feedPost: FeedPost): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2451,15 +1947,7 @@ proc updateFeedPost*(httpClient: HttpClient, params: ApiUpdateFeedPostRequest): constructResult[APIEmptyResponse](response) -type ApiUpdateModeratorRequest* = object - tenantId*: string - id*: string - updateModeratorBody*: UpdateModeratorBody - -proc updateModerator*(httpClient: HttpClient, params: ApiUpdateModeratorRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateModeratorBody = params.updateModeratorBody +proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, updateModeratorBody: UpdateModeratorBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2470,17 +1958,11 @@ proc updateModerator*(httpClient: HttpClient, params: ApiUpdateModeratorRequest) constructResult[APIEmptyResponse](response) -type ApiUpdateNotificationRequest* = object - tenantId*: string - id*: string - updateNotificationBody*: UpdateNotificationBody +type ApiUpdateNotificationOptions* = object userId*: string -proc updateNotification*(httpClient: HttpClient, params: ApiUpdateNotificationRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateNotificationBody = params.updateNotificationBody - let userId = params.userId +proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions): (Option[APIEmptyResponse], Response) = + let userId = options.userId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2493,15 +1975,7 @@ proc updateNotification*(httpClient: HttpClient, params: ApiUpdateNotificationRe constructResult[APIEmptyResponse](response) -type ApiUpdateQuestionConfigRequest* = object - tenantId*: string - id*: string - updateQuestionConfigBody*: UpdateQuestionConfigBody - -proc updateQuestionConfig*(httpClient: HttpClient, params: ApiUpdateQuestionConfigRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateQuestionConfigBody = params.updateQuestionConfigBody +proc updateQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionConfigBody: UpdateQuestionConfigBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2512,15 +1986,7 @@ proc updateQuestionConfig*(httpClient: HttpClient, params: ApiUpdateQuestionConf constructResult[APIEmptyResponse](response) -type ApiUpdateQuestionResultRequest* = object - tenantId*: string - id*: string - updateQuestionResultBody*: UpdateQuestionResultBody - -proc updateQuestionResult*(httpClient: HttpClient, params: ApiUpdateQuestionResultRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateQuestionResultBody = params.updateQuestionResultBody +proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, updateQuestionResultBody: UpdateQuestionResultBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2531,17 +1997,11 @@ proc updateQuestionResult*(httpClient: HttpClient, params: ApiUpdateQuestionResu constructResult[APIEmptyResponse](response) -type ApiUpdateSubscriptionRequest* = object - tenantId*: string - id*: string - updateAPIUserSubscriptionData*: UpdateAPIUserSubscriptionData +type ApiUpdateSubscriptionOptions* = object userId*: string -proc updateSubscription*(httpClient: HttpClient, params: ApiUpdateSubscriptionRequest): (Option[UpdateSubscriptionAPIResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateAPIUserSubscriptionData = params.updateAPIUserSubscriptionData - let userId = params.userId +proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions): (Option[UpdateSubscriptionAPIResponse], Response) = + let userId = options.userId ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2554,15 +2014,7 @@ proc updateSubscription*(httpClient: HttpClient, params: ApiUpdateSubscriptionRe constructResult[UpdateSubscriptionAPIResponse](response) -type ApiUpdateTenantRequest* = object - tenantId*: string - id*: string - updateTenantBody*: UpdateTenantBody - -proc updateTenant*(httpClient: HttpClient, params: ApiUpdateTenantRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateTenantBody = params.updateTenantBody +proc updateTenant*(httpClient: HttpClient, tenantId: string, id: string, updateTenantBody: UpdateTenantBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2573,15 +2025,7 @@ proc updateTenant*(httpClient: HttpClient, params: ApiUpdateTenantRequest): (Opt constructResult[APIEmptyResponse](response) -type ApiUpdateTenantPackageRequest* = object - tenantId*: string - id*: string - updateTenantPackageBody*: UpdateTenantPackageBody - -proc updateTenantPackage*(httpClient: HttpClient, params: ApiUpdateTenantPackageRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateTenantPackageBody = params.updateTenantPackageBody +proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, updateTenantPackageBody: UpdateTenantPackageBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2592,17 +2036,11 @@ proc updateTenantPackage*(httpClient: HttpClient, params: ApiUpdateTenantPackage constructResult[APIEmptyResponse](response) -type ApiUpdateTenantUserRequest* = object - tenantId*: string - id*: string - updateTenantUserBody*: UpdateTenantUserBody +type ApiUpdateTenantUserOptions* = object updateComments*: string -proc updateTenantUser*(httpClient: HttpClient, params: ApiUpdateTenantUserRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateTenantUserBody = params.updateTenantUserBody - let updateComments = params.updateComments +proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions): (Option[APIEmptyResponse], Response) = + let updateComments = options.updateComments ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2615,15 +2053,7 @@ proc updateTenantUser*(httpClient: HttpClient, params: ApiUpdateTenantUserReques constructResult[APIEmptyResponse](response) -type ApiUpdateUserBadgeRequest* = object - tenantId*: string - id*: string - updateUserBadgeParams*: UpdateUserBadgeParams - -proc updateUserBadge*(httpClient: HttpClient, params: ApiUpdateUserBadgeRequest): (Option[APIEmptySuccessResponse], Response) = - let tenantId = params.tenantId - let id = params.id - let updateUserBadgeParams = params.updateUserBadgeParams +proc updateUserBadge*(httpClient: HttpClient, tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams): (Option[APIEmptySuccessResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] diff --git a/client/fastcomments/apis/api_moderation.nim b/client/fastcomments/apis/api_moderation.nim index f349a70..6054767 100644 --- a/client/fastcomments/apis/api_moderation.nim +++ b/client/fastcomments/apis/api_moderation.nim @@ -75,19 +75,15 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -type ApiDeleteModerationVoteRequest* = object - commentId*: string - voteId*: string +type ApiDeleteModerationVoteOptions* = object tenantId*: string broadcastId*: string sso*: string -proc deleteModerationVote*(httpClient: HttpClient, params: ApiDeleteModerationVoteRequest): (Option[VoteDeleteResponse], Response) = - let commentId = params.commentId - let voteId = params.voteId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, options: ApiDeleteModerationVoteOptions): (Option[VoteDeleteResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -102,7 +98,7 @@ proc deleteModerationVote*(httpClient: HttpClient, params: ApiDeleteModerationVo constructResult[VoteDeleteResponse](response) -type ApiGetApiCommentsRequest* = object +type ApiGetApiCommentsOptions* = object page*: float64 count*: float64 textSearch*: string @@ -114,17 +110,17 @@ type ApiGetApiCommentsRequest* = object tenantId*: string sso*: string -proc getApiComments*(httpClient: HttpClient, params: ApiGetApiCommentsRequest): (Option[ModerationAPIGetCommentsResponse], Response) = - let page = params.page - let count = params.count - let textSearch = params.textSearch - let byIPFromComment = params.byIPFromComment - let filters = params.filters - let searchFilters = params.searchFilters - let sorts = params.sorts - let demo = params.demo - let tenantId = params.tenantId - let sso = params.sso +proc getApiComments*(httpClient: HttpClient, options: ApiGetApiCommentsOptions): (Option[ModerationAPIGetCommentsResponse], Response) = + let page = options.page + let count = options.count + let textSearch = options.textSearch + let byIPFromComment = options.byIPFromComment + let filters = options.filters + let searchFilters = options.searchFilters + let sorts = options.sorts + let demo = options.demo + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $page != "": @@ -153,15 +149,15 @@ proc getApiComments*(httpClient: HttpClient, params: ApiGetApiCommentsRequest): constructResult[ModerationAPIGetCommentsResponse](response) -type ApiGetApiExportStatusRequest* = object +type ApiGetApiExportStatusOptions* = object batchJobId*: string tenantId*: string sso*: string -proc getApiExportStatus*(httpClient: HttpClient, params: ApiGetApiExportStatusRequest): (Option[ModerationExportStatusResponse], Response) = - let batchJobId = params.batchJobId - let tenantId = params.tenantId - let sso = params.sso +proc getApiExportStatus*(httpClient: HttpClient, options: ApiGetApiExportStatusOptions): (Option[ModerationExportStatusResponse], Response) = + let batchJobId = options.batchJobId + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $batchJobId != "": @@ -176,7 +172,7 @@ proc getApiExportStatus*(httpClient: HttpClient, params: ApiGetApiExportStatusRe constructResult[ModerationExportStatusResponse](response) -type ApiGetApiIdsRequest* = object +type ApiGetApiIdsOptions* = object textSearch*: string byIPFromComment*: string filters*: string @@ -186,15 +182,15 @@ type ApiGetApiIdsRequest* = object tenantId*: string sso*: string -proc getApiIds*(httpClient: HttpClient, params: ApiGetApiIdsRequest): (Option[ModerationAPIGetCommentIdsResponse], Response) = - let textSearch = params.textSearch - let byIPFromComment = params.byIPFromComment - let filters = params.filters - let searchFilters = params.searchFilters - let afterId = params.afterId - let demo = params.demo - let tenantId = params.tenantId - let sso = params.sso +proc getApiIds*(httpClient: HttpClient, options: ApiGetApiIdsOptions): (Option[ModerationAPIGetCommentIdsResponse], Response) = + let textSearch = options.textSearch + let byIPFromComment = options.byIPFromComment + let filters = options.filters + let searchFilters = options.searchFilters + let afterId = options.afterId + let demo = options.demo + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -219,15 +215,13 @@ proc getApiIds*(httpClient: HttpClient, params: ApiGetApiIdsRequest): (Option[Mo constructResult[ModerationAPIGetCommentIdsResponse](response) -type ApiGetBanUsersFromCommentRequest* = object - commentId*: string +type ApiGetBanUsersFromCommentOptions* = object tenantId*: string sso*: string -proc getBanUsersFromComment*(httpClient: HttpClient, params: ApiGetBanUsersFromCommentRequest): (Option[GetBannedUsersFromCommentResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, options: ApiGetBanUsersFromCommentOptions): (Option[GetBannedUsersFromCommentResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -240,15 +234,13 @@ proc getBanUsersFromComment*(httpClient: HttpClient, params: ApiGetBanUsersFromC constructResult[GetBannedUsersFromCommentResponse](response) -type ApiGetCommentBanStatusRequest* = object - commentId*: string +type ApiGetCommentBanStatusOptions* = object tenantId*: string sso*: string -proc getCommentBanStatus*(httpClient: HttpClient, params: ApiGetCommentBanStatusRequest): (Option[GetCommentBanStatusResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, options: ApiGetCommentBanStatusOptions): (Option[GetCommentBanStatusResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -261,15 +253,13 @@ proc getCommentBanStatus*(httpClient: HttpClient, params: ApiGetCommentBanStatus constructResult[GetCommentBanStatusResponse](response) -type ApiGetCommentChildrenRequest* = object - commentId*: string +type ApiGetCommentChildrenOptions* = object tenantId*: string sso*: string -proc getCommentChildren*(httpClient: HttpClient, params: ApiGetCommentChildrenRequest): (Option[ModerationAPIChildCommentsResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getCommentChildren*(httpClient: HttpClient, commentId: string, options: ApiGetCommentChildrenOptions): (Option[ModerationAPIChildCommentsResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -282,7 +272,7 @@ proc getCommentChildren*(httpClient: HttpClient, params: ApiGetCommentChildrenRe constructResult[ModerationAPIChildCommentsResponse](response) -type ApiGetCountRequest* = object +type ApiGetCountOptions* = object textSearch*: string byIPFromComment*: string filter*: string @@ -291,14 +281,14 @@ type ApiGetCountRequest* = object tenantId*: string sso*: string -proc getCount*(httpClient: HttpClient, params: ApiGetCountRequest): (Option[ModerationAPICountCommentsResponse], Response) = - let textSearch = params.textSearch - let byIPFromComment = params.byIPFromComment - let filter = params.filter - let searchFilters = params.searchFilters - let demo = params.demo - let tenantId = params.tenantId - let sso = params.sso +proc getCount*(httpClient: HttpClient, options: ApiGetCountOptions): (Option[ModerationAPICountCommentsResponse], Response) = + let textSearch = options.textSearch + let byIPFromComment = options.byIPFromComment + let filter = options.filter + let searchFilters = options.searchFilters + let demo = options.demo + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -321,13 +311,13 @@ proc getCount*(httpClient: HttpClient, params: ApiGetCountRequest): (Option[Mode constructResult[ModerationAPICountCommentsResponse](response) -type ApiGetCountsRequest* = object +type ApiGetCountsOptions* = object tenantId*: string sso*: string -proc getCounts*(httpClient: HttpClient, params: ApiGetCountsRequest): (Option[GetBannedUsersCountResponse], Response) = - let tenantId = params.tenantId - let sso = params.sso +proc getCounts*(httpClient: HttpClient, options: ApiGetCountsOptions): (Option[GetBannedUsersCountResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -340,15 +330,13 @@ proc getCounts*(httpClient: HttpClient, params: ApiGetCountsRequest): (Option[Ge constructResult[GetBannedUsersCountResponse](response) -type ApiGetLogsRequest* = object - commentId*: string +type ApiGetLogsOptions* = object tenantId*: string sso*: string -proc getLogs*(httpClient: HttpClient, params: ApiGetLogsRequest): (Option[ModerationAPIGetLogsResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getLogs*(httpClient: HttpClient, commentId: string, options: ApiGetLogsOptions): (Option[ModerationAPIGetLogsResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -361,13 +349,13 @@ proc getLogs*(httpClient: HttpClient, params: ApiGetLogsRequest): (Option[Modera constructResult[ModerationAPIGetLogsResponse](response) -type ApiGetManualBadgesRequest* = object +type ApiGetManualBadgesOptions* = object tenantId*: string sso*: string -proc getManualBadges*(httpClient: HttpClient, params: ApiGetManualBadgesRequest): (Option[GetTenantManualBadgesResponse], Response) = - let tenantId = params.tenantId - let sso = params.sso +proc getManualBadges*(httpClient: HttpClient, options: ApiGetManualBadgesOptions): (Option[GetTenantManualBadgesResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -380,17 +368,17 @@ proc getManualBadges*(httpClient: HttpClient, params: ApiGetManualBadgesRequest) constructResult[GetTenantManualBadgesResponse](response) -type ApiGetManualBadgesForUserRequest* = object +type ApiGetManualBadgesForUserOptions* = object badgesUserId*: string commentId*: string tenantId*: string sso*: string -proc getManualBadgesForUser*(httpClient: HttpClient, params: ApiGetManualBadgesForUserRequest): (Option[GetUserManualBadgesResponse], Response) = - let badgesUserId = params.badgesUserId - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getManualBadgesForUser*(httpClient: HttpClient, options: ApiGetManualBadgesForUserOptions): (Option[GetUserManualBadgesResponse], Response) = + let badgesUserId = options.badgesUserId + let commentId = options.commentId + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $badgesUserId != "": @@ -407,19 +395,17 @@ proc getManualBadgesForUser*(httpClient: HttpClient, params: ApiGetManualBadgesF constructResult[GetUserManualBadgesResponse](response) -type ApiGetModerationCommentRequest* = object - commentId*: string +type ApiGetModerationCommentOptions* = object includeEmail*: bool includeIP*: bool tenantId*: string sso*: string -proc getModerationComment*(httpClient: HttpClient, params: ApiGetModerationCommentRequest): (Option[ModerationAPICommentResponse], Response) = - let commentId = params.commentId - let includeEmail = params.includeEmail - let includeIP = params.includeIP - let tenantId = params.tenantId - let sso = params.sso +proc getModerationComment*(httpClient: HttpClient, commentId: string, options: ApiGetModerationCommentOptions): (Option[ModerationAPICommentResponse], Response) = + let includeEmail = options.includeEmail + let includeIP = options.includeIP + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $includeEmail != "": @@ -436,15 +422,13 @@ proc getModerationComment*(httpClient: HttpClient, params: ApiGetModerationComme constructResult[ModerationAPICommentResponse](response) -type ApiGetModerationCommentTextRequest* = object - commentId*: string +type ApiGetModerationCommentTextOptions* = object tenantId*: string sso*: string -proc getModerationCommentText*(httpClient: HttpClient, params: ApiGetModerationCommentTextRequest): (Option[GetCommentTextResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getModerationCommentText*(httpClient: HttpClient, commentId: string, options: ApiGetModerationCommentTextOptions): (Option[GetCommentTextResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -457,21 +441,19 @@ proc getModerationCommentText*(httpClient: HttpClient, params: ApiGetModerationC constructResult[GetCommentTextResponse](response) -type ApiGetPreBanSummaryRequest* = object - commentId*: string +type ApiGetPreBanSummaryOptions* = object includeByUserIdAndEmail*: bool includeByIP*: bool includeByEmailDomain*: bool tenantId*: string sso*: string -proc getPreBanSummary*(httpClient: HttpClient, params: ApiGetPreBanSummaryRequest): (Option[PreBanSummary], Response) = - let commentId = params.commentId - let includeByUserIdAndEmail = params.includeByUserIdAndEmail - let includeByIP = params.includeByIP - let includeByEmailDomain = params.includeByEmailDomain - let tenantId = params.tenantId - let sso = params.sso +proc getPreBanSummary*(httpClient: HttpClient, commentId: string, options: ApiGetPreBanSummaryOptions): (Option[PreBanSummary], Response) = + let includeByUserIdAndEmail = options.includeByUserIdAndEmail + let includeByIP = options.includeByIP + let includeByEmailDomain = options.includeByEmailDomain + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $includeByUserIdAndEmail != "": @@ -490,19 +472,19 @@ proc getPreBanSummary*(httpClient: HttpClient, params: ApiGetPreBanSummaryReques constructResult[PreBanSummary](response) -type ApiGetSearchCommentsSummaryRequest* = object +type ApiGetSearchCommentsSummaryOptions* = object value*: string filters*: string searchFilters*: string tenantId*: string sso*: string -proc getSearchCommentsSummary*(httpClient: HttpClient, params: ApiGetSearchCommentsSummaryRequest): (Option[ModerationCommentSearchResponse], Response) = - let value = params.value - let filters = params.filters - let searchFilters = params.searchFilters - let tenantId = params.tenantId - let sso = params.sso +proc getSearchCommentsSummary*(httpClient: HttpClient, options: ApiGetSearchCommentsSummaryOptions): (Option[ModerationCommentSearchResponse], Response) = + let value = options.value + let filters = options.filters + let searchFilters = options.searchFilters + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -521,15 +503,15 @@ proc getSearchCommentsSummary*(httpClient: HttpClient, params: ApiGetSearchComme constructResult[ModerationCommentSearchResponse](response) -type ApiGetSearchPagesRequest* = object +type ApiGetSearchPagesOptions* = object value*: string tenantId*: string sso*: string -proc getSearchPages*(httpClient: HttpClient, params: ApiGetSearchPagesRequest): (Option[ModerationPageSearchResponse], Response) = - let value = params.value - let tenantId = params.tenantId - let sso = params.sso +proc getSearchPages*(httpClient: HttpClient, options: ApiGetSearchPagesOptions): (Option[ModerationPageSearchResponse], Response) = + let value = options.value + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -544,15 +526,15 @@ proc getSearchPages*(httpClient: HttpClient, params: ApiGetSearchPagesRequest): constructResult[ModerationPageSearchResponse](response) -type ApiGetSearchSitesRequest* = object +type ApiGetSearchSitesOptions* = object value*: string tenantId*: string sso*: string -proc getSearchSites*(httpClient: HttpClient, params: ApiGetSearchSitesRequest): (Option[ModerationSiteSearchResponse], Response) = - let value = params.value - let tenantId = params.tenantId - let sso = params.sso +proc getSearchSites*(httpClient: HttpClient, options: ApiGetSearchSitesOptions): (Option[ModerationSiteSearchResponse], Response) = + let value = options.value + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -567,15 +549,15 @@ proc getSearchSites*(httpClient: HttpClient, params: ApiGetSearchSitesRequest): constructResult[ModerationSiteSearchResponse](response) -type ApiGetSearchSuggestRequest* = object +type ApiGetSearchSuggestOptions* = object textSearch*: string tenantId*: string sso*: string -proc getSearchSuggest*(httpClient: HttpClient, params: ApiGetSearchSuggestRequest): (Option[ModerationSuggestResponse], Response) = - let textSearch = params.textSearch - let tenantId = params.tenantId - let sso = params.sso +proc getSearchSuggest*(httpClient: HttpClient, options: ApiGetSearchSuggestOptions): (Option[ModerationSuggestResponse], Response) = + let textSearch = options.textSearch + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -590,15 +572,15 @@ proc getSearchSuggest*(httpClient: HttpClient, params: ApiGetSearchSuggestReques constructResult[ModerationSuggestResponse](response) -type ApiGetSearchUsersRequest* = object +type ApiGetSearchUsersOptions* = object value*: string tenantId*: string sso*: string -proc getSearchUsers*(httpClient: HttpClient, params: ApiGetSearchUsersRequest): (Option[ModerationUserSearchResponse], Response) = - let value = params.value - let tenantId = params.tenantId - let sso = params.sso +proc getSearchUsers*(httpClient: HttpClient, options: ApiGetSearchUsersOptions): (Option[ModerationUserSearchResponse], Response) = + let value = options.value + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $value != "": @@ -613,15 +595,15 @@ proc getSearchUsers*(httpClient: HttpClient, params: ApiGetSearchUsersRequest): constructResult[ModerationUserSearchResponse](response) -type ApiGetTrustFactorRequest* = object +type ApiGetTrustFactorOptions* = object userId*: string tenantId*: string sso*: string -proc getTrustFactor*(httpClient: HttpClient, params: ApiGetTrustFactorRequest): (Option[GetUserTrustFactorResponse], Response) = - let userId = params.userId - let tenantId = params.tenantId - let sso = params.sso +proc getTrustFactor*(httpClient: HttpClient, options: ApiGetTrustFactorOptions): (Option[GetUserTrustFactorResponse], Response) = + let userId = options.userId + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -636,13 +618,13 @@ proc getTrustFactor*(httpClient: HttpClient, params: ApiGetTrustFactorRequest): constructResult[GetUserTrustFactorResponse](response) -type ApiGetUserBanPreferenceRequest* = object +type ApiGetUserBanPreferenceOptions* = object tenantId*: string sso*: string -proc getUserBanPreference*(httpClient: HttpClient, params: ApiGetUserBanPreferenceRequest): (Option[APIModerateGetUserBanPreferencesResponse], Response) = - let tenantId = params.tenantId - let sso = params.sso +proc getUserBanPreference*(httpClient: HttpClient, options: ApiGetUserBanPreferenceOptions): (Option[APIModerateGetUserBanPreferencesResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -655,15 +637,15 @@ proc getUserBanPreference*(httpClient: HttpClient, params: ApiGetUserBanPreferen constructResult[APIModerateGetUserBanPreferencesResponse](response) -type ApiGetUserInternalProfileRequest* = object +type ApiGetUserInternalProfileOptions* = object commentId*: string tenantId*: string sso*: string -proc getUserInternalProfile*(httpClient: HttpClient, params: ApiGetUserInternalProfileRequest): (Option[GetUserInternalProfileResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let sso = params.sso +proc getUserInternalProfile*(httpClient: HttpClient, options: ApiGetUserInternalProfileOptions): (Option[GetUserInternalProfileResponse], Response) = + let commentId = options.commentId + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $commentId != "": @@ -678,19 +660,15 @@ proc getUserInternalProfile*(httpClient: HttpClient, params: ApiGetUserInternalP constructResult[GetUserInternalProfileResponse](response) -type ApiPostAdjustCommentVotesRequest* = object - commentId*: string - adjustCommentVotesParams*: AdjustCommentVotesParams +type ApiPostAdjustCommentVotesOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postAdjustCommentVotes*(httpClient: HttpClient, params: ApiPostAdjustCommentVotesRequest): (Option[AdjustVotesResponse], Response) = - let commentId = params.commentId - let adjustCommentVotesParams = params.adjustCommentVotesParams - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions): (Option[AdjustVotesResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -706,7 +684,7 @@ proc postAdjustCommentVotes*(httpClient: HttpClient, params: ApiPostAdjustCommen constructResult[AdjustVotesResponse](response) -type ApiPostApiExportRequest* = object +type ApiPostApiExportOptions* = object textSearch*: string byIPFromComment*: string filters*: string @@ -715,14 +693,14 @@ type ApiPostApiExportRequest* = object tenantId*: string sso*: string -proc postApiExport*(httpClient: HttpClient, params: ApiPostApiExportRequest): (Option[ModerationExportResponse], Response) = - let textSearch = params.textSearch - let byIPFromComment = params.byIPFromComment - let filters = params.filters - let searchFilters = params.searchFilters - let sorts = params.sorts - let tenantId = params.tenantId - let sso = params.sso +proc postApiExport*(httpClient: HttpClient, options: ApiPostApiExportOptions): (Option[ModerationExportResponse], Response) = + let textSearch = options.textSearch + let byIPFromComment = options.byIPFromComment + let filters = options.filters + let searchFilters = options.searchFilters + let sorts = options.sorts + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $textSearch != "": @@ -745,8 +723,7 @@ proc postApiExport*(httpClient: HttpClient, params: ApiPostApiExportRequest): (O constructResult[ModerationExportResponse](response) -type ApiPostBanUserFromCommentRequest* = object - commentId*: string +type ApiPostBanUserFromCommentOptions* = object banEmail*: bool banEmailDomain*: bool banIP*: bool @@ -758,18 +735,17 @@ type ApiPostBanUserFromCommentRequest* = object tenantId*: string sso*: string -proc postBanUserFromComment*(httpClient: HttpClient, params: ApiPostBanUserFromCommentRequest): (Option[BanUserFromCommentResult], Response) = - let commentId = params.commentId - let banEmail = params.banEmail - let banEmailDomain = params.banEmailDomain - let banIP = params.banIP - let deleteAllUsersComments = params.deleteAllUsersComments - let bannedUntil = params.bannedUntil - let isShadowBan = params.isShadowBan - let updateId = params.updateId - let banReason = params.banReason - let tenantId = params.tenantId - let sso = params.sso +proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, options: ApiPostBanUserFromCommentOptions): (Option[BanUserFromCommentResult], Response) = + let banEmail = options.banEmail + let banEmailDomain = options.banEmailDomain + let banIP = options.banIP + let deleteAllUsersComments = options.deleteAllUsersComments + let bannedUntil = options.bannedUntil + let isShadowBan = options.isShadowBan + let updateId = options.updateId + let banReason = options.banReason + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $banEmail != "": @@ -798,15 +774,13 @@ proc postBanUserFromComment*(httpClient: HttpClient, params: ApiPostBanUserFromC constructResult[BanUserFromCommentResult](response) -type ApiPostBanUserUndoRequest* = object - banUserUndoParams*: BanUserUndoParams +type ApiPostBanUserUndoOptions* = object tenantId*: string sso*: string -proc postBanUserUndo*(httpClient: HttpClient, params: ApiPostBanUserUndoRequest): (Option[APIEmptyResponse], Response) = - let banUserUndoParams = params.banUserUndoParams - let tenantId = params.tenantId - let sso = params.sso +proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -820,21 +794,19 @@ proc postBanUserUndo*(httpClient: HttpClient, params: ApiPostBanUserUndoRequest) constructResult[APIEmptyResponse](response) -type ApiPostBulkPreBanSummaryRequest* = object - bulkPreBanParams*: BulkPreBanParams +type ApiPostBulkPreBanSummaryOptions* = object includeByUserIdAndEmail*: bool includeByIP*: bool includeByEmailDomain*: bool tenantId*: string sso*: string -proc postBulkPreBanSummary*(httpClient: HttpClient, params: ApiPostBulkPreBanSummaryRequest): (Option[BulkPreBanSummary], Response) = - let bulkPreBanParams = params.bulkPreBanParams - let includeByUserIdAndEmail = params.includeByUserIdAndEmail - let includeByIP = params.includeByIP - let includeByEmailDomain = params.includeByEmailDomain - let tenantId = params.tenantId - let sso = params.sso +proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions): (Option[BulkPreBanSummary], Response) = + let includeByUserIdAndEmail = options.includeByUserIdAndEmail + let includeByIP = options.includeByIP + let includeByEmailDomain = options.includeByEmailDomain + let tenantId = options.tenantId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -854,15 +826,13 @@ proc postBulkPreBanSummary*(httpClient: HttpClient, params: ApiPostBulkPreBanSum constructResult[BulkPreBanSummary](response) -type ApiPostCommentsByIdsRequest* = object - commentsByIdsParams*: CommentsByIdsParams +type ApiPostCommentsByIdsOptions* = object tenantId*: string sso*: string -proc postCommentsByIds*(httpClient: HttpClient, params: ApiPostCommentsByIdsRequest): (Option[ModerationAPIChildCommentsResponse], Response) = - let commentsByIdsParams = params.commentsByIdsParams - let tenantId = params.tenantId - let sso = params.sso +proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions): (Option[ModerationAPIChildCommentsResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -876,17 +846,15 @@ proc postCommentsByIds*(httpClient: HttpClient, params: ApiPostCommentsByIdsRequ constructResult[ModerationAPIChildCommentsResponse](response) -type ApiPostFlagCommentRequest* = object - commentId*: string +type ApiPostFlagCommentOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postFlagComment*(httpClient: HttpClient, params: ApiPostFlagCommentRequest): (Option[APIEmptyResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postFlagComment*(httpClient: HttpClient, commentId: string, options: ApiPostFlagCommentOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -901,17 +869,15 @@ proc postFlagComment*(httpClient: HttpClient, params: ApiPostFlagCommentRequest) constructResult[APIEmptyResponse](response) -type ApiPostRemoveCommentRequest* = object - commentId*: string +type ApiPostRemoveCommentOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postRemoveComment*(httpClient: HttpClient, params: ApiPostRemoveCommentRequest): (Option[PostRemoveCommentResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postRemoveComment*(httpClient: HttpClient, commentId: string, options: ApiPostRemoveCommentOptions): (Option[PostRemoveCommentResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -926,17 +892,15 @@ proc postRemoveComment*(httpClient: HttpClient, params: ApiPostRemoveCommentRequ constructResult[PostRemoveCommentResponse](response) -type ApiPostRestoreDeletedCommentRequest* = object - commentId*: string +type ApiPostRestoreDeletedCommentOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postRestoreDeletedComment*(httpClient: HttpClient, params: ApiPostRestoreDeletedCommentRequest): (Option[APIEmptyResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, options: ApiPostRestoreDeletedCommentOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -951,19 +915,17 @@ proc postRestoreDeletedComment*(httpClient: HttpClient, params: ApiPostRestoreDe constructResult[APIEmptyResponse](response) -type ApiPostSetCommentApprovalStatusRequest* = object - commentId*: string +type ApiPostSetCommentApprovalStatusOptions* = object approved*: bool tenantId*: string broadcastId*: string sso*: string -proc postSetCommentApprovalStatus*(httpClient: HttpClient, params: ApiPostSetCommentApprovalStatusRequest): (Option[SetCommentApprovedResponse], Response) = - let commentId = params.commentId - let approved = params.approved - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentApprovalStatusOptions): (Option[SetCommentApprovedResponse], Response) = + let approved = options.approved + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $approved != "": @@ -980,19 +942,17 @@ proc postSetCommentApprovalStatus*(httpClient: HttpClient, params: ApiPostSetCom constructResult[SetCommentApprovedResponse](response) -type ApiPostSetCommentReviewStatusRequest* = object - commentId*: string +type ApiPostSetCommentReviewStatusOptions* = object reviewed*: bool tenantId*: string broadcastId*: string sso*: string -proc postSetCommentReviewStatus*(httpClient: HttpClient, params: ApiPostSetCommentReviewStatusRequest): (Option[APIEmptyResponse], Response) = - let commentId = params.commentId - let reviewed = params.reviewed - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentReviewStatusOptions): (Option[APIEmptyResponse], Response) = + let reviewed = options.reviewed + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $reviewed != "": @@ -1009,21 +969,19 @@ proc postSetCommentReviewStatus*(httpClient: HttpClient, params: ApiPostSetComme constructResult[APIEmptyResponse](response) -type ApiPostSetCommentSpamStatusRequest* = object - commentId*: string +type ApiPostSetCommentSpamStatusOptions* = object spam*: bool permNotSpam*: bool tenantId*: string broadcastId*: string sso*: string -proc postSetCommentSpamStatus*(httpClient: HttpClient, params: ApiPostSetCommentSpamStatusRequest): (Option[APIEmptyResponse], Response) = - let commentId = params.commentId - let spam = params.spam - let permNotSpam = params.permNotSpam - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentSpamStatusOptions): (Option[APIEmptyResponse], Response) = + let spam = options.spam + let permNotSpam = options.permNotSpam + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $spam != "": @@ -1042,19 +1000,15 @@ proc postSetCommentSpamStatus*(httpClient: HttpClient, params: ApiPostSetComment constructResult[APIEmptyResponse](response) -type ApiPostSetCommentTextRequest* = object - commentId*: string - setCommentTextParams*: SetCommentTextParams +type ApiPostSetCommentTextOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postSetCommentText*(httpClient: HttpClient, params: ApiPostSetCommentTextRequest): (Option[SetCommentTextResponse], Response) = - let commentId = params.commentId - let setCommentTextParams = params.setCommentTextParams - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions): (Option[SetCommentTextResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1070,17 +1024,15 @@ proc postSetCommentText*(httpClient: HttpClient, params: ApiPostSetCommentTextRe constructResult[SetCommentTextResponse](response) -type ApiPostUnFlagCommentRequest* = object - commentId*: string +type ApiPostUnFlagCommentOptions* = object tenantId*: string broadcastId*: string sso*: string -proc postUnFlagComment*(httpClient: HttpClient, params: ApiPostUnFlagCommentRequest): (Option[APIEmptyResponse], Response) = - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postUnFlagComment*(httpClient: HttpClient, commentId: string, options: ApiPostUnFlagCommentOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $tenantId != "": @@ -1095,19 +1047,17 @@ proc postUnFlagComment*(httpClient: HttpClient, params: ApiPostUnFlagCommentRequ constructResult[APIEmptyResponse](response) -type ApiPostVoteRequest* = object - commentId*: string +type ApiPostVoteOptions* = object direction*: string tenantId*: string broadcastId*: string sso*: string -proc postVote*(httpClient: HttpClient, params: ApiPostVoteRequest): (Option[VoteResponse], Response) = - let commentId = params.commentId - let direction = params.direction - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc postVote*(httpClient: HttpClient, commentId: string, options: ApiPostVoteOptions): (Option[VoteResponse], Response) = + let direction = options.direction + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $direction != "": @@ -1124,21 +1074,19 @@ proc postVote*(httpClient: HttpClient, params: ApiPostVoteRequest): (Option[Vote constructResult[VoteResponse](response) -type ApiPutAwardBadgeRequest* = object - badgeId*: string +type ApiPutAwardBadgeOptions* = object userId*: string commentId*: string tenantId*: string broadcastId*: string sso*: string -proc putAwardBadge*(httpClient: HttpClient, params: ApiPutAwardBadgeRequest): (Option[AwardUserBadgeResponse], Response) = - let badgeId = params.badgeId - let userId = params.userId - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc putAwardBadge*(httpClient: HttpClient, badgeId: string, options: ApiPutAwardBadgeOptions): (Option[AwardUserBadgeResponse], Response) = + let userId = options.userId + let commentId = options.commentId + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -1158,15 +1106,13 @@ proc putAwardBadge*(httpClient: HttpClient, params: ApiPutAwardBadgeRequest): (O constructResult[AwardUserBadgeResponse](response) -type ApiPutCloseThreadRequest* = object - urlId*: string +type ApiPutCloseThreadOptions* = object tenantId*: string sso*: string -proc putCloseThread*(httpClient: HttpClient, params: ApiPutCloseThreadRequest): (Option[APIEmptyResponse], Response) = - let urlId = params.urlId - let tenantId = params.tenantId - let sso = params.sso +proc putCloseThread*(httpClient: HttpClient, urlId: string, options: ApiPutCloseThreadOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1180,21 +1126,19 @@ proc putCloseThread*(httpClient: HttpClient, params: ApiPutCloseThreadRequest): constructResult[APIEmptyResponse](response) -type ApiPutRemoveBadgeRequest* = object - badgeId*: string +type ApiPutRemoveBadgeOptions* = object userId*: string commentId*: string tenantId*: string broadcastId*: string sso*: string -proc putRemoveBadge*(httpClient: HttpClient, params: ApiPutRemoveBadgeRequest): (Option[RemoveUserBadgeResponse], Response) = - let badgeId = params.badgeId - let userId = params.userId - let commentId = params.commentId - let tenantId = params.tenantId - let broadcastId = params.broadcastId - let sso = params.sso +proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, options: ApiPutRemoveBadgeOptions): (Option[RemoveUserBadgeResponse], Response) = + let userId = options.userId + let commentId = options.commentId + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("badgeId", $badgeId)) @@ -1214,15 +1158,13 @@ proc putRemoveBadge*(httpClient: HttpClient, params: ApiPutRemoveBadgeRequest): constructResult[RemoveUserBadgeResponse](response) -type ApiPutReopenThreadRequest* = object - urlId*: string +type ApiPutReopenThreadOptions* = object tenantId*: string sso*: string -proc putReopenThread*(httpClient: HttpClient, params: ApiPutReopenThreadRequest): (Option[APIEmptyResponse], Response) = - let urlId = params.urlId - let tenantId = params.tenantId - let sso = params.sso +proc putReopenThread*(httpClient: HttpClient, urlId: string, options: ApiPutReopenThreadOptions): (Option[APIEmptyResponse], Response) = + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1236,17 +1178,17 @@ proc putReopenThread*(httpClient: HttpClient, params: ApiPutReopenThreadRequest) constructResult[APIEmptyResponse](response) -type ApiSetTrustFactorRequest* = object +type ApiSetTrustFactorOptions* = object userId*: string trustFactor*: string tenantId*: string sso*: string -proc setTrustFactor*(httpClient: HttpClient, params: ApiSetTrustFactorRequest): (Option[SetUserTrustFactorResponse], Response) = - let userId = params.userId - let trustFactor = params.trustFactor - let tenantId = params.tenantId - let sso = params.sso +proc setTrustFactor*(httpClient: HttpClient, options: ApiSetTrustFactorOptions): (Option[SetUserTrustFactorResponse], Response) = + let userId = options.userId + let trustFactor = options.trustFactor + let tenantId = options.tenantId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $userId != "": diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index 80956a9..664aa42 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -87,17 +87,11 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -type ApiBlockFromCommentPublicRequest* = object - tenantId*: string - commentId*: string - publicBlockFromCommentParams*: PublicBlockFromCommentParams +type ApiBlockFromCommentPublicOptions* = object sso*: string -proc blockFromCommentPublic*(httpClient: HttpClient, params: ApiBlockFromCommentPublicRequest): (Option[BlockSuccess], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let publicBlockFromCommentParams = params.publicBlockFromCommentParams - let sso = params.sso +proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions): (Option[BlockSuccess], Response) = + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -110,15 +104,11 @@ proc blockFromCommentPublic*(httpClient: HttpClient, params: ApiBlockFromComment constructResult[BlockSuccess](response) -type ApiCheckedCommentsForBlockedRequest* = object - tenantId*: string - commentIds*: string +type ApiCheckedCommentsForBlockedOptions* = object sso*: string -proc checkedCommentsForBlocked*(httpClient: HttpClient, params: ApiCheckedCommentsForBlockedRequest): (Option[CheckBlockedCommentsResponse], Response) = - let tenantId = params.tenantId - let commentIds = params.commentIds - let sso = params.sso +proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, options: ApiCheckedCommentsForBlockedOptions): (Option[CheckBlockedCommentsResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -131,21 +121,13 @@ proc checkedCommentsForBlocked*(httpClient: HttpClient, params: ApiCheckedCommen constructResult[CheckBlockedCommentsResponse](response) -type ApiCreateCommentPublicRequest* = object - tenantId*: string - urlId*: string - broadcastId*: string - commentData*: CommentData +type ApiCreateCommentPublicOptions* = object sessionId*: string sso*: string -proc createCommentPublic*(httpClient: HttpClient, params: ApiCreateCommentPublicRequest): (Option[SaveCommentsResponseWithPresence], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let broadcastId = params.broadcastId - let commentData = params.commentData - let sessionId = params.sessionId - let sso = params.sso +proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, options: ApiCreateCommentPublicOptions): (Option[SaveCommentsResponseWithPresence], Response) = + let sessionId = options.sessionId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -161,17 +143,13 @@ proc createCommentPublic*(httpClient: HttpClient, params: ApiCreateCommentPublic constructResult[SaveCommentsResponseWithPresence](response) -type ApiCreateFeedPostPublicRequest* = object - tenantId*: string - createFeedPostParams*: CreateFeedPostParams +type ApiCreateFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc createFeedPostPublic*(httpClient: HttpClient, params: ApiCreateFeedPostPublicRequest): (Option[CreateFeedPostResponse], Response) = - let tenantId = params.tenantId - let createFeedPostParams = params.createFeedPostParams - let broadcastId = params.broadcastId - let sso = params.sso +proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = + let broadcastId = options.broadcastId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -185,15 +163,11 @@ proc createFeedPostPublic*(httpClient: HttpClient, params: ApiCreateFeedPostPubl constructResult[CreateFeedPostResponse](response) -type ApiCreateV1PageReactRequest* = object - tenantId*: string - urlId*: string +type ApiCreateV1PageReactOptions* = object title*: string -proc createV1PageReact*(httpClient: HttpClient, params: ApiCreateV1PageReactRequest): (Option[CreateV1PageReact], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let title = params.title +proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiCreateV1PageReactOptions): (Option[CreateV1PageReact], Response) = + let title = options.title ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -205,17 +179,11 @@ proc createV1PageReact*(httpClient: HttpClient, params: ApiCreateV1PageReactRequ constructResult[CreateV1PageReact](response) -type ApiCreateV2PageReactRequest* = object - tenantId*: string - urlId*: string - id*: string +type ApiCreateV2PageReactOptions* = object title*: string -proc createV2PageReact*(httpClient: HttpClient, params: ApiCreateV2PageReactRequest): (Option[CreateV1PageReact], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let id = params.id - let title = params.title +proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, options: ApiCreateV2PageReactOptions): (Option[CreateV1PageReact], Response) = + let title = options.title ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -228,19 +196,13 @@ proc createV2PageReact*(httpClient: HttpClient, params: ApiCreateV2PageReactRequ constructResult[CreateV1PageReact](response) -type ApiDeleteCommentPublicRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string +type ApiDeleteCommentPublicOptions* = object editKey*: string sso*: string -proc deleteCommentPublic*(httpClient: HttpClient, params: ApiDeleteCommentPublicRequest): (Option[PublicAPIDeleteCommentResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let editKey = params.editKey - let sso = params.sso +proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiDeleteCommentPublicOptions): (Option[PublicAPIDeleteCommentResponse], Response) = + let editKey = options.editKey + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -254,23 +216,13 @@ proc deleteCommentPublic*(httpClient: HttpClient, params: ApiDeleteCommentPublic constructResult[PublicAPIDeleteCommentResponse](response) -type ApiDeleteCommentVoteRequest* = object - tenantId*: string - commentId*: string - voteId*: string - urlId*: string - broadcastId*: string +type ApiDeleteCommentVoteOptions* = object editKey*: string sso*: string -proc deleteCommentVote*(httpClient: HttpClient, params: ApiDeleteCommentVoteRequest): (Option[VoteDeleteResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let voteId = params.voteId - let urlId = params.urlId - let broadcastId = params.broadcastId - let editKey = params.editKey - let sso = params.sso +proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, options: ApiDeleteCommentVoteOptions): (Option[VoteDeleteResponse], Response) = + let editKey = options.editKey + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -285,17 +237,13 @@ proc deleteCommentVote*(httpClient: HttpClient, params: ApiDeleteCommentVoteRequ constructResult[VoteDeleteResponse](response) -type ApiDeleteFeedPostPublicRequest* = object - tenantId*: string - postId*: string +type ApiDeleteFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc deleteFeedPostPublic*(httpClient: HttpClient, params: ApiDeleteFeedPostPublicRequest): (Option[DeleteFeedPostPublicResponse], Response) = - let tenantId = params.tenantId - let postId = params.postId - let broadcastId = params.broadcastId - let sso = params.sso +proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, options: ApiDeleteFeedPostPublicOptions): (Option[DeleteFeedPostPublicResponse], Response) = + let broadcastId = options.broadcastId + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $broadcastId != "": @@ -308,13 +256,7 @@ proc deleteFeedPostPublic*(httpClient: HttpClient, params: ApiDeleteFeedPostPubl constructResult[DeleteFeedPostPublicResponse](response) -type ApiDeleteV1PageReactRequest* = object - tenantId*: string - urlId*: string - -proc deleteV1PageReact*(httpClient: HttpClient, params: ApiDeleteV1PageReactRequest): (Option[CreateV1PageReact], Response) = - let tenantId = params.tenantId - let urlId = params.urlId +proc deleteV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -324,15 +266,7 @@ proc deleteV1PageReact*(httpClient: HttpClient, params: ApiDeleteV1PageReactRequ constructResult[CreateV1PageReact](response) -type ApiDeleteV2PageReactRequest* = object - tenantId*: string - urlId*: string - id*: string - -proc deleteV2PageReact*(httpClient: HttpClient, params: ApiDeleteV2PageReactRequest): (Option[CreateV1PageReact], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let id = params.id +proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -343,17 +277,11 @@ proc deleteV2PageReact*(httpClient: HttpClient, params: ApiDeleteV2PageReactRequ constructResult[CreateV1PageReact](response) -type ApiFlagCommentPublicRequest* = object - tenantId*: string - commentId*: string - isFlagged*: bool +type ApiFlagCommentPublicOptions* = object sso*: string -proc flagCommentPublic*(httpClient: HttpClient, params: ApiFlagCommentPublicRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let isFlagged = params.isFlagged - let sso = params.sso +proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, options: ApiFlagCommentPublicOptions): (Option[APIEmptyResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -366,17 +294,13 @@ proc flagCommentPublic*(httpClient: HttpClient, params: ApiFlagCommentPublicRequ constructResult[APIEmptyResponse](response) -type ApiGetCommentTextRequest* = object - tenantId*: string - commentId*: string +type ApiGetCommentTextOptions* = object editKey*: string sso*: string -proc getCommentText*(httpClient: HttpClient, params: ApiGetCommentTextRequest): (Option[PublicAPIGetCommentTextResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let editKey = params.editKey - let sso = params.sso +proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, options: ApiGetCommentTextOptions): (Option[PublicAPIGetCommentTextResponse], Response) = + let editKey = options.editKey + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if $editKey != "": @@ -389,17 +313,11 @@ proc getCommentText*(httpClient: HttpClient, params: ApiGetCommentTextRequest): constructResult[PublicAPIGetCommentTextResponse](response) -type ApiGetCommentVoteUserNamesRequest* = object - tenantId*: string - commentId*: string - dir*: int +type ApiGetCommentVoteUserNamesOptions* = object sso*: string -proc getCommentVoteUserNames*(httpClient: HttpClient, params: ApiGetCommentVoteUserNamesRequest): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let dir = params.dir - let sso = params.sso +proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, options: ApiGetCommentVoteUserNamesOptions): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("dir", $dir)) @@ -411,7 +329,7 @@ proc getCommentVoteUserNames*(httpClient: HttpClient, params: ApiGetCommentVoteU constructResult[GetCommentVoteUserNamesSuccessResponse](response) -type ApiGetCommentsForUserRequest* = object +type ApiGetCommentsForUserOptions* = object userId*: string direction*: SortDirections repliesToUserId*: string @@ -420,14 +338,14 @@ type ApiGetCommentsForUserRequest* = object locale*: string isCrawler*: bool -proc getCommentsForUser*(httpClient: HttpClient, params: ApiGetCommentsForUserRequest): (Option[GetCommentsForUserResponse], Response) = - let userId = params.userId - let direction = params.direction - let repliesToUserId = params.repliesToUserId - let page = params.page - let includei10n = params.includei10n - let locale = params.locale - let isCrawler = params.isCrawler +proc getCommentsForUser*(httpClient: HttpClient, options: ApiGetCommentsForUserOptions): (Option[GetCommentsForUserResponse], Response) = + let userId = options.userId + let direction = options.direction + let repliesToUserId = options.repliesToUserId + let page = options.page + let includei10n = options.includei10n + let locale = options.locale + let isCrawler = options.isCrawler ## var query_params_list: seq[(string, string)] = @[] if $userId != "": @@ -450,9 +368,7 @@ proc getCommentsForUser*(httpClient: HttpClient, params: ApiGetCommentsForUserRe constructResult[GetCommentsForUserResponse](response) -type ApiGetCommentsPublicRequest* = object - tenantId*: string - urlId*: string +type ApiGetCommentsPublicOptions* = object page*: int direction*: SortDirections sso*: string @@ -480,35 +396,33 @@ type ApiGetCommentsPublicRequest* = object afterCommentId*: string beforeCommentId*: string -proc getCommentsPublic*(httpClient: HttpClient, params: ApiGetCommentsPublicRequest): (Option[GetCommentsResponseWithPresencePublicComment], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let page = params.page - let direction = params.direction - let sso = params.sso - let skip = params.skip - let skipChildren = params.skipChildren - let limit = params.limit - let limitChildren = params.limitChildren - let countChildren = params.countChildren - let fetchPageForCommentId = params.fetchPageForCommentId - let includeConfig = params.includeConfig - let countAll = params.countAll - let includei10n = params.includei10n - let locale = params.locale - let modules = params.modules - let isCrawler = params.isCrawler - let includeNotificationCount = params.includeNotificationCount - let asTree = params.asTree - let maxTreeDepth = params.maxTreeDepth - let useFullTranslationIds = params.useFullTranslationIds - let parentId = params.parentId - let searchText = params.searchText - let hashTags = params.hashTags - let userId = params.userId - let customConfigStr = params.customConfigStr - let afterCommentId = params.afterCommentId - let beforeCommentId = params.beforeCommentId +proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetCommentsPublicOptions): (Option[GetCommentsResponseWithPresencePublicComment], Response) = + let page = options.page + let direction = options.direction + let sso = options.sso + let skip = options.skip + let skipChildren = options.skipChildren + let limit = options.limit + let limitChildren = options.limitChildren + let countChildren = options.countChildren + let fetchPageForCommentId = options.fetchPageForCommentId + let includeConfig = options.includeConfig + let countAll = options.countAll + let includei10n = options.includei10n + let locale = options.locale + let modules = options.modules + let isCrawler = options.isCrawler + let includeNotificationCount = options.includeNotificationCount + let asTree = options.asTree + let maxTreeDepth = options.maxTreeDepth + let useFullTranslationIds = options.useFullTranslationIds + let parentId = options.parentId + let searchText = options.searchText + let hashTags = options.hashTags + let userId = options.userId + let customConfigStr = options.customConfigStr + let afterCommentId = options.afterCommentId + let beforeCommentId = options.beforeCommentId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -570,19 +484,11 @@ proc getCommentsPublic*(httpClient: HttpClient, params: ApiGetCommentsPublicRequ constructResult[GetCommentsResponseWithPresencePublicComment](response) -type ApiGetEventLogRequest* = object - tenantId*: string - urlId*: string - userIdWS*: string - startTime*: int64 +type ApiGetEventLogOptions* = object endTime*: int64 -proc getEventLog*(httpClient: HttpClient, params: ApiGetEventLogRequest): (Option[GetEventLogResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let userIdWS = params.userIdWS - let startTime = params.startTime - let endTime = params.endTime +proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, options: ApiGetEventLogOptions): (Option[GetEventLogResponse], Response) = + let endTime = options.endTime ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -596,8 +502,7 @@ proc getEventLog*(httpClient: HttpClient, params: ApiGetEventLogRequest): (Optio constructResult[GetEventLogResponse](response) -type ApiGetFeedPostsPublicRequest* = object - tenantId*: string +type ApiGetFeedPostsPublicOptions* = object afterId*: string limit*: int tags*: seq[string] @@ -605,14 +510,13 @@ type ApiGetFeedPostsPublicRequest* = object isCrawler*: bool includeUserInfo*: bool -proc getFeedPostsPublic*(httpClient: HttpClient, params: ApiGetFeedPostsPublicRequest): (Option[PublicFeedPostsResponse], Response) = - let tenantId = params.tenantId - let afterId = params.afterId - let limit = params.limit - let tags = params.tags - let sso = params.sso - let isCrawler = params.isCrawler - let includeUserInfo = params.includeUserInfo +proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetFeedPostsPublicOptions): (Option[PublicFeedPostsResponse], Response) = + let afterId = options.afterId + let limit = options.limit + let tags = options.tags + let sso = options.sso + let isCrawler = options.isCrawler + let includeUserInfo = options.includeUserInfo ## var query_params_list: seq[(string, string)] = @[] if $afterId != "": @@ -633,15 +537,11 @@ proc getFeedPostsPublic*(httpClient: HttpClient, params: ApiGetFeedPostsPublicRe constructResult[PublicFeedPostsResponse](response) -type ApiGetFeedPostsStatsRequest* = object - tenantId*: string - postIds*: seq[string] +type ApiGetFeedPostsStatsOptions* = object sso*: string -proc getFeedPostsStats*(httpClient: HttpClient, params: ApiGetFeedPostsStatsRequest): (Option[FeedPostsStatsResponse], Response) = - let tenantId = params.tenantId - let postIds = params.postIds - let sso = params.sso +proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], options: ApiGetFeedPostsStatsOptions): (Option[FeedPostsStatsResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("postIds", $postIds.join(","))) @@ -653,13 +553,7 @@ proc getFeedPostsStats*(httpClient: HttpClient, params: ApiGetFeedPostsStatsRequ constructResult[FeedPostsStatsResponse](response) -type ApiGetGifLargeRequest* = object - tenantId*: string - largeInternalURLSanitized*: string - -proc getGifLarge*(httpClient: HttpClient, params: ApiGetGifLargeRequest): (Option[GifGetLargeResponse], Response) = - let tenantId = params.tenantId - let largeInternalURLSanitized = params.largeInternalURLSanitized +proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSanitized: string): (Option[GifGetLargeResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("largeInternalURLSanitized", $largeInternalURLSanitized)) @@ -669,19 +563,15 @@ proc getGifLarge*(httpClient: HttpClient, params: ApiGetGifLargeRequest): (Optio constructResult[GifGetLargeResponse](response) -type ApiGetGifsSearchRequest* = object - tenantId*: string - search*: string +type ApiGetGifsSearchOptions* = object locale*: string rating*: string page*: float64 -proc getGifsSearch*(httpClient: HttpClient, params: ApiGetGifsSearchRequest): (Option[GetGifsSearchResponse], Response) = - let tenantId = params.tenantId - let search = params.search - let locale = params.locale - let rating = params.rating - let page = params.page +proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, options: ApiGetGifsSearchOptions): (Option[GetGifsSearchResponse], Response) = + let locale = options.locale + let rating = options.rating + let page = options.page ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("search", $search)) @@ -697,17 +587,15 @@ proc getGifsSearch*(httpClient: HttpClient, params: ApiGetGifsSearchRequest): (O constructResult[GetGifsSearchResponse](response) -type ApiGetGifsTrendingRequest* = object - tenantId*: string +type ApiGetGifsTrendingOptions* = object locale*: string rating*: string page*: float64 -proc getGifsTrending*(httpClient: HttpClient, params: ApiGetGifsTrendingRequest): (Option[GetGifsTrendingResponse], Response) = - let tenantId = params.tenantId - let locale = params.locale - let rating = params.rating - let page = params.page +proc getGifsTrending*(httpClient: HttpClient, tenantId: string, options: ApiGetGifsTrendingOptions): (Option[GetGifsTrendingResponse], Response) = + let locale = options.locale + let rating = options.rating + let page = options.page ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -722,19 +610,11 @@ proc getGifsTrending*(httpClient: HttpClient, params: ApiGetGifsTrendingRequest) constructResult[GetGifsTrendingResponse](response) -type ApiGetGlobalEventLogRequest* = object - tenantId*: string - urlId*: string - userIdWS*: string - startTime*: int64 +type ApiGetGlobalEventLogOptions* = object endTime*: int64 -proc getGlobalEventLog*(httpClient: HttpClient, params: ApiGetGlobalEventLogRequest): (Option[GetEventLogResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let userIdWS = params.userIdWS - let startTime = params.startTime - let endTime = params.endTime +proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, options: ApiGetGlobalEventLogOptions): (Option[GetEventLogResponse], Response) = + let endTime = options.endTime ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -748,17 +628,13 @@ proc getGlobalEventLog*(httpClient: HttpClient, params: ApiGetGlobalEventLogRequ constructResult[GetEventLogResponse](response) -type ApiGetOfflineUsersRequest* = object - tenantId*: string - urlId*: string +type ApiGetOfflineUsersOptions* = object afterName*: string afterUserId*: string -proc getOfflineUsers*(httpClient: HttpClient, params: ApiGetOfflineUsersRequest): (Option[PageUsersOfflineResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let afterName = params.afterName - let afterUserId = params.afterUserId +proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetOfflineUsersOptions): (Option[PageUsersOfflineResponse], Response) = + let afterName = options.afterName + let afterUserId = options.afterUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -772,17 +648,13 @@ proc getOfflineUsers*(httpClient: HttpClient, params: ApiGetOfflineUsersRequest) constructResult[PageUsersOfflineResponse](response) -type ApiGetOnlineUsersRequest* = object - tenantId*: string - urlId*: string +type ApiGetOnlineUsersOptions* = object afterName*: string afterUserId*: string -proc getOnlineUsers*(httpClient: HttpClient, params: ApiGetOnlineUsersRequest): (Option[PageUsersOnlineResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let afterName = params.afterName - let afterUserId = params.afterUserId +proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetOnlineUsersOptions): (Option[PageUsersOnlineResponse], Response) = + let afterName = options.afterName + let afterUserId = options.afterUserId ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -796,21 +668,19 @@ proc getOnlineUsers*(httpClient: HttpClient, params: ApiGetOnlineUsersRequest): constructResult[PageUsersOnlineResponse](response) -type ApiGetPagesPublicRequest* = object - tenantId*: string +type ApiGetPagesPublicOptions* = object cursor*: string limit*: int q*: string sortBy*: PagesSortBy hasComments*: bool -proc getPagesPublic*(httpClient: HttpClient, params: ApiGetPagesPublicRequest): (Option[GetPublicPagesResponse], Response) = - let tenantId = params.tenantId - let cursor = params.cursor - let limit = params.limit - let q = params.q - let sortBy = params.sortBy - let hasComments = params.hasComments +proc getPagesPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetPagesPublicOptions): (Option[GetPublicPagesResponse], Response) = + let cursor = options.cursor + let limit = options.limit + let q = options.q + let sortBy = options.sortBy + let hasComments = options.hasComments ## var query_params_list: seq[(string, string)] = @[] if $cursor != "": @@ -829,17 +699,13 @@ proc getPagesPublic*(httpClient: HttpClient, params: ApiGetPagesPublicRequest): constructResult[GetPublicPagesResponse](response) -type ApiGetTranslationsRequest* = object - namespace*: string - component*: string +type ApiGetTranslationsOptions* = object locale*: string useFullTranslationIds*: bool -proc getTranslations*(httpClient: HttpClient, params: ApiGetTranslationsRequest): (Option[GetTranslationsResponse], Response) = - let namespace = params.namespace - let component = params.component - let locale = params.locale - let useFullTranslationIds = params.useFullTranslationIds +proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, options: ApiGetTranslationsOptions): (Option[GetTranslationsResponse], Response) = + let locale = options.locale + let useFullTranslationIds = options.useFullTranslationIds ## var query_params_list: seq[(string, string)] = @[] if $locale != "": @@ -852,13 +718,11 @@ proc getTranslations*(httpClient: HttpClient, params: ApiGetTranslationsRequest) constructResult[GetTranslationsResponse](response) -type ApiGetUserNotificationCountRequest* = object - tenantId*: string +type ApiGetUserNotificationCountOptions* = object sso*: string -proc getUserNotificationCount*(httpClient: HttpClient, params: ApiGetUserNotificationCountRequest): (Option[GetUserNotificationCountResponse], Response) = - let tenantId = params.tenantId - let sso = params.sso +proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiGetUserNotificationCountOptions): (Option[GetUserNotificationCountResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -870,8 +734,7 @@ proc getUserNotificationCount*(httpClient: HttpClient, params: ApiGetUserNotific constructResult[GetUserNotificationCountResponse](response) -type ApiGetUserNotificationsRequest* = object - tenantId*: string +type ApiGetUserNotificationsOptions* = object urlId*: string pageSize*: int afterId*: string @@ -884,19 +747,18 @@ type ApiGetUserNotificationsRequest* = object includeTenantNotifications*: bool sso*: string -proc getUserNotifications*(httpClient: HttpClient, params: ApiGetUserNotificationsRequest): (Option[GetMyNotificationsResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let pageSize = params.pageSize - let afterId = params.afterId - let includeContext = params.includeContext - let afterCreatedAt = params.afterCreatedAt - let unreadOnly = params.unreadOnly - let dmOnly = params.dmOnly - let noDm = params.noDm - let includeTranslations = params.includeTranslations - let includeTenantNotifications = params.includeTenantNotifications - let sso = params.sso +proc getUserNotifications*(httpClient: HttpClient, tenantId: string, options: ApiGetUserNotificationsOptions): (Option[GetMyNotificationsResponse], Response) = + let urlId = options.urlId + let pageSize = options.pageSize + let afterId = options.afterId + let includeContext = options.includeContext + let afterCreatedAt = options.afterCreatedAt + let unreadOnly = options.unreadOnly + let dmOnly = options.dmOnly + let noDm = options.noDm + let includeTranslations = options.includeTranslations + let includeTenantNotifications = options.includeTenantNotifications + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -928,15 +790,7 @@ proc getUserNotifications*(httpClient: HttpClient, params: ApiGetUserNotificatio constructResult[GetMyNotificationsResponse](response) -type ApiGetUserPresenceStatusesRequest* = object - tenantId*: string - urlIdWS*: string - userIds*: string - -proc getUserPresenceStatuses*(httpClient: HttpClient, params: ApiGetUserPresenceStatusesRequest): (Option[GetUserPresenceStatusesResponse], Response) = - let tenantId = params.tenantId - let urlIdWS = params.urlIdWS - let userIds = params.userIds +proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: string, userIds: string): (Option[GetUserPresenceStatusesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -948,15 +802,13 @@ proc getUserPresenceStatuses*(httpClient: HttpClient, params: ApiGetUserPresence constructResult[GetUserPresenceStatusesResponse](response) -type ApiGetUserReactsPublicRequest* = object - tenantId*: string +type ApiGetUserReactsPublicOptions* = object postIds*: seq[string] sso*: string -proc getUserReactsPublic*(httpClient: HttpClient, params: ApiGetUserReactsPublicRequest): (Option[UserReactsResponse], Response) = - let tenantId = params.tenantId - let postIds = params.postIds - let sso = params.sso +proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetUserReactsPublicOptions): (Option[UserReactsResponse], Response) = + let postIds = options.postIds + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] if postIds.len > 0: @@ -969,13 +821,7 @@ proc getUserReactsPublic*(httpClient: HttpClient, params: ApiGetUserReactsPublic constructResult[UserReactsResponse](response) -type ApiGetUsersInfoRequest* = object - tenantId*: string - ids*: string - -proc getUsersInfo*(httpClient: HttpClient, params: ApiGetUsersInfoRequest): (Option[PageUsersInfoResponse], Response) = - let tenantId = params.tenantId - let ids = params.ids +proc getUsersInfo*(httpClient: HttpClient, tenantId: string, ids: string): (Option[PageUsersInfoResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("ids", $ids)) @@ -985,13 +831,7 @@ proc getUsersInfo*(httpClient: HttpClient, params: ApiGetUsersInfoRequest): (Opt constructResult[PageUsersInfoResponse](response) -type ApiGetV1PageLikesRequest* = object - tenantId*: string - urlId*: string - -proc getV1PageLikes*(httpClient: HttpClient, params: ApiGetV1PageLikesRequest): (Option[GetV1PageLikes], Response) = - let tenantId = params.tenantId - let urlId = params.urlId +proc getV1PageLikes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV1PageLikes], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1001,15 +841,7 @@ proc getV1PageLikes*(httpClient: HttpClient, params: ApiGetV1PageLikesRequest): constructResult[GetV1PageLikes](response) -type ApiGetV2PageReactUsersRequest* = object - tenantId*: string - urlId*: string - id*: string - -proc getV2PageReactUsers*(httpClient: HttpClient, params: ApiGetV2PageReactUsersRequest): (Option[GetV2PageReactUsersResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let id = params.id +proc getV2PageReactUsers*(httpClient: HttpClient, tenantId: string, urlId: string, id: string): (Option[GetV2PageReactUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1020,13 +852,7 @@ proc getV2PageReactUsers*(httpClient: HttpClient, params: ApiGetV2PageReactUsers constructResult[GetV2PageReactUsersResponse](response) -type ApiGetV2PageReactsRequest* = object - tenantId*: string - urlId*: string - -proc getV2PageReacts*(httpClient: HttpClient, params: ApiGetV2PageReactsRequest): (Option[GetV2PageReacts], Response) = - let tenantId = params.tenantId - let urlId = params.urlId +proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): (Option[GetV2PageReacts], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1036,17 +862,11 @@ proc getV2PageReacts*(httpClient: HttpClient, params: ApiGetV2PageReactsRequest) constructResult[GetV2PageReacts](response) -type ApiLockCommentRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string +type ApiLockCommentOptions* = object sso*: string -proc lockComment*(httpClient: HttpClient, params: ApiLockCommentRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let sso = params.sso +proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiLockCommentOptions): (Option[APIEmptyResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1058,26 +878,18 @@ proc lockComment*(httpClient: HttpClient, params: ApiLockCommentRequest): (Optio constructResult[APIEmptyResponse](response) -type ApiLogoutPublicRequest* = object - -proc logoutPublic*(httpClient: HttpClient, params: ApiLogoutPublicRequest): (Option[APIEmptyResponse], Response) = +proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) = ## let response = httpClient.put(basepath & "/auth/logout") constructResult[APIEmptyResponse](response) -type ApiPinCommentRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string +type ApiPinCommentOptions* = object sso*: string -proc pinComment*(httpClient: HttpClient, params: ApiPinCommentRequest): (Option[ChangeCommentPinStatusResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let sso = params.sso +proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiPinCommentOptions): (Option[ChangeCommentPinStatusResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1089,21 +901,15 @@ proc pinComment*(httpClient: HttpClient, params: ApiPinCommentRequest): (Option[ constructResult[ChangeCommentPinStatusResponse](response) -type ApiReactFeedPostPublicRequest* = object - tenantId*: string - postId*: string - reactBodyParams*: ReactBodyParams +type ApiReactFeedPostPublicOptions* = object isUndo*: bool broadcastId*: string sso*: string -proc reactFeedPostPublic*(httpClient: HttpClient, params: ApiReactFeedPostPublicRequest): (Option[ReactFeedPostResponse], Response) = - let tenantId = params.tenantId - let postId = params.postId - let reactBodyParams = params.reactBodyParams - let isUndo = params.isUndo - let broadcastId = params.broadcastId - let sso = params.sso +proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions): (Option[ReactFeedPostResponse], Response) = + let isUndo = options.isUndo + let broadcastId = options.broadcastId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1119,13 +925,11 @@ proc reactFeedPostPublic*(httpClient: HttpClient, params: ApiReactFeedPostPublic constructResult[ReactFeedPostResponse](response) -type ApiResetUserNotificationCountRequest* = object - tenantId*: string +type ApiResetUserNotificationCountOptions* = object sso*: string -proc resetUserNotificationCount*(httpClient: HttpClient, params: ApiResetUserNotificationCountRequest): (Option[ResetUserNotificationsResponse], Response) = - let tenantId = params.tenantId - let sso = params.sso +proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiResetUserNotificationCountOptions): (Option[ResetUserNotificationsResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1137,8 +941,7 @@ proc resetUserNotificationCount*(httpClient: HttpClient, params: ApiResetUserNot constructResult[ResetUserNotificationsResponse](response) -type ApiResetUserNotificationsRequest* = object - tenantId*: string +type ApiResetUserNotificationsOptions* = object afterId*: string afterCreatedAt*: int64 unreadOnly*: bool @@ -1146,14 +949,13 @@ type ApiResetUserNotificationsRequest* = object noDm*: bool sso*: string -proc resetUserNotifications*(httpClient: HttpClient, params: ApiResetUserNotificationsRequest): (Option[ResetUserNotificationsResponse], Response) = - let tenantId = params.tenantId - let afterId = params.afterId - let afterCreatedAt = params.afterCreatedAt - let unreadOnly = params.unreadOnly - let dmOnly = params.dmOnly - let noDm = params.noDm - let sso = params.sso +proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, options: ApiResetUserNotificationsOptions): (Option[ResetUserNotificationsResponse], Response) = + let afterId = options.afterId + let afterCreatedAt = options.afterCreatedAt + let unreadOnly = options.unreadOnly + let dmOnly = options.dmOnly + let noDm = options.noDm + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1175,21 +977,17 @@ proc resetUserNotifications*(httpClient: HttpClient, params: ApiResetUserNotific constructResult[ResetUserNotificationsResponse](response) -type ApiSearchUsersRequest* = object - tenantId*: string - urlId*: string +type ApiSearchUsersOptions* = object usernameStartsWith*: string mentionGroupIds*: seq[string] sso*: string searchSection*: string -proc searchUsers*(httpClient: HttpClient, params: ApiSearchUsersRequest): (Option[SearchUsersResult], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let usernameStartsWith = params.usernameStartsWith - let mentionGroupIds = params.mentionGroupIds - let sso = params.sso - let searchSection = params.searchSection +proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiSearchUsersOptions): (Option[SearchUsersResult], Response) = + let usernameStartsWith = options.usernameStartsWith + let mentionGroupIds = options.mentionGroupIds + let sso = options.sso + let searchSection = options.searchSection ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -1207,21 +1005,13 @@ proc searchUsers*(httpClient: HttpClient, params: ApiSearchUsersRequest): (Optio constructResult[SearchUsersResult](response) -type ApiSetCommentTextRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string - commentTextUpdateRequest*: CommentTextUpdateRequest +type ApiSetCommentTextOptions* = object editKey*: string sso*: string -proc setCommentText*(httpClient: HttpClient, params: ApiSetCommentTextRequest): (Option[PublicAPISetCommentTextResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let commentTextUpdateRequest = params.commentTextUpdateRequest - let editKey = params.editKey - let sso = params.sso +proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions): (Option[PublicAPISetCommentTextResponse], Response) = + let editKey = options.editKey + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1236,17 +1026,11 @@ proc setCommentText*(httpClient: HttpClient, params: ApiSetCommentTextRequest): constructResult[PublicAPISetCommentTextResponse](response) -type ApiUnBlockCommentPublicRequest* = object - tenantId*: string - commentId*: string - publicBlockFromCommentParams*: PublicBlockFromCommentParams +type ApiUnBlockCommentPublicOptions* = object sso*: string -proc unBlockCommentPublic*(httpClient: HttpClient, params: ApiUnBlockCommentPublicRequest): (Option[UnblockSuccess], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let publicBlockFromCommentParams = params.publicBlockFromCommentParams - let sso = params.sso +proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions): (Option[UnblockSuccess], Response) = + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1258,17 +1042,11 @@ proc unBlockCommentPublic*(httpClient: HttpClient, params: ApiUnBlockCommentPubl constructResult[UnblockSuccess](response) -type ApiUnLockCommentRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string +type ApiUnLockCommentOptions* = object sso*: string -proc unLockComment*(httpClient: HttpClient, params: ApiUnLockCommentRequest): (Option[APIEmptyResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let sso = params.sso +proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiUnLockCommentOptions): (Option[APIEmptyResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1280,17 +1058,11 @@ proc unLockComment*(httpClient: HttpClient, params: ApiUnLockCommentRequest): (O constructResult[APIEmptyResponse](response) -type ApiUnPinCommentRequest* = object - tenantId*: string - commentId*: string - broadcastId*: string +type ApiUnPinCommentOptions* = object sso*: string -proc unPinComment*(httpClient: HttpClient, params: ApiUnPinCommentRequest): (Option[ChangeCommentPinStatusResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let broadcastId = params.broadcastId - let sso = params.sso +proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiUnPinCommentOptions): (Option[ChangeCommentPinStatusResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1302,19 +1074,13 @@ proc unPinComment*(httpClient: HttpClient, params: ApiUnPinCommentRequest): (Opt constructResult[ChangeCommentPinStatusResponse](response) -type ApiUpdateFeedPostPublicRequest* = object - tenantId*: string - postId*: string - updateFeedPostParams*: UpdateFeedPostParams +type ApiUpdateFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc updateFeedPostPublic*(httpClient: HttpClient, params: ApiUpdateFeedPostPublicRequest): (Option[CreateFeedPostResponse], Response) = - let tenantId = params.tenantId - let postId = params.postId - let updateFeedPostParams = params.updateFeedPostParams - let broadcastId = params.broadcastId - let sso = params.sso +proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = + let broadcastId = options.broadcastId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1328,19 +1094,11 @@ proc updateFeedPostPublic*(httpClient: HttpClient, params: ApiUpdateFeedPostPubl constructResult[CreateFeedPostResponse](response) -type ApiUpdateUserNotificationCommentSubscriptionStatusRequest* = object - tenantId*: string - notificationId*: string - optedInOrOut*: string - commentId*: string +type ApiUpdateUserNotificationCommentSubscriptionStatusOptions* = object sso*: string -proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationCommentSubscriptionStatusRequest): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = - let tenantId = params.tenantId - let notificationId = params.notificationId - let optedInOrOut = params.optedInOrOut - let commentId = params.commentId - let sso = params.sso +proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1353,21 +1111,11 @@ proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, pa constructResult[UpdateUserNotificationCommentSubscriptionStatusResponse](response) -type ApiUpdateUserNotificationPageSubscriptionStatusRequest* = object - tenantId*: string - urlId*: string - url*: string - pageTitle*: string - subscribedOrUnsubscribed*: string +type ApiUpdateUserNotificationPageSubscriptionStatusOptions* = object sso*: string -proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationPageSubscriptionStatusRequest): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = - let tenantId = params.tenantId - let urlId = params.urlId - let url = params.url - let pageTitle = params.pageTitle - let subscribedOrUnsubscribed = params.subscribedOrUnsubscribed - let sso = params.sso +proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: string, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1382,17 +1130,11 @@ proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, param constructResult[UpdateUserNotificationPageSubscriptionStatusResponse](response) -type ApiUpdateUserNotificationStatusRequest* = object - tenantId*: string - notificationId*: string - newStatus*: string +type ApiUpdateUserNotificationStatusOptions* = object sso*: string -proc updateUserNotificationStatus*(httpClient: HttpClient, params: ApiUpdateUserNotificationStatusRequest): (Option[UpdateUserNotificationStatusResponse], Response) = - let tenantId = params.tenantId - let notificationId = params.notificationId - let newStatus = params.newStatus - let sso = params.sso +proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, newStatus: string, options: ApiUpdateUserNotificationStatusOptions): (Option[UpdateUserNotificationStatusResponse], Response) = + let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1404,17 +1146,13 @@ proc updateUserNotificationStatus*(httpClient: HttpClient, params: ApiUpdateUser constructResult[UpdateUserNotificationStatusResponse](response) -type ApiUploadImageRequest* = object - tenantId*: string - file*: string +type ApiUploadImageOptions* = object sizePreset*: SizePreset urlId*: string -proc uploadImage*(httpClient: HttpClient, params: ApiUploadImageRequest): (Option[UploadImageResponse], Response) = - let tenantId = params.tenantId - let file = params.file - let sizePreset = params.sizePreset - let urlId = params.urlId +proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, options: ApiUploadImageOptions): (Option[UploadImageResponse], Response) = + let sizePreset = options.sizePreset + let urlId = options.urlId ## httpClient.headers["Content-Type"] = "multipart/form-data" var query_params_list: seq[(string, string)] = @[] @@ -1431,23 +1169,13 @@ proc uploadImage*(httpClient: HttpClient, params: ApiUploadImageRequest): (Optio constructResult[UploadImageResponse](response) -type ApiVoteCommentRequest* = object - tenantId*: string - commentId*: string - urlId*: string - broadcastId*: string - voteBodyParams*: VoteBodyParams +type ApiVoteCommentOptions* = object sessionId*: string sso*: string -proc voteComment*(httpClient: HttpClient, params: ApiVoteCommentRequest): (Option[VoteResponse], Response) = - let tenantId = params.tenantId - let commentId = params.commentId - let urlId = params.urlId - let broadcastId = params.broadcastId - let voteBodyParams = params.voteBodyParams - let sessionId = params.sessionId - let sso = params.sso +proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions): (Option[VoteResponse], Response) = + let sessionId = options.sessionId + let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] diff --git a/tests/test_sso_integration.nim b/tests/test_sso_integration.nim index e06fbbe..ca315e9 100644 --- a/tests/test_sso_integration.nim +++ b/tests/test_sso_integration.nim @@ -38,35 +38,10 @@ suite "SSO Integration Tests": let (response, httpResponse) = getCommentsPublic( httpClient = client, - params = ApiGetCommentsPublicRequest( - tenantId: tenantID, - urlId: "sdk-test-page", - page: 0, - direction: SortDirections.NF, - sso: "", - skip: 0, - skipChildren: 0, - limit: 0, - limitChildren: 0, - countChildren: false, - fetchPageForCommentId: "", - includeConfig: false, - countAll: false, - includei10n: false, - locale: "", - modules: "", - isCrawler: false, - includeNotificationCount: false, - asTree: false, - maxTreeDepth: 0, - useFullTranslationIds: false, - parentId: "", - searchText: "", - hashTags: @[], - userId: "", - customConfigStr: "", - afterCommentId: "", - beforeCommentId: "" + tenantId = tenantID, + urlId = "sdk-test-page", + options = ApiGetCommentsPublicOptions( + direction: SortDirections.NF ) ) @@ -102,12 +77,11 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - params = ApiCreateCommentPublicRequest( - tenantId: tenantID, - urlId: "sdk-test-nim", - broadcastId: "test-" & $timestamp, - commentData: commentData, - sessionId: "", + tenantId = tenantID, + urlId = "sdk-test-nim", + broadcastId = "test-" & $timestamp, + commentData = commentData, + options = ApiCreateCommentPublicOptions( sso: token ) ) @@ -118,35 +92,11 @@ suite "SSO Integration Tests": # Fetch comments let (getResponse, getHttpResponse) = getCommentsPublic( httpClient = client, - params = ApiGetCommentsPublicRequest( - tenantId: tenantID, - urlId: "sdk-test-nim", - page: 0, + tenantId = tenantID, + urlId = "sdk-test-nim", + options = ApiGetCommentsPublicOptions( direction: SortDirections.NF, - sso: token, - skip: 0, - skipChildren: 0, - limit: 0, - limitChildren: 0, - countChildren: false, - fetchPageForCommentId: "", - includeConfig: false, - countAll: false, - includei10n: false, - locale: "", - modules: "", - isCrawler: false, - includeNotificationCount: false, - asTree: false, - maxTreeDepth: 0, - useFullTranslationIds: false, - parentId: "", - searchText: "", - hashTags: @[], - userId: "", - customConfigStr: "", - afterCommentId: "", - beforeCommentId: "" + sso: token ) ) @@ -185,12 +135,11 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - params = ApiCreateCommentPublicRequest( - tenantId: tenantID, - urlId: testUrlId, - broadcastId: "test-" & $timestamp, - commentData: commentData, - sessionId: "", + tenantId = tenantID, + urlId = testUrlId, + broadcastId = "test-" & $timestamp, + commentData = commentData, + options = ApiCreateCommentPublicOptions( sso: token ) ) @@ -207,24 +156,10 @@ suite "SSO Integration Tests": let (getResponse, getHttpResponse) = getComments( httpClient = authClient, - params = ApiGetCommentsRequest( - tenantId: tenantID, - page: 0, - limit: 0, - skip: 0, - asTree: false, - skipChildren: 0, - limitChildren: 0, - maxTreeDepth: 0, + tenantId = tenantID, + options = ApiGetCommentsOptions( urlId: testUrlId, - userId: "", - anonUserId: "", - contextUserId: "", - hashTag: "", - parentId: "", - direction: SortDirections.NF, - fromDate: 0, - toDate: 0 + direction: SortDirections.NF ) ) @@ -268,12 +203,11 @@ suite "SSO Integration Tests": let (createResponse, createHttpResponse) = createCommentPublic( httpClient = client, - params = ApiCreateCommentPublicRequest( - tenantId: tenantID, - urlId: testUrlId, - broadcastId: "test-" & $timestamp, - commentData: commentData, - sessionId: "", + tenantId = tenantID, + urlId = testUrlId, + broadcastId = "test-" & $timestamp, + commentData = commentData, + options = ApiCreateCommentPublicOptions( sso: token ) ) @@ -287,35 +221,11 @@ suite "SSO Integration Tests": let (getResponse, getHttpResponse) = getCommentsPublic( httpClient = client, - params = ApiGetCommentsPublicRequest( - tenantId: tenantID, - urlId: testUrlId, - page: 0, + tenantId = tenantID, + urlId = testUrlId, + options = ApiGetCommentsPublicOptions( direction: SortDirections.NF, - sso: token, - skip: 0, - skipChildren: 0, - limit: 0, - limitChildren: 0, - countChildren: false, - fetchPageForCommentId: "", - includeConfig: false, - countAll: false, - includei10n: false, - locale: "", - modules: "", - isCrawler: false, - includeNotificationCount: false, - asTree: false, - maxTreeDepth: 0, - useFullTranslationIds: false, - parentId: "", - searchText: "", - hashTags: @[], - userId: "", - customConfigStr: "", - afterCommentId: "", - beforeCommentId: "" + sso: token ) ) From 6a2404510c6e60ff5d15297138e06ffe064a0d34 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 23 Jun 2026 11:18:45 -0700 Subject: [PATCH 6/9] Regenerate: single optional is a direct param (no options object for one value) Operations with exactly one optional now take it directly (e.g. deleteModerator(..., send_email)); the ApiOptions object is only used for 2+ optionals. --- client/fastcomments/apis/api_default.nim | 162 ++++------------------- client/fastcomments/apis/api_public.nim | 114 +++------------- 2 files changed, 46 insertions(+), 230 deletions(-) diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index 5c748b9..4927448 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -179,11 +179,7 @@ proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigP constructResult[AddDomainConfigResponse](response) -type ApiAddHashTagOptions* = object - tenantId*: string - -proc addHashTag*(httpClient: HttpClient, createHashTagBody: CreateHashTagBody, options: ApiAddHashTagOptions): (Option[CreateHashTagResponse], Response) = - let tenantId = options.tenantId +proc addHashTag*(httpClient: HttpClient, createHashTagBody: CreateHashTagBody, tenantId: string = ""): (Option[CreateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -195,11 +191,7 @@ proc addHashTag*(httpClient: HttpClient, createHashTagBody: CreateHashTagBody, o constructResult[CreateHashTagResponse](response) -type ApiAddHashTagsBulkOptions* = object - tenantId*: string - -proc addHashTagsBulk*(httpClient: HttpClient, bulkCreateHashTagsBody: BulkCreateHashTagsBody, options: ApiAddHashTagsBulkOptions): (Option[BulkCreateHashTagsResponse], Response) = - let tenantId = options.tenantId +proc addHashTagsBulk*(httpClient: HttpClient, bulkCreateHashTagsBody: BulkCreateHashTagsBody, tenantId: string = ""): (Option[BulkCreateHashTagsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -311,11 +303,7 @@ proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, constructResult[BlockSuccess](response) -type ApiBulkAggregateQuestionResultsOptions* = object - forceRecalculate*: bool - -proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions): (Option[BulkAggregateQuestionResultsResponse], Response) = - let forceRecalculate = options.forceRecalculate +proc bulkAggregateQuestionResults*(httpClient: HttpClient, tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: bool): (Option[BulkAggregateQuestionResultsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -596,11 +584,7 @@ proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, i constructResult[APIEmptyResponse](response) -type ApiDeleteHashTagOptions* = object - tenantId*: string - -proc deleteHashTag*(httpClient: HttpClient, tag: string, deleteHashTagRequestBody: DeleteHashTagRequestBody, options: ApiDeleteHashTagOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId +proc deleteHashTag*(httpClient: HttpClient, tag: string, deleteHashTagRequestBody: DeleteHashTagRequestBody, tenantId: string = ""): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -611,11 +595,7 @@ proc deleteHashTag*(httpClient: HttpClient, tag: string, deleteHashTagRequestBod constructResult[APIEmptyResponse](response) -type ApiDeleteModeratorOptions* = object - sendEmail*: string - -proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteModeratorOptions): (Option[APIEmptyResponse], Response) = - let sendEmail = options.sendEmail +proc deleteModerator*(httpClient: HttpClient, tenantId: string, id: string, sendEmail: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -697,11 +677,7 @@ proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, option constructResult[DeleteSSOUserAPIResponse](response) -type ApiDeleteSubscriptionOptions* = object - userId*: string - -proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteSubscriptionOptions): (Option[DeleteSubscriptionAPIResponse], Response) = - let userId = options.userId +proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, userId: string = ""): (Option[DeleteSubscriptionAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -713,11 +689,7 @@ proc deleteSubscription*(httpClient: HttpClient, tenantId: string, id: string, o constructResult[DeleteSubscriptionAPIResponse](response) -type ApiDeleteTenantOptions* = object - sure*: string - -proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteTenantOptions): (Option[APIEmptyResponse], Response) = - let sure = options.sure +proc deleteTenant*(httpClient: HttpClient, tenantId: string, id: string, sure: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -769,11 +741,7 @@ proc deleteUserBadge*(httpClient: HttpClient, tenantId: string, id: string): (Op constructResult[APIEmptySuccessResponse](response) -type ApiDeleteVoteOptions* = object - editKey*: string - -proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteVoteOptions): (Option[VoteDeleteResponse], Response) = - let editKey = options.editKey +proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: string = ""): (Option[VoteDeleteResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -973,11 +941,7 @@ proc getEmailTemplateDefinitions*(httpClient: HttpClient, tenantId: string): (Op constructResult[GetEmailTemplateDefinitionsResponse](response) -type ApiGetEmailTemplateRenderErrorsOptions* = object - skip*: float64 - -proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, options: ApiGetEmailTemplateRenderErrorsOptions): (Option[GetEmailTemplateRenderErrorsResponse], Response) = - let skip = options.skip +proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: string, skip: float64): (Option[GetEmailTemplateRenderErrorsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -989,11 +953,7 @@ proc getEmailTemplateRenderErrors*(httpClient: HttpClient, tenantId: string, id: constructResult[GetEmailTemplateRenderErrorsResponse](response) -type ApiGetEmailTemplatesOptions* = object - skip*: float64 - -proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, options: ApiGetEmailTemplatesOptions): (Option[GetEmailTemplatesResponse], Response) = - let skip = options.skip +proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetEmailTemplatesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1029,11 +989,7 @@ proc getFeedPosts*(httpClient: HttpClient, tenantId: string, options: ApiGetFeed constructResult[GetFeedPostsResponse](response) -type ApiGetHashTagsOptions* = object - page*: float64 - -proc getHashTags*(httpClient: HttpClient, tenantId: string, options: ApiGetHashTagsOptions): (Option[GetHashTagsResponse], Response) = - let page = options.page +proc getHashTags*(httpClient: HttpClient, tenantId: string, page: float64): (Option[GetHashTagsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1055,11 +1011,7 @@ proc getModerator*(httpClient: HttpClient, tenantId: string, id: string): (Optio constructResult[GetModeratorResponse](response) -type ApiGetModeratorsOptions* = object - skip*: float64 - -proc getModerators*(httpClient: HttpClient, tenantId: string, options: ApiGetModeratorsOptions): (Option[GetModeratorsResponse], Response) = - let skip = options.skip +proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetModeratorsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1246,11 +1198,7 @@ proc getQuestionConfig*(httpClient: HttpClient, tenantId: string, id: string): ( constructResult[GetQuestionConfigResponse](response) -type ApiGetQuestionConfigsOptions* = object - skip*: float64 - -proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, options: ApiGetQuestionConfigsOptions): (Option[GetQuestionConfigsResponse], Response) = - let skip = options.skip +proc getQuestionConfigs*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetQuestionConfigsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1328,11 +1276,7 @@ proc getSSOUserById*(httpClient: HttpClient, tenantId: string, id: string): (Opt constructResult[GetSSOUserByIdAPIResponse](response) -type ApiGetSSOUsersOptions* = object - skip*: int - -proc getSSOUsers*(httpClient: HttpClient, tenantId: string, options: ApiGetSSOUsersOptions): (Option[GetSSOUsersResponse], Response) = - let skip = options.skip +proc getSSOUsers*(httpClient: HttpClient, tenantId: string, skip: int): (Option[GetSSOUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1344,11 +1288,7 @@ proc getSSOUsers*(httpClient: HttpClient, tenantId: string, options: ApiGetSSOUs constructResult[GetSSOUsersResponse](response) -type ApiGetSubscriptionsOptions* = object - userId*: string - -proc getSubscriptions*(httpClient: HttpClient, tenantId: string, options: ApiGetSubscriptionsOptions): (Option[GetSubscriptionsAPIResponse], Response) = - let userId = options.userId +proc getSubscriptions*(httpClient: HttpClient, tenantId: string, userId: string = ""): (Option[GetSubscriptionsAPIResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1408,11 +1348,7 @@ proc getTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): (O constructResult[GetTenantPackageResponse](response) -type ApiGetTenantPackagesOptions* = object - skip*: float64 - -proc getTenantPackages*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantPackagesOptions): (Option[GetTenantPackagesResponse], Response) = - let skip = options.skip +proc getTenantPackages*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantPackagesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1434,11 +1370,7 @@ proc getTenantUser*(httpClient: HttpClient, tenantId: string, id: string): (Opti constructResult[GetTenantUserResponse](response) -type ApiGetTenantUsersOptions* = object - skip*: float64 - -proc getTenantUsers*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantUsersOptions): (Option[GetTenantUsersResponse], Response) = - let skip = options.skip +proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): (Option[GetTenantUsersResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1470,11 +1402,7 @@ proc getTenants*(httpClient: HttpClient, tenantId: string, options: ApiGetTenant constructResult[GetTenantsResponse](response) -type ApiGetTicketOptions* = object - userId*: string - -proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, options: ApiGetTicketOptions): (Option[GetTicketResponse], Response) = - let userId = options.userId +proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: string = ""): (Option[GetTicketResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1657,11 +1585,7 @@ proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate constructResult[PatchDomainConfigResponse](response) -type ApiPatchHashTagOptions* = object - tenantId*: string - -proc patchHashTag*(httpClient: HttpClient, tag: string, updateHashTagBody: UpdateHashTagBody, options: ApiPatchHashTagOptions): (Option[UpdateHashTagResponse], Response) = - let tenantId = options.tenantId +proc patchHashTag*(httpClient: HttpClient, tag: string, updateHashTagBody: UpdateHashTagBody, tenantId: string = ""): (Option[UpdateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1684,11 +1608,7 @@ proc patchPage*(httpClient: HttpClient, tenantId: string, id: string, updateAPIP constructResult[PatchPageAPIResponse](response) -type ApiPatchSSOUserOptions* = object - updateComments*: bool - -proc patchSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions): (Option[PatchSSOUserAPIResponse], Response) = - let updateComments = options.updateComments +proc patchSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: bool): (Option[PatchSSOUserAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1712,11 +1632,7 @@ proc putDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate: constructResult[PutDomainConfigResponse](response) -type ApiPutSSOUserOptions* = object - updateComments*: bool - -proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions): (Option[PutSSOUserAPIResponse], Response) = - let updateComments = options.updateComments +proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: bool): (Option[PutSSOUserAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1729,11 +1645,7 @@ proc putSSOUser*(httpClient: HttpClient, tenantId: string, id: string, updateAPI constructResult[PutSSOUserAPIResponse](response) -type ApiRenderEmailTemplateOptions* = object - locale*: string - -proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions): (Option[RenderEmailTemplateResponse], Response) = - let locale = options.locale +proc renderEmailTemplate*(httpClient: HttpClient, tenantId: string, renderEmailTemplateBody: RenderEmailTemplateBody, locale: string = ""): (Option[RenderEmailTemplateResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1757,11 +1669,7 @@ proc replaceTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -type ApiReplaceTenantUserOptions* = object - updateComments*: string - -proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions): (Option[APIEmptyResponse], Response) = - let updateComments = options.updateComments +proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: string = ""): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1843,11 +1751,7 @@ proc sendInvite*(httpClient: HttpClient, tenantId: string, id: string, fromName: constructResult[APIEmptyResponse](response) -type ApiSendLoginLinkOptions* = object - redirectURL*: string - -proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, options: ApiSendLoginLinkOptions): (Option[APIEmptyResponse], Response) = - let redirectURL = options.redirectURL +proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redirectURL: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1958,11 +1862,7 @@ proc updateModerator*(httpClient: HttpClient, tenantId: string, id: string, upda constructResult[APIEmptyResponse](response) -type ApiUpdateNotificationOptions* = object - userId*: string - -proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions): (Option[APIEmptyResponse], Response) = - let userId = options.userId +proc updateNotification*(httpClient: HttpClient, tenantId: string, id: string, updateNotificationBody: UpdateNotificationBody, userId: string = ""): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1997,11 +1897,7 @@ proc updateQuestionResult*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -type ApiUpdateSubscriptionOptions* = object - userId*: string - -proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions): (Option[UpdateSubscriptionAPIResponse], Response) = - let userId = options.userId +proc updateSubscription*(httpClient: HttpClient, tenantId: string, id: string, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: string = ""): (Option[UpdateSubscriptionAPIResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -2036,11 +1932,7 @@ proc updateTenantPackage*(httpClient: HttpClient, tenantId: string, id: string, constructResult[APIEmptyResponse](response) -type ApiUpdateTenantUserOptions* = object - updateComments*: string - -proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions): (Option[APIEmptyResponse], Response) = - let updateComments = options.updateComments +proc updateTenantUser*(httpClient: HttpClient, tenantId: string, id: string, updateTenantUserBody: UpdateTenantUserBody, updateComments: string = ""): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index 664aa42..a4c225b 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -87,11 +87,7 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -type ApiBlockFromCommentPublicOptions* = object - sso*: string - -proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions): (Option[BlockSuccess], Response) = - let sso = options.sso +proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string = ""): (Option[BlockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -104,11 +100,7 @@ proc blockFromCommentPublic*(httpClient: HttpClient, tenantId: string, commentId constructResult[BlockSuccess](response) -type ApiCheckedCommentsForBlockedOptions* = object - sso*: string - -proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, options: ApiCheckedCommentsForBlockedOptions): (Option[CheckBlockedCommentsResponse], Response) = - let sso = options.sso +proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commentIds: string, sso: string = ""): (Option[CheckBlockedCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -163,11 +155,7 @@ proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedP constructResult[CreateFeedPostResponse](response) -type ApiCreateV1PageReactOptions* = object - title*: string - -proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiCreateV1PageReactOptions): (Option[CreateV1PageReact], Response) = - let title = options.title +proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, title: string = ""): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -179,11 +167,7 @@ proc createV1PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -type ApiCreateV2PageReactOptions* = object - title*: string - -proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, options: ApiCreateV2PageReactOptions): (Option[CreateV1PageReact], Response) = - let title = options.title +proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, id: string, title: string = ""): (Option[CreateV1PageReact], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -277,11 +261,7 @@ proc deleteV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -type ApiFlagCommentPublicOptions* = object - sso*: string - -proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, options: ApiFlagCommentPublicOptions): (Option[APIEmptyResponse], Response) = - let sso = options.sso +proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, isFlagged: bool, sso: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -313,11 +293,7 @@ proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string constructResult[PublicAPIGetCommentTextResponse](response) -type ApiGetCommentVoteUserNamesOptions* = object - sso*: string - -proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, options: ApiGetCommentVoteUserNamesOptions): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = - let sso = options.sso +proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentId: string, dir: int, sso: string = ""): (Option[GetCommentVoteUserNamesSuccessResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("dir", $dir)) @@ -484,11 +460,7 @@ proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[GetCommentsResponseWithPresencePublicComment](response) -type ApiGetEventLogOptions* = object - endTime*: int64 - -proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, options: ApiGetEventLogOptions): (Option[GetEventLogResponse], Response) = - let endTime = options.endTime +proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -537,11 +509,7 @@ proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, options: ApiG constructResult[PublicFeedPostsResponse](response) -type ApiGetFeedPostsStatsOptions* = object - sso*: string - -proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], options: ApiGetFeedPostsStatsOptions): (Option[FeedPostsStatsResponse], Response) = - let sso = options.sso +proc getFeedPostsStats*(httpClient: HttpClient, tenantId: string, postIds: seq[string], sso: string = ""): (Option[FeedPostsStatsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("postIds", $postIds.join(","))) @@ -610,11 +578,7 @@ proc getGifsTrending*(httpClient: HttpClient, tenantId: string, options: ApiGetG constructResult[GetGifsTrendingResponse](response) -type ApiGetGlobalEventLogOptions* = object - endTime*: int64 - -proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, options: ApiGetGlobalEventLogOptions): (Option[GetEventLogResponse], Response) = - let endTime = options.endTime +proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userIdWS: string, startTime: int64, endTime: int64): (Option[GetEventLogResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("urlId", $urlId)) @@ -718,11 +682,7 @@ proc getTranslations*(httpClient: HttpClient, namespace: string, component: stri constructResult[GetTranslationsResponse](response) -type ApiGetUserNotificationCountOptions* = object - sso*: string - -proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiGetUserNotificationCountOptions): (Option[GetUserNotificationCountResponse], Response) = - let sso = options.sso +proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string = ""): (Option[GetUserNotificationCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -862,11 +822,7 @@ proc getV2PageReacts*(httpClient: HttpClient, tenantId: string, urlId: string): constructResult[GetV2PageReacts](response) -type ApiLockCommentOptions* = object - sso*: string - -proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiLockCommentOptions): (Option[APIEmptyResponse], Response) = - let sso = options.sso +proc lockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -885,11 +841,7 @@ proc logoutPublic*(httpClient: HttpClient): (Option[APIEmptyResponse], Response) constructResult[APIEmptyResponse](response) -type ApiPinCommentOptions* = object - sso*: string - -proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiPinCommentOptions): (Option[ChangeCommentPinStatusResponse], Response) = - let sso = options.sso +proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string = ""): (Option[ChangeCommentPinStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -925,11 +877,7 @@ proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: stri constructResult[ReactFeedPostResponse](response) -type ApiResetUserNotificationCountOptions* = object - sso*: string - -proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiResetUserNotificationCountOptions): (Option[ResetUserNotificationsResponse], Response) = - let sso = options.sso +proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: string = ""): (Option[ResetUserNotificationsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1026,11 +974,7 @@ proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string constructResult[PublicAPISetCommentTextResponse](response) -type ApiUnBlockCommentPublicOptions* = object - sso*: string - -proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions): (Option[UnblockSuccess], Response) = - let sso = options.sso +proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: string = ""): (Option[UnblockSuccess], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] @@ -1042,11 +986,7 @@ proc unBlockCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: constructResult[UnblockSuccess](response) -type ApiUnLockCommentOptions* = object - sso*: string - -proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiUnLockCommentOptions): (Option[APIEmptyResponse], Response) = - let sso = options.sso +proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1058,11 +998,7 @@ proc unLockComment*(httpClient: HttpClient, tenantId: string, commentId: string, constructResult[APIEmptyResponse](response) -type ApiUnPinCommentOptions* = object - sso*: string - -proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiUnPinCommentOptions): (Option[ChangeCommentPinStatusResponse], Response) = - let sso = options.sso +proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, sso: string = ""): (Option[ChangeCommentPinStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("broadcastId", $broadcastId)) @@ -1094,11 +1030,7 @@ proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: str constructResult[CreateFeedPostResponse](response) -type ApiUpdateUserNotificationCommentSubscriptionStatusOptions* = object - sso*: string - -proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = - let sso = options.sso +proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, optedInOrOut: string, commentId: string, sso: string = ""): (Option[UpdateUserNotificationCommentSubscriptionStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1111,11 +1043,7 @@ proc updateUserNotificationCommentSubscriptionStatus*(httpClient: HttpClient, te constructResult[UpdateUserNotificationCommentSubscriptionStatusResponse](response) -type ApiUpdateUserNotificationPageSubscriptionStatusOptions* = object - sso*: string - -proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: string, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = - let sso = options.sso +proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: string, sso: string = ""): (Option[UpdateUserNotificationPageSubscriptionStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) @@ -1130,11 +1058,7 @@ proc updateUserNotificationPageSubscriptionStatus*(httpClient: HttpClient, tenan constructResult[UpdateUserNotificationPageSubscriptionStatusResponse](response) -type ApiUpdateUserNotificationStatusOptions* = object - sso*: string - -proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, newStatus: string, options: ApiUpdateUserNotificationStatusOptions): (Option[UpdateUserNotificationStatusResponse], Response) = - let sso = options.sso +proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, notificationId: string, newStatus: string, sso: string = ""): (Option[UpdateUserNotificationStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] query_params_list.add(("tenantId", $tenantId)) From 44efd90cdc0414eb46bc08f5a5e5c282b77c51ee Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 29 Jun 2026 17:07:23 -0700 Subject: [PATCH 7/9] Regenerate: mod_api/ paths + PostRemoveCommentApiResponse rename; drop Api prefix from options types Options types renamed ApiOptions -> Options (e.g. ApiGetApiCommentsOptions -> GetApiCommentsOptions). Hand-written READMEs + SSO tests updated to match. --- README.md | 8 +- client/README.md | 86 +-- client/fastcomments.nim | 4 +- client/fastcomments/apis/api_default.nim | 136 ++-- client/fastcomments/apis/api_moderation.nim | 501 +++++--------- client/fastcomments/apis/api_public.nim | 96 +-- ...odel_post_remove_comment_api_response.nim} | 18 +- docs/Apis/DefaultApi.md | 12 +- docs/Apis/ModerationApi.md | 254 ++++---- ...nse.md => PostRemoveCommentApiResponse.md} | 2 +- docs/README.md | 88 +-- openapi.json | 614 +++++++++--------- tests/test_sso_integration.nim | 14 +- 13 files changed, 826 insertions(+), 1007 deletions(-) rename client/fastcomments/models/{model_post_remove_comment_response.nim => model_post_remove_comment_api_response.nim} (54%) rename docs/Models/{PostRemoveCommentResponse.md => PostRemoveCommentApiResponse.md} (92%) diff --git a/README.md b/README.md index eca71b5..8d2835f 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ client.headers["x-api-key"] = "your-api-key" let (response, httpResponse) = getComments( httpClient = client, tenantId = "your-tenant-id", - options = ApiGetCommentsOptions( + options = GetCommentsOptions( urlId: "your-url-id", direction: SortDirections.DESC ) @@ -83,7 +83,7 @@ let (response, httpResponse) = getCommentsPublic( httpClient = client, tenantId = "your-tenant-id", urlId = "your-url-id", - options = ApiGetCommentsPublicOptions( + options = GetCommentsPublicOptions( direction: SortDirections.DESC ) ) @@ -109,7 +109,7 @@ let client = newHttpClient() # This operation has no required parameters, so everything is optional. let (response, httpResponse) = getApiComments( httpClient = client, - options = ApiGetApiCommentsOptions( + options = GetApiCommentsOptions( count: 30, tenantId: "your-tenant-id", sso: "your-sso-token" @@ -146,7 +146,7 @@ client.headers["x-api-key"] = "your-api-key" let (response, httpResponse) = getComments( httpClient = client, tenantId = "your-tenant-id", - options = ApiGetCommentsOptions( + options = GetCommentsOptions( urlId: "your-url-id", direction: SortDirections.DESC ) diff --git a/client/README.md b/client/README.md index c284e28..2d445f7 100644 --- a/client/README.md +++ b/client/README.md @@ -139,49 +139,49 @@ api_default | updateTenant | **PATCH** /api/v1/tenants/{id} | api_default | updateTenantPackage | **PATCH** /api/v1/tenant-packages/{id} | api_default | updateTenantUser | **PATCH** /api/v1/tenant-users/{id} | api_default | updateUserBadge | **PUT** /api/v1/user-badges/{id} | -api_moderation | deleteModerationVote | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -api_moderation | getApiComments | **GET** /auth/my-account/moderate-comments/api/comments | -api_moderation | getApiExportStatus | **GET** /auth/my-account/moderate-comments/api/export/status | -api_moderation | getApiIds | **GET** /auth/my-account/moderate-comments/api/ids | -api_moderation | getBanUsersFromComment | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -api_moderation | getCommentBanStatus | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -api_moderation | getCommentChildren | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | -api_moderation | getCount | **GET** /auth/my-account/moderate-comments/count | -api_moderation | getCounts | **GET** /auth/my-account/moderate-comments/banned-users/counts | -api_moderation | getLogs | **GET** /auth/my-account/moderate-comments/logs/{commentId} | -api_moderation | getManualBadges | **GET** /auth/my-account/moderate-comments/get-manual-badges | -api_moderation | getManualBadgesForUser | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | -api_moderation | getModerationComment | **GET** /auth/my-account/moderate-comments/comment/{commentId} | -api_moderation | getModerationCommentText | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -api_moderation | getPreBanSummary | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -api_moderation | getSearchCommentsSummary | **GET** /auth/my-account/moderate-comments/search/comments/summary | -api_moderation | getSearchPages | **GET** /auth/my-account/moderate-comments/search/pages | -api_moderation | getSearchSites | **GET** /auth/my-account/moderate-comments/search/sites | -api_moderation | getSearchSuggest | **GET** /auth/my-account/moderate-comments/search/suggest | -api_moderation | getSearchUsers | **GET** /auth/my-account/moderate-comments/search/users | -api_moderation | getTrustFactor | **GET** /auth/my-account/moderate-comments/get-trust-factor | -api_moderation | getUserBanPreference | **GET** /auth/my-account/moderate-comments/user-ban-preference | -api_moderation | getUserInternalProfile | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | -api_moderation | postAdjustCommentVotes | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -api_moderation | postApiExport | **POST** /auth/my-account/moderate-comments/api/export | -api_moderation | postBanUserFromComment | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -api_moderation | postBanUserUndo | **POST** /auth/my-account/moderate-comments/ban-user/undo | -api_moderation | postBulkPreBanSummary | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -api_moderation | postCommentsByIds | **POST** /auth/my-account/moderate-comments/comments-by-ids | -api_moderation | postFlagComment | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | -api_moderation | postRemoveComment | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | -api_moderation | postRestoreDeletedComment | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -api_moderation | postSetCommentApprovalStatus | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -api_moderation | postSetCommentReviewStatus | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -api_moderation | postSetCommentSpamStatus | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -api_moderation | postSetCommentText | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -api_moderation | postUnFlagComment | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -api_moderation | postVote | **POST** /auth/my-account/moderate-comments/vote/{commentId} | -api_moderation | putAwardBadge | **PUT** /auth/my-account/moderate-comments/award-badge | -api_moderation | putCloseThread | **PUT** /auth/my-account/moderate-comments/close-thread | -api_moderation | putRemoveBadge | **PUT** /auth/my-account/moderate-comments/remove-badge | -api_moderation | putReopenThread | **PUT** /auth/my-account/moderate-comments/reopen-thread | -api_moderation | setTrustFactor | **PUT** /auth/my-account/moderate-comments/set-trust-factor | +api_moderation | deleteModerationVote | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +api_moderation | getApiComments | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | +api_moderation | getApiExportStatus | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | +api_moderation | getApiIds | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | +api_moderation | getBanUsersFromComment | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +api_moderation | getCommentBanStatus | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +api_moderation | getCommentChildren | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +api_moderation | getCount | **GET** /auth/my-account/moderate-comments/mod_api/count | +api_moderation | getCounts | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +api_moderation | getLogs | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +api_moderation | getManualBadges | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +api_moderation | getManualBadgesForUser | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +api_moderation | getModerationComment | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +api_moderation | getModerationCommentText | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +api_moderation | getPreBanSummary | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +api_moderation | getSearchCommentsSummary | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +api_moderation | getSearchPages | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | +api_moderation | getSearchSites | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | +api_moderation | getSearchSuggest | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | +api_moderation | getSearchUsers | **GET** /auth/my-account/moderate-comments/mod_api/search/users | +api_moderation | getTrustFactor | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +api_moderation | getUserBanPreference | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +api_moderation | getUserInternalProfile | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +api_moderation | postAdjustCommentVotes | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +api_moderation | postApiExport | **POST** /auth/my-account/moderate-comments/mod_api/api/export | +api_moderation | postBanUserFromComment | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +api_moderation | postBanUserUndo | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +api_moderation | postBulkPreBanSummary | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +api_moderation | postCommentsByIds | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +api_moderation | postFlagComment | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +api_moderation | postRemoveComment | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +api_moderation | postRestoreDeletedComment | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +api_moderation | postSetCommentApprovalStatus | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +api_moderation | postSetCommentReviewStatus | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +api_moderation | postSetCommentSpamStatus | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +api_moderation | postSetCommentText | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +api_moderation | postUnFlagComment | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +api_moderation | postVote | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +api_moderation | putAwardBadge | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | +api_moderation | putCloseThread | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | +api_moderation | putRemoveBadge | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | +api_moderation | putReopenThread | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | +api_moderation | setTrustFactor | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | api_public | blockFromCommentPublic | **POST** /block-from-comment/{commentId} | api_public | checkedCommentsForBlocked | **GET** /check-blocked-comments | api_public | createCommentPublic | **POST** /comments/{tenantId} | diff --git a/client/fastcomments.nim b/client/fastcomments.nim index cb782f5..28f15e2 100644 --- a/client/fastcomments.nim +++ b/client/fastcomments.nim @@ -267,7 +267,7 @@ import fastcomments/models/model_patch_domain_config_response import fastcomments/models/model_patch_page_api_response import fastcomments/models/model_patch_sso_user_api_response import fastcomments/models/model_pending_comment_to_sync_outbound -import fastcomments/models/model_post_remove_comment_response +import fastcomments/models/model_post_remove_comment_api_response import fastcomments/models/model_pre_ban_summary import fastcomments/models/model_pub_sub_comment import fastcomments/models/model_pub_sub_comment_base @@ -628,7 +628,7 @@ export model_patch_domain_config_response export model_patch_page_api_response export model_patch_sso_user_api_response export model_pending_comment_to_sync_outbound -export model_post_remove_comment_response +export model_post_remove_comment_api_response export model_pre_ban_summary export model_pub_sub_comment export model_pub_sub_comment_base diff --git a/client/fastcomments/apis/api_default.nim b/client/fastcomments/apis/api_default.nim index 4927448..4a8a7fa 100644 --- a/client/fastcomments/apis/api_default.nim +++ b/client/fastcomments/apis/api_default.nim @@ -179,24 +179,22 @@ proc addDomainConfig*(httpClient: HttpClient, tenantId: string, addDomainConfigP constructResult[AddDomainConfigResponse](response) -proc addHashTag*(httpClient: HttpClient, createHashTagBody: CreateHashTagBody, tenantId: string = ""): (Option[CreateHashTagResponse], Response) = +proc addHashTag*(httpClient: HttpClient, tenantId: string, createHashTagBody: CreateHashTagBody): (Option[CreateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags" & "?" & url_encoded_query_params, $(%createHashTagBody)) constructResult[CreateHashTagResponse](response) -proc addHashTagsBulk*(httpClient: HttpClient, bulkCreateHashTagsBody: BulkCreateHashTagsBody, tenantId: string = ""): (Option[BulkCreateHashTagsResponse], Response) = +proc addHashTagsBulk*(httpClient: HttpClient, tenantId: string, bulkCreateHashTagsBody: BulkCreateHashTagsBody): (Option[BulkCreateHashTagsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.post(basepath & "/api/v1/hash-tags/bulk" & "?" & url_encoded_query_params, $(%bulkCreateHashTagsBody)) @@ -225,11 +223,11 @@ proc addSSOUser*(httpClient: HttpClient, tenantId: string, createAPISSOUserData: constructResult[AddSSOUserAPIResponse](response) -type ApiAggregateOptions* = object +type AggregateOptions* = object parentTenantId*: string includeStats*: bool -proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: AggregationRequest, options: ApiAggregateOptions): (Option[AggregateResponse], Response) = +proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: AggregationRequest, options: AggregateOptions): (Option[AggregateResponse], Response) = let parentTenantId = options.parentTenantId let includeStats = options.includeStats ## @@ -246,7 +244,7 @@ proc aggregate*(httpClient: HttpClient, tenantId: string, aggregationRequest: Ag constructResult[AggregateResponse](response) -type ApiAggregateQuestionResultsOptions* = object +type AggregateQuestionResultsOptions* = object questionId*: string questionIds*: seq[string] urlId*: string @@ -254,7 +252,7 @@ type ApiAggregateQuestionResultsOptions* = object startDate*: string forceRecalculate*: bool -proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiAggregateQuestionResultsOptions): (Option[AggregateQuestionResultsResponse], Response) = +proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, options: AggregateQuestionResultsOptions): (Option[AggregateQuestionResultsResponse], Response) = let questionId = options.questionId let questionIds = options.questionIds let urlId = options.urlId @@ -282,11 +280,11 @@ proc aggregateQuestionResults*(httpClient: HttpClient, tenantId: string, options constructResult[AggregateQuestionResultsResponse](response) -type ApiBlockUserFromCommentOptions* = object +type BlockUserFromCommentOptions* = object userId*: string anonUserId*: string -proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions): (Option[BlockSuccess], Response) = +proc blockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, options: BlockUserFromCommentOptions): (Option[BlockSuccess], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -328,7 +326,7 @@ proc changeTicketState*(httpClient: HttpClient, tenantId: string, userId: string constructResult[ChangeTicketStateResponse](response) -type ApiCombineCommentsWithQuestionResultsOptions* = object +type CombineCommentsWithQuestionResultsOptions* = object questionId*: string questionIds*: seq[string] urlId*: string @@ -338,7 +336,7 @@ type ApiCombineCommentsWithQuestionResultsOptions* = object maxValue*: float64 limit*: float64 -proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiCombineCommentsWithQuestionResultsOptions): (Option[CombineQuestionResultsWithCommentsResponse], Response) = +proc combineCommentsWithQuestionResults*(httpClient: HttpClient, tenantId: string, options: CombineCommentsWithQuestionResultsOptions): (Option[CombineQuestionResultsWithCommentsResponse], Response) = let questionId = options.questionId let questionIds = options.questionIds let urlId = options.urlId @@ -383,13 +381,13 @@ proc createEmailTemplate*(httpClient: HttpClient, tenantId: string, createEmailT constructResult[CreateEmailTemplateResponse](response) -type ApiCreateFeedPostOptions* = object +type CreateFeedPostOptions* = object broadcastId*: string isLive*: bool doSpamCheck*: bool skipDupCheck*: bool -proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions): (Option[CreateFeedPostsResponse], Response) = +proc createFeedPost*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostOptions): (Option[CreateFeedPostsResponse], Response) = let broadcastId = options.broadcastId let isLive = options.isLive let doSpamCheck = options.doSpamCheck @@ -512,11 +510,11 @@ proc createUserBadge*(httpClient: HttpClient, tenantId: string, createUserBadgeP constructResult[APICreateUserBadgeResponse](response) -type ApiCreateVoteOptions* = object +type CreateVoteOptions* = object userId*: string anonUserId*: string -proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, options: ApiCreateVoteOptions): (Option[VoteResponse], Response) = +proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, direction: string, options: CreateVoteOptions): (Option[VoteResponse], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -534,11 +532,11 @@ proc createVote*(httpClient: HttpClient, tenantId: string, commentId: string, di constructResult[VoteResponse](response) -type ApiDeleteCommentOptions* = object +type DeleteCommentOptions* = object contextUserId*: string isLive*: bool -proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteCommentOptions): (Option[DeleteCommentResult], Response) = +proc deleteComment*(httpClient: HttpClient, tenantId: string, id: string, options: DeleteCommentOptions): (Option[DeleteCommentResult], Response) = let contextUserId = options.contextUserId let isLive = options.isLive ## @@ -584,12 +582,11 @@ proc deleteEmailTemplateRenderError*(httpClient: HttpClient, tenantId: string, i constructResult[APIEmptyResponse](response) -proc deleteHashTag*(httpClient: HttpClient, tag: string, deleteHashTagRequestBody: DeleteHashTagRequestBody, tenantId: string = ""): (Option[APIEmptyResponse], Response) = +proc deleteHashTag*(httpClient: HttpClient, tenantId: string, tag: string, deleteHashTagRequestBody: DeleteHashTagRequestBody): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.request(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, httpMethod = HttpDelete, body = $(%deleteHashTagRequestBody)) constructResult[APIEmptyResponse](response) @@ -657,11 +654,11 @@ proc deleteQuestionResult*(httpClient: HttpClient, tenantId: string, id: string) constructResult[APIEmptyResponse](response) -type ApiDeleteSSOUserOptions* = object +type DeleteSSOUserOptions* = object deleteComments*: bool commentDeleteMode*: string -proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteSSOUserOptions): (Option[DeleteSSOUserAPIResponse], Response) = +proc deleteSSOUser*(httpClient: HttpClient, tenantId: string, id: string, options: DeleteSSOUserOptions): (Option[DeleteSSOUserAPIResponse], Response) = let deleteComments = options.deleteComments let commentDeleteMode = options.commentDeleteMode ## @@ -711,11 +708,11 @@ proc deleteTenantPackage*(httpClient: HttpClient, tenantId: string, id: string): constructResult[APIEmptyResponse](response) -type ApiDeleteTenantUserOptions* = object +type DeleteTenantUserOptions* = object deleteComments*: string commentDeleteMode*: string -proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, options: ApiDeleteTenantUserOptions): (Option[APIEmptyResponse], Response) = +proc deleteTenantUser*(httpClient: HttpClient, tenantId: string, id: string, options: DeleteTenantUserOptions): (Option[APIEmptyResponse], Response) = let deleteComments = options.deleteComments let commentDeleteMode = options.commentDeleteMode ## @@ -753,11 +750,11 @@ proc deleteVote*(httpClient: HttpClient, tenantId: string, id: string, editKey: constructResult[VoteDeleteResponse](response) -type ApiFlagCommentOptions* = object +type FlagCommentOptions* = object userId*: string anonUserId*: string -proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiFlagCommentOptions): (Option[FlagCommentResponse], Response) = +proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, options: FlagCommentOptions): (Option[FlagCommentResponse], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -773,14 +770,14 @@ proc flagComment*(httpClient: HttpClient, tenantId: string, id: string, options: constructResult[FlagCommentResponse](response) -type ApiGetAuditLogsOptions* = object +type GetAuditLogsOptions* = object limit*: float64 skip*: float64 order*: SORTDIR after*: float64 before*: float64 -proc getAuditLogs*(httpClient: HttpClient, tenantId: string, options: ApiGetAuditLogsOptions): (Option[GetAuditLogsResponse], Response) = +proc getAuditLogs*(httpClient: HttpClient, tenantId: string, options: GetAuditLogsOptions): (Option[GetAuditLogsResponse], Response) = let limit = options.limit let skip = options.skip let order = options.order @@ -825,7 +822,7 @@ proc getComment*(httpClient: HttpClient, tenantId: string, id: string): (Option[ constructResult[APIGetCommentResponse](response) -type ApiGetCommentsOptions* = object +type GetCommentsOptions* = object page*: int limit*: int skip*: int @@ -843,7 +840,7 @@ type ApiGetCommentsOptions* = object fromDate*: int64 toDate*: int64 -proc getComments*(httpClient: HttpClient, tenantId: string, options: ApiGetCommentsOptions): (Option[APIGetCommentsResponse], Response) = +proc getComments*(httpClient: HttpClient, tenantId: string, options: GetCommentsOptions): (Option[APIGetCommentsResponse], Response) = let page = options.page let limit = options.limit let skip = options.skip @@ -965,12 +962,12 @@ proc getEmailTemplates*(httpClient: HttpClient, tenantId: string, skip: float64) constructResult[GetEmailTemplatesResponse](response) -type ApiGetFeedPostsOptions* = object +type GetFeedPostsOptions* = object afterId*: string limit*: int tags*: seq[string] -proc getFeedPosts*(httpClient: HttpClient, tenantId: string, options: ApiGetFeedPostsOptions): (Option[GetFeedPostsResponse], Response) = +proc getFeedPosts*(httpClient: HttpClient, tenantId: string, options: GetFeedPostsOptions): (Option[GetFeedPostsResponse], Response) = let afterId = options.afterId let limit = options.limit let tags = options.tags @@ -1023,14 +1020,14 @@ proc getModerators*(httpClient: HttpClient, tenantId: string, skip: float64): (O constructResult[GetModeratorsResponse](response) -type ApiGetNotificationCountOptions* = object +type GetNotificationCountOptions* = object userId*: string urlId*: string fromCommentId*: string viewed*: bool `type`*: string -proc getNotificationCount*(httpClient: HttpClient, tenantId: string, options: ApiGetNotificationCountOptions): (Option[GetNotificationCountResponse], Response) = +proc getNotificationCount*(httpClient: HttpClient, tenantId: string, options: GetNotificationCountOptions): (Option[GetNotificationCountResponse], Response) = let userId = options.userId let urlId = options.urlId let fromCommentId = options.fromCommentId @@ -1055,7 +1052,7 @@ proc getNotificationCount*(httpClient: HttpClient, tenantId: string, options: Ap constructResult[GetNotificationCountResponse](response) -type ApiGetNotificationsOptions* = object +type GetNotificationsOptions* = object userId*: string urlId*: string fromCommentId*: string @@ -1063,7 +1060,7 @@ type ApiGetNotificationsOptions* = object `type`*: string skip*: float64 -proc getNotifications*(httpClient: HttpClient, tenantId: string, options: ApiGetNotificationsOptions): (Option[GetNotificationsResponse], Response) = +proc getNotifications*(httpClient: HttpClient, tenantId: string, options: GetNotificationsOptions): (Option[GetNotificationsResponse], Response) = let userId = options.userId let urlId = options.urlId let fromCommentId = options.fromCommentId @@ -1112,7 +1109,7 @@ proc getPages*(httpClient: HttpClient, tenantId: string): (Option[GetPagesAPIRes constructResult[GetPagesAPIResponse](response) -type ApiGetPendingWebhookEventCountOptions* = object +type GetPendingWebhookEventCountOptions* = object commentId*: string externalId*: string eventType*: string @@ -1120,7 +1117,7 @@ type ApiGetPendingWebhookEventCountOptions* = object domain*: string attemptCountGT*: float64 -proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, options: ApiGetPendingWebhookEventCountOptions): (Option[GetPendingWebhookEventCountResponse], Response) = +proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, options: GetPendingWebhookEventCountOptions): (Option[GetPendingWebhookEventCountResponse], Response) = let commentId = options.commentId let externalId = options.externalId let eventType = options.eventType @@ -1148,7 +1145,7 @@ proc getPendingWebhookEventCount*(httpClient: HttpClient, tenantId: string, opti constructResult[GetPendingWebhookEventCountResponse](response) -type ApiGetPendingWebhookEventsOptions* = object +type GetPendingWebhookEventsOptions* = object commentId*: string externalId*: string eventType*: string @@ -1157,7 +1154,7 @@ type ApiGetPendingWebhookEventsOptions* = object attemptCountGT*: float64 skip*: float64 -proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, options: ApiGetPendingWebhookEventsOptions): (Option[GetPendingWebhookEventsResponse], Response) = +proc getPendingWebhookEvents*(httpClient: HttpClient, tenantId: string, options: GetPendingWebhookEventsOptions): (Option[GetPendingWebhookEventsResponse], Response) = let commentId = options.commentId let externalId = options.externalId let eventType = options.eventType @@ -1220,7 +1217,7 @@ proc getQuestionResult*(httpClient: HttpClient, tenantId: string, id: string): ( constructResult[GetQuestionResultResponse](response) -type ApiGetQuestionResultsOptions* = object +type GetQuestionResultsOptions* = object urlId*: string userId*: string startDate*: string @@ -1228,7 +1225,7 @@ type ApiGetQuestionResultsOptions* = object questionIds*: string skip*: float64 -proc getQuestionResults*(httpClient: HttpClient, tenantId: string, options: ApiGetQuestionResultsOptions): (Option[GetQuestionResultsResponse], Response) = +proc getQuestionResults*(httpClient: HttpClient, tenantId: string, options: GetQuestionResultsOptions): (Option[GetQuestionResultsResponse], Response) = let urlId = options.urlId let userId = options.userId let startDate = options.startDate @@ -1310,13 +1307,13 @@ proc getTenant*(httpClient: HttpClient, tenantId: string, id: string): (Option[G constructResult[GetTenantResponse](response) -type ApiGetTenantDailyUsagesOptions* = object +type GetTenantDailyUsagesOptions* = object yearNumber*: float64 monthNumber*: float64 dayNumber*: float64 skip*: float64 -proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantDailyUsagesOptions): (Option[GetTenantDailyUsagesResponse], Response) = +proc getTenantDailyUsages*(httpClient: HttpClient, tenantId: string, options: GetTenantDailyUsagesOptions): (Option[GetTenantDailyUsagesResponse], Response) = let yearNumber = options.yearNumber let monthNumber = options.monthNumber let dayNumber = options.dayNumber @@ -1382,11 +1379,11 @@ proc getTenantUsers*(httpClient: HttpClient, tenantId: string, skip: float64): ( constructResult[GetTenantUsersResponse](response) -type ApiGetTenantsOptions* = object +type GetTenantsOptions* = object meta*: string skip*: float64 -proc getTenants*(httpClient: HttpClient, tenantId: string, options: ApiGetTenantsOptions): (Option[GetTenantsResponse], Response) = +proc getTenants*(httpClient: HttpClient, tenantId: string, options: GetTenantsOptions): (Option[GetTenantsResponse], Response) = let meta = options.meta let skip = options.skip ## @@ -1414,13 +1411,13 @@ proc getTicket*(httpClient: HttpClient, tenantId: string, id: string, userId: st constructResult[GetTicketResponse](response) -type ApiGetTicketsOptions* = object +type GetTicketsOptions* = object userId*: string state*: float64 skip*: float64 limit*: float64 -proc getTickets*(httpClient: HttpClient, tenantId: string, options: ApiGetTicketsOptions): (Option[GetTicketsResponse], Response) = +proc getTickets*(httpClient: HttpClient, tenantId: string, options: GetTicketsOptions): (Option[GetTicketsResponse], Response) = let userId = options.userId let state = options.state let skip = options.skip @@ -1482,12 +1479,12 @@ proc getUserBadgeProgressByUserId*(httpClient: HttpClient, tenantId: string, use constructResult[APIGetUserBadgeProgressResponse](response) -type ApiGetUserBadgeProgressListOptions* = object +type GetUserBadgeProgressListOptions* = object userId*: string limit*: float64 skip*: float64 -proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, options: ApiGetUserBadgeProgressListOptions): (Option[APIGetUserBadgeProgressListResponse], Response) = +proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, options: GetUserBadgeProgressListOptions): (Option[APIGetUserBadgeProgressListResponse], Response) = let userId = options.userId let limit = options.limit let skip = options.skip @@ -1506,7 +1503,7 @@ proc getUserBadgeProgressList*(httpClient: HttpClient, tenantId: string, options constructResult[APIGetUserBadgeProgressListResponse](response) -type ApiGetUserBadgesOptions* = object +type GetUserBadgesOptions* = object userId*: string badgeId*: string `type`*: float64 @@ -1514,7 +1511,7 @@ type ApiGetUserBadgesOptions* = object limit*: float64 skip*: float64 -proc getUserBadges*(httpClient: HttpClient, tenantId: string, options: ApiGetUserBadgesOptions): (Option[APIGetUserBadgesResponse], Response) = +proc getUserBadges*(httpClient: HttpClient, tenantId: string, options: GetUserBadgesOptions): (Option[APIGetUserBadgesResponse], Response) = let userId = options.userId let badgeId = options.badgeId let `type` = options.`type` @@ -1553,11 +1550,11 @@ proc getVotes*(httpClient: HttpClient, tenantId: string, urlId: string): (Option constructResult[GetVotesResponse](response) -type ApiGetVotesForUserOptions* = object +type GetVotesForUserOptions* = object userId*: string anonUserId*: string -proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetVotesForUserOptions): (Option[GetVotesForUserResponse], Response) = +proc getVotesForUser*(httpClient: HttpClient, tenantId: string, urlId: string, options: GetVotesForUserOptions): (Option[GetVotesForUserResponse], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -1585,12 +1582,11 @@ proc patchDomainConfig*(httpClient: HttpClient, tenantId: string, domainToUpdate constructResult[PatchDomainConfigResponse](response) -proc patchHashTag*(httpClient: HttpClient, tag: string, updateHashTagBody: UpdateHashTagBody, tenantId: string = ""): (Option[UpdateHashTagResponse], Response) = +proc patchHashTag*(httpClient: HttpClient, tenantId: string, tag: string, updateHashTagBody: UpdateHashTagBody): (Option[UpdateHashTagResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) let url_encoded_query_params = encodeQuery(query_params_list) let response = httpClient.patch(basepath & fmt"/api/v1/hash-tags/{tag}" & "?" & url_encoded_query_params, $(%updateHashTagBody)) @@ -1682,13 +1678,13 @@ proc replaceTenantUser*(httpClient: HttpClient, tenantId: string, id: string, re constructResult[APIEmptyResponse](response) -type ApiSaveCommentOptions* = object +type SaveCommentOptions* = object isLive*: bool doSpamCheck*: bool sendEmails*: bool populateNotifications*: bool -proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions): (Option[APISaveCommentResponse], Response) = +proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: CreateCommentParams, options: SaveCommentOptions): (Option[APISaveCommentResponse], Response) = let isLive = options.isLive let doSpamCheck = options.doSpamCheck let sendEmails = options.sendEmails @@ -1711,13 +1707,13 @@ proc saveComment*(httpClient: HttpClient, tenantId: string, createCommentParams: constructResult[APISaveCommentResponse](response) -type ApiSaveCommentsBulkOptions* = object +type SaveCommentsBulkOptions* = object isLive*: bool doSpamCheck*: bool sendEmails*: bool populateNotifications*: bool -proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], options: ApiSaveCommentsBulkOptions): (Option[seq[SaveCommentsBulkResponse]], Response) = +proc saveCommentsBulk*(httpClient: HttpClient, tenantId: string, createCommentParams: seq[CreateCommentParams], options: SaveCommentsBulkOptions): (Option[seq[SaveCommentsBulkResponse]], Response) = let isLive = options.isLive let doSpamCheck = options.doSpamCheck let sendEmails = options.sendEmails @@ -1763,11 +1759,11 @@ proc sendLoginLink*(httpClient: HttpClient, tenantId: string, id: string, redire constructResult[APIEmptyResponse](response) -type ApiUnBlockUserFromCommentOptions* = object +type UnBlockUserFromCommentOptions* = object userId*: string anonUserId*: string -proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions): (Option[UnblockSuccess], Response) = +proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, options: UnBlockUserFromCommentOptions): (Option[UnblockSuccess], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -1784,11 +1780,11 @@ proc unBlockUserFromComment*(httpClient: HttpClient, tenantId: string, id: strin constructResult[UnblockSuccess](response) -type ApiUnFlagCommentOptions* = object +type UnFlagCommentOptions* = object userId*: string anonUserId*: string -proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, options: ApiUnFlagCommentOptions): (Option[FlagCommentResponse], Response) = +proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, options: UnFlagCommentOptions): (Option[FlagCommentResponse], Response) = let userId = options.userId let anonUserId = options.anonUserId ## @@ -1804,12 +1800,12 @@ proc unFlagComment*(httpClient: HttpClient, tenantId: string, id: string, option constructResult[FlagCommentResponse](response) -type ApiUpdateCommentOptions* = object +type UpdateCommentOptions* = object contextUserId*: string doSpamCheck*: bool isLive*: bool -proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions): (Option[APIEmptyResponse], Response) = +proc updateComment*(httpClient: HttpClient, tenantId: string, id: string, updatableCommentParams: UpdatableCommentParams, options: UpdateCommentOptions): (Option[APIEmptyResponse], Response) = let contextUserId = options.contextUserId let doSpamCheck = options.doSpamCheck let isLive = options.isLive diff --git a/client/fastcomments/apis/api_moderation.nim b/client/fastcomments/apis/api_moderation.nim index 6054767..8c078c4 100644 --- a/client/fastcomments/apis/api_moderation.nim +++ b/client/fastcomments/apis/api_moderation.nim @@ -50,7 +50,7 @@ import ../models/model_moderation_page_search_response import ../models/model_moderation_site_search_response import ../models/model_moderation_suggest_response import ../models/model_moderation_user_search_response -import ../models/model_post_remove_comment_response +import ../models/model_post_remove_comment_api_response import ../models/model_pre_ban_summary import ../models/model_remove_user_badge_response import ../models/model_set_comment_approved_response @@ -75,30 +75,27 @@ template constructResult[T](response: Response): untyped = (none(T.typedesc), response) -type ApiDeleteModerationVoteOptions* = object - tenantId*: string +type DeleteModerationVoteOptions* = object broadcastId*: string sso*: string -proc deleteModerationVote*(httpClient: HttpClient, commentId: string, voteId: string, options: ApiDeleteModerationVoteOptions): (Option[VoteDeleteResponse], Response) = - let tenantId = options.tenantId +proc deleteModerationVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, options: DeleteModerationVoteOptions): (Option[VoteDeleteResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.delete(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" & "?" & url_encoded_query_params) + let response = httpClient.delete(basepath & fmt"/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}" & "?" & url_encoded_query_params) constructResult[VoteDeleteResponse](response) -type ApiGetApiCommentsOptions* = object +type GetApiCommentsOptions* = object page*: float64 count*: float64 textSearch*: string @@ -107,10 +104,9 @@ type ApiGetApiCommentsOptions* = object searchFilters*: string sorts*: string demo*: bool - tenantId*: string sso*: string -proc getApiComments*(httpClient: HttpClient, options: ApiGetApiCommentsOptions): (Option[ModerationAPIGetCommentsResponse], Response) = +proc getApiComments*(httpClient: HttpClient, tenantId: string, options: GetApiCommentsOptions): (Option[ModerationAPIGetCommentsResponse], Response) = let page = options.page let count = options.count let textSearch = options.textSearch @@ -119,10 +115,10 @@ proc getApiComments*(httpClient: HttpClient, options: ApiGetApiCommentsOptions): let searchFilters = options.searchFilters let sorts = options.sorts let demo = options.demo - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $page != "": query_params_list.add(("page", $page)) if $count != "": @@ -139,60 +135,54 @@ proc getApiComments*(httpClient: HttpClient, options: ApiGetApiCommentsOptions): query_params_list.add(("sorts", $sorts)) if $demo != "": query_params_list.add(("demo", $demo)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/comments" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/api/comments" & "?" & url_encoded_query_params) constructResult[ModerationAPIGetCommentsResponse](response) -type ApiGetApiExportStatusOptions* = object +type GetApiExportStatusOptions* = object batchJobId*: string - tenantId*: string sso*: string -proc getApiExportStatus*(httpClient: HttpClient, options: ApiGetApiExportStatusOptions): (Option[ModerationExportStatusResponse], Response) = +proc getApiExportStatus*(httpClient: HttpClient, tenantId: string, options: GetApiExportStatusOptions): (Option[ModerationExportStatusResponse], Response) = let batchJobId = options.batchJobId - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $batchJobId != "": query_params_list.add(("batchJobId", $batchJobId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/export/status" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/api/export/status" & "?" & url_encoded_query_params) constructResult[ModerationExportStatusResponse](response) -type ApiGetApiIdsOptions* = object +type GetApiIdsOptions* = object textSearch*: string byIPFromComment*: string filters*: string searchFilters*: string afterId*: string demo*: bool - tenantId*: string sso*: string -proc getApiIds*(httpClient: HttpClient, options: ApiGetApiIdsOptions): (Option[ModerationAPIGetCommentIdsResponse], Response) = +proc getApiIds*(httpClient: HttpClient, tenantId: string, options: GetApiIdsOptions): (Option[ModerationAPIGetCommentIdsResponse], Response) = let textSearch = options.textSearch let byIPFromComment = options.byIPFromComment let filters = options.filters let searchFilters = options.searchFilters let afterId = options.afterId let demo = options.demo - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $textSearch != "": query_params_list.add(("text-search", $textSearch)) if $byIPFromComment != "": @@ -205,92 +195,68 @@ proc getApiIds*(httpClient: HttpClient, options: ApiGetApiIdsOptions): (Option[M query_params_list.add(("afterId", $afterId)) if $demo != "": query_params_list.add(("demo", $demo)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/api/ids" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/api/ids" & "?" & url_encoded_query_params) constructResult[ModerationAPIGetCommentIdsResponse](response) -type ApiGetBanUsersFromCommentOptions* = object - tenantId*: string - sso*: string - -proc getBanUsersFromComment*(httpClient: HttpClient, commentId: string, options: ApiGetBanUsersFromCommentOptions): (Option[GetBannedUsersFromCommentResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getBanUsersFromComment*(httpClient: HttpClient, tenantId: string, commentId: string, sso: string = ""): (Option[GetBannedUsersFromCommentResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}" & "?" & url_encoded_query_params) constructResult[GetBannedUsersFromCommentResponse](response) -type ApiGetCommentBanStatusOptions* = object - tenantId*: string - sso*: string - -proc getCommentBanStatus*(httpClient: HttpClient, commentId: string, options: ApiGetCommentBanStatusOptions): (Option[GetCommentBanStatusResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getCommentBanStatus*(httpClient: HttpClient, tenantId: string, commentId: string, sso: string = ""): (Option[GetCommentBanStatusResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}" & "?" & url_encoded_query_params) constructResult[GetCommentBanStatusResponse](response) -type ApiGetCommentChildrenOptions* = object - tenantId*: string - sso*: string - -proc getCommentChildren*(httpClient: HttpClient, commentId: string, options: ApiGetCommentChildrenOptions): (Option[ModerationAPIChildCommentsResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getCommentChildren*(httpClient: HttpClient, tenantId: string, commentId: string, sso: string = ""): (Option[ModerationAPIChildCommentsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment-children/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}" & "?" & url_encoded_query_params) constructResult[ModerationAPIChildCommentsResponse](response) -type ApiGetCountOptions* = object +type GetCountOptions* = object textSearch*: string byIPFromComment*: string filter*: string searchFilters*: string demo*: bool - tenantId*: string sso*: string -proc getCount*(httpClient: HttpClient, options: ApiGetCountOptions): (Option[ModerationAPICountCommentsResponse], Response) = +proc getCount*(httpClient: HttpClient, tenantId: string, options: GetCountOptions): (Option[ModerationAPICountCommentsResponse], Response) = let textSearch = options.textSearch let byIPFromComment = options.byIPFromComment let filter = options.filter let searchFilters = options.searchFilters let demo = options.demo - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $textSearch != "": query_params_list.add(("text-search", $textSearch)) if $byIPFromComment != "": @@ -301,408 +267,337 @@ proc getCount*(httpClient: HttpClient, options: ApiGetCountOptions): (Option[Mod query_params_list.add(("searchFilters", $searchFilters)) if $demo != "": query_params_list.add(("demo", $demo)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/count" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/count" & "?" & url_encoded_query_params) constructResult[ModerationAPICountCommentsResponse](response) -type ApiGetCountsOptions* = object - tenantId*: string - sso*: string - -proc getCounts*(httpClient: HttpClient, options: ApiGetCountsOptions): (Option[GetBannedUsersCountResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getCounts*(httpClient: HttpClient, tenantId: string, sso: string = ""): (Option[GetBannedUsersCountResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/banned-users/counts" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/banned-users/mod_api/counts" & "?" & url_encoded_query_params) constructResult[GetBannedUsersCountResponse](response) -type ApiGetLogsOptions* = object - tenantId*: string - sso*: string - -proc getLogs*(httpClient: HttpClient, commentId: string, options: ApiGetLogsOptions): (Option[ModerationAPIGetLogsResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getLogs*(httpClient: HttpClient, tenantId: string, commentId: string, sso: string = ""): (Option[ModerationAPIGetLogsResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/logs/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/logs/{commentId}" & "?" & url_encoded_query_params) constructResult[ModerationAPIGetLogsResponse](response) -type ApiGetManualBadgesOptions* = object - tenantId*: string - sso*: string - -proc getManualBadges*(httpClient: HttpClient, options: ApiGetManualBadgesOptions): (Option[GetTenantManualBadgesResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getManualBadges*(httpClient: HttpClient, tenantId: string, sso: string = ""): (Option[GetTenantManualBadgesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/get-manual-badges" & "?" & url_encoded_query_params) constructResult[GetTenantManualBadgesResponse](response) -type ApiGetManualBadgesForUserOptions* = object +type GetManualBadgesForUserOptions* = object badgesUserId*: string commentId*: string - tenantId*: string sso*: string -proc getManualBadgesForUser*(httpClient: HttpClient, options: ApiGetManualBadgesForUserOptions): (Option[GetUserManualBadgesResponse], Response) = +proc getManualBadgesForUser*(httpClient: HttpClient, tenantId: string, options: GetManualBadgesForUserOptions): (Option[GetUserManualBadgesResponse], Response) = let badgesUserId = options.badgesUserId let commentId = options.commentId - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $badgesUserId != "": query_params_list.add(("badgesUserId", $badgesUserId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-manual-badges-for-user" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user" & "?" & url_encoded_query_params) constructResult[GetUserManualBadgesResponse](response) -type ApiGetModerationCommentOptions* = object +type GetModerationCommentOptions* = object includeEmail*: bool includeIP*: bool - tenantId*: string sso*: string -proc getModerationComment*(httpClient: HttpClient, commentId: string, options: ApiGetModerationCommentOptions): (Option[ModerationAPICommentResponse], Response) = +proc getModerationComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: GetModerationCommentOptions): (Option[ModerationAPICommentResponse], Response) = let includeEmail = options.includeEmail let includeIP = options.includeIP - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $includeEmail != "": query_params_list.add(("includeEmail", $includeEmail)) if $includeIP != "": query_params_list.add(("includeIP", $includeIP)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/comment/{commentId}" & "?" & url_encoded_query_params) constructResult[ModerationAPICommentResponse](response) -type ApiGetModerationCommentTextOptions* = object - tenantId*: string - sso*: string - -proc getModerationCommentText*(httpClient: HttpClient, commentId: string, options: ApiGetModerationCommentTextOptions): (Option[GetCommentTextResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getModerationCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, sso: string = ""): (Option[GetCommentTextResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/get-comment-text/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}" & "?" & url_encoded_query_params) constructResult[GetCommentTextResponse](response) -type ApiGetPreBanSummaryOptions* = object +type GetPreBanSummaryOptions* = object includeByUserIdAndEmail*: bool includeByIP*: bool includeByEmailDomain*: bool - tenantId*: string sso*: string -proc getPreBanSummary*(httpClient: HttpClient, commentId: string, options: ApiGetPreBanSummaryOptions): (Option[PreBanSummary], Response) = +proc getPreBanSummary*(httpClient: HttpClient, tenantId: string, commentId: string, options: GetPreBanSummaryOptions): (Option[PreBanSummary], Response) = let includeByUserIdAndEmail = options.includeByUserIdAndEmail let includeByIP = options.includeByIP let includeByEmailDomain = options.includeByEmailDomain - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $includeByUserIdAndEmail != "": query_params_list.add(("includeByUserIdAndEmail", $includeByUserIdAndEmail)) if $includeByIP != "": query_params_list.add(("includeByIP", $includeByIP)) if $includeByEmailDomain != "": query_params_list.add(("includeByEmailDomain", $includeByEmailDomain)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & fmt"/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}" & "?" & url_encoded_query_params) constructResult[PreBanSummary](response) -type ApiGetSearchCommentsSummaryOptions* = object +type GetSearchCommentsSummaryOptions* = object value*: string filters*: string searchFilters*: string - tenantId*: string sso*: string -proc getSearchCommentsSummary*(httpClient: HttpClient, options: ApiGetSearchCommentsSummaryOptions): (Option[ModerationCommentSearchResponse], Response) = +proc getSearchCommentsSummary*(httpClient: HttpClient, tenantId: string, options: GetSearchCommentsSummaryOptions): (Option[ModerationCommentSearchResponse], Response) = let value = options.value let filters = options.filters let searchFilters = options.searchFilters - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $value != "": query_params_list.add(("value", $value)) if $filters != "": query_params_list.add(("filters", $filters)) if $searchFilters != "": query_params_list.add(("searchFilters", $searchFilters)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/comments/summary" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/search/comments/summary" & "?" & url_encoded_query_params) constructResult[ModerationCommentSearchResponse](response) -type ApiGetSearchPagesOptions* = object +type GetSearchPagesOptions* = object value*: string - tenantId*: string sso*: string -proc getSearchPages*(httpClient: HttpClient, options: ApiGetSearchPagesOptions): (Option[ModerationPageSearchResponse], Response) = +proc getSearchPages*(httpClient: HttpClient, tenantId: string, options: GetSearchPagesOptions): (Option[ModerationPageSearchResponse], Response) = let value = options.value - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $value != "": query_params_list.add(("value", $value)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/pages" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/search/pages" & "?" & url_encoded_query_params) constructResult[ModerationPageSearchResponse](response) -type ApiGetSearchSitesOptions* = object +type GetSearchSitesOptions* = object value*: string - tenantId*: string sso*: string -proc getSearchSites*(httpClient: HttpClient, options: ApiGetSearchSitesOptions): (Option[ModerationSiteSearchResponse], Response) = +proc getSearchSites*(httpClient: HttpClient, tenantId: string, options: GetSearchSitesOptions): (Option[ModerationSiteSearchResponse], Response) = let value = options.value - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $value != "": query_params_list.add(("value", $value)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/sites" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/search/sites" & "?" & url_encoded_query_params) constructResult[ModerationSiteSearchResponse](response) -type ApiGetSearchSuggestOptions* = object +type GetSearchSuggestOptions* = object textSearch*: string - tenantId*: string sso*: string -proc getSearchSuggest*(httpClient: HttpClient, options: ApiGetSearchSuggestOptions): (Option[ModerationSuggestResponse], Response) = +proc getSearchSuggest*(httpClient: HttpClient, tenantId: string, options: GetSearchSuggestOptions): (Option[ModerationSuggestResponse], Response) = let textSearch = options.textSearch - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $textSearch != "": query_params_list.add(("text-search", $textSearch)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/suggest" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/search/suggest" & "?" & url_encoded_query_params) constructResult[ModerationSuggestResponse](response) -type ApiGetSearchUsersOptions* = object +type GetSearchUsersOptions* = object value*: string - tenantId*: string sso*: string -proc getSearchUsers*(httpClient: HttpClient, options: ApiGetSearchUsersOptions): (Option[ModerationUserSearchResponse], Response) = +proc getSearchUsers*(httpClient: HttpClient, tenantId: string, options: GetSearchUsersOptions): (Option[ModerationUserSearchResponse], Response) = let value = options.value - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $value != "": query_params_list.add(("value", $value)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/search/users" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/search/users" & "?" & url_encoded_query_params) constructResult[ModerationUserSearchResponse](response) -type ApiGetTrustFactorOptions* = object +type GetTrustFactorOptions* = object userId*: string - tenantId*: string sso*: string -proc getTrustFactor*(httpClient: HttpClient, options: ApiGetTrustFactorOptions): (Option[GetUserTrustFactorResponse], Response) = +proc getTrustFactor*(httpClient: HttpClient, tenantId: string, options: GetTrustFactorOptions): (Option[GetUserTrustFactorResponse], Response) = let userId = options.userId - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $userId != "": query_params_list.add(("userId", $userId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-trust-factor" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/get-trust-factor" & "?" & url_encoded_query_params) constructResult[GetUserTrustFactorResponse](response) -type ApiGetUserBanPreferenceOptions* = object - tenantId*: string - sso*: string - -proc getUserBanPreference*(httpClient: HttpClient, options: ApiGetUserBanPreferenceOptions): (Option[APIModerateGetUserBanPreferencesResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc getUserBanPreference*(httpClient: HttpClient, tenantId: string, sso: string = ""): (Option[APIModerateGetUserBanPreferencesResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/user-ban-preference" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/user-ban-preference" & "?" & url_encoded_query_params) constructResult[APIModerateGetUserBanPreferencesResponse](response) -type ApiGetUserInternalProfileOptions* = object +type GetUserInternalProfileOptions* = object commentId*: string - tenantId*: string sso*: string -proc getUserInternalProfile*(httpClient: HttpClient, options: ApiGetUserInternalProfileOptions): (Option[GetUserInternalProfileResponse], Response) = +proc getUserInternalProfile*(httpClient: HttpClient, tenantId: string, options: GetUserInternalProfileOptions): (Option[GetUserInternalProfileResponse], Response) = let commentId = options.commentId - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/get-user-internal-profile" & "?" & url_encoded_query_params) + let response = httpClient.get(basepath & "/auth/my-account/moderate-comments/mod_api/get-user-internal-profile" & "?" & url_encoded_query_params) constructResult[GetUserInternalProfileResponse](response) -type ApiPostAdjustCommentVotesOptions* = object - tenantId*: string +type PostAdjustCommentVotesOptions* = object broadcastId*: string sso*: string -proc postAdjustCommentVotes*(httpClient: HttpClient, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions): (Option[AdjustVotesResponse], Response) = - let tenantId = options.tenantId +proc postAdjustCommentVotes*(httpClient: HttpClient, tenantId: string, commentId: string, adjustCommentVotesParams: AdjustCommentVotesParams, options: PostAdjustCommentVotesOptions): (Option[AdjustVotesResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" & "?" & url_encoded_query_params, $(%adjustCommentVotesParams)) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}" & "?" & url_encoded_query_params, $(%adjustCommentVotesParams)) constructResult[AdjustVotesResponse](response) -type ApiPostApiExportOptions* = object +type PostApiExportOptions* = object textSearch*: string byIPFromComment*: string filters*: string searchFilters*: string sorts*: string - tenantId*: string sso*: string -proc postApiExport*(httpClient: HttpClient, options: ApiPostApiExportOptions): (Option[ModerationExportResponse], Response) = +proc postApiExport*(httpClient: HttpClient, tenantId: string, options: PostApiExportOptions): (Option[ModerationExportResponse], Response) = let textSearch = options.textSearch let byIPFromComment = options.byIPFromComment let filters = options.filters let searchFilters = options.searchFilters let sorts = options.sorts - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $textSearch != "": query_params_list.add(("text-search", $textSearch)) if $byIPFromComment != "": @@ -713,17 +608,15 @@ proc postApiExport*(httpClient: HttpClient, options: ApiPostApiExportOptions): ( query_params_list.add(("searchFilters", $searchFilters)) if $sorts != "": query_params_list.add(("sorts", $sorts)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/api/export" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/mod_api/api/export" & "?" & url_encoded_query_params) constructResult[ModerationExportResponse](response) -type ApiPostBanUserFromCommentOptions* = object +type PostBanUserFromCommentOptions* = object banEmail*: bool banEmailDomain*: bool banIP*: bool @@ -732,10 +625,9 @@ type ApiPostBanUserFromCommentOptions* = object isShadowBan*: bool updateId*: string banReason*: string - tenantId*: string sso*: string -proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, options: ApiPostBanUserFromCommentOptions): (Option[BanUserFromCommentResult], Response) = +proc postBanUserFromComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostBanUserFromCommentOptions): (Option[BanUserFromCommentResult], Response) = let banEmail = options.banEmail let banEmailDomain = options.banEmailDomain let banIP = options.banIP @@ -744,10 +636,10 @@ proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, options: let isShadowBan = options.isShadowBan let updateId = options.updateId let banReason = options.banReason - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $banEmail != "": query_params_list.add(("banEmail", $banEmail)) if $banEmailDomain != "": @@ -764,443 +656,374 @@ proc postBanUserFromComment*(httpClient: HttpClient, commentId: string, options: query_params_list.add(("updateId", $updateId)) if $banReason != "": query_params_list.add(("banReason", $banReason)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}" & "?" & url_encoded_query_params) constructResult[BanUserFromCommentResult](response) -type ApiPostBanUserUndoOptions* = object - tenantId*: string - sso*: string - -proc postBanUserUndo*(httpClient: HttpClient, banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc postBanUserUndo*(httpClient: HttpClient, tenantId: string, banUserUndoParams: BanUserUndoParams, sso: string = ""): (Option[APIEmptyResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/ban-user/undo" & "?" & url_encoded_query_params, $(%banUserUndoParams)) + let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/mod_api/ban-user/undo" & "?" & url_encoded_query_params, $(%banUserUndoParams)) constructResult[APIEmptyResponse](response) -type ApiPostBulkPreBanSummaryOptions* = object +type PostBulkPreBanSummaryOptions* = object includeByUserIdAndEmail*: bool includeByIP*: bool includeByEmailDomain*: bool - tenantId*: string sso*: string -proc postBulkPreBanSummary*(httpClient: HttpClient, bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions): (Option[BulkPreBanSummary], Response) = +proc postBulkPreBanSummary*(httpClient: HttpClient, tenantId: string, bulkPreBanParams: BulkPreBanParams, options: PostBulkPreBanSummaryOptions): (Option[BulkPreBanSummary], Response) = let includeByUserIdAndEmail = options.includeByUserIdAndEmail let includeByIP = options.includeByIP let includeByEmailDomain = options.includeByEmailDomain - let tenantId = options.tenantId let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $includeByUserIdAndEmail != "": query_params_list.add(("includeByUserIdAndEmail", $includeByUserIdAndEmail)) if $includeByIP != "": query_params_list.add(("includeByIP", $includeByIP)) if $includeByEmailDomain != "": query_params_list.add(("includeByEmailDomain", $includeByEmailDomain)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/bulk-pre-ban-summary" & "?" & url_encoded_query_params, $(%bulkPreBanParams)) + let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary" & "?" & url_encoded_query_params, $(%bulkPreBanParams)) constructResult[BulkPreBanSummary](response) -type ApiPostCommentsByIdsOptions* = object - tenantId*: string - sso*: string - -proc postCommentsByIds*(httpClient: HttpClient, commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions): (Option[ModerationAPIChildCommentsResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc postCommentsByIds*(httpClient: HttpClient, tenantId: string, commentsByIdsParams: CommentsByIdsParams, sso: string = ""): (Option[ModerationAPIChildCommentsResponse], Response) = ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/comments-by-ids" & "?" & url_encoded_query_params, $(%commentsByIdsParams)) + let response = httpClient.post(basepath & "/auth/my-account/moderate-comments/mod_api/comments-by-ids" & "?" & url_encoded_query_params, $(%commentsByIdsParams)) constructResult[ModerationAPIChildCommentsResponse](response) -type ApiPostFlagCommentOptions* = object - tenantId*: string +type PostFlagCommentOptions* = object broadcastId*: string sso*: string -proc postFlagComment*(httpClient: HttpClient, commentId: string, options: ApiPostFlagCommentOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId +proc postFlagComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostFlagCommentOptions): (Option[APIEmptyResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/flag-comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPostRemoveCommentOptions* = object - tenantId*: string +type PostRemoveCommentOptions* = object broadcastId*: string sso*: string -proc postRemoveComment*(httpClient: HttpClient, commentId: string, options: ApiPostRemoveCommentOptions): (Option[PostRemoveCommentResponse], Response) = - let tenantId = options.tenantId +proc postRemoveComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostRemoveCommentOptions): (Option[PostRemoveCommentApiResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/remove-comment/{commentId}" & "?" & url_encoded_query_params) - constructResult[PostRemoveCommentResponse](response) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}" & "?" & url_encoded_query_params) + constructResult[PostRemoveCommentApiResponse](response) -type ApiPostRestoreDeletedCommentOptions* = object - tenantId*: string +type PostRestoreDeletedCommentOptions* = object broadcastId*: string sso*: string -proc postRestoreDeletedComment*(httpClient: HttpClient, commentId: string, options: ApiPostRestoreDeletedCommentOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId +proc postRestoreDeletedComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostRestoreDeletedCommentOptions): (Option[APIEmptyResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPostSetCommentApprovalStatusOptions* = object +type PostSetCommentApprovalStatusOptions* = object approved*: bool - tenantId*: string broadcastId*: string sso*: string -proc postSetCommentApprovalStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentApprovalStatusOptions): (Option[SetCommentApprovedResponse], Response) = +proc postSetCommentApprovalStatus*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostSetCommentApprovalStatusOptions): (Option[SetCommentApprovedResponse], Response) = let approved = options.approved - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $approved != "": query_params_list.add(("approved", $approved)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}" & "?" & url_encoded_query_params) constructResult[SetCommentApprovedResponse](response) -type ApiPostSetCommentReviewStatusOptions* = object +type PostSetCommentReviewStatusOptions* = object reviewed*: bool - tenantId*: string broadcastId*: string sso*: string -proc postSetCommentReviewStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentReviewStatusOptions): (Option[APIEmptyResponse], Response) = +proc postSetCommentReviewStatus*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostSetCommentReviewStatusOptions): (Option[APIEmptyResponse], Response) = let reviewed = options.reviewed - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $reviewed != "": query_params_list.add(("reviewed", $reviewed)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPostSetCommentSpamStatusOptions* = object +type PostSetCommentSpamStatusOptions* = object spam*: bool permNotSpam*: bool - tenantId*: string broadcastId*: string sso*: string -proc postSetCommentSpamStatus*(httpClient: HttpClient, commentId: string, options: ApiPostSetCommentSpamStatusOptions): (Option[APIEmptyResponse], Response) = +proc postSetCommentSpamStatus*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostSetCommentSpamStatusOptions): (Option[APIEmptyResponse], Response) = let spam = options.spam let permNotSpam = options.permNotSpam - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $spam != "": query_params_list.add(("spam", $spam)) if $permNotSpam != "": query_params_list.add(("permNotSpam", $permNotSpam)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPostSetCommentTextOptions* = object - tenantId*: string +type PostSetCommentTextOptions* = object broadcastId*: string sso*: string -proc postSetCommentText*(httpClient: HttpClient, commentId: string, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions): (Option[SetCommentTextResponse], Response) = - let tenantId = options.tenantId +proc postSetCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, setCommentTextParams: SetCommentTextParams, options: PostSetCommentTextOptions): (Option[SetCommentTextResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## httpClient.headers["Content-Type"] = "application/json" var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/set-comment-text/{commentId}" & "?" & url_encoded_query_params, $(%setCommentTextParams)) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}" & "?" & url_encoded_query_params, $(%setCommentTextParams)) constructResult[SetCommentTextResponse](response) -type ApiPostUnFlagCommentOptions* = object - tenantId*: string +type PostUnFlagCommentOptions* = object broadcastId*: string sso*: string -proc postUnFlagComment*(httpClient: HttpClient, commentId: string, options: ApiPostUnFlagCommentOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId +proc postUnFlagComment*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostUnFlagCommentOptions): (Option[APIEmptyResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) + query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/un-flag-comment/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPostVoteOptions* = object +type PostVoteOptions* = object direction*: string - tenantId*: string broadcastId*: string sso*: string -proc postVote*(httpClient: HttpClient, commentId: string, options: ApiPostVoteOptions): (Option[VoteResponse], Response) = +proc postVote*(httpClient: HttpClient, tenantId: string, commentId: string, options: PostVoteOptions): (Option[VoteResponse], Response) = let direction = options.direction - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $direction != "": query_params_list.add(("direction", $direction)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/vote/{commentId}" & "?" & url_encoded_query_params) + let response = httpClient.post(basepath & fmt"/auth/my-account/moderate-comments/mod_api/vote/{commentId}" & "?" & url_encoded_query_params) constructResult[VoteResponse](response) -type ApiPutAwardBadgeOptions* = object +type PutAwardBadgeOptions* = object userId*: string commentId*: string - tenantId*: string broadcastId*: string sso*: string -proc putAwardBadge*(httpClient: HttpClient, badgeId: string, options: ApiPutAwardBadgeOptions): (Option[AwardUserBadgeResponse], Response) = +proc putAwardBadge*(httpClient: HttpClient, tenantId: string, badgeId: string, options: PutAwardBadgeOptions): (Option[AwardUserBadgeResponse], Response) = let userId = options.userId let commentId = options.commentId - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) query_params_list.add(("badgeId", $badgeId)) if $userId != "": query_params_list.add(("userId", $userId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/award-badge" & "?" & url_encoded_query_params) + let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/mod_api/award-badge" & "?" & url_encoded_query_params) constructResult[AwardUserBadgeResponse](response) -type ApiPutCloseThreadOptions* = object - tenantId*: string - sso*: string - -proc putCloseThread*(httpClient: HttpClient, urlId: string, options: ApiPutCloseThreadOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc putCloseThread*(httpClient: HttpClient, tenantId: string, urlId: string, sso: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) query_params_list.add(("urlId", $urlId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/close-thread" & "?" & url_encoded_query_params) + let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/mod_api/close-thread" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiPutRemoveBadgeOptions* = object +type PutRemoveBadgeOptions* = object userId*: string commentId*: string - tenantId*: string broadcastId*: string sso*: string -proc putRemoveBadge*(httpClient: HttpClient, badgeId: string, options: ApiPutRemoveBadgeOptions): (Option[RemoveUserBadgeResponse], Response) = +proc putRemoveBadge*(httpClient: HttpClient, tenantId: string, badgeId: string, options: PutRemoveBadgeOptions): (Option[RemoveUserBadgeResponse], Response) = let userId = options.userId let commentId = options.commentId - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) query_params_list.add(("badgeId", $badgeId)) if $userId != "": query_params_list.add(("userId", $userId)) if $commentId != "": query_params_list.add(("commentId", $commentId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $broadcastId != "": query_params_list.add(("broadcastId", $broadcastId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/remove-badge" & "?" & url_encoded_query_params) + let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/mod_api/remove-badge" & "?" & url_encoded_query_params) constructResult[RemoveUserBadgeResponse](response) -type ApiPutReopenThreadOptions* = object - tenantId*: string - sso*: string - -proc putReopenThread*(httpClient: HttpClient, urlId: string, options: ApiPutReopenThreadOptions): (Option[APIEmptyResponse], Response) = - let tenantId = options.tenantId - let sso = options.sso +proc putReopenThread*(httpClient: HttpClient, tenantId: string, urlId: string, sso: string = ""): (Option[APIEmptyResponse], Response) = ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) query_params_list.add(("urlId", $urlId)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/reopen-thread" & "?" & url_encoded_query_params) + let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/mod_api/reopen-thread" & "?" & url_encoded_query_params) constructResult[APIEmptyResponse](response) -type ApiSetTrustFactorOptions* = object +type SetTrustFactorOptions* = object userId*: string trustFactor*: string - tenantId*: string sso*: string -proc setTrustFactor*(httpClient: HttpClient, options: ApiSetTrustFactorOptions): (Option[SetUserTrustFactorResponse], Response) = +proc setTrustFactor*(httpClient: HttpClient, tenantId: string, options: SetTrustFactorOptions): (Option[SetUserTrustFactorResponse], Response) = let userId = options.userId let trustFactor = options.trustFactor - let tenantId = options.tenantId let sso = options.sso ## var query_params_list: seq[(string, string)] = @[] + query_params_list.add(("tenantId", $tenantId)) if $userId != "": query_params_list.add(("userId", $userId)) if $trustFactor != "": query_params_list.add(("trustFactor", $trustFactor)) - if $tenantId != "": - query_params_list.add(("tenantId", $tenantId)) if $sso != "": query_params_list.add(("sso", $sso)) let url_encoded_query_params = encodeQuery(query_params_list) - let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/set-trust-factor" & "?" & url_encoded_query_params) + let response = httpClient.put(basepath & "/auth/my-account/moderate-comments/mod_api/set-trust-factor" & "?" & url_encoded_query_params) constructResult[SetUserTrustFactorResponse](response) diff --git a/client/fastcomments/apis/api_public.nim b/client/fastcomments/apis/api_public.nim index a4c225b..7a07fe7 100644 --- a/client/fastcomments/apis/api_public.nim +++ b/client/fastcomments/apis/api_public.nim @@ -113,11 +113,11 @@ proc checkedCommentsForBlocked*(httpClient: HttpClient, tenantId: string, commen constructResult[CheckBlockedCommentsResponse](response) -type ApiCreateCommentPublicOptions* = object +type CreateCommentPublicOptions* = object sessionId*: string sso*: string -proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, options: ApiCreateCommentPublicOptions): (Option[SaveCommentsResponseWithPresence], Response) = +proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, options: CreateCommentPublicOptions): (Option[SaveCommentsResponseWithPresence], Response) = let sessionId = options.sessionId let sso = options.sso ## @@ -135,11 +135,11 @@ proc createCommentPublic*(httpClient: HttpClient, tenantId: string, urlId: strin constructResult[SaveCommentsResponseWithPresence](response) -type ApiCreateFeedPostPublicOptions* = object +type CreateFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = +proc createFeedPostPublic*(httpClient: HttpClient, tenantId: string, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## @@ -180,11 +180,11 @@ proc createV2PageReact*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[CreateV1PageReact](response) -type ApiDeleteCommentPublicOptions* = object +type DeleteCommentPublicOptions* = object editKey*: string sso*: string -proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: ApiDeleteCommentPublicOptions): (Option[PublicAPIDeleteCommentResponse], Response) = +proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, options: DeleteCommentPublicOptions): (Option[PublicAPIDeleteCommentResponse], Response) = let editKey = options.editKey let sso = options.sso ## @@ -200,11 +200,11 @@ proc deleteCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: s constructResult[PublicAPIDeleteCommentResponse](response) -type ApiDeleteCommentVoteOptions* = object +type DeleteCommentVoteOptions* = object editKey*: string sso*: string -proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, options: ApiDeleteCommentVoteOptions): (Option[VoteDeleteResponse], Response) = +proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, options: DeleteCommentVoteOptions): (Option[VoteDeleteResponse], Response) = let editKey = options.editKey let sso = options.sso ## @@ -221,11 +221,11 @@ proc deleteCommentVote*(httpClient: HttpClient, tenantId: string, commentId: str constructResult[VoteDeleteResponse](response) -type ApiDeleteFeedPostPublicOptions* = object +type DeleteFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, options: ApiDeleteFeedPostPublicOptions): (Option[DeleteFeedPostPublicResponse], Response) = +proc deleteFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, options: DeleteFeedPostPublicOptions): (Option[DeleteFeedPostPublicResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## @@ -274,11 +274,11 @@ proc flagCommentPublic*(httpClient: HttpClient, tenantId: string, commentId: str constructResult[APIEmptyResponse](response) -type ApiGetCommentTextOptions* = object +type GetCommentTextOptions* = object editKey*: string sso*: string -proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, options: ApiGetCommentTextOptions): (Option[PublicAPIGetCommentTextResponse], Response) = +proc getCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, options: GetCommentTextOptions): (Option[PublicAPIGetCommentTextResponse], Response) = let editKey = options.editKey let sso = options.sso ## @@ -305,7 +305,7 @@ proc getCommentVoteUserNames*(httpClient: HttpClient, tenantId: string, commentI constructResult[GetCommentVoteUserNamesSuccessResponse](response) -type ApiGetCommentsForUserOptions* = object +type GetCommentsForUserOptions* = object userId*: string direction*: SortDirections repliesToUserId*: string @@ -314,7 +314,7 @@ type ApiGetCommentsForUserOptions* = object locale*: string isCrawler*: bool -proc getCommentsForUser*(httpClient: HttpClient, options: ApiGetCommentsForUserOptions): (Option[GetCommentsForUserResponse], Response) = +proc getCommentsForUser*(httpClient: HttpClient, options: GetCommentsForUserOptions): (Option[GetCommentsForUserResponse], Response) = let userId = options.userId let direction = options.direction let repliesToUserId = options.repliesToUserId @@ -344,7 +344,7 @@ proc getCommentsForUser*(httpClient: HttpClient, options: ApiGetCommentsForUserO constructResult[GetCommentsForUserResponse](response) -type ApiGetCommentsPublicOptions* = object +type GetCommentsPublicOptions* = object page*: int direction*: SortDirections sso*: string @@ -372,7 +372,7 @@ type ApiGetCommentsPublicOptions* = object afterCommentId*: string beforeCommentId*: string -proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetCommentsPublicOptions): (Option[GetCommentsResponseWithPresencePublicComment], Response) = +proc getCommentsPublic*(httpClient: HttpClient, tenantId: string, urlId: string, options: GetCommentsPublicOptions): (Option[GetCommentsResponseWithPresencePublicComment], Response) = let page = options.page let direction = options.direction let sso = options.sso @@ -474,7 +474,7 @@ proc getEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, userI constructResult[GetEventLogResponse](response) -type ApiGetFeedPostsPublicOptions* = object +type GetFeedPostsPublicOptions* = object afterId*: string limit*: int tags*: seq[string] @@ -482,7 +482,7 @@ type ApiGetFeedPostsPublicOptions* = object isCrawler*: bool includeUserInfo*: bool -proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetFeedPostsPublicOptions): (Option[PublicFeedPostsResponse], Response) = +proc getFeedPostsPublic*(httpClient: HttpClient, tenantId: string, options: GetFeedPostsPublicOptions): (Option[PublicFeedPostsResponse], Response) = let afterId = options.afterId let limit = options.limit let tags = options.tags @@ -531,12 +531,12 @@ proc getGifLarge*(httpClient: HttpClient, tenantId: string, largeInternalURLSani constructResult[GifGetLargeResponse](response) -type ApiGetGifsSearchOptions* = object +type GetGifsSearchOptions* = object locale*: string rating*: string page*: float64 -proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, options: ApiGetGifsSearchOptions): (Option[GetGifsSearchResponse], Response) = +proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, options: GetGifsSearchOptions): (Option[GetGifsSearchResponse], Response) = let locale = options.locale let rating = options.rating let page = options.page @@ -555,12 +555,12 @@ proc getGifsSearch*(httpClient: HttpClient, tenantId: string, search: string, op constructResult[GetGifsSearchResponse](response) -type ApiGetGifsTrendingOptions* = object +type GetGifsTrendingOptions* = object locale*: string rating*: string page*: float64 -proc getGifsTrending*(httpClient: HttpClient, tenantId: string, options: ApiGetGifsTrendingOptions): (Option[GetGifsTrendingResponse], Response) = +proc getGifsTrending*(httpClient: HttpClient, tenantId: string, options: GetGifsTrendingOptions): (Option[GetGifsTrendingResponse], Response) = let locale = options.locale let rating = options.rating let page = options.page @@ -592,11 +592,11 @@ proc getGlobalEventLog*(httpClient: HttpClient, tenantId: string, urlId: string, constructResult[GetEventLogResponse](response) -type ApiGetOfflineUsersOptions* = object +type GetOfflineUsersOptions* = object afterName*: string afterUserId*: string -proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetOfflineUsersOptions): (Option[PageUsersOfflineResponse], Response) = +proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: GetOfflineUsersOptions): (Option[PageUsersOfflineResponse], Response) = let afterName = options.afterName let afterUserId = options.afterUserId ## @@ -612,11 +612,11 @@ proc getOfflineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, o constructResult[PageUsersOfflineResponse](response) -type ApiGetOnlineUsersOptions* = object +type GetOnlineUsersOptions* = object afterName*: string afterUserId*: string -proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiGetOnlineUsersOptions): (Option[PageUsersOnlineResponse], Response) = +proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: GetOnlineUsersOptions): (Option[PageUsersOnlineResponse], Response) = let afterName = options.afterName let afterUserId = options.afterUserId ## @@ -632,14 +632,14 @@ proc getOnlineUsers*(httpClient: HttpClient, tenantId: string, urlId: string, op constructResult[PageUsersOnlineResponse](response) -type ApiGetPagesPublicOptions* = object +type GetPagesPublicOptions* = object cursor*: string limit*: int q*: string sortBy*: PagesSortBy hasComments*: bool -proc getPagesPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetPagesPublicOptions): (Option[GetPublicPagesResponse], Response) = +proc getPagesPublic*(httpClient: HttpClient, tenantId: string, options: GetPagesPublicOptions): (Option[GetPublicPagesResponse], Response) = let cursor = options.cursor let limit = options.limit let q = options.q @@ -663,11 +663,11 @@ proc getPagesPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetPa constructResult[GetPublicPagesResponse](response) -type ApiGetTranslationsOptions* = object +type GetTranslationsOptions* = object locale*: string useFullTranslationIds*: bool -proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, options: ApiGetTranslationsOptions): (Option[GetTranslationsResponse], Response) = +proc getTranslations*(httpClient: HttpClient, namespace: string, component: string, options: GetTranslationsOptions): (Option[GetTranslationsResponse], Response) = let locale = options.locale let useFullTranslationIds = options.useFullTranslationIds ## @@ -694,7 +694,7 @@ proc getUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: st constructResult[GetUserNotificationCountResponse](response) -type ApiGetUserNotificationsOptions* = object +type GetUserNotificationsOptions* = object urlId*: string pageSize*: int afterId*: string @@ -707,7 +707,7 @@ type ApiGetUserNotificationsOptions* = object includeTenantNotifications*: bool sso*: string -proc getUserNotifications*(httpClient: HttpClient, tenantId: string, options: ApiGetUserNotificationsOptions): (Option[GetMyNotificationsResponse], Response) = +proc getUserNotifications*(httpClient: HttpClient, tenantId: string, options: GetUserNotificationsOptions): (Option[GetMyNotificationsResponse], Response) = let urlId = options.urlId let pageSize = options.pageSize let afterId = options.afterId @@ -762,11 +762,11 @@ proc getUserPresenceStatuses*(httpClient: HttpClient, tenantId: string, urlIdWS: constructResult[GetUserPresenceStatusesResponse](response) -type ApiGetUserReactsPublicOptions* = object +type GetUserReactsPublicOptions* = object postIds*: seq[string] sso*: string -proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, options: ApiGetUserReactsPublicOptions): (Option[UserReactsResponse], Response) = +proc getUserReactsPublic*(httpClient: HttpClient, tenantId: string, options: GetUserReactsPublicOptions): (Option[UserReactsResponse], Response) = let postIds = options.postIds let sso = options.sso ## @@ -853,12 +853,12 @@ proc pinComment*(httpClient: HttpClient, tenantId: string, commentId: string, br constructResult[ChangeCommentPinStatusResponse](response) -type ApiReactFeedPostPublicOptions* = object +type ReactFeedPostPublicOptions* = object isUndo*: bool broadcastId*: string sso*: string -proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions): (Option[ReactFeedPostResponse], Response) = +proc reactFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, reactBodyParams: ReactBodyParams, options: ReactFeedPostPublicOptions): (Option[ReactFeedPostResponse], Response) = let isUndo = options.isUndo let broadcastId = options.broadcastId let sso = options.sso @@ -889,7 +889,7 @@ proc resetUserNotificationCount*(httpClient: HttpClient, tenantId: string, sso: constructResult[ResetUserNotificationsResponse](response) -type ApiResetUserNotificationsOptions* = object +type ResetUserNotificationsOptions* = object afterId*: string afterCreatedAt*: int64 unreadOnly*: bool @@ -897,7 +897,7 @@ type ApiResetUserNotificationsOptions* = object noDm*: bool sso*: string -proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, options: ApiResetUserNotificationsOptions): (Option[ResetUserNotificationsResponse], Response) = +proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, options: ResetUserNotificationsOptions): (Option[ResetUserNotificationsResponse], Response) = let afterId = options.afterId let afterCreatedAt = options.afterCreatedAt let unreadOnly = options.unreadOnly @@ -925,13 +925,13 @@ proc resetUserNotifications*(httpClient: HttpClient, tenantId: string, options: constructResult[ResetUserNotificationsResponse](response) -type ApiSearchUsersOptions* = object +type SearchUsersOptions* = object usernameStartsWith*: string mentionGroupIds*: seq[string] sso*: string searchSection*: string -proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: ApiSearchUsersOptions): (Option[SearchUsersResult], Response) = +proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, options: SearchUsersOptions): (Option[SearchUsersResult], Response) = let usernameStartsWith = options.usernameStartsWith let mentionGroupIds = options.mentionGroupIds let sso = options.sso @@ -953,11 +953,11 @@ proc searchUsers*(httpClient: HttpClient, tenantId: string, urlId: string, optio constructResult[SearchUsersResult](response) -type ApiSetCommentTextOptions* = object +type SetCommentTextOptions* = object editKey*: string sso*: string -proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions): (Option[PublicAPISetCommentTextResponse], Response) = +proc setCommentText*(httpClient: HttpClient, tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, options: SetCommentTextOptions): (Option[PublicAPISetCommentTextResponse], Response) = let editKey = options.editKey let sso = options.sso ## @@ -1010,11 +1010,11 @@ proc unPinComment*(httpClient: HttpClient, tenantId: string, commentId: string, constructResult[ChangeCommentPinStatusResponse](response) -type ApiUpdateFeedPostPublicOptions* = object +type UpdateFeedPostPublicOptions* = object broadcastId*: string sso*: string -proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = +proc updateFeedPostPublic*(httpClient: HttpClient, tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, options: UpdateFeedPostPublicOptions): (Option[CreateFeedPostResponse], Response) = let broadcastId = options.broadcastId let sso = options.sso ## @@ -1070,11 +1070,11 @@ proc updateUserNotificationStatus*(httpClient: HttpClient, tenantId: string, not constructResult[UpdateUserNotificationStatusResponse](response) -type ApiUploadImageOptions* = object +type UploadImageOptions* = object sizePreset*: SizePreset urlId*: string -proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, options: ApiUploadImageOptions): (Option[UploadImageResponse], Response) = +proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, options: UploadImageOptions): (Option[UploadImageResponse], Response) = let sizePreset = options.sizePreset let urlId = options.urlId ## @@ -1093,11 +1093,11 @@ proc uploadImage*(httpClient: HttpClient, tenantId: string, file: string, option constructResult[UploadImageResponse](response) -type ApiVoteCommentOptions* = object +type VoteCommentOptions* = object sessionId*: string sso*: string -proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions): (Option[VoteResponse], Response) = +proc voteComment*(httpClient: HttpClient, tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, options: VoteCommentOptions): (Option[VoteResponse], Response) = let sessionId = options.sessionId let sso = options.sso ## diff --git a/client/fastcomments/models/model_post_remove_comment_response.nim b/client/fastcomments/models/model_post_remove_comment_api_response.nim similarity index 54% rename from client/fastcomments/models/model_post_remove_comment_response.nim rename to client/fastcomments/models/model_post_remove_comment_api_response.nim index 6726b3f..4e425cf 100644 --- a/client/fastcomments/models/model_post_remove_comment_response.nim +++ b/client/fastcomments/models/model_post_remove_comment_api_response.nim @@ -16,29 +16,29 @@ import model_delete_comment_result import model_remove_comment_action_response # AnyOf type -type PostRemoveCommentResponseKind* {.pure.} = enum +type PostRemoveCommentApiResponseKind* {.pure.} = enum DeleteCommentResultVariant RemoveCommentActionResponseVariant -type PostRemoveCommentResponse* = object +type PostRemoveCommentApiResponse* = object ## - case kind*: PostRemoveCommentResponseKind - of PostRemoveCommentResponseKind.DeleteCommentResultVariant: + case kind*: PostRemoveCommentApiResponseKind + of PostRemoveCommentApiResponseKind.DeleteCommentResultVariant: DeleteCommentResultValue*: DeleteCommentResult - of PostRemoveCommentResponseKind.RemoveCommentActionResponseVariant: + of PostRemoveCommentApiResponseKind.RemoveCommentActionResponseVariant: RemoveCommentActionResponseValue*: RemoveCommentActionResponse -proc to*(node: JsonNode, T: typedesc[PostRemoveCommentResponse]): PostRemoveCommentResponse = +proc to*(node: JsonNode, T: typedesc[PostRemoveCommentApiResponse]): PostRemoveCommentApiResponse = ## Custom deserializer for anyOf type - tries each variant try: - return PostRemoveCommentResponse(kind: PostRemoveCommentResponseKind.DeleteCommentResultVariant, DeleteCommentResultValue: to(node, DeleteCommentResult)) + return PostRemoveCommentApiResponse(kind: PostRemoveCommentApiResponseKind.DeleteCommentResultVariant, DeleteCommentResultValue: to(node, DeleteCommentResult)) except Exception as e: when defined(debug): echo "Failed to deserialize as DeleteCommentResult: ", e.msg try: - return PostRemoveCommentResponse(kind: PostRemoveCommentResponseKind.RemoveCommentActionResponseVariant, RemoveCommentActionResponseValue: to(node, RemoveCommentActionResponse)) + return PostRemoveCommentApiResponse(kind: PostRemoveCommentApiResponseKind.RemoveCommentActionResponseVariant, RemoveCommentActionResponseValue: to(node, RemoveCommentActionResponse)) except Exception as e: when defined(debug): echo "Failed to deserialize as RemoveCommentActionResponse: ", e.msg - raise newException(ValueError, "Unable to deserialize into any variant of PostRemoveCommentResponse. JSON: " & $node) + raise newException(ValueError, "Unable to deserialize into any variant of PostRemoveCommentApiResponse. JSON: " & $node) diff --git a/docs/Apis/DefaultApi.md b/docs/Apis/DefaultApi.md index 899940e..8d14a27 100644 --- a/docs/Apis/DefaultApi.md +++ b/docs/Apis/DefaultApi.md @@ -156,7 +156,7 @@ All URIs are relative to *https://fastcomments.com* |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **tenantId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [default to null] | | **CreateHashTagBody** | [**CreateHashTagBody**](../Models/CreateHashTagBody.md)| | [optional] | ### Return type @@ -182,7 +182,7 @@ All URIs are relative to *https://fastcomments.com* |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **tenantId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [default to null] | | **BulkCreateHashTagsBody** | [**BulkCreateHashTagsBody**](../Models/BulkCreateHashTagsBody.md)| | [optional] | ### Return type @@ -857,7 +857,7 @@ All URIs are relative to *https://fastcomments.com* # **deleteHashTag** -> APIEmptyResponse deleteHashTag(tag, tenantId, DeleteHashTagRequestBody) +> APIEmptyResponse deleteHashTag(tenantId, tag, DeleteHashTagRequestBody) @@ -865,8 +865,8 @@ All URIs are relative to *https://fastcomments.com* |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **tag** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **DeleteHashTagRequestBody** | [**DeleteHashTagRequestBody**](../Models/DeleteHashTagRequestBody.md)| | [optional] | ### Return type @@ -2518,7 +2518,7 @@ All URIs are relative to *https://fastcomments.com* # **patchHashTag** -> UpdateHashTagResponse patchHashTag(tag, tenantId, UpdateHashTagBody) +> UpdateHashTagResponse patchHashTag(tenantId, tag, UpdateHashTagBody) @@ -2526,8 +2526,8 @@ All URIs are relative to *https://fastcomments.com* |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **tag** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **UpdateHashTagBody** | [**UpdateHashTagBody**](../Models/UpdateHashTagBody.md)| | [optional] | ### Return type diff --git a/docs/Apis/ModerationApi.md b/docs/Apis/ModerationApi.md index 2c9803f..809ef44 100644 --- a/docs/Apis/ModerationApi.md +++ b/docs/Apis/ModerationApi.md @@ -4,54 +4,54 @@ All URIs are relative to *https://fastcomments.com* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**deleteModerationVote**](ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | | -| [**getApiComments**](ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/api/comments | | -| [**getApiExportStatus**](ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/api/export/status | | -| [**getApiIds**](ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/api/ids | | -| [**getBanUsersFromComment**](ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | | -| [**getCommentBanStatus**](ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | | -| [**getCommentChildren**](ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | | -| [**getCount**](ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/count | | -| [**getCounts**](ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | | -| [**getLogs**](ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | | -| [**getManualBadges**](ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | | -| [**getManualBadgesForUser**](ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | | -| [**getModerationComment**](ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | | -| [**getModerationCommentText**](ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | | -| [**getPreBanSummary**](ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | | -| [**getSearchCommentsSummary**](ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | | -| [**getSearchPages**](ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/search/pages | | -| [**getSearchSites**](ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/search/sites | | -| [**getSearchSuggest**](ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/search/suggest | | -| [**getSearchUsers**](ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/search/users | | -| [**getTrustFactor**](ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | | -| [**getUserBanPreference**](ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | | -| [**getUserInternalProfile**](ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | | -| [**postAdjustCommentVotes**](ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | | -| [**postApiExport**](ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/api/export | | -| [**postBanUserFromComment**](ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | | -| [**postBanUserUndo**](ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | | -| [**postBulkPreBanSummary**](ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | | -| [**postCommentsByIds**](ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/comments-by-ids | | -| [**postFlagComment**](ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | | -| [**postRemoveComment**](ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | | -| [**postRestoreDeletedComment**](ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | | -| [**postSetCommentApprovalStatus**](ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | | -| [**postSetCommentReviewStatus**](ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | | -| [**postSetCommentSpamStatus**](ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | | -| [**postSetCommentText**](ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | | -| [**postUnFlagComment**](ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | | -| [**postVote**](ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | | -| [**putAwardBadge**](ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/award-badge | | -| [**putCloseThread**](ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/close-thread | | -| [**putRemoveBadge**](ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/remove-badge | | -| [**putReopenThread**](ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | | -| [**setTrustFactor**](ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | | +| [**deleteModerationVote**](ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | | +| [**getApiComments**](ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | | +| [**getApiExportStatus**](ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | | +| [**getApiIds**](ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | | +| [**getBanUsersFromComment**](ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | | +| [**getCommentBanStatus**](ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | | +| [**getCommentChildren**](ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | | +| [**getCount**](ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/mod_api/count | | +| [**getCounts**](ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | | +| [**getLogs**](ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | | +| [**getManualBadges**](ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | | +| [**getManualBadgesForUser**](ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | | +| [**getModerationComment**](ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | | +| [**getModerationCommentText**](ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | | +| [**getPreBanSummary**](ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | | +| [**getSearchCommentsSummary**](ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | | +| [**getSearchPages**](ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | | +| [**getSearchSites**](ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | | +| [**getSearchSuggest**](ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | | +| [**getSearchUsers**](ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | | +| [**getTrustFactor**](ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | | +| [**getUserBanPreference**](ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | | +| [**getUserInternalProfile**](ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | | +| [**postAdjustCommentVotes**](ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | | +| [**postApiExport**](ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | | +| [**postBanUserFromComment**](ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | | +| [**postBanUserUndo**](ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | | +| [**postBulkPreBanSummary**](ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | | +| [**postCommentsByIds**](ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | | +| [**postFlagComment**](ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | | +| [**postRemoveComment**](ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | | +| [**postRestoreDeletedComment**](ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | | +| [**postSetCommentApprovalStatus**](ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | | +| [**postSetCommentReviewStatus**](ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | | +| [**postSetCommentSpamStatus**](ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | | +| [**postSetCommentText**](ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | | +| [**postUnFlagComment**](ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | | +| [**postVote**](ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | | +| [**putAwardBadge**](ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | | +| [**putCloseThread**](ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | | +| [**putRemoveBadge**](ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | | +| [**putReopenThread**](ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | | +| [**setTrustFactor**](ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | | # **deleteModerationVote** -> VoteDeleteResponse deleteModerationVote(commentId, voteId, tenantId, broadcastId, sso) +> VoteDeleteResponse deleteModerationVote(tenantId, commentId, voteId, broadcastId, sso) @@ -59,9 +59,9 @@ All URIs are relative to *https://fastcomments.com* |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **voteId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -80,7 +80,7 @@ No authorization required # **getApiComments** -> ModerationAPIGetCommentsResponse getApiComments(page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, tenantId, sso) +> ModerationAPIGetCommentsResponse getApiComments(tenantId, page, count, text-search, byIPFromComment, filters, searchFilters, sorts, demo, sso) @@ -88,6 +88,7 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **page** | **Double**| | [optional] [default to null] | | **count** | **Double**| | [optional] [default to null] | | **text-search** | **String**| | [optional] [default to null] | @@ -96,7 +97,6 @@ No authorization required | **searchFilters** | **String**| | [optional] [default to null] | | **sorts** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -114,7 +114,7 @@ No authorization required # **getApiExportStatus** -> ModerationExportStatusResponse getApiExportStatus(batchJobId, tenantId, sso) +> ModerationExportStatusResponse getApiExportStatus(tenantId, batchJobId, sso) @@ -122,8 +122,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **batchJobId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -141,7 +141,7 @@ No authorization required # **getApiIds** -> ModerationAPIGetCommentIdsResponse getApiIds(text-search, byIPFromComment, filters, searchFilters, afterId, demo, tenantId, sso) +> ModerationAPIGetCommentIdsResponse getApiIds(tenantId, text-search, byIPFromComment, filters, searchFilters, afterId, demo, sso) @@ -149,13 +149,13 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **text-search** | **String**| | [optional] [default to null] | | **byIPFromComment** | **String**| | [optional] [default to null] | | **filters** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | | **afterId** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -173,7 +173,7 @@ No authorization required # **getBanUsersFromComment** -> GetBannedUsersFromCommentResponse getBanUsersFromComment(commentId, tenantId, sso) +> GetBannedUsersFromCommentResponse getBanUsersFromComment(tenantId, commentId, sso) @@ -181,8 +181,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -200,7 +200,7 @@ No authorization required # **getCommentBanStatus** -> GetCommentBanStatusResponse getCommentBanStatus(commentId, tenantId, sso) +> GetCommentBanStatusResponse getCommentBanStatus(tenantId, commentId, sso) @@ -208,8 +208,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -227,7 +227,7 @@ No authorization required # **getCommentChildren** -> ModerationAPIChildCommentsResponse getCommentChildren(commentId, tenantId, sso) +> ModerationAPIChildCommentsResponse getCommentChildren(tenantId, commentId, sso) @@ -235,8 +235,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -254,7 +254,7 @@ No authorization required # **getCount** -> ModerationAPICountCommentsResponse getCount(text-search, byIPFromComment, filter, searchFilters, demo, tenantId, sso) +> ModerationAPICountCommentsResponse getCount(tenantId, text-search, byIPFromComment, filter, searchFilters, demo, sso) @@ -262,12 +262,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **text-search** | **String**| | [optional] [default to null] | | **byIPFromComment** | **String**| | [optional] [default to null] | | **filter** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | | **demo** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -293,7 +293,7 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **tenantId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -311,7 +311,7 @@ No authorization required # **getLogs** -> ModerationAPIGetLogsResponse getLogs(commentId, tenantId, sso) +> ModerationAPIGetLogsResponse getLogs(tenantId, commentId, sso) @@ -319,8 +319,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -346,7 +346,7 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **tenantId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -364,7 +364,7 @@ No authorization required # **getManualBadgesForUser** -> GetUserManualBadgesResponse getManualBadgesForUser(badgesUserId, commentId, tenantId, sso) +> GetUserManualBadgesResponse getManualBadgesForUser(tenantId, badgesUserId, commentId, sso) @@ -372,9 +372,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **badgesUserId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -392,7 +392,7 @@ No authorization required # **getModerationComment** -> ModerationAPICommentResponse getModerationComment(commentId, includeEmail, includeIP, tenantId, sso) +> ModerationAPICommentResponse getModerationComment(tenantId, commentId, includeEmail, includeIP, sso) @@ -400,10 +400,10 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **includeEmail** | **Boolean**| | [optional] [default to null] | | **includeIP** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -421,7 +421,7 @@ No authorization required # **getModerationCommentText** -> GetCommentTextResponse getModerationCommentText(commentId, tenantId, sso) +> GetCommentTextResponse getModerationCommentText(tenantId, commentId, sso) @@ -429,8 +429,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -448,7 +448,7 @@ No authorization required # **getPreBanSummary** -> PreBanSummary getPreBanSummary(commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) +> PreBanSummary getPreBanSummary(tenantId, commentId, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, sso) @@ -456,11 +456,11 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **includeByUserIdAndEmail** | **Boolean**| | [optional] [default to null] | | **includeByIP** | **Boolean**| | [optional] [default to null] | | **includeByEmailDomain** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -478,7 +478,7 @@ No authorization required # **getSearchCommentsSummary** -> ModerationCommentSearchResponse getSearchCommentsSummary(value, filters, searchFilters, tenantId, sso) +> ModerationCommentSearchResponse getSearchCommentsSummary(tenantId, value, filters, searchFilters, sso) @@ -486,10 +486,10 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **value** | **String**| | [optional] [default to null] | | **filters** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -507,7 +507,7 @@ No authorization required # **getSearchPages** -> ModerationPageSearchResponse getSearchPages(value, tenantId, sso) +> ModerationPageSearchResponse getSearchPages(tenantId, value, sso) @@ -515,8 +515,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **value** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -534,7 +534,7 @@ No authorization required # **getSearchSites** -> ModerationSiteSearchResponse getSearchSites(value, tenantId, sso) +> ModerationSiteSearchResponse getSearchSites(tenantId, value, sso) @@ -542,8 +542,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **value** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -561,7 +561,7 @@ No authorization required # **getSearchSuggest** -> ModerationSuggestResponse getSearchSuggest(text-search, tenantId, sso) +> ModerationSuggestResponse getSearchSuggest(tenantId, text-search, sso) @@ -569,8 +569,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **text-search** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -588,7 +588,7 @@ No authorization required # **getSearchUsers** -> ModerationUserSearchResponse getSearchUsers(value, tenantId, sso) +> ModerationUserSearchResponse getSearchUsers(tenantId, value, sso) @@ -596,8 +596,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **value** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -615,7 +615,7 @@ No authorization required # **getTrustFactor** -> GetUserTrustFactorResponse getTrustFactor(userId, tenantId, sso) +> GetUserTrustFactorResponse getTrustFactor(tenantId, userId, sso) @@ -623,8 +623,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -650,7 +650,7 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **tenantId** | **String**| | [optional] [default to null] | +| **tenantId** | **String**| | [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -668,7 +668,7 @@ No authorization required # **getUserInternalProfile** -> GetUserInternalProfileResponse getUserInternalProfile(commentId, tenantId, sso) +> GetUserInternalProfileResponse getUserInternalProfile(tenantId, commentId, sso) @@ -676,8 +676,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -695,7 +695,7 @@ No authorization required # **postAdjustCommentVotes** -> AdjustVotesResponse postAdjustCommentVotes(commentId, AdjustCommentVotesParams, tenantId, broadcastId, sso) +> AdjustVotesResponse postAdjustCommentVotes(tenantId, commentId, AdjustCommentVotesParams, broadcastId, sso) @@ -703,9 +703,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **AdjustCommentVotesParams** | [**AdjustCommentVotesParams**](../Models/AdjustCommentVotesParams.md)| | | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -724,7 +724,7 @@ No authorization required # **postApiExport** -> ModerationExportResponse postApiExport(text-search, byIPFromComment, filters, searchFilters, sorts, tenantId, sso) +> ModerationExportResponse postApiExport(tenantId, text-search, byIPFromComment, filters, searchFilters, sorts, sso) @@ -732,12 +732,12 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **text-search** | **String**| | [optional] [default to null] | | **byIPFromComment** | **String**| | [optional] [default to null] | | **filters** | **String**| | [optional] [default to null] | | **searchFilters** | **String**| | [optional] [default to null] | | **sorts** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -755,7 +755,7 @@ No authorization required # **postBanUserFromComment** -> BanUserFromCommentResult postBanUserFromComment(commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, tenantId, sso) +> BanUserFromCommentResult postBanUserFromComment(tenantId, commentId, banEmail, banEmailDomain, banIP, deleteAllUsersComments, bannedUntil, isShadowBan, updateId, banReason, sso) @@ -763,6 +763,7 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **banEmail** | **Boolean**| | [optional] [default to null] | | **banEmailDomain** | **Boolean**| | [optional] [default to null] | @@ -772,7 +773,6 @@ No authorization required | **isShadowBan** | **Boolean**| | [optional] [default to null] | | **updateId** | **String**| | [optional] [default to null] | | **banReason** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -790,7 +790,7 @@ No authorization required # **postBanUserUndo** -> APIEmptyResponse postBanUserUndo(BanUserUndoParams, tenantId, sso) +> APIEmptyResponse postBanUserUndo(tenantId, BanUserUndoParams, sso) @@ -798,8 +798,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **BanUserUndoParams** | [**BanUserUndoParams**](../Models/BanUserUndoParams.md)| | | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -817,7 +817,7 @@ No authorization required # **postBulkPreBanSummary** -> BulkPreBanSummary postBulkPreBanSummary(BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, tenantId, sso) +> BulkPreBanSummary postBulkPreBanSummary(tenantId, BulkPreBanParams, includeByUserIdAndEmail, includeByIP, includeByEmailDomain, sso) @@ -825,11 +825,11 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **BulkPreBanParams** | [**BulkPreBanParams**](../Models/BulkPreBanParams.md)| | | | **includeByUserIdAndEmail** | **Boolean**| | [optional] [default to null] | | **includeByIP** | **Boolean**| | [optional] [default to null] | | **includeByEmailDomain** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -847,7 +847,7 @@ No authorization required # **postCommentsByIds** -> ModerationAPIChildCommentsResponse postCommentsByIds(CommentsByIdsParams, tenantId, sso) +> ModerationAPIChildCommentsResponse postCommentsByIds(tenantId, CommentsByIdsParams, sso) @@ -855,8 +855,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **CommentsByIdsParams** | [**CommentsByIdsParams**](../Models/CommentsByIdsParams.md)| | | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -874,7 +874,7 @@ No authorization required # **postFlagComment** -> APIEmptyResponse postFlagComment(commentId, tenantId, broadcastId, sso) +> APIEmptyResponse postFlagComment(tenantId, commentId, broadcastId, sso) @@ -882,8 +882,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -902,7 +902,7 @@ No authorization required # **postRemoveComment** -> PostRemoveCommentResponse postRemoveComment(commentId, tenantId, broadcastId, sso) +> PostRemoveCommentApiResponse postRemoveComment(tenantId, commentId, broadcastId, sso) @@ -910,14 +910,14 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type -[**PostRemoveCommentResponse**](../Models/PostRemoveCommentResponse.md) +[**PostRemoveCommentApiResponse**](../Models/PostRemoveCommentApiResponse.md) ### Authorization @@ -930,7 +930,7 @@ No authorization required # **postRestoreDeletedComment** -> APIEmptyResponse postRestoreDeletedComment(commentId, tenantId, broadcastId, sso) +> APIEmptyResponse postRestoreDeletedComment(tenantId, commentId, broadcastId, sso) @@ -938,8 +938,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -958,7 +958,7 @@ No authorization required # **postSetCommentApprovalStatus** -> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId, approved, tenantId, broadcastId, sso) +> SetCommentApprovedResponse postSetCommentApprovalStatus(tenantId, commentId, approved, broadcastId, sso) @@ -966,9 +966,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **approved** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -987,7 +987,7 @@ No authorization required # **postSetCommentReviewStatus** -> APIEmptyResponse postSetCommentReviewStatus(commentId, reviewed, tenantId, broadcastId, sso) +> APIEmptyResponse postSetCommentReviewStatus(tenantId, commentId, reviewed, broadcastId, sso) @@ -995,9 +995,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **reviewed** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1016,7 +1016,7 @@ No authorization required # **postSetCommentSpamStatus** -> APIEmptyResponse postSetCommentSpamStatus(commentId, spam, permNotSpam, tenantId, broadcastId, sso) +> APIEmptyResponse postSetCommentSpamStatus(tenantId, commentId, spam, permNotSpam, broadcastId, sso) @@ -1024,10 +1024,10 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **spam** | **Boolean**| | [optional] [default to null] | | **permNotSpam** | **Boolean**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1046,7 +1046,7 @@ No authorization required # **postSetCommentText** -> SetCommentTextResponse postSetCommentText(commentId, SetCommentTextParams, tenantId, broadcastId, sso) +> SetCommentTextResponse postSetCommentText(tenantId, commentId, SetCommentTextParams, broadcastId, sso) @@ -1054,9 +1054,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **SetCommentTextParams** | [**SetCommentTextParams**](../Models/SetCommentTextParams.md)| | | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1075,7 +1075,7 @@ No authorization required # **postUnFlagComment** -> APIEmptyResponse postUnFlagComment(commentId, tenantId, broadcastId, sso) +> APIEmptyResponse postUnFlagComment(tenantId, commentId, broadcastId, sso) @@ -1083,8 +1083,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1103,7 +1103,7 @@ No authorization required # **postVote** -> VoteResponse postVote(commentId, direction, tenantId, broadcastId, sso) +> VoteResponse postVote(tenantId, commentId, direction, broadcastId, sso) @@ -1111,9 +1111,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **commentId** | **String**| | [default to null] | | **direction** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1132,7 +1132,7 @@ No authorization required # **putAwardBadge** -> AwardUserBadgeResponse putAwardBadge(badgeId, userId, commentId, tenantId, broadcastId, sso) +> AwardUserBadgeResponse putAwardBadge(tenantId, badgeId, userId, commentId, broadcastId, sso) @@ -1140,10 +1140,10 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **badgeId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1162,7 +1162,7 @@ No authorization required # **putCloseThread** -> APIEmptyResponse putCloseThread(urlId, tenantId, sso) +> APIEmptyResponse putCloseThread(tenantId, urlId, sso) @@ -1170,8 +1170,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **urlId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1189,7 +1189,7 @@ No authorization required # **putRemoveBadge** -> RemoveUserBadgeResponse putRemoveBadge(badgeId, userId, commentId, tenantId, broadcastId, sso) +> RemoveUserBadgeResponse putRemoveBadge(tenantId, badgeId, userId, commentId, broadcastId, sso) @@ -1197,10 +1197,10 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **badgeId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | | **commentId** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **broadcastId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | @@ -1219,7 +1219,7 @@ No authorization required # **putReopenThread** -> APIEmptyResponse putReopenThread(urlId, tenantId, sso) +> APIEmptyResponse putReopenThread(tenantId, urlId, sso) @@ -1227,8 +1227,8 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **urlId** | **String**| | [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type @@ -1246,7 +1246,7 @@ No authorization required # **setTrustFactor** -> SetUserTrustFactorResponse setTrustFactor(userId, trustFactor, tenantId, sso) +> SetUserTrustFactorResponse setTrustFactor(tenantId, userId, trustFactor, sso) @@ -1254,9 +1254,9 @@ No authorization required |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **tenantId** | **String**| | [default to null] | | **userId** | **String**| | [optional] [default to null] | | **trustFactor** | **String**| | [optional] [default to null] | -| **tenantId** | **String**| | [optional] [default to null] | | **sso** | **String**| | [optional] [default to null] | ### Return type diff --git a/docs/Models/PostRemoveCommentResponse.md b/docs/Models/PostRemoveCommentApiResponse.md similarity index 92% rename from docs/Models/PostRemoveCommentResponse.md rename to docs/Models/PostRemoveCommentApiResponse.md index 057e54b..a0942ee 100644 --- a/docs/Models/PostRemoveCommentResponse.md +++ b/docs/Models/PostRemoveCommentApiResponse.md @@ -1,4 +1,4 @@ -# PostRemoveCommentResponse +# PostRemoveCommentApiResponse ## Properties | Name | Type | Description | Notes | diff --git a/docs/README.md b/docs/README.md index c923b37..940707b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -121,49 +121,49 @@ All URIs are relative to *https://fastcomments.com* *DefaultApi* | [**updateTenantPackage**](Apis/DefaultApi.md#updateTenantPackage) | **PATCH** /api/v1/tenant-packages/{id} | | *DefaultApi* | [**updateTenantUser**](Apis/DefaultApi.md#updateTenantUser) | **PATCH** /api/v1/tenant-users/{id} | | *DefaultApi* | [**updateUserBadge**](Apis/DefaultApi.md#updateUserBadge) | **PUT** /api/v1/user-badges/{id} | | -| *ModerationApi* | [**deleteModerationVote**](Apis/ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | | -*ModerationApi* | [**getApiComments**](Apis/ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/api/comments | | -*ModerationApi* | [**getApiExportStatus**](Apis/ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/api/export/status | | -*ModerationApi* | [**getApiIds**](Apis/ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/api/ids | | -*ModerationApi* | [**getBanUsersFromComment**](Apis/ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | | -*ModerationApi* | [**getCommentBanStatus**](Apis/ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | | -*ModerationApi* | [**getCommentChildren**](Apis/ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | | -*ModerationApi* | [**getCount**](Apis/ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/count | | -*ModerationApi* | [**getCounts**](Apis/ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | | -*ModerationApi* | [**getLogs**](Apis/ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | | -*ModerationApi* | [**getManualBadges**](Apis/ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | | -*ModerationApi* | [**getManualBadgesForUser**](Apis/ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | | -*ModerationApi* | [**getModerationComment**](Apis/ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | | -*ModerationApi* | [**getModerationCommentText**](Apis/ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | | -*ModerationApi* | [**getPreBanSummary**](Apis/ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | | -*ModerationApi* | [**getSearchCommentsSummary**](Apis/ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | | -*ModerationApi* | [**getSearchPages**](Apis/ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/search/pages | | -*ModerationApi* | [**getSearchSites**](Apis/ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/search/sites | | -*ModerationApi* | [**getSearchSuggest**](Apis/ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/search/suggest | | -*ModerationApi* | [**getSearchUsers**](Apis/ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/search/users | | -*ModerationApi* | [**getTrustFactor**](Apis/ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | | -*ModerationApi* | [**getUserBanPreference**](Apis/ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | | -*ModerationApi* | [**getUserInternalProfile**](Apis/ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | | -*ModerationApi* | [**postAdjustCommentVotes**](Apis/ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | | -*ModerationApi* | [**postApiExport**](Apis/ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/api/export | | -*ModerationApi* | [**postBanUserFromComment**](Apis/ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | | -*ModerationApi* | [**postBanUserUndo**](Apis/ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | | -*ModerationApi* | [**postBulkPreBanSummary**](Apis/ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | | -*ModerationApi* | [**postCommentsByIds**](Apis/ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/comments-by-ids | | -*ModerationApi* | [**postFlagComment**](Apis/ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | | -*ModerationApi* | [**postRemoveComment**](Apis/ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | | -*ModerationApi* | [**postRestoreDeletedComment**](Apis/ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | | -*ModerationApi* | [**postSetCommentApprovalStatus**](Apis/ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | | -*ModerationApi* | [**postSetCommentReviewStatus**](Apis/ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | | -*ModerationApi* | [**postSetCommentSpamStatus**](Apis/ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | | -*ModerationApi* | [**postSetCommentText**](Apis/ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | | -*ModerationApi* | [**postUnFlagComment**](Apis/ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | | -*ModerationApi* | [**postVote**](Apis/ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | | -*ModerationApi* | [**putAwardBadge**](Apis/ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/award-badge | | -*ModerationApi* | [**putCloseThread**](Apis/ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/close-thread | | -*ModerationApi* | [**putRemoveBadge**](Apis/ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/remove-badge | | -*ModerationApi* | [**putReopenThread**](Apis/ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | | -*ModerationApi* | [**setTrustFactor**](Apis/ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | | +| *ModerationApi* | [**deleteModerationVote**](Apis/ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | | +*ModerationApi* | [**getApiComments**](Apis/ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | | +*ModerationApi* | [**getApiExportStatus**](Apis/ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | | +*ModerationApi* | [**getApiIds**](Apis/ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | | +*ModerationApi* | [**getBanUsersFromComment**](Apis/ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | | +*ModerationApi* | [**getCommentBanStatus**](Apis/ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | | +*ModerationApi* | [**getCommentChildren**](Apis/ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | | +*ModerationApi* | [**getCount**](Apis/ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/mod_api/count | | +*ModerationApi* | [**getCounts**](Apis/ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | | +*ModerationApi* | [**getLogs**](Apis/ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | | +*ModerationApi* | [**getManualBadges**](Apis/ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | | +*ModerationApi* | [**getManualBadgesForUser**](Apis/ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | | +*ModerationApi* | [**getModerationComment**](Apis/ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | | +*ModerationApi* | [**getModerationCommentText**](Apis/ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | | +*ModerationApi* | [**getPreBanSummary**](Apis/ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | | +*ModerationApi* | [**getSearchCommentsSummary**](Apis/ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | | +*ModerationApi* | [**getSearchPages**](Apis/ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | | +*ModerationApi* | [**getSearchSites**](Apis/ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | | +*ModerationApi* | [**getSearchSuggest**](Apis/ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | | +*ModerationApi* | [**getSearchUsers**](Apis/ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | | +*ModerationApi* | [**getTrustFactor**](Apis/ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | | +*ModerationApi* | [**getUserBanPreference**](Apis/ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | | +*ModerationApi* | [**getUserInternalProfile**](Apis/ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | | +*ModerationApi* | [**postAdjustCommentVotes**](Apis/ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | | +*ModerationApi* | [**postApiExport**](Apis/ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | | +*ModerationApi* | [**postBanUserFromComment**](Apis/ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | | +*ModerationApi* | [**postBanUserUndo**](Apis/ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | | +*ModerationApi* | [**postBulkPreBanSummary**](Apis/ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | | +*ModerationApi* | [**postCommentsByIds**](Apis/ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | | +*ModerationApi* | [**postFlagComment**](Apis/ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | | +*ModerationApi* | [**postRemoveComment**](Apis/ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | | +*ModerationApi* | [**postRestoreDeletedComment**](Apis/ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | | +*ModerationApi* | [**postSetCommentApprovalStatus**](Apis/ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | | +*ModerationApi* | [**postSetCommentReviewStatus**](Apis/ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | | +*ModerationApi* | [**postSetCommentSpamStatus**](Apis/ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | | +*ModerationApi* | [**postSetCommentText**](Apis/ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | | +*ModerationApi* | [**postUnFlagComment**](Apis/ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | | +*ModerationApi* | [**postVote**](Apis/ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | | +*ModerationApi* | [**putAwardBadge**](Apis/ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | | +*ModerationApi* | [**putCloseThread**](Apis/ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | | +*ModerationApi* | [**putRemoveBadge**](Apis/ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | | +*ModerationApi* | [**putReopenThread**](Apis/ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | | +*ModerationApi* | [**setTrustFactor**](Apis/ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | | | *PublicApi* | [**blockFromCommentPublic**](Apis/PublicApi.md#blockFromCommentPublic) | **POST** /block-from-comment/{commentId} | | *PublicApi* | [**checkedCommentsForBlocked**](Apis/PublicApi.md#checkedCommentsForBlocked) | **GET** /check-blocked-comments | | *PublicApi* | [**createCommentPublic**](Apis/PublicApi.md#createCommentPublic) | **POST** /comments/{tenantId} | | @@ -480,7 +480,7 @@ All URIs are relative to *https://fastcomments.com* - [PatchPageAPIResponse](./Models/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](./Models/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](./Models/PendingCommentToSyncOutbound.md) - - [PostRemoveCommentResponse](./Models/PostRemoveCommentResponse.md) + - [PostRemoveCommentApiResponse](./Models/PostRemoveCommentApiResponse.md) - [PreBanSummary](./Models/PreBanSummary.md) - [PubSubComment](./Models/PubSubComment.md) - [PubSubCommentBase](./Models/PubSubCommentBase.md) diff --git a/openapi.json b/openapi.json index 9ed89a9..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,17 +14295,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" } @@ -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,17 +14360,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" } @@ -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,17 +14425,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" } @@ -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,17 +14490,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" } @@ -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", @@ -14555,27 +14555,27 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "reviewed", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "reviewed", "required": false, "schema": { - "type": "string" + "type": "boolean" } }, { @@ -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", @@ -14651,14 +14659,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "broadcastId", @@ -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", @@ -14709,27 +14709,27 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "approved", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "approved", "required": false, "schema": { - "type": "string" + "type": "boolean" } }, { @@ -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,17 +15085,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" } @@ -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,17 +15160,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" } @@ -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": "tenantId", + "name": "direction", "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,16 +15317,16 @@ }, { "in": "path", - "name": "voteId", + "name": "commentId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "voteId", + "required": true, "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": "tenantId", + "name": "commentId", "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": "tenantId", + "name": "commentId", "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" } diff --git a/tests/test_sso_integration.nim b/tests/test_sso_integration.nim index ca315e9..3621146 100644 --- a/tests/test_sso_integration.nim +++ b/tests/test_sso_integration.nim @@ -40,7 +40,7 @@ suite "SSO Integration Tests": httpClient = client, tenantId = tenantID, urlId = "sdk-test-page", - options = ApiGetCommentsPublicOptions( + options = GetCommentsPublicOptions( direction: SortDirections.NF ) ) @@ -81,7 +81,7 @@ suite "SSO Integration Tests": urlId = "sdk-test-nim", broadcastId = "test-" & $timestamp, commentData = commentData, - options = ApiCreateCommentPublicOptions( + options = CreateCommentPublicOptions( sso: token ) ) @@ -94,7 +94,7 @@ suite "SSO Integration Tests": httpClient = client, tenantId = tenantID, urlId = "sdk-test-nim", - options = ApiGetCommentsPublicOptions( + options = GetCommentsPublicOptions( direction: SortDirections.NF, sso: token ) @@ -139,7 +139,7 @@ suite "SSO Integration Tests": urlId = testUrlId, broadcastId = "test-" & $timestamp, commentData = commentData, - options = ApiCreateCommentPublicOptions( + options = CreateCommentPublicOptions( sso: token ) ) @@ -157,7 +157,7 @@ suite "SSO Integration Tests": let (getResponse, getHttpResponse) = getComments( httpClient = authClient, tenantId = tenantID, - options = ApiGetCommentsOptions( + options = GetCommentsOptions( urlId: testUrlId, direction: SortDirections.NF ) @@ -207,7 +207,7 @@ suite "SSO Integration Tests": urlId = testUrlId, broadcastId = "test-" & $timestamp, commentData = commentData, - options = ApiCreateCommentPublicOptions( + options = CreateCommentPublicOptions( sso: token ) ) @@ -223,7 +223,7 @@ suite "SSO Integration Tests": httpClient = client, tenantId = tenantID, urlId = testUrlId, - options = ApiGetCommentsPublicOptions( + options = GetCommentsPublicOptions( direction: SortDirections.NF, sso: token ) From 0cbb26a441b9d79027b5c5a94f4ed7de5be63e47 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 10:39:44 -0700 Subject: [PATCH 8/9] 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 8d2835f..fd164ea 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This library contains the generated API client and the SSO utilities to make wor For the API client, there are three API modules, `api_default`, `api_public`, and `api_moderation`. The `api_default` contains methods that require your API key, and `api_public` contains api calls that can be made directly from a browser/mobile device/etc without authentication. The `api_moderation` module contains methods for the moderator dashboard. -The `api_moderation` methods cover listing, counting, searching, and exporting comments and their logs; moderation actions like removing/restoring comments, flagging, setting review/spam/approval status, adjusting votes, and reopening/closing threads; bans (banning a user from a comment, undoing a ban, pre-ban summaries, ban status and preferences, and banned-user counts); and badges & trust (awarding/removing a badge, listing manual badges, getting/setting a user's trust factor, and fetching a user's internal profile). Every `api_moderation` method accepts an `sso` parameter so the call is authenticated as an SSO moderator. +The `api_moderation` module provides an extensive suite of live and fast moderation APIs. Every `api_moderation` method accepts an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie. ## Quick Start From e3aec63cfd2ba5e0d28be762855c6364038b348e Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 12:10:25 -0700 Subject: [PATCH 9/9] 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. --- client/README.md | 2 +- config.json | 2 +- fastcomments.nimble | 2 +- update.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/README.md b/client/README.md index 2d445f7..9590c81 100644 --- a/client/README.md +++ b/client/README.md @@ -7,7 +7,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.NimClientCodegen diff --git a/config.json b/config.json index 094fb56..309587b 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,4 @@ { "packageName": "fastcomments", - "packageVersion": "2.0.1" + "packageVersion": "3.0.0" } diff --git a/fastcomments.nimble b/fastcomments.nimble index c9988b5..a20dba6 100644 --- a/fastcomments.nimble +++ b/fastcomments.nimble @@ -1,6 +1,6 @@ # Package -version = "2.0.1" +version = "3.0.0" author = "FastComments" description = "FastComments Nim SDK - A SDK for interacting with the FastComments API" license = "MIT" diff --git a/update.sh b/update.sh index 0a9fdbc..a700cc6 100755 --- a/update.sh +++ b/update.sh @@ -4,7 +4,7 @@ set -e # FastComments openapi-generator build. The Nim generator now references model # types by their declared (camelized) names, so no post-generation patching is # needed. Just a jar; downloaded on demand. -JAR_URL="https://github.com/winrid/openapi-generator/releases/download/fastcomments-build-20260619/openapi-generator-cli.jar" +JAR_URL="https://github.com/winrid/openapi-generator/releases/download/fastcomments-build-20260630/openapi-generator-cli.jar" JAR_FILE="./openapi-generator-cli.jar" [ -f "$JAR_FILE" ] || wget -q "$JAR_URL" -O "$JAR_FILE"